@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Crimson+Text:ital,wght@0,400;0,600;1,400&display=swap');

:root {
    --primary-color: #3D2314;
    --primary-light: #5C3A21;
    --primary-dark: #1A1208;
    --accent-color: #C9A227;
    --accent-light: #D4AF37;
    --accent-dark: #8B6914;
    --blood-red: #8B0000;
    --blood-light: #A52A2A;
    --bronze: #8B4513;
    --bronze-light: #A0522D;
    --parchment: #F4E4BC;
    --parchment-dark: #D4C4A0;
    --parchment-light: #FAF3E0;
    --bg-dark: #0D0906;
    --bg-card: rgba(61, 35, 20, 0.85);
    --bg-card-hover: rgba(92, 58, 33, 0.95);
    --text-primary: #F4E4BC;
    --text-secondary: #C9A227;
    --text-muted: #8B7355;
    --text-dark: #2C1810;
    --border-color: rgba(201, 162, 39, 0.4);
    --border-gothic: rgba(139, 0, 0, 0.5);
    --glow-gold: 0 0 20px rgba(201, 162, 39, 0.4);
    --glow-blood: 0 0 20px rgba(139, 0, 0, 0.4);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --font-title: 'Cinzel', 'Times New Roman', serif;
    --font-body: 'Crimson Text', 'Georgia', serif;
    --font-chinese: 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-chinese), var(--font-body);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.8;
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E"),
        radial-gradient(ellipse at 20% 20%, rgba(139, 0, 0, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(201, 162, 39, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(61, 35, 20, 0.1) 0%, transparent 70%),
        linear-gradient(180deg, var(--bg-dark) 0%, #1A1208 50%, var(--bg-dark) 100%);
    pointer-events: none;
    z-index: -1;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent-light);
    text-shadow: 0 0 10px rgba(201, 162, 39, 0.5);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(13, 9, 6, 0.98) 0%, rgba(26, 18, 8, 0.95) 100%);
    border-bottom: 3px solid var(--border-color);
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), inset 0 -1px 0 rgba(201, 162, 39, 0.2);
}

nav::before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), var(--blood-red), var(--accent-color), transparent);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    background: linear-gradient(135deg, var(--accent-light), var(--accent-color), var(--blood-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    position: relative;
}

.logo::before,
.logo::after {
    content: '⚜';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    background: none;
    -webkit-text-fill-color: var(--accent-color);
    opacity: 0.7;
}

.logo::before {
    left: -25px;
}

.logo::after {
    right: -25px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
}

.nav-links li {
    display: flex;
    align-items: center;
}

.nav-links a {
    font-family: var(--font-title);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    padding: 10px 20px;
    border: 1px solid transparent;
    position: relative;
    transition: all var(--transition-normal);
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid transparent;
    transition: all var(--transition-normal);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-light);
    background: linear-gradient(180deg, rgba(201, 162, 39, 0.1) 0%, rgba(139, 0, 0, 0.1) 100%);
    border-color: var(--border-color);
}

.nav-links a:hover::before,
.nav-links a.active::before {
    border-color: var(--accent-color);
    transform: skewX(-10deg);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--accent-color);
    transition: all var(--transition-fast);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px 60px;
    position: relative;
    background: 
        radial-gradient(ellipse at center, rgba(139, 0, 0, 0.1) 0%, transparent 60%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M50 0L60 40L100 50L60 60L50 100L40 60L0 50L40 40Z' fill='%23C9A227' fill-opacity='0.02'/%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    position: relative;
}

.hero-content::before {
    content: '❧';
    display: block;
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    opacity: 0.6;
}

