/* ==========================================================================
   Design System & Base Styles
   ========================================================================== */
:root {
    /* Miniclip-inspired palette */
    --color-bg-primary: #000000;
    --color-bg-secondary: #2b333f;
    --color-bg-light: #ffffff;
    --color-bg-muted: #f5f5f5;
    --color-card-bg: #ffffff;
    --color-card-dark: #2b333f;
    --color-text-white: #ffffff;
    --color-text-dark: #2b333f;
    --color-text-muted: #6d6d6d;
    --color-text-muted-on-dark: #a8a8a8;

    /* Brand accents (Miniclip red + gold) */
    --color-accent: #EE4222;
    --color-accent-glow: rgba(238, 66, 34, 0.45);
    --color-gold: #ffd541;
    --color-gold-glow: rgba(255, 213, 65, 0.4);
    --color-green: #41b883;
    --color-green-glow: rgba(65, 184, 131, 0.4);

    /* Legacy aliases used across the stylesheet */
    --color-cyan: var(--color-accent);
    --color-cyan-glow: var(--color-accent-glow);
    --color-magenta: var(--color-gold);
    --color-magenta-glow: var(--color-gold-glow);

    /* Casino felt colors */
    --felt-green-bright: #105529;
    --felt-green-dark: #0a381a;

    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Layout */
    --max-width: 1200px;
    --header-height: 88px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg-primary);
    color: var(--color-text-white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--color-bg-secondary);
    border: 2px solid var(--color-bg-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-magenta);
}

/* ==========================================================================
   Typography & Helper Classes
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.glow-text {
    color: var(--color-text-dark);
    background: none;
    -webkit-text-fill-color: unset;
    text-shadow: none;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.8rem;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    font-weight: 400;
}

/* Dark sections flip heading/body contrast */
.games-section .glow-text,
.contact-section .glow-text,
.footer-main .glow-text {
    color: var(--color-text-white);
}

.games-section .section-subtitle,
.contact-section .section-subtitle {
    color: var(--color-text-muted-on-dark);
}

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

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.navbar-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.navbar-header.scrolled {
    background-color: rgba(0, 0, 0, 0.62);
    border-bottom-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.28);
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nav-logo {
    height: 48px;
    width: auto;
    max-width: min(280px, 42vw);
    display: block;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 1px 8px rgba(0, 0, 0, 0.45));
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    color: var(--color-bg-primary);
    text-transform: uppercase;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    position: relative;
    padding: 8px 20px;
    border-radius: 30px;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
    background: rgba(238, 66, 34, 0.42);
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    border-top: 1px solid rgba(255, 255, 255, 0.9);
    border-left: 1px solid rgba(255, 255, 255, 0.75);
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow:
        0 6px 15px rgba(0, 0, 0, 0.06),
        0 2px 4px rgba(0, 0, 0, 0.03),
        0 4px 10px rgba(238, 66, 34, 0.08),
        inset 0 4px 6px rgba(255, 255, 255, 0.95),
        inset 0 -3px 6px rgba(238, 66, 34, 0.15);
    animation: liquid-wobble-alt 6s ease-in-out infinite;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 10%;
    width: 80%;
    height: 35%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 50% 50% 25% 25% / 85% 85% 15% 15%;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
    opacity: 1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 3px;
    right: 15%;
    width: 70%;
    height: 15%;
    background: rgba(238, 66, 34, 0.2);
    filter: blur(2px);
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    opacity: 1;
}

/* Mobile Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.nav-toggle.open span {
    background-color: #ffffff;
}

/* Hamburger animations */
.nav-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   Home (Hero) Carousel — Miniclip-style (autoplay, not scroll-linked)
   ========================================================================== */
.scroll-showcase-container {
    position: relative;
    height: 100vh;
    background-color: var(--color-bg-primary);
}

.scroll-showcase-sticky {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

/* Gradient bottom overlay to fade into the next section */
.scroll-showcase-sticky::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 55%, rgba(0, 0, 0, 0.92) 100%);
    pointer-events: none;
    z-index: 3;
}

.scroll-showcase-slides {
    display: flex;
    width: 400%;
    /* 4 slides */
    height: 100%;
    will-change: transform;
    transition: transform 0.75s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.showcase-slide {
    width: 100vw;
    height: 100%;
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Individual Slide Backgrounds */
.showcase-slide.slide-blackjack {
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.8) 100%), url('assets/Background.png') no-repeat center center / cover;
}

