/* Zephara Website Styles */
/* Dark fantasy theme with gold accents - Enhanced Premium Edition */
/* Improved readability and visual contrast for fantasy feel */

/* ============ CSS Variables ============ */
:root {
    /* Primary gold palette - more vibrant */
    --color-primary: #f5c542;
    --color-primary-dark: #c49a20;
    --color-primary-light: #ffe680;
    --color-primary-glow: rgba(245, 197, 66, 0.6);
    
    /* Background colors - better layering with more contrast */
    --color-bg-dark: #0d1117;
    --color-bg-darker: #010409;
    --color-bg-card: #161b22;
    --color-bg-card-hover: #21262d;
    --color-bg-elevated: #1c2128;
    
    /* Text colors - improved readability */
    --color-text: #f0f6fc;
    --color-text-muted: #8b949e;
    --color-text-secondary: #c9d1d9;
    --color-text-bright: #ffffff;
    
    /* Border and accent colors */
    --color-border: #30363d;
    --color-border-highlight: #484f58;
    
    /* Fantasy accent colors - more vivid */
    --color-accent-fire: #ff6b35;
    --color-accent-ice: #00d4ff;
    --color-accent-nature: #3fb950;
    --color-accent-arcane: #a371f7;
    --color-accent-shadow: #8957e5;
    --color-accent-blood: #f85149;
    --color-accent-holy: #ffd700;
    
    /* Rarity colors */
    --color-common: #9e9e9e;
    --color-uncommon: #3fb950;
    --color-rare: #58a6ff;
    --color-epic: #a371f7;
    --color-legendary: #f5c542;
    
    /* Fonts */
    --font-heading: 'Cinzel', Georgia, 'Times New Roman', serif;
    --font-body: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-fantasy: 'MedievalSharp', 'Cinzel', Georgia, serif;
    
    /* Enhanced shadows and glows */
    --shadow-glow: 0 0 30px rgba(245, 197, 66, 0.5);
    --shadow-glow-strong: 0 0 60px rgba(245, 197, 66, 0.7);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.6);
    --shadow-card-hover: 0 16px 48px rgba(0, 0, 0, 0.7);
    --shadow-text: 2px 2px 4px rgba(0, 0, 0, 0.8);
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Layout */
    --max-width: 1200px;
    
    /* Gradients - more fantasy feel */
    --gradient-gold: linear-gradient(135deg, #f5c542 0%, #ffe680 40%, #f5c542 60%, #c49a20 100%);
    --gradient-dark: linear-gradient(180deg, #0d1117 0%, #161b22 50%, #0d1117 100%);
    --gradient-card: linear-gradient(145deg, rgba(22, 27, 34, 0.95) 0%, rgba(13, 17, 23, 0.98) 100%);
    --gradient-fantasy: linear-gradient(135deg, rgba(245, 197, 66, 0.1) 0%, rgba(163, 113, 247, 0.05) 50%, rgba(0, 212, 255, 0.05) 100%);
}

/* Import fantasy fonts */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&family=Cinzel:wght@400;500;600;700&family=MedievalSharp&family=Uncial+Antiqua&family=Almendra:wght@400;700&display=swap');

/* ============ Reset & Base ============ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Account for fixed header */
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    font-family: var(--font-body);
    background: var(--color-bg-dark);
    color: var(--color-text);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
    /* Subtle texture overlay */
    background-image: 
        url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    background-blend-mode: overlay;
    background-size: 200px;
    animation: fadeIn 0.8s ease-in-out;
}

/* ============ Accessibility Enhancements ============ */
/* Skip to main content link */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: var(--color-bg-darker);
    padding: 12px 24px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
    transition: top var(--transition-fast);
}

.skip-to-content:focus {
    top: 20px;
    outline: 3px solid var(--color-primary-light);
    outline-offset: 2px;
}

/* Enhanced focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Remove default outline for mouse users */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Shimmer animation for titles */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

@keyframes glow-pulse {
    0%, 100% {
        filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.8))
                drop-shadow(0 0 60px rgba(245, 197, 66, 0.5))
                drop-shadow(0 4px 8px rgba(0, 0, 0, 0.9));
    }
    50% {
        filter: drop-shadow(0 0 40px rgba(255, 215, 0, 1))
                drop-shadow(0 0 80px rgba(245, 197, 66, 0.7))
                drop-shadow(0 4px 12px rgba(0, 0, 0, 0.9));
    }
}

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-darker);
    border-left: 1px solid var(--color-border);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-border-highlight), var(--color-border));
    border-radius: 6px;
    border: 2px solid var(--color-bg-darker);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--color-primary), var(--color-primary-dark));
    box-shadow: 0 0 10px rgba(245, 197, 66, 0.5);
}