.hero-title {
    font-family: var(--font-title);
    font-size: 5rem;
    font-weight: 700;
    letter-spacing: 15px;
    margin-bottom: 20px;
    background: linear-gradient(180deg, var(--accent-light) 0%, var(--accent-color) 50%, var(--blood-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    position: relative;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(201, 162, 39, 0.3)); }
    50% { filter: drop-shadow(0 0 40px rgba(201, 162, 39, 0.5)); }
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: var(--accent-light);
    border: 2px solid var(--accent-color);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(201, 162, 39, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(201, 162, 39, 0.3),
        inset 0 1px 0 rgba(201, 162, 39, 0.4);
    color: var(--accent-light);
}

.btn-accent {
    background: linear-gradient(180deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    color: var(--primary-dark);
    border: 2px solid var(--accent-light);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(201, 162, 39, 0.4);
    color: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-outline:hover {
    background: rgba(201, 162, 39, 0.1);
    transform: translateY(-3px);
    color: var(--accent-light);
}

.section {
    padding: 100px 20px;
    position: relative;
}

.section::before {
    content: '❦';
    display: block;
    text-align: center;
    font-size: 2rem;
    color: var(--accent-color);
    opacity: 0.4;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-title);
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 5px;
    color: var(--accent-light);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), var(--blood-red), var(--accent-color), transparent);
    margin: 20px auto 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: 
        linear-gradient(135deg, rgba(244, 228, 188, 0.05) 0%, rgba(61, 35, 20, 0.9) 100%);
    border: 2px solid var(--border-color);
    border-radius: 0;
    padding: 35px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 0 50px rgba(201, 162, 39, 0.05);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--blood-red), var(--accent-color));
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--blood-red), var(--accent-color));
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(201, 162, 39, 0.2),
        inset 0 0 50px rgba(201, 162, 39, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: 2px solid var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 25px;
    position: relative;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 1px solid var(--accent-color);
    opacity: 0.3;
}

.feature-title {
    font-family: var(--font-title);
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--accent-light);
    letter-spacing: 2px;
}

.feature-desc {
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.8;
}

.info-card {
    background: 
        linear-gradient(135deg, rgba(244, 228, 188, 0.03) 0%, rgba(61, 35, 20, 0.95) 100%);
    border: 2px solid var(--border-color);
    padding: 40px;
    margin-bottom: 40px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.info-card::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(201, 162, 39, 0.2);
    pointer-events: none;
}

.info-card h3 {
    font-family: var(--font-title);
    font-size: 1.6rem;
    margin-bottom: 25px;
    color: var(--accent-light);
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-card h3::before {
    content: '⚔';
    font-size: 1.2rem;
}

.info-card p, .info-card li {
    color: var(--text-primary);
    margin-bottom: 15px;
    line-height: 1.9;
}

.info-card ul {
    list-style: none;
    padding-left: 0;
}

.info-card li {
    position: relative;
    padding-left: 30px;
}

.info-card li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.rules-list {
    background: linear-gradient(135deg, rgba(61, 35, 20, 0.8) 0%, rgba(26, 18, 8, 0.9) 100%);
    padding: 35px;
    border: 1px solid var(--border-color);
}

.rule-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
}

.rule-item:last-child {
    border-bottom: none;
}

.rule-number {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--blood-red), var(--primary-color));
    border: 2px solid var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-title);
    font-weight: bold;
    font-size: 1rem;
    flex-shrink: 0;
    color: var(--accent-light);
}

.rule-text {
    color: var(--text-primary);
    line-height: 1.8;
}

.highlight {
    color: var(--accent-light);
    font-weight: 600;
}

.update-log {
    border-left: 3px solid var(--accent-color);
    padding-left: 35px;
    position: relative;
}

.update-log::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 0;
    width: 13px;
    height: 13px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-color);
}

.update-item {
    position: relative;
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(201, 162, 39, 0.2);
}

.update-item::before {
    content: '';
    position: absolute;
    left: -41px;
    top: 5px;
    width: 9px;
    height: 9px;
    background: var(--blood-red);
    border: 2px solid var(--accent-color);
}

.update-item:last-child {
    border-bottom: none;
}

.update-date {
    font-family: var(--font-title);
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.update-content {
    color: var(--text-primary);
    line-height: 1.8;
}

.download-section {
    text-align: center;
}

.download-card {
    background: 
        linear-gradient(135deg, rgba(244, 228, 188, 0.05) 0%, rgba(61, 35, 20, 0.95) 100%);
    border: 3px solid var(--accent-color);
    padding: 50px;
    max-width: 650px;
    margin: 0 auto 50px;
    position: relative;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.4),
        0 0 50px rgba(201, 162, 39, 0.2);
}

.download-card::before,
.download-card::after {
    content: '⚜';
    position: absolute;
    font-size: 1.5rem;
    color: var(--accent-color);
    opacity: 0.6;
}

.download-card::before {
    top: 15px;
    left: 20px;
}

