/* ========================================
   PayeGames - Design System & Variables
   ======================================== */
:root {
    /* Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a28;
    --bg-card: #151520;
    --bg-card-hover: #1c1c2e;

    --gold-100: #fff8e7;
    --gold-200: #ffe6a7;
    --gold-300: #ffd666;
    --gold-400: #d4a843;
    --gold-500: #b8922e;
    --gold-600: #9a7a24;

    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b8;
    --text-muted: #6a6a82;

    --border-subtle: rgba(212, 168, 67, 0.1);
    --border-light: rgba(255, 255, 255, 0.06);

    --gradient-gold: linear-gradient(135deg, #d4a843, #ffd666, #d4a843);
    --gradient-bg: linear-gradient(135deg, #0a0a0f 0%, #12121a 50%, #1a1028 100%);
    --gradient-card: linear-gradient(145deg, rgba(212, 168, 67, 0.05), rgba(212, 168, 67, 0.01));

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 4px 24px rgba(212, 168, 67, 0.15);
    --shadow-gold-lg: 0 8px 40px rgba(212, 168, 67, 0.2);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    --font-primary: 'Outfit', sans-serif;
    --font-secondary: 'Inter', sans-serif;

    --container-max: 1200px;
    --nav-height: 72px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 20px;
}

body {
    font-family: var(--font-secondary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: rgba(212, 168, 67, 0.3);
    color: var(--gold-100);
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.gold {
    color: var(--gold-400);
}

.gradient-text {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-gold);
    color: #0a0a0f;
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold-lg);
    filter: brightness(1.1);
}

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

.btn-outline {
    background: transparent;
    color: var(--gold-400);
    border: 1.5px solid var(--gold-400);
}

.btn-outline:hover {
    background: rgba(212, 168, 67, 0.1);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-download {
    padding: 18px 48px;
    font-size: 1.05rem;
}

/* ========================================
   Navbar
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.92);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

.nav-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-logo-text {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: 0.04em;
}

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

.nav-link {
    padding: 8px 20px;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-400);
    background: rgba(212, 168, 67, 0.08);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.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);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 120px 24px 100px;
    background: var(--gradient-bg);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -20%;
    width: 60%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(212, 168, 67, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -20%;
    width: 50%;
    height: 70%;
    background: radial-gradient(ellipse, rgba(138, 80, 200, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--gold-400);
    opacity: 0;
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        opacity: 0;
        transform: translateY(-10vh) scale(1);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(212, 168, 67, 0.08);
    border: 1px solid var(--border-subtle);
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gold-300);
    margin-bottom: 32px;
    animation: fadeInDown 0.8s ease-out;
}

.hero-logo {
    width: 140px;
    height: 140px;
    object-fit: contain;
    margin: 0 auto 32px;
    animation: fadeInUp 0.8s ease-out 0.1s both;
    background: white;
    padding: 18px;
    border-radius: 12px;
    border: 2px solid rgba(212, 168, 67, 0.3);
    position: relative;
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.08), 0 0 80px rgba(255, 255, 255, 0.04);
}

.hero-title {
    font-family: var(--font-primary);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title-line {
    display: block;
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    animation: fadeInUp 0.8s ease-out 0.5s both;
    margin-bottom: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-primary);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--gold-400);
}

.stat-plus {
    font-family: var(--font-primary);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--gold-400);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-subtle);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: fadeInUp 0.8s ease-out 0.7s both;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--gold-400);
    border-bottom: 2px solid var(--gold-400);
    transform: rotate(45deg);
    animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {

    0%,
    100% {
        transform: rotate(45deg) translate(0, 0);
        opacity: 0.5;
    }

    50% {
        transform: rotate(45deg) translate(4px, 4px);
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Section Shared
   ======================================== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 50px;
    background: rgba(212, 168, 67, 0.08);
    border: 1px solid var(--border-subtle);
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-primary);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   About Section
   ======================================== */
.about {
    background: var(--bg-secondary);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
    opacity: 0.2;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.about-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.about-card:hover {
    border-color: rgba(212, 168, 67, 0.15);
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
    background: var(--bg-card-hover);
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-card-icon {
    font-size: 2.4rem;
    margin-bottom: 20px;
    display: inline-block;
    animation: none;
}

.about-card h3 {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.about-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   Games Section
   ======================================== */
.games {
    background: var(--bg-primary);
    position: relative;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
}

.game-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 168, 67, 0.2);
    box-shadow: var(--shadow-gold-lg);
}

.game-card-image {
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1520, #2a2030);
}

.game-card-image img {
    width: 75%;
    height: 75%;
    object-fit: contain;
    transition: transform var(--transition-slow);
}

.game-card:hover .game-card-image img {
    transform: scale(1.08);
}

.game-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.game-card:hover .game-card-overlay {
    opacity: 1;
}

.game-card-cta {
    padding: 12px 28px;
    border-radius: 50px;
    background: var(--gradient-gold);
    color: #0a0a0f;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.9rem;
    transform: translateY(10px);
    transition: transform var(--transition-base);
}

.game-card:hover .game-card-cta {
    transform: translateY(0);
}

.game-card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 14px;
    border-radius: 50px;
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    font-family: var(--font-primary);
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.badge-soon {
    background: rgba(212, 168, 67, 0.2);
    color: var(--gold-400);
}

.game-card-content {
    padding: 24px;
}

.game-card-title {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.game-card-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.game-card-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.tag {
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(212, 168, 67, 0.08);
    color: var(--gold-300);
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid var(--border-subtle);
}

.tag-soon {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    border-color: var(--border-light);
}

.game-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.game-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.stars {
    color: var(--gold-400);
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.game-platform {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Coming Soon Card */
.coming-soon-card {
    cursor: default;
    opacity: 0.7;
}

.coming-soon-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.coming-soon-image {
    background: linear-gradient(135deg, #15151f, #1e1e30) !important;
}

.coming-soon-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 16px;
}

.coming-soon-icon {
    font-size: 4rem;
    opacity: 0.5;
}

.coming-soon-text {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-muted);
}

/* ========================================
   Contact Section
   ======================================== */
.contact {
    background: var(--bg-secondary);
    position: relative;
    padding-top: 40px;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
    opacity: 0.2;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

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

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(212, 168, 67, 0.08);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-400);
    flex-shrink: 0;
}

.contact-item h4 {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-item a,
.contact-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.contact-item a:hover {
    color: var(--gold-400);
}

.contact-cta {
    margin-top: 12px;
}

.contact-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.6;
}

.form-status {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.form-status.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.contact-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold-400);
    box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

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

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--bg-primary);
    padding: 60px 0 0;
    border-top: 1px solid var(--border-light);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.footer-brand-text {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.2rem;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 280px;
}

.footer-links h4 {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-links a {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 6px 0;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--gold-400);
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding: 20px 0;
    text-align: center;
}

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

/* ========================================
   Game Detail Modal
   ======================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 24px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    max-width: 800px;
    width: 100%;
    position: relative;
    transform: translateY(40px) scale(0.95);
    transition: all var(--transition-slow);
    margin-top: 40px;
    margin-bottom: 40px;
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    z-index: 10;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.modal-body {
    padding: 40px;
}

.modal-hero {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-light);
}

.modal-game-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-gold);
}

.modal-hero-info {
    flex: 1;
}

.modal-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    background: rgba(46, 204, 113, 0.15);
    color: #2ecc71;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.modal-hero-info h2 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.modal-hero-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.modal-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.modal-section {
    margin-bottom: 36px;
}

.modal-section h3 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-section>p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    transition: all var(--transition-fast);
}

.feature-item:hover {
    background: rgba(212, 168, 67, 0.03);
    border-color: var(--border-subtle);
}

.feature-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-item strong {
    display: block;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.feature-item p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ========================================
   Screenshots Carousel
   ======================================== */
.screenshots-carousel {
    position: relative;
    margin: 0 -8px;
}

.screenshots-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 8px;
    scrollbar-width: none;
}

.screenshots-track::-webkit-scrollbar {
    display: none;
}

.screenshot-item {
    flex-shrink: 0;
    width: 180px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid var(--border-light);
    transition: all var(--transition-base);
    cursor: pointer;
}

.screenshot-item:hover {
    border-color: var(--gold-400);
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(10, 10, 15, 0.85);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-primary);
    transition: all var(--transition-fast);
    backdrop-filter: blur(10px);
}

