/* ============================================
   烈焰屠龙 - 热血传奇手游官网
   暗黑魔幻风格 · 炫酷视觉
   ============================================ */

/* ---- CSS Variables ---- */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-card: #1a1a28;
    --bg-card-hover: #222236;
    --text-primary: #f0e6d3;
    --text-secondary: #a8a0b8;
    --text-muted: #6a6578;
    --accent-primary: #ff4d1c;
    --accent-secondary: #ff8c00;
    --accent-gold: #ffd700;
    --accent-fire: #ff3b3b;
    --border-color: #2a2a3a;
    --glow-color: rgba(255, 77, 28, 0.5);
    --glow-gold: rgba(255, 215, 0, 0.4);
    --gradient-fire: linear-gradient(135deg, #ff4d1c 0%, #ff8c00 50%, #ff3b3b 100%);
    --gradient-dark: linear-gradient(180deg, #0a0a0f 0%, #1a1025 50%, #0a0a0f 100%);
    --gradient-card: linear-gradient(135deg, rgba(255,77,28,0.08) 0%, rgba(255,140,0,0.04) 100%);
    --shadow-glow: 0 0 30px rgba(255, 77, 28, 0.3), 0 0 60px rgba(255, 77, 28, 0.1);
    --shadow-gold: 0 0 20px rgba(255, 215, 0, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-title: 'SimSun', 'STSong', 'Noto Serif SC', serif;
    --max-width: 1280px;
}

/* ---- Reset ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul { list-style: none; }

img { max-width: 100%; display: block; }

/* ---- Particle Canvas ---- */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* ---- Header / Navigation ---- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 16px 0;
}

.header.scrolled {
    background: rgba(10, 10, 15, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 77, 28, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    padding: 10px 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    z-index: 1001;
}

.logo-icon {
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
}

.logo-text {
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text .accent {
    -webkit-text-fill-color: var(--accent-gold);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-fire);
    border-radius: 1px;
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-download-btn {
    background: var(--gradient-fire);
    color: #fff !important;
    padding: 10px 24px !important;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(255, 77, 28, 0.4);
    animation: pulse-btn 2s ease-in-out infinite;
}

.nav-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(255, 77, 28, 0.6);
}

.nav-download-btn::after { display: none; }

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- Hero Section ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(255, 77, 28, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 30%, rgba(255, 140, 0, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 80%, rgba(255, 215, 0, 0.06) 0%, transparent 50%),
        var(--gradient-dark);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.01) 2px, rgba(255,255,255,0.01) 4px);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
}

.hero-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
    animation: fadeInDown 0.8s ease-out;
}

.badge-fire {
    background: rgba(255, 59, 59, 0.2);
    border: 1px solid rgba(255, 59, 59, 0.3);
    color: var(--accent-fire);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

.badge-new {
    background: rgba(255, 215, 0, 0.2);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: var(--accent-gold);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    animation: pulse 1.5s ease-in-out infinite;
}

.hero-title {
    font-family: var(--font-title);
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.title-line {
    display: block;
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 900;
    letter-spacing: 8px;
    line-height: 1.2;
    background: linear-gradient(180deg, #fff8e7 0%, #d4a853 50%, #8b6914 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.accent-glow {
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(255, 77, 28, 0.6));
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    letter-spacing: 4px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-meta {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.meta-item {
    text-align: center;
}

.meta-num {
    display: block;
    font-size: 2.2rem;
    font-weight: 900;
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.meta-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 36px;
    animation: fadeInUp 0.8s ease-out 0.8s both;
    flex-wrap: wrap;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--gradient-fire);
    color: #fff;
    box-shadow: 0 4px 25px rgba(255, 77, 28, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(255, 77, 28, 0.6);
}

.btn-glow {
    animation: glow-pulse 2s ease-in-out infinite;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--accent-primary);
    background: rgba(255, 77, 28, 0.08);
    transform: translateY(-2px);
}

.btn-xl {
    padding: 20px 48px;
    font-size: 1.25rem;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: skewX(-25deg);
    animation: shine 3s ease-in-out infinite;
}

.btn-icon { font-size: 1.3rem; }
.btn-arrow { transition: transform 0.3s; }
.btn-secondary:hover .btn-arrow { transform: translateX(4px); }

.hero-platforms {
    display: flex;
    justify-content: center;
    gap: 32px;
    color: var(--text-muted);
    font-size: 0.9rem;
    animation: fadeInUp 0.8s ease-out 1s both;
}

.platform-icon { margin-right: 4px; }

.hero-dragon {
    position: absolute;
    bottom: -5%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(255, 77, 28, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: dragon-float 6s ease-in-out infinite;
    pointer-events: none;
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 2px;
    animation: fadeInUp 1s ease-out 1.2s both, bounce-scroll 2s ease-in-out infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
}

/* ---- Section Common ---- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-title);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    letter-spacing: 4px;
    margin-bottom: 12px;
}

.section-title .accent {
    background: var(--gradient-fire);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1rem;
    letter-spacing: 2px;
}

/* ---- Features Section ---- */
.features {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-card);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 77, 28, 0.4);
    box-shadow: 0 20px 50px rgba(255, 77, 28, 0.1);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    animation: float 3s ease-in-out infinite;
}

.feature-card:nth-child(2) .feature-icon { animation-delay: 0.3s; }
.feature-card:nth-child(3) .feature-icon { animation-delay: 0.6s; }
.feature-card:nth-child(4) .feature-icon { animation-delay: 0.9s; }
.feature-card:nth-child(5) .feature-icon { animation-delay: 1.2s; }
.feature-card:nth-child(6) .feature-icon { animation-delay: 1.5s; }

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ---- Classes Section ---- */
.classes {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    background: var(--bg-primary);
}

.classes-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.class-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 2px;
}

.class-tab:hover {
    border-color: rgba(255, 77, 28, 0.4);
    color: var(--text-primary);
}

.class-tab.active {
    background: var(--gradient-fire);
    color: #fff;
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}

.tab-icon { font-size: 1.2rem; }

.class-panel {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    animation: fadeIn 0.5s ease;
}

.class-panel.active {
    display: grid;
}

.class-info h3 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.class-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--accent-secondary);
    background: rgba(255, 140, 0, 0.1);
    padding: 4px 12px;
    border-radius: 50px;
    vertical-align: middle;
    margin-left: 8px;
}

