/* Google Fonts loaded asynchronously via JavaScript for better performance */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #2c1810;
    overflow-x: hidden;
    background-color: #1a1410;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0d0a08 0%, #1a1410 25%, #2c1e14 50%, #3d2918 75%, #4a3020 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-bottom: 50px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
    animation: heroGlow 20s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 0;
    filter: contrast(1.2) brightness(0.8);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 69, 19, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 248, 220, 0.08) 0%, transparent 50%);
    animation: mysticalGlow 8s ease-in-out infinite alternate;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="10,10 15,5 12,15" fill="rgba(255,215,0,0.4)"/><polygon points="80,30 85,25 82,35" fill="rgba(255,215,0,0.3)"/><polygon points="30,70 35,65 32,75" fill="rgba(255,215,0,0.5)"/><polygon points="70,80 75,75 72,85" fill="rgba(255,215,0,0.3)"/><circle cx="60" cy="20" r="1" fill="rgba(255,248,220,0.8)"/><circle cx="25" cy="50" r="1.5" fill="rgba(255,248,220,0.6)"/></svg>') repeat;
    animation: magicalParticles 20s linear infinite;
}

@keyframes mysticalGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes magicalParticles {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 1100px;
    padding: 0 20px;
    animation: heroFadeIn 1.5s ease;
}

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

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-particles::before,
.hero-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ffd700;
    border-radius: 50%;
    box-shadow: 0 0 10px #ffd700;
    animation: floatParticles 20s linear infinite;
}

.hero-particles::before {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.hero-particles::after {
    top: 20%;
    right: 10%;
    animation-delay: 5s;
}

@keyframes floatParticles {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #ffd700;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    bottom: -10px;
    animation: floatUp 20s linear infinite;
    box-shadow: 0 0 6px #ffd700, 0 0 12px #daa520;
}

@keyframes floatUp {
    0% {
        opacity: 0;
        transform: translateY(0) translateX(0) scale(0);
    }
    10% {
        opacity: 1;
        transform: translateY(-10vh) translateX(10px) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateY(-90vh) translateX(-10px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-100vh) translateX(0) scale(0);
    }
}

.hero-tagline {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: #ffd700;
    margin: 1.5rem 0;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    }
    to {
        text-shadow: 0 0 30px rgba(255, 215, 0, 0.8), 0 0 40px rgba(255, 215, 0, 0.6);
    }
}

.hero-description {
    font-size: 1.3rem;
    color: #f5deb3;
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description .highlight {
    display: block;
    margin-top: 0.5rem;
    font-weight: 600;
    color: #ffd700;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 20px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: linear-gradient(135deg, #ffd700 0%, #daa520 50%, #b8860b 100%);
    color: #0d0a08;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4),
                inset 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.cta-button.primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.6),
                inset 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.cta-button.secondary {
    background: transparent;
    color: #ffd700;
    border: 2px solid #ffd700;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.2);
}

.cta-button.secondary:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

.cta-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 600px;
    margin: 0 auto;
}

.stat {
    text-align: center;
    animation: statFadeIn 1s ease forwards;
    opacity: 0;
}

.stat:nth-child(1) { animation-delay: 0.5s; }
.stat:nth-child(2) { animation-delay: 0.7s; }
.stat:nth-child(3) { animation-delay: 0.9s; }

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    font-size: 1rem;
    color: #f5deb3;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.hero h1 {
    font-family: 'Cinzel', serif;
    font-size: 5rem;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
    background: linear-gradient(45deg, #ffd700, #ffed4e, #fff8dc, #daa520);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: enchantedText 4s ease infinite;
    letter-spacing: 3px;
}

