/* ============================================
   九龙复古 - Legend of Mir Private Server
   Premium Game Website Stylesheet
   ============================================ */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700;900&family=Cinzel:wght@400;600;700&display=swap');

/* CSS Variables - Design Tokens */
:root {
    /* Primary Colors */
    --color-gold: #d4af37;
    --color-gold-light: #f4d03f;
    --color-gold-dark: #996515;
    --color-fire: #ff6b35;
    --color-fire-dark: #c9302c;
    --color-crimson: #dc143c;
    
    /* Background Colors */
    --bg-dark: #0a0a0f;
    --bg-darker: #050508;
    --bg-card: rgba(20, 20, 30, 0.85);
    --bg-glass: rgba(30, 30, 45, 0.6);
    
    /* Text Colors */
    --text-primary: #f5f5f5;
    --text-secondary: #b0b0b8;
    --text-gold: #d4af37;
    --text-muted: #6c6c7a;
    
    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f4d03f 50%, #996515 100%);
    --gradient-fire: linear-gradient(135deg, #ff6b35 0%, #dc143c 50%, #8b0000 100%);
    --gradient-dark: linear-gradient(180deg, #0a0a0f 0%, #1a1a2e 50%, #0a0a0f 100%);
    --gradient-hero: linear-gradient(135deg, rgba(10,10,15,0.9) 0%, rgba(20,20,35,0.7) 100%);
    
    /* Shadows */
    --shadow-gold: 0 0 30px rgba(212, 175, 55, 0.4);
    --shadow-fire: 0 0 30px rgba(255, 107, 53, 0.4);
    --shadow-dark: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
    
    /* Borders */
    --border-gold: 1px solid rgba(212, 175, 55, 0.3);
    --border-glass: 1px solid rgba(255, 255, 255, 0.1);
    
    /* Typography */
    --font-heading: 'Noto Sans SC', serif;
    --font-body: 'Noto Sans SC', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 3rem;
    --space-xl: 5rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50%;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(255, 107, 53, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(20, 20, 35, 0.9) 0%, transparent 80%);
    pointer-events: none;
    z-index: -1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

a {
    color: var(--color-gold);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-gold-light);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-sm) 0;
    backdrop-filter: blur(20px);
    background: rgba(10, 10, 15, 0.85);
    border-bottom: var(--border-gold);
    transition: all var(--transition-normal);
}

.header.scrolled {
    padding: var(--space-xs) 0;
    background: rgba(10, 10, 15, 0.95);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo img {
    height: 60px;
    width: auto;
    transition: transform var(--transition-normal);
}

.logo:hover img {
    transform: scale(1.05) rotate(5deg);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    list-style: none;
}

.nav-links a {
    position: relative;
    color: var(--text-primary);
    font-weight: 500;
    padding: var(--space-xs) var(--space-sm);
    transition: all var(--transition-normal);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width var(--transition-normal);
}

.nav-links a:hover::after {
    width: 80%;
}

.nav-links a:hover {
    color: var(--color-gold);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    width: 30px;
    height: 3px;
    background: var(--color-gold);
    border-radius: 3px;
    transition: all var(--transition-normal);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-normal);
    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.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-gold);
    color: #000;
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--color-gold);
    border: 2px solid var(--color-gold);
}

.btn-secondary:hover {
    background: var(--color-gold);
    color: #000;
    transform: translateY(-3px);
}

.btn-fire {
    background: var(--gradient-fire);
    color: #fff;
    box-shadow: var(--shadow-fire);
}

.btn-fire:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 50px rgba(255, 107, 53, 0.6);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.2rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: var(--space-xl) 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(180deg, rgba(10,10,15,0.3) 0%, rgba(10,10,15,0.6) 50%, rgba(10,10,15,0.98) 100%),
        radial-gradient(ellipse at center top, transparent 0%, rgba(10,10,15,0.8) 100%);
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 80px;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    color: var(--color-gold);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: var(--space-md);
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.3); }
    50% { box-shadow: 0 0 40px rgba(212, 175, 55, 0.6); }
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    /* font-weight: 900; */
    margin-bottom: var(--space-sm);
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 60px rgba(212, 175, 55, 0.5);
    animation: text-glow 3s ease-in-out infinite;
}

@keyframes text-glow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.5)); }
    50% { filter: drop-shadow(0 0 40px rgba(212, 175, 55, 0.8)); }
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-lg);
}

.hero-stats {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--space-lg);
}

.stat-item {
    text-align: center;
    padding: var(--space-md);
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: var(--border-gold);
    border-radius: var(--radius-md);
    min-width: 150px;
    transition: all var(--transition-normal);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-gold);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: var(--space-xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    color: var(--color-gold);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-sm);
}

.section-title {
    margin-bottom: var(--space-sm);
}

.section-title span {
    color: var(--color-gold);
}

.section-desc {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ============================================
   FEATURES GRID
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
}

.feature-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: var(--border-glass);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card);
    border-color: rgba(212, 175, 55, 0.3);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    background: rgba(212, 175, 55, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-sm);
    font-size: 2rem;
    color: var(--color-gold);
    transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon {
    background: var(--gradient-gold);
    color: #000;
    transform: scale(1.1) rotate(5deg);
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ============================================
   CLASSES SECTION
   ============================================ */
.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-md);
}

