:root {
    --bg-color: #0f172a;
    --card-bg: #1e293b;
    --primary-accent: #3b82f6;
    --cta-color: #22c55e;
    --cta-hover: #16a34a;
    --text-primary: #e5e7eb;
    --text-secondary: #94a3b8;
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Orbitron', sans-serif;
    --overlay-color: rgba(15, 23, 42, 0.75);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 80px;
    /* Space for sticky bar */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--cta-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
}

.btn-primary:hover {
    background-color: var(--cta-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.6);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-secondary);
}

.btn-secondary:hover {
    border-color: #fff;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-massive {
    padding: 20px 40px;
    font-size: 1.5rem;
    border-radius: 8px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('../images/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.game-title {
    font-size: 5rem;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8), 0 0 20px var(--primary-accent);
    margin-bottom: 10px;
    letter-spacing: 4px;
}

.hero .headline {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 20px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
}

.hero .subheadline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.player-counter {
    font-size: 1.1rem;
    color: var(--primary-accent);
    font-weight: 600;
}

.player-counter i {
    color: #ef4444;
    /* fire icon color */
}

/* Game Info Section */
.game-info {
    background-color: #0b1121;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 20px;
    flex-wrap: wrap;
}

.info-card {
    display: flex;
    flex-direction: column;
    padding: 10px 20px;
}

.info-label {
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.info-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.free-text {
    color: var(--cta-color);
}

.stars {
    color: #fbbf24;
}

/* Screenshot Gallery */
.gallery-section {
    background-color: var(--bg-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    aspect-ratio: 16/9;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-caption {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: #fff;
    font-weight: 600;
    transition: bottom 0.3s ease;
    font-family: var(--font-heading);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-caption {
    bottom: 0;
}

/* Features Section */
.features-section {
    background-color: #0b1121;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(59, 130, 246, 0.3);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-accent);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-secondary);
}

/* Social Proof */
.social-proof {
    background: linear-gradient(45deg, #0b1121 0%, var(--card-bg) 100%);
    position: relative;
    overflow: hidden;
}

.social-proof::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at center, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
}

.large-rating {
    margin-bottom: 30px;
}

.big-stars {
    font-size: 3rem;
    margin-bottom: 15px;
}

.large-rating h3 {
    font-size: 2rem;
    color: #fff;
}

.social-text {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.large-counter {
    font-size: 1.5rem;
}

/* Big CTA */
.big-cta {
    position: relative;
    padding: 120px 20px;
    text-align: center;
    background-image: url('../images/cta_bg.png');
    background-size: cover;
    background-position: center;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.big-cta .headline {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.big-cta .subheadline {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 50px;
}

/* Sticky Download Bar */
.sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
    z-index: 100;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.sticky-bar.visible {
    transform: translateY(0);
}

.sticky-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sticky-left {
    display: flex;
    flex-direction: column;
}

.sticky-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.sticky-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-lightbox:hover {
    color: #bbb;
}

/* Notifications */
.notification {
    position: fixed;
    bottom: 90px;
    left: -400px;
    background-color: var(--card-bg);
    border-left: 4px solid var(--primary-accent);
    color: #fff;
    padding: 15px 20px;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 90;
    transition: left 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.notification.show {
    left: 20px;
}

.notification-icon {
    font-size: 1.5rem;
    color: var(--primary-accent);
}

.notification-text {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 992px) {
    .game-title {
        font-size: 4rem;
    }

    .hero .headline {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
    }

    .gallery-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .info-container {
        justify-content: center;
        gap: 15px;
    }

    .info-card {
        align-items: center;
        width: 45%;
    }

    .game-title {
        font-size: 3rem;
    }

    .big-cta .headline {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .social-text {
        font-size: 1.2rem;
    }

    .notification {
        bottom: 100px;
    }
}

@media (max-width: 480px) {
    .info-card {
        width: 100%;
    }

    .game-title {
        font-size: 2.5rem;
    }

    .hero .headline {
        font-size: 1.5rem;
    }
}