@keyframes enchantedText {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero .subtitle {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: #d4af37;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
    font-weight: 600;
}

.hero p {
    font-size: 1.3rem;
    color: #f5deb3;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 20px 50px;
    background: linear-gradient(135deg, #b8860b 0%, #daa520 25%, #ffd700 50%, #daa520 75%, #b8860b 100%);
    background-size: 200% 200%;
    animation: goldShift 3s ease infinite;
    color: #0d0a08;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(218, 165, 32, 0.5),
                inset 0 0 0 2px rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
}


.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(218, 165, 32, 0.6);
    background: linear-gradient(45deg, #ffd700, #daa520, #b8860b);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(13, 10, 8, 0.98) 0%, rgba(26, 20, 16, 0.95) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    z-index: 1000;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

nav::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ffd700, transparent);
    animation: shimmerLine 3s ease-in-out infinite;
}

@keyframes shimmerLine {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

nav.scrolled {
    padding: 0;
    background: linear-gradient(135deg, rgba(13, 10, 8, 1) 0%, rgba(26, 20, 16, 0.98) 100%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 3rem;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1002;
}

.logo-img {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.1) rotate(-5deg);
}

.logo-text {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, #ffd700, #fff8dc, #daa520);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: #f5deb3;
    text-decoration: none;
    padding: 0.8rem 1.8rem;
    display: block;
    position: relative;
    font-weight: 500;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.nav-links a::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffd700;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.nav-links a:hover::before {
    transform: translateY(0);
}

.nav-links a:hover {
    color: transparent;
}

/* Hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    width: 30px;
    height: 25px;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1002;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: #ffd700;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

/* Sections */
section {
    padding: 100px 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    text-align: center;
    margin: 0 auto 4rem;
    color: #2c1810;
    position: relative;
    font-weight: 600;
    display: block;
    width: 100%;
}

.carousel-section .section-title {
    color: #ffd700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(45deg, #daa520, #ffd700, #b8860b);
    border-radius: 2px;
}

/* Section Divider */
.section-divider {
    width: 100%;
    height: 60px;
    position: relative;
    background: transparent;
    margin-top: -1px;
    z-index: 10;
}

.section-divider svg {
    width: 100%;
    height: 100%;
    display: block;
}

.section-divider path {
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.5));
}

/* Image Carousel */
.carousel-section {
    padding: 100px 0 120px;
    background: linear-gradient(180deg, 
        #0d0a08 0%, 
        #1a1410 20%, 
        #2c1e14 50%,
        #1a1410 80%,
        #0d0a08 100%);
    position: relative;
    overflow: hidden;
    margin-top: -60px;
    padding-top: 60px;
}

.carousel-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(218, 165, 32, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(184, 134, 11, 0.02) 0%, transparent 60%);
    animation: floatBg 20s ease-in-out infinite;
}

.carousel-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 100px,
            rgba(255, 215, 0, 0.01) 100px,
            rgba(255, 215, 0, 0.01) 200px
        );
    pointer-events: none;
}

@keyframes floatBg {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        opacity: 0.8;
    }
    50% { 
        transform: scale(1.1) rotate(5deg);
        opacity: 1;
    }
}

.carousel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8),
                0 0 0 1px rgba(218, 165, 32, 0.3),
                inset 0 0 20px rgba(255, 215, 0, 0.05);
    background: linear-gradient(135deg, rgba(13, 10, 8, 0.9) 0%, rgba(0, 0, 0, 0.9) 100%);
    padding: 5px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
}

.carousel-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.8) 50%, transparent 100%);
    padding: 3rem 2rem 2rem;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.carousel-slide:hover .carousel-caption {
    transform: translateY(0);
}