.class-desc {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.8;
}

.class-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat span {
    width: 50px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: right;
}

.stat-bar {
    flex: 1;
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.stat-bar div {
    height: 100%;
    background: var(--gradient-fire);
    border-radius: 4px;
    transition: width 1s ease;
    box-shadow: 0 0 10px rgba(255, 77, 28, 0.4);
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.skill-list li {
    padding: 10px 16px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--accent-primary);
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.skill-list li:hover {
    border-left-color: var(--accent-gold);
    background: var(--bg-card-hover);
    transform: translateX(4px);
}

.skill-list li strong {
    color: var(--text-primary);
}

.class-visual {
    width: 100%;
    height: auto;
    min-height: 320px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
}

.class-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--radius-lg);
}

/* ---- Gallery Section ---- */
.gallery {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    background: var(--bg-secondary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    position: relative;
    aspect-ratio: 16/10;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.gallery-item:nth-child(1) { grid-column: span 2; }

.gallery-img {
    width: 100%;
    height: 100%;
    position: relative;
    background: var(--bg-card);
}

.gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: #fff;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* ---- News Section ---- */
.news {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    background: var(--bg-primary);
}

.news-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 24px;
}

.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.news-card:hover {
    border-color: rgba(255, 77, 28, 0.3);
    transform: translateY(-4px);
}

.news-img {
    width: 100%;
    height: 220px;
}

.news-img-main {
    background: linear-gradient(135deg, #2a1015 0%, #4a1020 50%, #1a0510 100%);
    overflow: hidden;
}

.news-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-content {
    padding: 24px;
}

.news-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-right: 10px;
}

.news-tag {
    display: inline-block;
    font-size: 0.75rem;
    padding: 2px 10px;
    border-radius: 50px;
    background: rgba(255, 77, 28, 0.15);
    color: var(--accent-primary);
    font-weight: 600;
}

.news-content h3 {
    font-size: 1.3rem;
    margin: 12px 0 8px;
    line-height: 1.4;
}

.news-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 12px;
    line-height: 1.6;
}