.showcase-slide.slide-balpoker {
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.8) 100%), url('assets/BalPokerBackground.png') no-repeat center center / cover;
}

.showcase-slide.slide-multilevelpoker {
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.8) 100%), url('assets/MultiLevelPokerBackground.png') no-repeat center center / cover;
}

.showcase-slide.slide-repairrush {
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.8) 100%), url('assets/RepairRushBackground.png') no-repeat center center / cover;
}

/* Indicators — bottom-center numbered pagination (Miniclip-style) */
.showcase-indicators {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    z-index: 10;
}

.showcase-indicators .indicator {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 999px;
    background-color: rgba(0, 0, 0, 0.35);
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.showcase-indicators .indicator:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
}

.showcase-indicators .indicator.active {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: 0 0 16px var(--color-accent-glow);
    color: #ffffff;
}

.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 60px 24px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    width: 100%;
    opacity: 1;
    transform: none;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 2;
}

.game-logo-container {
    max-width: 320px;
    margin-bottom: 24px;
}

.game-logo {
    width: 100%;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
}

.hero-description {
    font-size: 1.25rem;
    color: var(--color-text-white);
    margin-bottom: 36px;
    max-width: 520px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 1px 3px rgba(0, 0, 0, 0.9);
    font-weight: 500;
}

.store-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 40px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-top: 1.5px solid rgba(255, 255, 255, 0.85);
    border-left: 1.5px solid rgba(255, 255, 255, 0.7);
    border-right: 1.5px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: liquid-wobble 6s ease-in-out infinite;
    color: #ffffff;
}

.store-btn::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 8%;
    width: 84%;
    height: 38%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 50% 50% 25% 25% / 85% 85% 15% 15%;
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.3s ease, transform 0.4s ease;
}

.store-btn::after {
    content: '';
    position: absolute;
    bottom: 4px;
    right: 15%;
    width: 70%;
    height: 20%;
    background: rgba(255, 255, 255, 0.15);
    filter: blur(4px);
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.3s ease, background-color 0.4s ease;
}

/* App Store - Magenta Liquid Droplet */
.store-btn.app-store {
    background: rgba(255, 213, 65, 0.16);
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.45),
        0 4px 6px rgba(0, 0, 0, 0.25),
        0 15px 35px rgba(255, 213, 65, 0.2),
        inset 0 8px 12px rgba(255, 255, 255, 0.8),
        inset 0 -6px 12px rgba(255, 213, 65, 0.4),
        inset 0 -12px 24px rgba(255, 213, 65, 0.2);
}

.store-btn.app-store::after {
    background: rgba(255, 213, 65, 0.35);
}

.store-btn.app-store:hover {
    background: rgba(255, 213, 65, 0.25);
    transform: translateY(-5px) scale(1.04);
    box-shadow:
        0 18px 36px rgba(0, 0, 0, 0.55),
        0 6px 10px rgba(0, 0, 0, 0.3),
        0 20px 45px rgba(255, 213, 65, 0.45),
        inset 0 10px 15px rgba(255, 255, 255, 0.95),
        inset 0 -8px 16px rgba(255, 213, 65, 0.55),
        inset 0 -16px 28px rgba(255, 213, 65, 0.35);
}

.store-btn.app-store:hover::after {
    background: rgba(255, 213, 65, 0.55);
}

/* Google Play - Cyan Liquid Droplet */
.store-btn.google-play {
    background: rgba(238, 66, 34, 0.16);
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.45),
        0 4px 6px rgba(0, 0, 0, 0.25),
        0 15px 35px rgba(238, 66, 34, 0.2),
        inset 0 8px 12px rgba(255, 255, 255, 0.8),
        inset 0 -6px 12px rgba(238, 66, 34, 0.4),
        inset 0 -12px 24px rgba(238, 66, 34, 0.2);
}

.store-btn.google-play::after {
    background: rgba(238, 66, 34, 0.35);
}

.store-btn.google-play:hover {
    background: rgba(238, 66, 34, 0.25);
    transform: translateY(-5px) scale(1.04);
    box-shadow:
        0 18px 36px rgba(0, 0, 0, 0.55),
        0 6px 10px rgba(0, 0, 0, 0.3),
        0 20px 45px rgba(238, 66, 34, 0.45),
        inset 0 10px 15px rgba(255, 255, 255, 0.95),
        inset 0 -8px 16px rgba(238, 66, 34, 0.55),
        inset 0 -16px 28px rgba(238, 66, 34, 0.35);
}