.carousel-caption h3 {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    color: transparent;
    background: linear-gradient(45deg, #ffd700, #fff8dc, #daa520);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.2s forwards;
}

.carousel-caption p {
    color: #f5deb3;
    font-size: 1.1rem;
    line-height: 1.6;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.3s forwards;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(13, 10, 8, 0.8);
    color: #ffd700;
    border: 2px solid #daa520;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.carousel-nav:hover {
    background: rgba(13, 10, 8, 0.9);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}

.carousel-prev { left: 20px; }
.carousel-next { right: 20px; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 25px;
}

.carousel-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(44, 24, 16, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.carousel-dot.active {
    background: #daa520;
    border-color: #b8860b;
    transform: scale(1.2);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 3rem;
    margin-top: 5rem;
}

.feature-card {
    background: linear-gradient(135deg, rgba(255, 248, 220, 0.9) 0%, rgba(250, 240, 230, 0.9) 100%);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(44, 24, 16, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(218, 165, 32, 0.2);
    backdrop-filter: blur(10px);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #daa520, #ffd700, #b8860b, #daa520);
    border-radius: 20px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.feature-card:hover::before {
    opacity: 1;
    animation: borderRotate 3s linear infinite;
}

@keyframes borderRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(44, 24, 16, 0.25);
    border-color: #daa520;
}

.feature-img {
    width: 100px;
    height: 100px;
    margin-bottom: 1.5rem;
    display: block;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(44, 24, 16, 0.2);
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-img {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: #2c1810;
    font-weight: 600;
}

.feature-card p {
    color: #5d4037;
    line-height: 1.7;
    font-weight: 400;
}

/* Game Info */
.game-info {
    background: linear-gradient(135deg, #1a1410 0%, #2c1e14 50%, #3d2918 100%);
    padding: 120px 0;
    color: #f5deb3;
    position: relative;
    overflow: hidden;
}

.game-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M10,10 Q50,5 90,10 T90,50 Q50,95 10,90 T10,50 Z" fill="none" stroke="rgba(255,215,0,0.1)" stroke-width="0.5"/></svg>') no-repeat center;
    background-size: 150% 150%;
    animation: morphBg 20s ease-in-out infinite;
}

@keyframes morphBg {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
}

.game-info .section-title {
    color: #ffd700;
}

.info-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.info-text {
    font-size: 1.2rem;
    line-height: 1.9;
    color: #f5deb3;
}

.info-text h3 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: #ffd700;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.info-text strong {
    color: #daa520;
}

.info-image {
    text-align: center;
    padding: 2.5rem;
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(218, 165, 32, 0.4);
}

.gameplay-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Steam Section */
.steam-section {
    background: linear-gradient(135deg, #0d0a08 0%, #1a1410 50%, #2c1e14 100%);
    color: #f5deb3;
    text-align: center;
    padding: 120px 0;
    position: relative;
}

.steam-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ffd700 20%, #daa520 50%, #ffd700 80%, transparent);
    animation: shimmerLine 5s ease-in-out infinite;
}

.steam-section .section-title {
    color: #ffd700;
}

.steam-button {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 25px 50px;
    background: linear-gradient(45deg, #1b2838, #2a475e, #66c0f4);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 1.4rem;
    font-weight: 600;
    transition: all 0.4s ease;
    margin-top: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #66c0f4;
}

.steam-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    background: linear-gradient(45deg, #2a475e, #66c0f4, #1b2838);
}

.steam-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    transition: all 0.3s ease;
}

.steam-icon svg {
    width: 100%;
    height: 100%;
    filter: invert(1);
}


/* Footer */
footer {
    background: #0d0a08;
    color: #f5deb3;
    text-align: center;
    padding: 3rem 0;
    border-top: 2px solid rgba(218, 165, 32, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero .subtitle {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-tagline {
        font-size: 1.4rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-description .highlight {
        font-size: 1.2rem;
    }

    .hero-cta-group {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 3rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        flex-direction: column;
        background: linear-gradient(135deg, rgba(13, 10, 8, 0.98) 0%, rgba(26, 20, 16, 0.95) 100%);
        backdrop-filter: blur(20px);
        width: 100%;
        max-width: 400px;
        height: 100vh;
        padding-top: 100px;
        gap: 0;
        transition: right 0.4s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        padding: 1.5rem 2rem;
        font-size: 1.2rem;
        border-bottom: 1px solid rgba(218, 165, 32, 0.1);
        width: 100%;
    }

    .nav-links a::before {
        display: none;
    }

    .nav-links a:hover {
        color: #ffd700;
        background: rgba(218, 165, 32, 0.1);
    }

    body.menu-open {
        overflow: hidden;
    }

    .nav-container {
        padding: 1rem 1.5rem;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .info-content {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .carousel-prev { left: 10px; }
    .carousel-next { right: 10px; }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.modal-open {
    opacity: 1;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    margin-top: 2%;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.3);
    animation: modalZoom 0.5s ease forwards;
    opacity: 1 !important;
}

@keyframes modalZoom {
    from {
        transform: scale(0.7) rotate(5deg);
        opacity: 0;
    }
    to {
        transform: scale(1) rotate(0);
        opacity: 1;
    }
}

#modalCaption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ffd700;
    padding: 20px 0;
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    animation: fadeInUp 0.5s ease 0.2s both;
}

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

.modal-close {
    position: absolute;
    top: 30px;
    right: 45px;
    color: #ffd700;
    font-size: 40px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 10000;
}

.modal-close:hover,
.modal-close:focus {
    color: #fff;
    transform: rotate(90deg) scale(1.2);
}

/* Clickable images */
.carousel-img, .hero-logo, .gameplay-img, .feature-img {
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.carousel-img:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.3);
}

.feature-img:hover {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 15px 30px rgba(218, 165, 32, 0.4);
}

.gameplay-img:hover {
    transform: scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    filter: brightness(1.1);
}

/* Advanced animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(255, 215, 0, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* Hero logo animation */
.hero-logo {
    max-width: 600px;
    margin-bottom: 2rem;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}

/* Enhanced feature cards */
.feature-card {
    animation: none;
    background: linear-gradient(135deg, #fff8dc 0%, #faf0e6 100%);
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 215, 0, 0.1) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.feature-card:hover::after {
    opacity: 1;
    animation: shimmer 1.5s ease infinite;
}

/* Button enhancements */
.cta-button, .steam-button {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}


/* Ripple effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    animation: rippleEffect 0.6s ease-out;
    pointer-events: none;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Carousel enhancements */
.carousel-container {
    perspective: 1000px;
}

.carousel-slide {
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.carousel-nav {
    animation: pulse 2s ease-in-out infinite;
}

.carousel-nav:hover {
    animation: none;
    background: rgba(13, 10, 8, 1);
    transform: translateY(-50%) scale(1.2);
}

/* Loading animation for images */
img:not(.modal-content) {
    opacity: 0;
    animation: imageLoad 0.8s ease forwards;
}

@keyframes imageLoad {
    from {
        opacity: 0;
        transform: scale(0.9) rotate(-2deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}


/* Navbar enhancements */
nav {
    backdrop-filter: blur(20px) saturate(180%);
}

.nav-links a {
    position: relative;
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.4), transparent);
    transition: left 0.5s;
}

.nav-links a:hover::before {
    left: 100%;
}

/* Section title animation */
.section-title {
    background: linear-gradient(45deg, #b8860b, #ffd700, #fff8dc, #daa520);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleGlow 4s ease-in-out infinite;
    position: relative;
    display: inline-block;
}

@keyframes titleGlow {
    0%, 100% {
        background-position: 0% 50%;
        filter: brightness(1);
    }
    50% {
        background-position: 100% 50%;
        filter: brightness(1.2);
    }
}

.section-title::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    background: linear-gradient(45deg, #b8860b, #ffd700, #fff8dc, #daa520);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: blur(10px);
    opacity: 0.5;
}

/* Parallax enhancements */
.hero::before {
    will-change: transform;
}

.hero::after {
    will-change: transform;
}

/* Performance optimizations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

::-webkit-scrollbar-track {
    background: #1a1410;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #daa520, #b8860b);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ffd700, #daa520);
}