.class-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    transition: all var(--transition-normal);
    border: var(--border-glass);
}

.class-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.2);
}

.class-image {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.class-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.class-card:hover .class-image img {
    transform: scale(1.1);
}

.class-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, var(--bg-card) 0%, transparent 100%);
}

.class-content {
    padding: var(--space-md);
    position: relative;
}

.class-name {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-gold);
    margin-bottom: var(--space-xs);
}

.class-role {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-sm);
}

.class-stats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

.class-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.class-stat-bar {
    width: 80px;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
}

.class-stat-fill {
    height: 100%;
    background: var(--gradient-gold);
    border-radius: 3px;
    transition: width 1s ease;
}

/* ============================================
   DOWNLOAD SECTION
   ============================================ */
.download-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 60%);
    animation: rotate-bg 20s linear infinite;
}

@keyframes rotate-bg {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.download-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--space-md);
    background: rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    animation: bounce-glow 2s ease-in-out infinite;
}

@keyframes bounce-glow {
    0%, 100% { 
        transform: translateY(0);
        box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
    }
    50% { 
        transform: translateY(-10px);
        box-shadow: 0 0 50px rgba(212, 175, 55, 0.5);
    }
}

.download-icon svg {
    width: 60px;
    height: 60px;
    color: var(--color-gold);
}

.download-size {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--gradient-fire);
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 1;
}

.download-title {
    font-size: 2rem;
    margin-bottom: var(--space-xs);
    position: relative;
    z-index: 1;
}

.download-desc {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
}

.download-features {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
}

.download-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.download-feature svg {
    color: #00ff7f;
    width: 20px;
    height: 20px;
}

/* ============================================
   GUIDE CARDS
   ============================================ */
.guide-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.guide-item {
    background: var(--bg-card);
    border: var(--border-glass);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.guide-item:hover {
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateX(10px);
    box-shadow: -5px 0 30px rgba(212, 175, 55, 0.2);
}

.guide-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
}

.guide-content {
    flex: 1;
}

.guide-title {
    font-size: 1.2rem;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.guide-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

.guide-tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 4px;
    color: var(--color-gold);
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: var(--space-xs);
}

/* ============================================
   ACCORDION
   ============================================ */
.accordion {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.accordion-item {
    background: var(--bg-card);
    border: var(--border-glass);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.accordion-item:hover {
    border-color: rgba(212, 175, 55, 0.3);
}

.accordion-header {
    padding: var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.accordion-header:hover {
    background: rgba(212, 175, 55, 0.05);
}

.accordion-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.accordion-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-sm);
    color: var(--color-gold);
    font-size: 1.2rem;
    transition: transform var(--transition-normal);
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-body {
    padding: 0 var(--space-md) var(--space-md);
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-darker);
    border-top: var(--border-gold);
    padding: var(--space-xl) 0 var(--space-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.footer-logo img {
    height: 50px;
}

.footer-logo span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-gold);
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: var(--space-md);
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    font-size: 1.2rem;
    transition: all var(--transition-normal);
}

.social-link:hover {
    background: var(--color-gold);
    color: #000;
    transform: translateY(-3px);
}

.footer-column h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-gold);
    margin-bottom: var(--space-md);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-gold);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: var(--space-md);
    border-top: var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: var(--space-md);
}

.footer-legal a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-legal a:hover {
    color: var(--color-gold);
}

/* ============================================
   FLOATING ELEMENTS
   ============================================ */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.floating-btn {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-full);
    background: var(--gradient-fire);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 30px rgba(255, 107, 53, 0.5);
    transition: all var(--transition-normal);
    animation: pulse-cta 2s infinite;
}

@keyframes pulse-cta {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 50px rgba(255, 107, 53, 0.7);
}

/* QQ Group Floating */
.qq-float {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 998;
}

.qq-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: var(--border-gold);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    text-align: center;
    min-width: 180px;
    transition: all var(--transition-normal);
}

.qq-card:hover {
    transform: translateX(-5px);
    box-shadow: var(--shadow-gold);
}

.qq-card h5 {
    color: var(--color-gold);
    font-size: 0.9rem;
    margin-bottom: var(--space-xs);
}

.qq-number {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-primary);
    font-weight: 700;
}

/* ============================================
   PARTICLE EFFECT
   ============================================ */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-gold);
    border-radius: 50%;
    opacity: 0.3;
    animation: float-particle 15s infinite linear;
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        flex-direction: column;
        padding: var(--space-md);
        border-bottom: var(--border-gold);
        transform: translateY(-150%);
        transition: transform var(--transition-normal);
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        width: 100%;
        max-width: 250px;
    }
    
    .qq-float {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --space-md: 1.5rem;
        --space-lg: 2rem;
        --space-xl: 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .floating-cta {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-btn {
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .guide-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .guide-number {
        margin-bottom: var(--space-xs);
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-gold { color: var(--color-gold); }
.text-fire { color: var(--color-fire); }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }

/* Animation on Scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
.loading {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.loading span {
    width: 12px;
    height: 12px;
    background: var(--color-gold);
    border-radius: 50%;
    animation: loading-bounce 1s infinite ease-in-out;
}

.loading span:nth-child(2) { animation-delay: 0.1s; }
.loading span:nth-child(3) { animation-delay: 0.2s; }

@keyframes loading-bounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}