/* Selection styling */
::selection {
    background: var(--color-primary);
    color: var(--color-bg-dark);
    text-shadow: none;
}

::-moz-selection {
    background: var(--color-primary);
    color: var(--color-bg-dark);
    text-shadow: none;
}

/* ============ Typography - Enhanced ============ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-shadow: var(--shadow-text);
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    text-shadow: 
        3px 3px 6px rgba(0, 0, 0, 1),
        0 0 80px rgba(245, 197, 66, 0.8),
        0 0 140px rgba(245, 197, 66, 0.5),
        0 0 200px rgba(245, 197, 66, 0.3);
    font-weight: 800;
    letter-spacing: 3px;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    text-shadow: 
        2px 2px 5px rgba(0, 0, 0, 1),
        0 0 50px rgba(245, 197, 66, 0.7),
        0 0 90px rgba(245, 197, 66, 0.4);
    font-weight: 700;
    letter-spacing: 2px;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 600;
    text-shadow: 
        1px 1px 3px rgba(0, 0, 0, 1),
        0 0 30px rgba(245, 197, 66, 0.5),
        0 0 60px rgba(245, 197, 66, 0.2);
    letter-spacing: 1.5px;
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: all var(--transition-fast);
}

a:hover {
    color: var(--color-primary-light);
    text-shadow: 
        0 0 20px rgba(245, 197, 66, 0.8),
        0 0 40px rgba(245, 197, 66, 0.4);
    transform: translateX(2px);
}

strong {
    color: var(--color-primary-light);
    font-weight: 700;
    text-shadow: 0 0 15px rgba(245, 197, 66, 0.4);
}

/* ============ Layout ============ */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-alt {
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(245, 197, 66, 0.02) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(163, 113, 247, 0.015) 0%, transparent 50%),
        var(--gradient-fantasy),
        linear-gradient(180deg, var(--color-bg-darker) 0%, var(--color-bg-dark) 50%, var(--color-bg-darker) 100%);
    position: relative;
}

.section-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(245, 197, 66, 0.01) 2px, rgba(245, 197, 66, 0.01) 4px),
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(245, 197, 66, 0.01) 2px, rgba(245, 197, 66, 0.01) 4px);
    opacity: 0.3;
    pointer-events: none;
}

/* Decorative section dividers - simplified for performance */
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--color-primary), 
        transparent);
    opacity: 0.5;
}

.section::after {
    content: '◆';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-primary);
    font-size: 14px;
}

/* ============ Header & Navigation ============ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(13, 17, 23, 0.98);
    border-bottom: 2px solid rgba(245, 197, 66, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    padding: 16px 0;
    transition: padding 0.2s ease, background 0.2s ease;
}

.header.scrolled {
    padding: 12px 0;
    background: rgba(1, 4, 9, 0.99);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.7);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Uncial Antiqua', 'MedievalSharp', var(--font-heading);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--color-primary);
    text-decoration: none;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(245, 197, 66, 0.3);
}

.logo:hover {
    color: var(--color-primary-light);
    text-shadow: 0 0 20px rgba(245, 197, 66, 0.6);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4px;
    align-items: center;
}

.nav-link {
    display: block;
    padding: 12px 20px;
    color: var(--color-text);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
    text-transform: uppercase;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
    background: rgba(245, 197, 66, 0.1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background var(--transition-fast);
}

.nav-toggle:hover {
    background: rgba(245, 197, 66, 0.15);
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--gradient-gold);
    transition: all var(--transition-fast);
    border-radius: 3px;
}

/* ============ Hero Section - OPTIMIZED FOR PERFORMANCE ============ */
/* ============================================
   HERO BACKGROUND SECTION (Decorative Only)
   ============================================ */
.hero-background-section {
    position: relative;
    min-height: 75vh;
    overflow: hidden;
    border-top: 2px solid rgba(0, 0, 0, 0.8);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        /* Vignette effect */
        radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.3) 70%, rgba(0, 0, 0, 0.7) 100%),
        /* Divine golden light from above */
        radial-gradient(ellipse at 50% -30%, rgba(245, 197, 66, 0.25) 0%, rgba(255, 230, 140, 0.1) 40%, transparent 65%),
        /* Dark overlay for readability */
        linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(13, 17, 23, 0.85) 100%),
        /* Zephara Cover image */
        url('../images/zephara-cover.png');
    background-size: cover, cover, cover, cover;
    background-position: center, center, center, center 35%;
    background-repeat: no-repeat;
    /* GPU acceleration hint */
    will-change: opacity;
}