.download-card::after {
    bottom: 15px;
    right: 20px;
}

.download-card h3 {
    font-family: var(--font-title);
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--accent-light);
    letter-spacing: 3px;
}

.download-steps {
    text-align: left;
    margin: 35px 0;
}

.download-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(201, 162, 39, 0.05);
    border-left: 3px solid var(--accent-color);
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    border: 2px solid var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-title);
    font-weight: bold;
    flex-shrink: 0;
    color: var(--primary-dark);
    font-size: 1.1rem;
}

.step-content h4 {
    font-family: var(--font-title);
    color: var(--accent-light);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.step-content p {
    color: var(--text-primary);
    font-size: 0.95rem;
}

.qq-group-box {
    background: 
        linear-gradient(135deg, rgba(139, 0, 0, 0.15) 0%, rgba(61, 35, 20, 0.9) 100%);
    border: 3px solid var(--accent-color);
    padding: 50px;
    text-align: center;
    max-width: 550px;
    margin: 50px auto;
    position: relative;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.4),
        inset 0 0 60px rgba(201, 162, 39, 0.05);
}

.qq-group-box::before {
    content: '✦';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--accent-color);
    background: var(--bg-dark);
    padding: 0 15px;
}

.qq-group-box h3 {
    font-family: var(--font-title);
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: var(--accent-light);
    letter-spacing: 3px;
}

.qq-group-number {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-light);
    margin: 25px 0;
    letter-spacing: 5px;
    text-shadow: 0 0 20px rgba(201, 162, 39, 0.5);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 20px;
    margin-top: 35px;
}

.stat-item {
    text-align: center;
    padding: 25px 15px;
    background: rgba(201, 162, 39, 0.08);
    border: 1px solid rgba(201, 162, 39, 0.3);
}

.stat-number {
    font-family: var(--font-title);
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--accent-light);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 8px;
    letter-spacing: 1px;
}

footer {
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--bg-dark) 100%);
    border-top: 3px solid var(--border-color);
    padding: 50px 20px;
    text-align: center;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), var(--blood-red), var(--accent-color), transparent);
}

footer p {
    color: var(--text-muted);
    margin-bottom: 12px;
}

footer a {
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

footer a:hover {
    color: var(--accent-light);
}

.page-header {
    padding: 140px 20px 80px;
    text-align: center;
    background: 
        radial-gradient(ellipse at center, rgba(139, 0, 0, 0.15) 0%, transparent 60%),
        linear-gradient(180deg, rgba(61, 35, 20, 0.3) 0%, transparent 100%);
    position: relative;
}

.page-header::before {
    content: '❧';
    display: block;
    font-size: 2.5rem;
    color: var(--accent-color);
    opacity: 0.5;
    margin-bottom: 20px;
}

.page-title {
    font-family: var(--font-title);
    font-size: 3.5rem;
    margin-bottom: 20px;
    letter-spacing: 8px;
    color: var(--accent-light);
    text-shadow: 0 0 30px rgba(201, 162, 39, 0.3);
}

.page-title::after {
    content: '';
    display: block;
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    margin: 20px auto 0;
}

.page-desc {
    font-style: italic;
    color: var(--text-secondary);
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.content-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 100px;
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--accent-color);
    opacity: 0.4;
    animation: float 20s infinite;
    box-shadow: 0 0 6px var(--accent-color);
}

@keyframes float {
    0%, 100% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

.story-section {
    margin-bottom: 60px;
}

.story-title {
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--accent-light);
    letter-spacing: 4px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.story-title::before {
    content: '❦';
    margin-right: 15px;
    color: var(--blood-red);
}

.story-content {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-primary);
    text-align: justify;
}

.story-content p {
    margin-bottom: 20px;
    text-indent: 2em;
}

.story-quote {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.1) 0%, rgba(61, 35, 20, 0.8) 100%);
    border-left: 4px solid var(--accent-color);
    padding: 25px 30px;
    margin: 30px 0;
    font-style: italic;
    color: var(--text-secondary);
    position: relative;
}

.story-quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 15px;
    font-family: Georgia, serif;
}