.store-btn.google-play:hover::after {
    background: rgba(238, 66, 34, 0.55);
}

/* Web Play - Clear/White Liquid Droplet with Mixed Reflections */
.store-btn.web-play {
    background: rgba(255, 255, 255, 0.22);
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.45),
        0 4px 6px rgba(0, 0, 0, 0.25),
        0 15px 35px rgba(238, 66, 34, 0.15),
        inset 0 8px 12px rgba(255, 255, 255, 0.85),
        inset 0 -6px 12px rgba(238, 66, 34, 0.3),
        inset 0 -12px 24px rgba(255, 213, 65, 0.25);
}

.store-btn.web-play::after {
    background: rgba(238, 66, 34, 0.35);
}

.store-btn.web-play:hover {
    background: rgba(255, 255, 255, 0.32);
    transform: translateY(-5px) scale(1.04);
    box-shadow:
        0 18px 36px rgba(0, 0, 0, 0.55),
        0 6px 10px rgba(0, 0, 0, 0.3),
        0 20px 45px rgba(255, 213, 65, 0.35),
        inset 0 10px 15px rgba(255, 255, 255, 0.95),
        inset 0 -8px 16px rgba(238, 66, 34, 0.45),
        inset 0 -16px 28px rgba(255, 213, 65, 0.35);
}

.store-btn.web-play:hover::after {
    background: rgba(255, 213, 65, 0.55);
}

.store-btn:active {
    transform: translateY(-2px) scale(0.98);
}

@keyframes liquid-wobble {

    0%,
    100% {
        border-radius: 40px 40px 40px 40px / 40px 40px 40px 40px;
    }

    33% {
        border-radius: 44px 36px 42px 38px / 37px 43px 38px 42px;
    }

    66% {
        border-radius: 38px 42px 37px 43px / 43px 37px 42px 38px;
    }
}

@keyframes liquid-wobble-alt {

    0%,
    100% {
        border-radius: 30px 30px 30px 30px / 30px 30px 30px 30px;
    }

    33% {
        border-radius: 33px 27px 31px 29px / 28px 32px 29px 31px;
    }

    66% {
        border-radius: 28px 32px 29px 31px / 32px 28px 31px 29px;
    }
}

@keyframes liquid-wobble-alt2 {

    0%,
    100% {
        border-radius: 40px 40px 40px 40px / 40px 40px 40px 40px;
    }

    25% {
        border-radius: 43px 37px 42px 38px / 38px 42px 39px 41px;
    }

    50% {
        border-radius: 37px 43px 38px 42px / 42px 38px 41px 39px;
    }

    75% {
        border-radius: 41px 39px 43px 37px / 39px 41px 38px 42px;
    }
}

.btn-icon {
    width: 24px;
    height: 24px;
    color: var(--color-text-white);
}

.store-btn.web-play .btn-icon {
    color: inherit;
}

.btn-title {
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

/* Hero Right: 3D Mockup Styling */
.hero-mockup-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1500px;
    z-index: 2;
}

.hero-mockup {
    width: 100%;
    max-width: 340px;
    height: auto;
    transform-style: preserve-3d;
    position: relative;
    transition: transform 0.8s cubic-bezier(0.1, 0.8, 0.2, 1);
}

.phone-game-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.75));
    transform: translateZ(20px);
    /* Lift phone above the base plane */
    pointer-events: none;
    transform-style: preserve-3d;
}

/* Floating 3D Elements System */
.floating-3d-element {
    position: absolute;
    transform-style: preserve-3d;
    pointer-events: none;
    /* Let clicks pass through to phone */
    user-select: none;
    z-index: 5;
}

/* Glassmorphic Playing Cards */
.floating-3d-element.glass-card {
    width: 75px;
    height: 110px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
}

.glass-card .card-corner {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.8rem;
    line-height: 1.1;
}

.glass-card .card-corner.bottom-right {
    transform: rotate(180deg);
}

.glass-card .card-center {
    font-size: 2.2rem;
    text-align: center;
    line-height: 1;
    align-self: center;
}

/* Color schemes for suits */
.glass-card[class*="card-blackjack-2"],
.glass-card[class*="card-multi-2"],
.glass-card[class*="card-poker-1"] {
    color: var(--color-magenta);
    text-shadow: 0 0 10px rgba(255, 213, 65, 0.3);
}