/* Subtle glow animation - GPU optimized using only opacity */
.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 30%, rgba(245, 197, 66, 0.15) 0%, transparent 60%);
    animation: hero-glow 8s ease-in-out infinite;
    will-change: opacity;
}

@keyframes hero-glow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(to top, 
        var(--color-bg-dark) 0%, 
        rgba(13, 17, 23, 0.95) 30%,
        rgba(13, 17, 23, 0.6) 60%,
        transparent 100%);
    z-index: 1;
}

/* ============ Firefly Particles ============ */
.fireflies {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.firefly {
    position: absolute;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, rgba(245, 197, 66, 1) 0%, rgba(245, 197, 66, 0.6) 40%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    animation: firefly-float 8s ease-in-out infinite, firefly-glow 3s ease-in-out infinite;
    box-shadow: 
        0 0 10px 3px rgba(245, 197, 66, 0.6),
        0 0 20px 6px rgba(245, 197, 66, 0.3),
        0 0 30px 10px rgba(245, 197, 66, 0.1);
}

/* Individual firefly positions and timing */
.firefly:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s, 0.5s; animation-duration: 12s, 2.5s; }
.firefly:nth-child(2) { left: 25%; top: 60%; animation-delay: 1s, 0s; animation-duration: 10s, 3s; }
.firefly:nth-child(3) { left: 40%; top: 35%; animation-delay: 2s, 1s; animation-duration: 14s, 2.8s; }
.firefly:nth-child(4) { left: 55%; top: 75%; animation-delay: 0.5s, 0.3s; animation-duration: 11s, 3.2s; }
.firefly:nth-child(5) { left: 70%; top: 25%; animation-delay: 3s, 0.7s; animation-duration: 13s, 2.6s; }
.firefly:nth-child(6) { left: 85%; top: 55%; animation-delay: 1.5s, 0.2s; animation-duration: 9s, 3.5s; }
.firefly:nth-child(7) { left: 15%; top: 80%; animation-delay: 2.5s, 0.8s; animation-duration: 15s, 2.4s; }
.firefly:nth-child(8) { left: 60%; top: 15%; animation-delay: 0.8s, 0.4s; animation-duration: 11s, 3.1s; }
.firefly:nth-child(9) { left: 35%; top: 50%; animation-delay: 3.5s, 0.6s; animation-duration: 12s, 2.9s; }
.firefly:nth-child(10) { left: 80%; top: 40%; animation-delay: 1.2s, 0.1s; animation-duration: 10s, 3.3s; }
.firefly:nth-child(11) { left: 5%; top: 45%; animation-delay: 4s, 0.9s; animation-duration: 14s, 2.7s; }
.firefly:nth-child(12) { left: 50%; top: 85%; animation-delay: 2.2s, 0.35s; animation-duration: 13s, 3.4s; }
.firefly:nth-child(13) { left: 90%; top: 70%; animation-delay: 0.3s, 0.55s; animation-duration: 11s, 2.5s; }
.firefly:nth-child(14) { left: 30%; top: 10%; animation-delay: 1.8s, 0.75s; animation-duration: 12s, 3s; }
.firefly:nth-child(15) { left: 75%; top: 90%; animation-delay: 3.2s, 0.15s; animation-duration: 10s, 2.8s; }

