 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Microsoft YaHei', sans-serif;
        }
        body {
            background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
            color: #333;
            min-height: 100vh;
            padding: 20px;
        }
        .container {
            max-width: 1200px;
            margin: 0 auto;
            background: rgba(255, 255, 255, 0.95);
            border-radius: 15px;
            padding: 25px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }
        header {
            text-align: center;
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 2px solid #ddd;
            position: relative;
        }
        h1 {
            color: #2c3e50;
            font-size: 2.5rem;
            margin-bottom: 10px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
        }
        .subtitle {
            color: #7f8c8d;
            font-size: 1.2rem;
            margin-bottom: 15px;
        }
        .language-switcher {
            position: absolute;
            top: 0;
            right: 0;
            display: flex;
            gap: 10px;
        }
        .language-btn {
            padding: 5px 10px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            background: #f8f9fa;
            transition: all 0.3s ease;
        }
        .language-btn.active {
            background: #3498db;
            color: white;
        }
        .info-box {
            background: #f8f9fa;
            border-radius: 10px;
            padding: 15px;
            margin: 15px 0;
            border-left: 4px solid #3498db;
        }
        .controls {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 30px;
            flex-wrap: wrap;
        }
        button {
            padding: 12px 25px;
            font-size: 1.1rem;
            border: none;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: bold;
        }
        #generate {
            background: linear-gradient(to right, #3498db, #2980b9);
            color: white;
        }
        #generateMultiple {
            background: linear-gradient(to right, #2ecc71, #27ae60);
            color: white;
        }
        #reset {
            background: linear-gradient(to right, #e74c3c, #c0392b);
            color: white;
        }
        #generate:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
        }
        #generateMultiple:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(46, 204, 113, 0.4);
        }
        #reset:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
        }
        .results {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            justify-content: center;
        }
        .stone {
            background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
            border-radius: 10px;
            padding: 20px;
            width: 300px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            position: relative;
            overflow: hidden;
            transition: transform 0.3s ease;
        }
        .stone:hover {
            transform: translateY(-5px);
        }
        .stone.mysterious {
            background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
        }
        .stone-header {
            text-align: center;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        }
        .stone-type {
            font-size: 1.3rem;
            font-weight: bold;
            color: #2c3e50;
        }
        .stone-attributes {
            list-style: none;
        }
        .stone-attributes li {
            padding: 8px 0;
            border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
            display: flex;
            justify-content: space-between;
        }
        .attribute-name {
            font-weight: bold;
            color: #2c3e50;
        }
        .attribute-value {
            color: #e74c3c;
            font-weight: bold;
        }
        .stats {
            display: flex;
            justify-content: space-around;
            margin: 25px 0;
            flex-wrap: wrap;
            gap: 15px;
        }
        .stat-box {
            background: #f8f9fa;
            border-radius: 10px;
            padding: 15px 20px;
            text-align: center;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
            min-width: 200px;
        }
        .stat-title {
            font-size: 1rem;
            color: #7f8c8d;
            margin-bottom: 5px;
        }
        .stat-value {
            font-size: 1.5rem;
            font-weight: bold;
            color: #2c3e50;
        }
        .history {
            margin-top: 40px;
            padding-top: 20px;
            border-top: 2px solid #ddd;
        }
        .history h2 {
            text-align: center;
            margin-bottom: 20px;
            color: #2c3e50;
        }
        #historyList {
            display: flex;
            flex-direction: column-reverse;
            gap: 10px;
            max-height: 300px;
            overflow-y: auto;
            padding: 10px;
            background: rgba(0, 0, 0, 0.03);
            border-radius: 10px;
        }
        .history-item {
            padding: 10px;
            background: white;
            border-radius: 5px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .history-type {
            font-weight: bold;
            padding: 3px 8px;
            border-radius: 4px;
            font-size: 0.9rem;
        }
        .history-type.normal {
            background: #3498db;
            color: white;
        }
        .history-type.mysterious {
            background: #9b59b6;
            color: white;
        }
        @media (max-width: 768px) {
            .controls {
                flex-direction: column;
                align-items: center;
            }
            button {
                width: 100%;
                max-width: 300px;
            }
            .stats {
                flex-direction: column;
                align-items: center;
            }
            .language-switcher {
                position: static;
                justify-content: center;
                margin-bottom: 15px;
            }
        }