.glass-card[class*="card-blackjack-1"],
.glass-card[class*="card-multi-1"],
.glass-card[class*="card-poker-2"] {
    color: var(--color-cyan);
    text-shadow: 0 0 10px rgba(238, 66, 34, 0.3);
}

.glass-card[class*="card-repair-1"] {
    color: var(--color-green);
    text-shadow: 0 0 10px rgba(0, 255, 135, 0.3);
}

/* Premium Poker Chips */
.floating-3d-element.poker-chip {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 3px dashed rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    color: #ffffff;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5),
        inset 0 0 10px rgba(0, 0, 0, 0.6);
}

.poker-chip .chip-inner {
    width: 38px;
    height: 38px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

/* Chip Colors */
.poker-chip.chip-blackjack-1 {
    background: radial-gradient(circle, #41b883 0%, #2a7a57 100%);
    box-shadow: 0 15px 30px rgba(65, 184, 131, 0.3), inset 0 0 10px rgba(0, 0, 0, 0.6);
}

.poker-chip.chip-poker-1 {
    background: radial-gradient(circle, #ffd541 0%, #c9a012 100%);
    box-shadow: 0 15px 30px rgba(255, 213, 65, 0.3), inset 0 0 10px rgba(0, 0, 0, 0.6);
}

.poker-chip.chip-multi-1 {
    background: radial-gradient(circle, #EE4222 0%, #960505 100%);
    box-shadow: 0 15px 30px rgba(238, 66, 34, 0.3), inset 0 0 10px rgba(0, 0, 0, 0.6);
}

.poker-chip.chip-repair-1 {
    background: radial-gradient(circle, #ff9f1c 0%, #b86900 100%);
    box-shadow: 0 15px 30px rgba(255, 159, 28, 0.3), inset 0 0 10px rgba(0, 0, 0, 0.6);
}

/* Badges (Trophy / Gear) */
.floating-3d-element.trophy-badge,
.floating-3d-element.gear-badge {
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(43, 51, 63, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.72rem;
    color: #ffbe0b;
    text-shadow: 0 0 8px rgba(255, 190, 11, 0.4);
}

.floating-3d-element.gear-badge {
    font-size: 1.6rem;
    padding: 4px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-cyan);
    text-shadow: 0 0 8px rgba(238, 66, 34, 0.4);
}

/* Floating Layout & Anim Keyframes for Blackjack Slide */
.card-blackjack-1 {
    top: 5%;
    left: -60px;
    animation: float-blackjack-card1 8s ease-in-out infinite;
}

.card-blackjack-2 {
    bottom: 8%;
    right: -70px;
    animation: float-blackjack-card2 10s ease-in-out infinite;
}

.chip-blackjack-1 {
    top: 50%;
    right: -80px;
    animation: float-blackjack-chip1 7s ease-in-out infinite;
}

@keyframes float-blackjack-card1 {

    0%,
    100% {
        transform: translate3d(0, 0, 80px) rotateY(-15deg) rotateX(10deg);
    }

    50% {
        transform: translate3d(0, -15px, 95px) rotateY(-12deg) rotateX(12deg);
    }
}

@keyframes float-blackjack-card2 {

    0%,
    100% {
        transform: translate3d(0, 0, -40px) rotateY(20deg) rotateX(-5deg);
    }

    50% {
        transform: translate3d(5px, 12px, -30px) rotateY(17deg) rotateX(-8deg);
    }
}

@keyframes float-blackjack-chip1 {

    0%,
    100% {
        transform: translate3d(0, 0, 120px) rotateZ(10deg) rotateY(15deg);
    }

    50% {
        transform: translate3d(-8px, -10px, 135px) rotateZ(25deg) rotateY(20deg);
    }
}

/* Floating Layout & Anim Keyframes for Poker Slide */
.card-poker-1 {
    top: -5%;
    right: -40px;
    animation: float-poker-card1 9s ease-in-out infinite;
}

.card-poker-2 {
    bottom: 5%;
    left: -70px;
    animation: float-poker-card2 11s ease-in-out infinite;
}

.chip-poker-1 {
    top: 45%;
    left: -80px;
    animation: float-poker-chip1 7.5s ease-in-out infinite;
}

@keyframes float-poker-card1 {

    0%,
    100% {
        transform: translate3d(0, 0, 70px) rotateY(15deg) rotateX(8deg);
    }

    50% {
        transform: translate3d(0, -12px, 85px) rotateY(11deg) rotateX(12deg);
    }
}

@keyframes float-poker-card2 {

    0%,
    100% {
        transform: translate3d(0, 0, -30px) rotateY(-22deg) rotateX(-10deg);
    }

    50% {
        transform: translate3d(-5px, 15px, -15px) rotateY(-18deg) rotateX(-6deg);
    }
}

@keyframes float-poker-chip1 {

    0%,
    100% {
        transform: translate3d(0, 0, 100px) rotateZ(-15deg) rotateY(-10deg);
    }

    50% {
        transform: translate3d(10px, -8px, 115px) rotateZ(-30deg) rotateY(-15deg);
    }
}

/* Floating Layout & Anim Keyframes for Multi-Level Poker Slide */
.card-multi-1 {
    top: 15%;
    left: -75px;
    animation: float-multi-card1 8.5s ease-in-out infinite;
}

.card-multi-2 {
    bottom: -5%;
    right: -40px;
    animation: float-multi-card2 9.5s ease-in-out infinite;
}

.chip-multi-1 {
    top: 48%;
    right: -75px;
    animation: float-multi-chip1 8s ease-in-out infinite;
}

.badge-multi-1 {
    top: -12%;
    left: 20%;
    animation: float-multi-badge1 6.5s ease-in-out infinite;
}

@keyframes float-multi-card1 {

    0%,
    100% {
        transform: translate3d(0, 0, 90px) rotateY(-18deg) rotateX(5deg);
    }

    50% {
        transform: translate3d(5px, -14px, 105px) rotateY(-14deg) rotateX(8deg);
    }
}

@keyframes float-multi-card2 {

    0%,
    100% {
        transform: translate3d(0, 0, -50px) rotateY(15deg) rotateX(-12deg);
    }

    50% {
        transform: translate3d(-5px, 10px, -35px) rotateY(12deg) rotateX(-15deg);
    }
}

@keyframes float-multi-chip1 {

    0%,
    100% {
        transform: translate3d(0, 0, 110px) rotateZ(5deg) rotateY(12deg);
    }

    50% {
        transform: translate3d(-5px, -12px, 125px) rotateZ(20deg) rotateY(18deg);
    }
}

@keyframes float-multi-badge1 {

    0%,
    100% {
        transform: translate3d(0, 0, 60px) rotateX(10deg);
    }

    50% {
        transform: translate3d(0, -8px, 75px) rotateX(18deg);
    }
}

/* Floating Layout & Anim Keyframes for Repair Rush Slide */
.card-repair-1 {
    top: 12%;
    right: -75px;
    animation: float-repair-card1 9s ease-in-out infinite;
}

.chip-repair-1 {
    bottom: 8%;
    left: -65px;
    animation: float-repair-chip1 8s ease-in-out infinite;
}

.badge-repair-1 {
    top: 45%;
    left: -80px;
    animation: float-repair-badge1 7s ease-in-out infinite;
}

@keyframes float-repair-card1 {

    0%,
    100% {
        transform: translate3d(0, 0, 85px) rotateY(12deg) rotateX(8deg);
    }

    50% {
        transform: translate3d(-5px, -15px, 100px) rotateY(16deg) rotateX(12deg);
    }
}

@keyframes float-repair-chip1 {

    0%,
    100% {
        transform: translate3d(0, 0, 120px) rotateZ(35deg) rotateY(-15deg);
    }

    50% {
        transform: translate3d(8px, 10px, 135px) rotateZ(50deg) rotateY(-20deg);
    }
}

@keyframes float-repair-badge1 {

    0%,
    100% {
        transform: translate3d(0, 0, -40px) rotateZ(0deg);
    }

    50% {
        transform: translate3d(-5px, -8px, -25px) rotateZ(180deg);
    }
}

/* Responsive constraints for floating elements */
@media (max-width: 1024px) {
    .floating-3d-element {
        display: none !important;
    }

    .hero-mockup {
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    .hero-mockup {
        max-width: 180px;
    }
}

/* ==========================================================================
   About Us Section
   ========================================================================== */
.about-section {
    background-color: var(--color-bg-light);
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-text-panel {
    background-color: var(--color-bg-muted);
    border: 1px solid rgba(43, 51, 63, 0.08);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.about-text-panel h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--color-text-dark);
    position: relative;
}

.about-text-panel h3::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-cyan), var(--color-magenta));
    border-radius: 2px;
}

.about-text-panel p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.about-text-panel p:last-child {
    margin-bottom: 0;
}

.about-features-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background-color: var(--color-bg-muted);
    border: 1px solid rgba(43, 51, 63, 0.08);
    padding: 24px;
    border-radius: 12px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateX(8px);
    border-color: rgba(238, 66, 34, 0.35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.about-card-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(238, 66, 34, 0.12), rgba(255, 213, 65, 0.18));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-accent);
    border: 1px solid rgba(238, 66, 34, 0.15);
}

.about-card-icon svg {
    width: 24px;
    height: 24px;
}

.about-card h4 {
    font-size: 1.15rem;
    margin-bottom: 6px;
    font-family: var(--font-heading);
    color: var(--color-text-dark);
}

.about-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin: 0;
}

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