@keyframes firefly-float {
    0% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -40px) scale(0.8);
    }
    50% {
        transform: translate(-20px, -60px) scale(1.1);
    }
    75% {
        transform: translate(40px, -30px) scale(0.9);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes firefly-glow {
    0%, 100% {
        opacity: 0;
    }
    20% {
        opacity: 0.9;
    }
    50% {
        opacity: 0.4;
    }
    80% {
        opacity: 1;
    }
}

/* ============================================
   HERO CONTENT SECTION (Separate from Background)
   ============================================ */
.hero-content-section {
    position: relative;
    background: var(--color-bg-dark);
    padding: 40px 0 100px;
    text-align: center;
    overflow: hidden;
}

.hero-content {
    max-width: 950px;
    margin: 0 auto;
    padding: 20px 24px;
    animation: hero-entrance 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes hero-entrance {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    padding: 18px 42px;
    background: 
        linear-gradient(135deg, rgba(245, 197, 66, 0.25) 0%, rgba(245, 197, 66, 0.12) 100%),
        rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(245, 197, 66, 0.5);
    border-radius: 32px;
    font-size: 0.95rem;
    color: var(--color-primary-light);
    margin-bottom: 40px;
    letter-spacing: 7px;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: 
        0 0 30px rgba(245, 197, 66, 0.4),
        0 8px 24px rgba(0, 0, 0, 0.5);
    text-shadow: 0 0 20px rgba(245, 197, 66, 0.8);
}

.hero-title {
    font-family: 'Uncial Antiqua', 'MedievalSharp', 'Cinzel Decorative', Georgia, serif;
    font-size: clamp(4rem, 14vw, 9rem);
    margin-bottom: 28px;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: clamp(4px, 1.5vw, 12px);
    color: transparent;
    /* Uniform gold gradient - consistent color across all letters */
    background: linear-gradient(
        180deg,
        #fff8dc 0%,
        #ffd700 25%,
        #f5c542 50%,
        #ffd700 75%,
        #fff8dc 100%
    );
    background-size: 100% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    font-weight: 400;
    position: relative;
    -webkit-font-smoothing: antialiased;
    display: block;
    width: fit-content;
    padding: 0 0.1em;
    animation: glow-pulse 3s ease-in-out infinite;
    /* Enhanced text shadow for depth and glow */
    filter: drop-shadow(0 0 30px rgba(255, 215, 0, 0.8))
            drop-shadow(0 0 60px rgba(245, 197, 66, 0.5))
            drop-shadow(0 4px 8px rgba(0, 0, 0, 0.9));
}

/* Decorative line under the title */
.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        #8b6914 15%,
        #ffd700 50%,
        #8b6914 85%,
        transparent 100%
    );
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    color: #ffffff;
    font-style: italic;
    margin-bottom: 40px;
    letter-spacing: 6px;
    text-shadow: 
        0 0 30px rgba(255, 255, 255, 0.5),
        2px 2px 6px rgba(0, 0, 0, 0.8);
    font-weight: 600;
}

.hero-description {
    font-size: 1.3rem;
    color: var(--color-text-bright);
    max-width: 720px;
    margin: 0 auto 48px;
    line-height: 2.1;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 1),
        0 0 30px rgba(0, 0, 0, 0.7);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

/* ============ Buttons - Optimized ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 40px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    text-decoration: none;
    text-transform: uppercase;
}

/* Focus states for accessibility */
.btn:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 4px;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--color-bg-dark);
    box-shadow: 0 4px 20px rgba(245, 197, 66, 0.4);
    font-weight: 800;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(245, 197, 66, 0.6);
}

.btn-primary:active {
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(22, 27, 34, 0.95);
    color: var(--color-text-bright);
    border: 2px solid rgba(245, 197, 66, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary-light);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

/* ============ Cards - Optimized ============ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.card {
    background: var(--gradient-card);
    border: 2px solid rgba(245, 197, 66, 0.15);
    border-radius: 16px;
    padding: 40px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(245, 197, 66, 0.4);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 24px;
    display: block;
}

.card-title {
    font-size: 1.5rem;
    color: var(--color-text-bright);
    margin-bottom: 16px;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    font-weight: 600;
}

.card-text {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    line-height: 1.9;
}

/* ============ Feature List - Enhanced ============ */
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 28px;
    background: rgba(245, 197, 66, 0.04);
    border-radius: 12px;
    border-left: 4px solid var(--color-primary);
    transition: all var(--transition-fast);
    border-top: 1px solid rgba(245, 197, 66, 0.1);
    border-right: 1px solid rgba(48, 54, 61, 0.5);
    border-bottom: 1px solid rgba(48, 54, 61, 0.5);
}

.feature-item:hover {
    background: rgba(245, 197, 66, 0.15);
    transform: translateX(12px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4), 0 0 30px rgba(245, 197, 66, 0.2);
    border-left-color: var(--color-primary-light);
    border-left-width: 5px;
}

.feature-item span {
    color: var(--color-primary);
    font-size: 1.6rem;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px var(--color-primary-glow));
}

.feature-item p {
    margin: 0;
    color: var(--color-text);
    font-size: 1.05rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
    font-weight: 500;
}