.drop-cap {
    float: left;
    font-size: 4.5rem;
    line-height: 0.8;
    padding-right: 15px;
    padding-top: 10px;
    font-family: var(--font-title);
    color: var(--accent-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent-color), var(--blood-red), var(--accent-color));
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding: 25px;
    background: rgba(61, 35, 20, 0.5);
    border: 1px solid var(--border-color);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -32px;
    top: 30px;
    width: 12px;
    height: 12px;
    background: var(--accent-color);
    border: 3px solid var(--primary-dark);
    box-shadow: 0 0 10px var(--accent-color);
}

.timeline-date {
    font-family: var(--font-title);
    font-size: 0.9rem;
    color: var(--accent-color);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.timeline-title {
    font-family: var(--font-title);
    font-size: 1.3rem;
    color: var(--accent-light);
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.timeline-content {
    color: var(--text-primary);
    line-height: 1.8;
}

.news-card {
    background: linear-gradient(135deg, rgba(61, 35, 20, 0.7) 0%, rgba(26, 18, 8, 0.8) 100%);
    border: 1px solid var(--border-color);
    padding: 30px;
    margin-bottom: 25px;
    transition: all var(--transition-normal);
    position: relative;
}

.news-card::before {
    content: '📰';
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    opacity: 0.3;
}

.news-card:hover {
    border-color: var(--accent-color);
    transform: translateX(5px);
    box-shadow: -5px 5px 20px rgba(0, 0, 0, 0.3);
}

.news-date {
    font-size: 0.85rem;
    color: var(--accent-color);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.news-title {
    font-family: var(--font-title);
    font-size: 1.3rem;
    color: var(--accent-light);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.news-excerpt {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.news-author {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 12px;
    font-style: italic;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
        letter-spacing: 8px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(13, 9, 6, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 5px;
        border-bottom: 2px solid var(--border-color);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        padding: 12px 20px;
        border: 1px solid var(--border-color);
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .page-title {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }
    
    .download-card {
        padding: 35px 25px;
    }
    
    .qq-group-number {
        font-size: 1.8rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .logo::before,
    .logo::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 5px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .drop-cap {
        font-size: 3rem;
    }
}

.btn-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    height: 42px;
    font-family: var(--font-title);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--accent-light);
    background: linear-gradient(180deg, rgba(201, 162, 39, 0.1) 0%, rgba(139, 0, 0, 0.1) 100%);
    border: 1px solid var(--accent-color);
    transition: all var(--transition-normal);
    text-decoration: none;
}

.btn-login:hover {
    background: linear-gradient(180deg, rgba(201, 162, 39, 0.2) 0%, rgba(139, 0, 0, 0.2) 100%);
    color: var(--accent-light);
    box-shadow: 0 0 15px rgba(201, 162, 39, 0.3);
}

.user-dropdown {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.user-dropdown:hover {
    opacity: 0.8;
}

.user-avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
    transition: all var(--transition-normal);
}

.user-dropdown:hover .user-avatar-small {
    box-shadow: 0 0 10px rgba(201, 162, 39, 0.5);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 5px;
    min-width: 150px;
    background: var(--primary-dark);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
    z-index: 1000;
}

.user-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.dropdown-menu a:hover {
    background: rgba(201, 162, 39, 0.1);
    color: var(--accent-light);
}

.auth-protected {
    display: none;
}

.auth-guest-only {
    display: block;
}

.profile-page {
    padding: 140px 20px 80px;
    max-width: 900px;
    margin: 0 auto;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    padding: 30px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border: 4px solid var(--accent-color);
    object-fit: cover;
}

.profile-info h2 {
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--accent-light);
    margin-bottom: 10px;
}

.profile-info p {
    color: var(--text-secondary);
    margin-bottom: 5px;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.points-history {
    margin-top: 40px;
}

.points-history h3 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: var(--accent-light);
    margin-bottom: 20px;
}

.points-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(61, 35, 20, 0.5);
    border: 1px solid var(--border-color);
    margin-bottom: 10px;
}

.points-positive {
    color: #4CAF50;
}

.points-negative {
    color: #f44336;
}

.bind-form {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.input-field {
    flex: 1;
    min-width: 200px;
    padding: 12px 16px;
    background: rgba(61, 35, 20, 0.8);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.input-field:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(201, 162, 39, 0.2);
}

.input-field::placeholder {
    color: var(--text-muted);
}

.game-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 25px;
    margin-top: 25px;
    width: 100%;
}

.game-stat-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(61, 35, 20, 0.5);
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.game-stat-item:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(201, 162, 39, 0.2);
}

.game-stat-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.game-stat-value {
    font-family: var(--font-title);
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--accent-light);
    margin-bottom: 8px;
    line-height: 1.2;
}

.game-stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.role-select-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.role-select-overlay.active {
    opacity: 1;
    visibility: visible;
}

.role-select-modal {
    position: relative;
    width: 90%;
    max-width: 550px;
    padding: 50px 40px 40px;
    background: 
        linear-gradient(135deg, 
            rgba(244, 228, 188, 0.95) 0%, 
            rgba(212, 196, 160, 0.95) 50%,
            rgba(180, 160, 120, 0.95) 100%);
    border-radius: 8px;
    box-shadow: 
        0 0 60px rgba(201, 162, 39, 0.4),
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 0 100px rgba(139, 90, 43, 0.2);
    transform: scale(0.8) translateY(30px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.role-select-overlay.active .role-select-modal {
    transform: scale(1) translateY(0);
}

.role-select-modal::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid rgba(139, 90, 43, 0.4);
    border-radius: 4px;
    pointer-events: none;
}

.role-select-modal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.08;
    pointer-events: none;
    border-radius: 8px;
}

.role-select-title {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 15px;
    letter-spacing: 3px;
    position: relative;
    z-index: 1;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.role-select-title::before,
.role-select-title::after {
    content: '✦';
    font-size: 1rem;
    margin: 0 15px;
    color: var(--accent-dark);
}

.role-select-desc {
    text-align: center;
    color: #5C4033;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 30px;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.role-select-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.role-option {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(139, 90, 43, 0.3);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.role-option:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--accent-color);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(139, 90, 43, 0.2);
}

.role-option.selected {
    background: rgba(201, 162, 39, 0.2);
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(201, 162, 39, 0.3);
}

.role-option-avatar {
    width: 48px;
    height: 48px;
    border: 2px solid rgba(139, 90, 43, 0.5);
    background: rgba(61, 35, 20, 0.1);
    image-rendering: pixelated;
}

.role-option-info {
    flex: 1;
}

.role-option-name {
    font-family: var(--font-title);
    font-size: 1.1rem;
    color: var(--primary-dark);
    font-weight: 600;
    letter-spacing: 1px;
}

.role-option-check {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(139, 90, 43, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.role-option.selected .role-option-check {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.role-option.selected .role-option-check::after {
    content: '✓';
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.role-select-btn {
    display: block;
    width: 100%;
    padding: 15px 30px;
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--parchment-light);
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: 2px solid var(--accent-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
}

.role-select-btn:hover:not(:disabled) {
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary-color) 100%);
    box-shadow: 0 5px 30px rgba(201, 162, 39, 0.4);
    transform: translateY(-2px);
}

.role-select-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.role-select-loading {
    text-align: center;
    padding: 40px;
    color: #5C4033;
    position: relative;
    z-index: 1;
}

.role-select-loading::after {
    content: '';
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid rgba(139, 90, 43, 0.3);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: role-spin 1s linear infinite;
    margin-left: 10px;
    vertical-align: middle;
}

@keyframes role-spin {
    to { transform: rotate(360deg); }
}

.role-select-decor {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.3;
    color: var(--accent-dark);
    z-index: 1;
}

.role-select-decor.top-left { top: 15px; left: 20px; }
.role-select-decor.top-right { top: 15px; right: 20px; }
.role-select-decor.bottom-left { bottom: 15px; left: 20px; }
.role-select-decor.bottom-right { bottom: 15px; right: 20px; }

.role-select-empty {
    text-align: center;
    padding: 30px;
    color: #5C4033;
    position: relative;
    z-index: 1;
}

.role-select-empty a {
    color: var(--accent-dark);
    text-decoration: underline;
}

@media (max-width: 600px) {
    .role-select-modal {
        padding: 40px 25px 30px;
    }
    
    .role-select-title {
        font-size: 1.4rem;
    }
    
    .role-select-title::before,
    .role-select-title::after {
        display: none;
    }
    
    .role-option {
        padding: 12px 15px;
    }
    
    .role-option-avatar {
        width: 40px;
        height: 40px;
    }
}