.carousel-btn:hover {
    background: var(--gold-400);
    color: #0a0a0f;
    border-color: var(--gold-400);
}

.carousel-prev {
    left: -4px;
}

.carousel-next {
    right: -4px;
}

.modal-download {
    text-align: center;
    padding: 32px;
    border-radius: var(--radius-lg);
    background: var(--gradient-card);
    border: 1px solid var(--border-subtle);
}

.modal-download h3 {
    justify-content: center;
    font-size: 1.4rem;
}

.modal-download p {
    text-align: center;
}

/* ========================================
   Lightbox
   ======================================== */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-image {
    max-height: 90vh;
    max-width: 90vw;
    object-fit: contain;
    border-radius: var(--radius-md);
    transition: transform var(--transition-base);
}

.lightbox-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lightbox-btn:hover {
    background: rgba(212, 168, 67, 0.3);
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

/* ========================================
   Scroll Animations
   ======================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 16px;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 12px 32px;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 24px 60px;
    }

    .hero-logo {
        width: 110px;
        height: 110px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    section {
        padding: 70px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .modal-body {
        padding: 24px;
    }

    .modal-hero {
        flex-direction: column;
        text-align: center;
    }

    .modal-overlay {
        padding: 20px 12px;
    }

    .modal {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .screenshot-item {
        width: 140px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        padding: 12px 28px;
        font-size: 0.9rem;
    }

    .hero-title-line {
        font-size: 2rem;
    }

    .contact-form-card {
        padding: 24px;
    }
}