/* ============ Stats Grid - Enhanced ============ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 36px 20px;
    position: relative;
    background: rgba(245, 197, 66, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(245, 197, 66, 0.1);
    transition: all var(--transition-medium);
}

.stat-item:hover {
    background: rgba(245, 197, 66, 0.12);
    border-color: rgba(245, 197, 66, 0.5);
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 40px rgba(245, 197, 66, 0.3);
}

.stat-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gradient-gold);
    border-radius: 3px;
    opacity: 0.7;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 7vw, 4.5rem);
    background: linear-gradient(135deg, #ffe680 0%, #f5c542 30%, #ffe680 50%, #f5c542 70%, #c49a20 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 14px;
    display: block;
    line-height: 1;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 30px rgba(245, 197, 66, 0.5));
    font-weight: 800;
}

.stat-label {
    color: var(--color-text);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

/* ============ Section Headers - Enhanced ============ */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 64px;
}

.section-header h2 {
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.85),
        0 0 40px rgba(245, 197, 66, 0.6),
        0 0 80px rgba(245, 197, 66, 0.3);
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: var(--gradient-gold);
    border-radius: 5px;
    box-shadow: 
        0 0 25px var(--color-primary-glow),
        0 0 50px rgba(245, 197, 66, 0.4);
}

.section-header p {
    color: var(--color-text);
    font-size: 1.25rem;
    line-height: 1.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
}

/* ============ World Map Section ============ */
.map-frame {
    background: var(--color-bg-card);
    border: 3px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.map-frame iframe {
    width: 100%;
    height: 600px;
    border: none;
}

/* ============ Timeline ============ */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-border);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
}

.timeline-item:nth-child(odd) {
    margin-left: auto;
    text-align: left;
}

.timeline-item:nth-child(even) {
    text-align: right;
}

.timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--color-primary);
    border-radius: 50%;
    top: 28px;
}

.timeline-item:nth-child(odd) .timeline-dot {
    left: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
    right: -8px;
}

/* ============ Footer ============ */
.footer {
    background: 
        radial-gradient(ellipse at 50% 0%, rgba(245, 197, 66, 0.03) 0%, transparent 50%),
        linear-gradient(180deg, var(--color-bg-dark) 0%, var(--color-bg-darker) 100%);
    border-top: 2px solid transparent;
    border-image: linear-gradient(90deg, transparent, var(--color-primary-dark), transparent) 1;
    padding: 80px 0 40px;
    position: relative;
    box-shadow: inset 0 1px 0 rgba(245, 197, 66, 0.1);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    opacity: 0.4;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand {
    max-width: 350px;
}

.footer-brand .logo {
    margin-bottom: 20px;
    display: inline-flex;
}

.footer-brand p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

.footer-nav h4 {
    color: var(--color-text);
    font-size: 1rem;
    margin-bottom: 20px;
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 12px;
}

.footer-nav a {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    display: inline-block;
    position: relative;
    padding-left: 8px;
}

.footer-nav a::before {
    content: '›';
    position: absolute;
    left: -8px;
    opacity: 0;
    transition: all var(--transition-fast);
    color: var(--color-primary);
}

.footer-nav a:hover {
    color: var(--color-primary);
    transform: translateX(8px);
    text-shadow: 0 0 15px rgba(245, 197, 66, 0.5);
}

.footer-nav a:hover::before {
    opacity: 1;
    left: 0;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    font-size: 1.4rem;
    color: var(--color-text-muted);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
}

.footer-social a:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-6px) rotate(5deg);
    box-shadow: 
        0 10px 25px rgba(245, 197, 66, 0.3),
        0 0 30px rgba(245, 197, 66, 0.2);
    background: rgba(245, 197, 66, 0.1);
}

/* ============ Page Header ============ */
.page-header {
    padding: 180px 0 100px;
    text-align: center;
    background: 
        radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.1) 0%, transparent 60%),
        linear-gradient(180deg, var(--color-bg-darker) 0%, var(--color-bg-dark) 100%);
    border-bottom: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 100px 50px, rgba(255,255,255,0.15), transparent),
        radial-gradient(1px 1px at 200px 150px, rgba(212,175,55,0.1), transparent),
        radial-gradient(2px 2px at 300px 80px, rgba(255,255,255,0.1), transparent);
    background-size: 400px 300px;
    opacity: 0.5;
}

.page-header h1 {
    margin-bottom: 20px;
    position: relative;
}

.page-header p {
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.2rem;
    position: relative;
}