.news-link {
    color: var(--accent-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.news-link:hover {
    color: var(--accent-gold);
}

.news-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-mini {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.news-mini h4 {
    font-size: 1rem;
    margin: 8px 0 4px;
}

.news-mini p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* ---- Download Section ---- */
.download {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    background: var(--bg-secondary);
}

/* ---- Smart Download ---- */
.download-smart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.download-main-btn {
    text-align: center;
}

.download-main-btn .btn-xl {
    font-size: 1.25rem;
    padding: 18px 56px;
}

.download-version {
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.download-platforms {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.download-platform-link {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 28px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.download-platform-link:hover {
    border-color: rgba(255, 77, 28, 0.5);
    background: rgba(255, 77, 28, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 77, 28, 0.15);
}

.platform-icon-big {
    font-size: 1.6rem;
}

.download-tip {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 480px;
    line-height: 1.6;
}

/* ---- CTA Bottom ---- */
.cta-bottom {
    position: relative;
    z-index: 1;
    padding: 80px 0;
    text-align: center;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(255, 77, 28, 0.1) 0%, transparent 60%),
        var(--bg-primary);
}

.cta-bottom h2 {
    font-family: var(--font-title);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
    letter-spacing: 4px;
    margin-bottom: 12px;
    background: linear-gradient(180deg, #fff8e7 0%, #d4a853 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-bottom p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

/* ---- FAQ Section ---- */
.faq {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    background: var(--bg-secondary);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(255, 77, 28, 0.25);
}

.faq-item.open {
    border-color: rgba(255, 77, 28, 0.4);
    box-shadow: 0 0 30px rgba(255, 77, 28, 0.08);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 1px;
}

.faq-question:hover {
    color: var(--accent-primary);
}

.faq-q-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--gradient-fire);
    color: #fff;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 900;
    flex-shrink: 0;
}

.faq-question span:nth-child(2) {
    flex: 1;
}

.faq-arrow {
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-arrow {
    transform: rotate(180deg);
    color: var(--accent-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 22px 72px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
}

.faq-answer p strong {
    color: var(--accent-primary);
}

/* ---- Guide Section ---- */
.guide {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    background: var(--bg-primary);
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.guide-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.guide-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 77, 28, 0.4);
    box-shadow: 0 12px 40px rgba(255, 77, 28, 0.1);
}

.guide-card-img {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.guide-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.guide-card:hover .guide-card-img img {
    transform: scale(1.08);
}

.guide-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--gradient-fire);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 1px;
}

.guide-tag-gold {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.guide-tag-red {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.guide-card-body {
    padding: 20px;
}

.guide-card-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: 1px;
    line-height: 1.5;
}

.guide-card-body p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
}

/* ---- Footer ---- */
.footer {
    position: relative;
    z-index: 1;
    background: #08080c;
    border-top: 1px solid var(--border-color);
    padding: 60px 0 24px;
}

.footer-brand {
    text-align: center;
    margin-bottom: 24px;
}

.footer-brand .logo-text {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.75rem;
    line-height: 1.8;
}

.footer-icp {
    margin-top: 8px;
    opacity: 0.6;
}

/* ---- Animations ---- */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes pulse-btn {
    0%, 100% { box-shadow: 0 4px 20px rgba(255, 77, 28, 0.4); }
    50% { box-shadow: 0 4px 35px rgba(255, 77, 28, 0.7); }
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 77, 28, 0.3), 0 0 40px rgba(255, 77, 28, 0.1); }
    50% { box-shadow: 0 0 35px rgba(255, 77, 28, 0.5), 0 0 70px rgba(255, 77, 28, 0.2); }
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 150%; }
    100% { left: 150%; }
}

@keyframes dragon-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

@keyframes bounce-scroll {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

@keyframes fire-flicker {
    0%, 100% { text-shadow: 0 0 10px rgba(255,77,28,0.6), 0 0 20px rgba(255,77,28,0.3); }
    50% { text-shadow: 0 0 20px rgba(255,77,28,0.8), 0 0 40px rgba(255,140,0,0.5); }
}

/* Scroll Animations */
[data-aos] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="fade-left"] {
    transform: translateX(-40px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-right"] {
    transform: translateX(40px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .download-platforms { flex-direction: column; align-items: center; }
    .download-platform-link { width: 100%; max-width: 360px; justify-content: center; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item:nth-child(1) { grid-column: span 2; }
    .class-panel { grid-template-columns: 1fr; }
    .class-visual { min-height: 250px; max-height: 300px; }
    .news-grid { grid-template-columns: 1fr; }
    .faq-list { max-width: 100%; }
    .guide-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        transition: right 0.4s ease;
        border-left: 1px solid var(--border-color);
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-menu-btn { display: flex; }

    .hero-meta { gap: 24px; }
    .meta-num { font-size: 1.5rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 300px; justify-content: center; }

    .features-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item:nth-child(1) { grid-column: span 1; }

    .classes-tabs { flex-wrap: wrap; }
    .class-tab { flex: 1; min-width: 100px; justify-content: center; }

    .class-visual { min-height: 220px; max-height: 280px; }
    .faq-question { padding: 16px 18px; font-size: 0.9rem; }
    .faq-answer p { padding: 0 18px 18px 60px; font-size: 0.85rem; }
    .guide-grid { grid-template-columns: 1fr; }

    .download-platforms { flex-direction: column; align-items: center; }
    .download-platform-link { width: 100%; max-width: 300px; justify-content: center; }

    .section-header { margin-bottom: 40px; }
    section { padding: 60px 0 !important; }
}