.games-title {
    font-size: 3rem;
    letter-spacing: 2px;
    font-weight: 900;
    text-align: center;
    color: var(--color-text-white);
    margin-bottom: 12px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.game-card {
    background-color: var(--color-card-dark);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(238, 66, 34, 0.45);
}

.game-card-img-wrapper {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
    background-color: #1a2028;
}

.game-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.game-card-info {
    padding: 24px;
    background-color: var(--color-card-dark);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.game-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-white);
    margin-bottom: 6px;
    font-family: var(--font-heading);
}

.game-card-genre {
    font-size: 0.8rem;
    color: var(--color-text-muted-on-dark);
    letter-spacing: 1px;
    font-weight: 600;
}

/* Coming Soon & Placeholder Card styling */
.placeholder-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Multiplayer blackjack Felt layout */
.multiplayer-felt {
    background: radial-gradient(circle, #0e4422 0%, #062812 100%);
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.6);
}

.mini-felt {
    width: 80%;
    height: 80%;
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 12px;
}

.felt-line {
    position: absolute;
    bottom: 20px;
    width: 60%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.05);
}

.felt-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.08);
}

.coming-soon-banner {
    position: absolute;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: 1px;
    color: #ff9f1c;
    text-shadow: 0 0 10px rgba(255, 159, 28, 0.5), 0 2px 4px rgba(0, 0, 0, 0.8);
    z-index: 3;
    pointer-events: none;
}