/* ============ Gallery ============ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 16/10;
    background: var(--color-bg-card);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-medium);
    border: 1px solid var(--color-border);
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(212, 175, 55, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(153, 69, 255, 0.03) 0%, transparent 50%),
        linear-gradient(145deg, var(--color-bg-card) 0%, var(--color-bg-darker) 100%);
    transition: all var(--transition-medium);
}

.gallery-placeholder span {
    font-size: 4rem;
    margin-bottom: 16px;
    opacity: 0.4;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: all var(--transition-medium);
}

.gallery-item:hover .gallery-placeholder span {
    opacity: 0.7;
    transform: scale(1.1);
}

.gallery-placeholder p {
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ============ Form Styles ============ */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* ============ Contact Info ============ */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 8px;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--color-text);
    font-size: 1rem;
    margin-bottom: 4px;
    font-family: var(--font-body);
}

.contact-item p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ============ 404 Page ============ */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.error-code {
    font-family: var(--font-heading);
    font-size: clamp(6rem, 20vw, 12rem);
    color: var(--color-primary);
    opacity: 0.3;
    margin-bottom: -20px;
}

.error-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 16px;
}

.error-text {
    max-width: 500px;
    margin: 0 auto 32px;
}

/* ============ Responsive Design ============ */
@media (max-width: 768px) {
    /* Prevent horizontal overflow on mobile */
    html, body {
        overflow-x: hidden;
    }
    
    /* MOBILE HERO - OPTIMIZED FOR PERFORMANCE */
    
    /* Simplified mobile background - no heavy gradients or animations */
    .hero-bg {
        background: 
            radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.5) 100%),
            radial-gradient(ellipse at 50% 0%, rgba(245, 197, 66, 0.3) 0%, transparent 60%),
            linear-gradient(180deg, #0d1218 0%, #151e2e 50%, #0d1218 100%);
    }
    
    /* Simple glow, no heavy particle effects */
    .hero-bg::before {
        background: radial-gradient(ellipse at 50% 30%, rgba(245, 197, 66, 0.2) 0%, transparent 50%);
        animation: none;
    }
    
    /* Mobile hero sections */
    .hero-background-section {
        min-height: 35vh;
    }
    
    .hero-content-section {
        padding: 30px 0 80px;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .hero-content {
        padding: 20px 20px;
        max-width: 100%;
    }
    
    /* Mobile badge - simplified */
    .hero-badge {
        font-size: 0.8rem;
        padding: 14px 28px;
        letter-spacing: 4px;
        margin-bottom: 32px;
        box-shadow: 0 4px 20px rgba(245, 197, 66, 0.4);
    }
    
    /* Mobile title - clean and readable */
    .hero-title {
        font-size: clamp(2.5rem, 11vw, 4.5rem);
        letter-spacing: clamp(4px, 1.5vw, 10px);
        margin-bottom: 20px;
        padding: 0 0.1em;
        filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.7))
                drop-shadow(0 0 40px rgba(245, 197, 66, 0.4))
                drop-shadow(0 3px 6px rgba(0, 0, 0, 0.9));
    }
    
    /* Mobile subtitle */
    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.4rem);
        letter-spacing: 3px;
        margin-bottom: 28px;
        color: #ffffff;
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.5), 2px 2px 4px rgba(0, 0, 0, 0.8);
    }
    
    /* Mobile description */
    .hero-description {
        font-size: 1rem;
        line-height: 1.8;
        margin-bottom: 36px;
        color: #e8e8e8;
    }
    
    /* Mobile buttons */
    .hero-buttons {
        flex-direction: column;
        gap: 14px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        padding: 18px 36px;
        font-size: 1rem;
    }
    
    .btn-primary {
        box-shadow: 0 4px 20px rgba(245, 197, 66, 0.5);
    }
    
    .btn-secondary {
        border: 2px solid rgba(245, 197, 66, 0.4);
    }
    
    /* Mobile nav styles */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(13, 17, 23, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        transform: translateY(-150%);
        opacity: 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
        border-bottom: 2px solid var(--color-primary-dark);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-link {
        padding: 16px;
        text-align: center;
        border-bottom: 1px solid var(--color-border);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 50px;
        text-align: left !important;
    }
    
    .timeline-dot {
        left: 12px !important;
        right: auto !important;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .map-frame iframe {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .card {
        padding: 24px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .stat-item {
        padding: 16px;
    }
}

/* ============ Animations ============ */
@keyframes btn-magic-pulse {
    0% { 
        box-shadow: 
            0 0 0 0 rgba(245, 197, 66, 0.4),
            var(--shadow-glow), 
            0 4px 15px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    70% { 
        box-shadow: 
            0 0 0 15px rgba(245, 197, 66, 0),
            var(--shadow-glow), 
            0 4px 15px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    100% { 
        box-shadow: 
            0 0 0 0 rgba(245, 197, 66, 0),
            var(--shadow-glow), 
            0 4px 15px rgba(0, 0, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Initial hidden state for animated elements */
[data-animate] {
    opacity: 0;
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 1 !important;
}

.animate-fadeInLeft {
    animation: fadeInLeft 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 1 !important;
}

.animate-fadeInRight {
    animation: fadeInRight 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 1 !important;
}

.animate-scaleIn {
    animation: scaleIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 1 !important;
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ============ PayPal Button Centering ============ */
[id^="paypal-container"] {
    text-align: center;
}

[id^="paypal-container"] iframe {
    display: block;
    margin: 0 auto;
}

/* ============ Utility Classes ============ */
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.text-muted { color: var(--color-text-muted); }
.text-gradient {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

/* Glow effects */
.glow-text {
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.glow-box {
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

/* Gradient border effect */
.gradient-border {
    position: relative;
    background: var(--color-bg-card);
    border-radius: 16px;
}

.gradient-border::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg, var(--color-primary), transparent, var(--color-accent-purple));
    border-radius: 17px;
    z-index: -1;
    opacity: 0.5;
}

/* Shimmer effect */
.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Hover lift effect */
.hover-lift {
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
}

/* Icon badge */
.icon-badge {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 16px;
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Divider */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
    margin: 48px 0;
}

.divider-gold {
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    opacity: 0.5;
}

/* Responsive grid helpers */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        max-width: 100%;
        text-align: center;
    }
    
    .footer-brand .logo {
        justify-content: center;
    }
    
    .footer-nav {
        text-align: center;
    }
}

/* ============ AAA Quality Enhancements ============ */

/* Logo with SVG */
.logo-img {
    width: 36px;
    height: 36px;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.5));
    transition: all var(--transition-fast);
}

.logo:hover .logo-img {
    filter: drop-shadow(0 0 16px rgba(212, 175, 55, 0.8));
    transform: scale(1.05);
}

/* Card Icon Wrapper */
.card-icon-wrap {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 16px;
    margin-bottom: 24px;
    transition: all var(--transition-medium);
}

.card-icon-wrap.large {
    width: 96px;
    height: 96px;
    margin-bottom: 28px;
}

.card:hover .card-icon-wrap {
    border-color: var(--color-primary);
    background: linear-gradient(145deg, rgba(245, 197, 66, 0.2) 0%, rgba(245, 197, 66, 0.12) 100%);
    box-shadow: 
        0 0 40px rgba(245, 197, 66, 0.4),
        0 0 20px rgba(245, 197, 66, 0.6);
    transform: translateY(-6px) scale(1.05);
}

.card-icon-img {
    width: 48px;
    height: 48px;
    transition: all var(--transition-medium);
}

.card-icon-wrap.large .card-icon-img {
    width: 64px;
    height: 64px;
}

.card:hover .card-icon-img {
    transform: scale(1.15);
    filter: drop-shadow(0 0 15px rgba(245, 197, 66, 0.6));
}

/* Story Block Styling */
.story-block {
    max-width: 900px;
    margin: 0 auto;
    padding: 56px;
    background: 
        linear-gradient(135deg, rgba(245, 197, 66, 0.04) 0%, rgba(163, 113, 247, 0.02) 100%),
        linear-gradient(145deg, rgba(18, 23, 31, 0.8) 0%, rgba(10, 14, 20, 0.95) 100%);
    border: 2px solid rgba(245, 197, 66, 0.2);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.story-block::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-family: Georgia, serif;
    font-size: 120px;
    color: var(--color-primary);
    opacity: 0.15;
    line-height: 1;
    pointer-events: none;
}

.story-block::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 200px;
    background: linear-gradient(90deg, transparent 0%, rgba(245, 197, 66, 0.03) 100%);
    pointer-events: none;
}

.story-text {
    font-size: 1.25rem;
    line-height: 2.1;
    margin-bottom: 28px;
    color: var(--color-text);
    text-shadow: 
        1px 1px 3px rgba(0, 0, 0, 0.7),
        0 0 15px rgba(0, 0, 0, 0.4);
    font-weight: 400;
    position: relative;
    z-index: 1;
}

.story-text:last-child {
    margin-bottom: 0;
}

.story-text.accent {
    color: var(--color-primary-light);
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.45rem;
    text-align: center;
    margin-top: 36px;
    text-shadow: 
        0 0 30px rgba(245, 197, 66, 0.6),
        2px 2px 4px rgba(0, 0, 0, 0.8);
    font-weight: 600;
}

.story-text em {
    color: var(--color-primary-light);
    font-style: italic;
    text-shadow: 0 0 20px rgba(245, 197, 66, 0.5);
}

.story-text strong {
    color: var(--color-primary);
    font-weight: 800;
    text-shadow: 
        0 0 25px rgba(245, 197, 66, 0.7),
        1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Pillar Cards */
.pillars-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.pillar-card {
    text-align: center;
    padding: 40px 32px;
}

.pillar-card .card-icon-wrap {
    margin: 0 auto 24px;
}

/* Explore Cards */
.explore-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.explore-card {
    text-decoration: none;
    display: block;
}

.explore-card .card-link {
    display: inline-block;
    margin-top: 16px;
    color: var(--color-primary-light);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: all var(--transition-fast);
    text-shadow: 0 0 15px rgba(245, 197, 66, 0.5);
}

.explore-card:hover .card-link {
    transform: translateX(10px);
    text-shadow: 
        0 0 25px rgba(245, 197, 66, 0.8),
        0 0 50px rgba(245, 197, 66, 0.4);
}

/* Studio Section */
.studio-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.studio-content h2 {
    margin-bottom: 28px;
}

.studio-text {
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 24px;
    color: var(--color-text-secondary);
}

.studio-tagline {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-primary);
    font-style: italic;
    margin-top: 32px;
}

.studio-card {
    background: linear-gradient(145deg, var(--color-bg-card) 0%, rgba(18, 23, 31, 0.8) 100%);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 48px 36px;
    text-align: center;
    transition: all var(--transition-medium);
}

.studio-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover), 0 0 40px rgba(212, 175, 55, 0.1);
}

.studio-card .card-icon-wrap {
    margin: 0 auto 28px;
}

/* Footer Enhancements */
.footer-tagline {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--color-text-muted);
    margin-bottom: 8px;
    font-size: 1rem;
}

.footer-studio {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    opacity: 0.7;
}

.footer-icon {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    vertical-align: middle;
    opacity: 0.7;
    transition: all var(--transition-fast);
}

.footer-nav a:hover .footer-icon {
    opacity: 1;
    transform: scale(1.1);
}

/* Responsive for new sections */
@media (max-width: 900px) {
    .studio-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .story-block {
        padding: 32px 24px;
    }
    
    .story-block::before {
        font-size: 4rem;
        top: 10px;
        left: 15px;
    }
    
    .story-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 600px) {
    .card-icon-wrap {
        width: 60px;
        height: 60px;
    }
    
    .card-icon-img {
        width: 36px;
        height: 36px;
    }
    
    .pillar-card {
        padding: 28px 20px;
    }
}

/* Footer Social Icons */
.footer-social-icon {
    width: 20px;
    height: 20px;
    opacity: 0.7;
    transition: all var(--transition-fast);
}

.footer-social a:hover .footer-social-icon {
    opacity: 1;
    transform: scale(1.15);
}

/* ============ Race Cards ============ */
.race-card {
    margin-bottom: 32px;
}

.race-card-inner {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.race-card-icon {
    flex: 0 0 auto;
    text-align: center;
    max-width: 400px;
}

.race-card-icon img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

.race-card-emoji {
    font-size: 4rem;
    margin-bottom: 8px;
}

.race-card-name {
    color: var(--color-primary);
    margin: 0;
}

.race-card-content {
    flex: 1;
    min-width: 280px;
}

.race-card-description {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.race-card-features {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Race icon SVG image */
.race-icon-img {
    width: 64px;
    height: 64px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* Race card mobile responsiveness */
@media (max-width: 600px) {
    .race-card-inner {
        flex-direction: column;
        gap: 16px;
    }
    
    .race-card-icon {
        flex: none;
        width: 100%;
    }
    
    .race-card-emoji {
        font-size: 3rem;
    }
    
    .race-card-content {
        min-width: 0;
        width: 100%;
    }
    
    .race-card-features {
        grid-template-columns: 1fr;
    }
    
    .race-card-description {
        font-size: 1rem;
    }
    
    .race-icon-img {
        width: 48px;
        height: 48px;
    }
}

/* ============ Print Styles ============ */
@media print {
    *,
    *::before,
    *::after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]::after {
        content: " (" attr(href) ")";
    }

    abbr[title]::after {
        content: " (" attr(title) ")";
    }

    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }

    .header,
    .footer,
    .nav-toggle,
    .btn {
        display: none;
    }
}