/* Green placeholder card for Poker */
.poker-green {
    background-color: #41b883;
    background: linear-gradient(135deg, #41b883 0%, #ffd541 100%);
    position: relative;
}

.giant-h {
    font-family: var(--font-heading);
    font-size: 6rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.4);
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   News Section
   ========================================================================== */
.news-section {
    background-color: var(--color-bg-muted);
    position: relative;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    transition: all 0.5s ease;
}

.news-card {
    background-color: var(--color-bg-light);
    border-radius: 12px;
    padding: 32px;
    border: 1px solid rgba(43, 51, 63, 0.08);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
    border-color: rgba(238, 66, 34, 0.25);
}

/* Gradient Borders for Milestones (Cyan & Magenta borders) */
.news-card.glow-magenta {
    border-top: 3px solid var(--color-magenta);
}

.news-card.glow-cyan {
    border-top: 3px solid var(--color-cyan);
}

.news-card.glow-magenta:hover {
    border-color: var(--color-magenta);
    box-shadow: 0 10px 30px rgba(255, 213, 65, 0.15);
}

.news-card.glow-cyan:hover {
    border-color: var(--color-cyan);
    box-shadow: 0 10px 30px rgba(238, 66, 34, 0.15);
}

.news-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.news-tag {
    font-size: 0.72rem;
    font-weight: 700;
    font-family: var(--font-heading);
    padding: 4px 12px;
    border-radius: 20px;
    color: #000000;
    background: linear-gradient(90deg, var(--color-cyan), var(--color-magenta));
    letter-spacing: 0.5px;
}

.tags-announcement {
    background: var(--color-gold) !important;
    color: #000000;
}

.tags-launch {
    background: var(--color-accent) !important;
    color: #ffffff;
}

.news-logo-wrapper {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-logos-flex {
    display: flex;
    gap: 8px;
    align-items: center;
}

.news-svg-logo {
    width: 24px;
    height: 24px;
    color: #ffffff;
}

.text-crest {
    color: #f1c40f;
}

.text-android {
    color: #3ddc84;
}

.msme-label {
    font-size: 0.58rem;
    font-weight: 800;
    background-color: #ffffff;
    color: #000000;
    padding: 2px 4px;
    border-radius: 4px;
    margin-left: 4px;
}

.news-card-title {
    font-size: 1.35rem;
    line-height: 1.4;
    margin-bottom: 12px;
    color: var(--color-text-dark);
    font-family: var(--font-heading);
}

.news-date {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 16px;
    display: block;
}

.news-description {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

.news-description strong {
    color: var(--color-text-dark);
}

/* News expansion animation */
.hidden-card {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.news-grid.expanded .hidden-card {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.news-actions {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.btn-gradient-toggle {
    background: var(--color-accent);
    border: 1.5px solid var(--color-accent);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
    padding: 14px 36px;
    border-radius: 30px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 10px 24px rgba(238, 66, 34, 0.28);
    transition: all 0.3s ease;
}

.btn-gradient-toggle:hover {
    background: #d63a1c;
    border-color: #d63a1c;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(238, 66, 34, 0.38);
}

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

/* ==========================================================================
   Contact Us Section
   ========================================================================== */
.contact-section {
    position: relative;
    background-color: var(--color-bg-primary);
    overflow: hidden;
}

.contact-bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.contact-section .section-container {
    position: relative;
    z-index: 2;
}

.contact-title {
    font-size: 2.8rem;
    color: var(--color-text-white) !important;
    text-shadow: none;
    font-weight: 800;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: flex-start;
    margin-top: 40px;
}

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

.contact-lead-text {
    font-size: 1.15rem;
    color: var(--color-text-muted-on-dark);
    line-height: 1.6;
}

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

.contact-method-card {
    background-color: var(--color-card-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.2s ease-out, border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-method-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 5px 20px rgba(238, 66, 34, 0.2);
}

.method-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(238, 66, 34, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    flex-shrink: 0;
}

.method-icon svg {
    width: 24px;
    height: 24px;
}

.method-details {
    display: flex;
    flex-direction: column;
}

.method-label {
    font-size: 0.8rem;
    color: var(--color-text-muted-on-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.method-link {
    font-size: 1.15rem;
    color: var(--color-accent);
    font-family: var(--font-heading);
    font-weight: 600;
}

.method-link:hover {
    color: var(--color-gold);
    text-shadow: none;
}

/* Animated Glassmorphic Contact Form */
.contact-form-panel {
    background: var(--color-card-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.glass-form {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.form-group {
    position: relative;
    width: 100%;
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 14px 16px;
    color: var(--color-text-white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease, background 0.3s ease;
    outline: none;
}

textarea.form-input {
    resize: none;
}

/* Floating labels */
.form-label {
    position: absolute;
    left: 16px;
    top: 14px;
    color: var(--color-text-muted);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-size: 1rem;
}

textarea.form-input~.form-label {
    top: 14px;
}

/* Label transitions when active */
.form-input:focus~.form-label,
.form-input:not(:placeholder-shown)~.form-label {
    top: -10px;
    left: 10px;
    font-size: 0.8rem;
    padding: 0 6px;
    background-color: var(--color-card-dark);
    color: var(--color-accent);
    font-weight: 600;
}

/* Glowing outline under input */
.input-glow {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    box-shadow: 0 0 10px var(--color-accent-glow);
    transition: width 0.3s ease, left 0.3s ease;
}

.form-input:focus~.input-glow {
    width: 100%;
    left: 0;
}

.form-input:focus {
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.06);
}

/* Form Error States */
.form-group.has-error .form-input {
    border-color: var(--color-magenta);
}

.form-group.has-error .form-label {
    color: var(--color-magenta);
}

.form-group.has-error .input-glow {
    background-color: var(--color-magenta);
    box-shadow: 0 0 10px var(--color-magenta-glow);
}

.error-msg {
    position: absolute;
    bottom: -18px;
    left: 8px;
    font-size: 0.75rem;
    color: var(--color-magenta);
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.form-group.has-error .error-msg {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Submit Button with loading/success loops */
.btn-submit {
    position: relative;
    background: var(--color-accent);
    border: 2px solid var(--color-accent);
    padding: 16px;
    border-radius: 40px;
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 10px 24px rgba(238, 66, 34, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-submit:hover {
    background: #d63a1c;
    border-color: #d63a1c;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(238, 66, 34, 0.4);
}

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

.submit-text {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.submit-loader {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-top: 3px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.submit-success-icon {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 24px;
    height: 24px;
    color: #000000;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: scale(0.5);
}

/* Form submitting/success state classes */
.btn-submit.loading .submit-text {
    opacity: 0;
    transform: translateY(-10px);
}

.btn-submit.loading .submit-loader {
    opacity: 1;
}

.btn-submit.success {
    background: var(--color-green) !important;
    border-color: var(--color-green) !important;
    box-shadow: 0 0 24px var(--color-green-glow) !important;
}

.btn-submit.success .submit-text {
    opacity: 0;
}

.btn-submit.success .submit-loader {
    opacity: 0;
}

.btn-submit.success .submit-success-icon {
    opacity: 1;
    transform: scale(1);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-main {
    background-color: var(--color-bg-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 80px 24px 80px;
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 60px;
    align-items: flex-start;
}

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

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-logo {
    height: 52px;
    width: auto;
    max-width: 280px;
    display: block;
    object-fit: contain;
    object-position: left center;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.footer-brand-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    color: #ffffff;
    letter-spacing: -0.5px;
    text-transform: lowercase;
}

.footer-brand-subtitle {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.65rem;
    color: var(--color-text-muted-on-dark);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: 1px;
}

.footer-copyright {
    color: var(--color-text-muted-on-dark);
    font-size: 0.85rem;
    margin-top: 6px;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

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

.footer-links-column h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffffff;
    margin-bottom: 8px;
}

.footer-links-column a {
    color: var(--color-text-muted-on-dark);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links-column a:hover {
    color: var(--color-cyan);
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .footer-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .footer-links-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Delay modifiers for stagger effects */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .showcase-slide {
        height: 100vh;
        align-items: center;
        padding-top: var(--header-height);
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        padding: 40px 24px;
    }

    .hero-content {
        align-items: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .store-buttons {
        justify-content: center;
    }

    .showcase-indicators {
        bottom: 20px;
        gap: 10px;
    }

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

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 76px;
    }

    .nav-logo {
        height: 40px;
        max-width: min(220px, 55vw);
    }

    .showcase-slide {
        height: 100vh;
        padding-top: calc(var(--header-height) + 10px);
        align-items: center;
    }

    .hero-container {
        padding: 20px 16px;
        gap: 20px;
    }

    .hero-mockup-wrapper {
        max-height: 38vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hero-mockup {
        max-width: 180px;
    }

    .game-logo-container {
        max-width: 200px;
        margin-bottom: 12px;
    }

    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 16px;
        max-width: 90%;
    }

    .store-buttons {
        gap: 10px;
    }

    .store-btn {
        padding: 8px 16px;
        border-radius: 6px;
    }

    .btn-title {
        font-size: 0.9rem;
    }

    .showcase-indicators {
        bottom: 16px;
        gap: 8px;
    }

    .showcase-indicators .indicator {
        min-width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    /* Mobile Nav Menu style */
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: rgba(0, 0, 0, 0.55);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        transform: translateY(-150%);
        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        z-index: 999;
        backdrop-filter: blur(16px) saturate(140%);
        -webkit-backdrop-filter: blur(16px) saturate(140%);
    }

    .nav-menu.open {
        transform: translateY(0);
    }

    .nav-menu .nav-link {
        font-size: 1.5rem;
        color: #ffffff;
        padding: 8px 24px;
    }

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        color: #ffffff;
        background: rgba(238, 66, 34, 0.15);
        border-top: 1px solid rgba(255, 255, 255, 0.45);
        border-left: 1px solid rgba(255, 255, 255, 0.3);
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow:
            0 8px 20px rgba(0, 0, 0, 0.3),
            0 10px 20px rgba(238, 66, 34, 0.15),
            inset 0 4px 6px rgba(255, 255, 255, 0.3),
            inset 0 -4px 8px rgba(238, 66, 34, 0.3);
    }

    .nav-menu .nav-link::after {
        background: rgba(238, 66, 34, 0.4);
        filter: blur(3px);
    }

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

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

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

@media (max-width: 580px) {

    .logo-text-suffix,
    .footer-logo-text-suffix {
        display: none;
    }
}

@media (max-width: 380px) {
    .logo-text {
        display: none;
    }
}