/* ============================================
   PURPLE SQUARE STUDIOS — Warm Purple + Lime
   Inspired by Airo reference design
   ============================================ */

:root {
    --purple: #7519AE;
    --purple-dark: #5C1189;
    --purple-light: #9B3DD4;
    --green: #8FE406;
    --green-dark: #72B805;
    --green-light: #A5F020;

    --bg-white: #FDFAF6;
    --bg-cream: #F8F3ED;
    --bg-purple: #7519AE;
    --bg-dark: #2A1A35;

    --text-dark: #1A1A2E;
    --text-body: #4A4A5A;
    --text-muted: #8A8A9A;
    --text-white: #FFFFFF;

    --font-display: 'Lilita One', cursive;
    --font-body: 'DM Sans', sans-serif;

    --nav-height: 72px;
    --container-max: 1100px;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }

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

::selection { background: rgba(117, 25, 174, 0.2); color: var(--text-dark); }
img { max-width: 100%; height: auto; display: block; }

a { color: var(--purple); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--purple-dark); }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.accent-green { color: var(--green); }

/* --- Typography --- */
.section-label {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--purple);
    margin-bottom: 8px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 5vw, 42px);
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 20px;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    background: rgba(117, 25, 174, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
    background: rgba(117, 25, 174, 0.98);
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.nav-inner {
    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: 10px;
    text-decoration: none;
    color: white;
}

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

.nav-logo-text {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 400;
    color: white;
    line-height: 1.2;
}
.nav-logo-text small {
    font-weight: 600;
    font-size: 11px;
    color: var(--green);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    padding: 8px 16px;
    border-radius: 8px;
    transition: all var(--transition);
    text-decoration: none;
}
.nav-link:hover { color: white; background: rgba(255,255,255,0.1); }
.nav-link.active { color: white; background: rgba(255,255,255,0.15); }

.nav-btn {
    font-size: 13px;
    font-weight: 600;
    color: var(--purple-dark);
    background: var(--green);
    padding: 8px 20px;
    border-radius: 8px;
    margin-left: 8px;
    transition: all var(--transition);
    text-decoration: none;
}
.nav-btn:hover { background: var(--green-light); color: var(--purple-dark); transform: translateY(-1px); }

.nav-coming-soon {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-dark);
    background: var(--green);
    padding: 7px 16px;
    border-radius: 8px;
    margin-left: 4px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    animation: pulseGlow 2.5s ease-in-out infinite;
    transition: all var(--transition);
    white-space: nowrap;
}
.nav-coming-soon::before {
    content: '🔥';
    margin-right: 4px;
}
.nav-coming-soon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-20deg);
    animation: btnShine 3s ease-in-out infinite;
}
.nav-coming-soon:hover {
    background: var(--green-light);
    color: var(--purple-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(143, 228, 6, 0.4);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-mobile {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 24px 24px;
    background: rgba(117, 25, 174, 0.98);
}
.nav-mobile.open { display: flex; }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    border: none;
    gap: 6px;
}

.btn-green {
    background: var(--green);
    color: var(--text-dark);
}
.btn-green:hover { background: var(--green-light); color: var(--text-dark); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(143, 228, 6, 0.3); }

.btn-purple {
    background: var(--green);
    color: var(--text-dark);
}
.btn-purple:hover { background: var(--green-light); color: var(--text-dark); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(143, 228, 6, 0.3); }

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline-white:hover { border-color: white; color: white; background: rgba(255,255,255,0.1); }

.btn-outline-dark {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid rgba(0,0,0,0.2);
}
.btn-outline-dark:hover { border-color: var(--green); color: var(--text-dark); background: rgba(143, 228, 6, 0.08); }

.btn-full { width: 100%; }

/* --- Hero (Homepage) --- */
.hero {
    background: var(--purple);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--nav-height) + 40px) 24px 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
}

.hero-logo {
    width: clamp(80px, 15vw, 120px);
    margin: 0 auto 24px;
    animation: fadeInDown 0.8s ease-out;
}

.hero-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    margin-bottom: 8px;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 7vw, 64px);
    color: white;
    line-height: 1.1;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: clamp(15px, 2vw, 18px);
    color: rgba(255,255,255,0.75);
    max-width: 480px;
    margin: 0 auto 32px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Hero decorative elements */
.hero-deco {
    position: absolute;
    border-radius: 4px;
    opacity: 0.15;
    pointer-events: none;
}
.hero-deco-1 {
    width: 16px; height: 16px;
    background: var(--green);
    top: 20%;
    left: 8%;
    animation: decoFloat 6s ease-in-out infinite;
}
.hero-deco-2 {
    width: 12px; height: 12px;
    background: rgba(255,255,255,0.4);
    top: 30%;
    right: 12%;
    animation: decoFloat 8s ease-in-out infinite 1s;
}
.hero-deco-3 {
    width: 20px; height: 20px;
    background: rgba(255,255,255,0.2);
    bottom: 15%;
    left: 15%;
    animation: decoFloat 7s ease-in-out infinite 2s;
}
.hero-deco-4 {
    width: 10px; height: 10px;
    background: var(--green);
    opacity: 0.25;
    top: 55%;
    right: 8%;
    animation: decoFloat 9s ease-in-out infinite 0.5s;
}
.hero-deco-5 {
    width: 14px; height: 14px;
    background: rgba(255,255,255,0.15);
    top: 12%;
    right: 25%;
    animation: decoFloat 6s ease-in-out infinite 3s;
}
.hero-deco-6 {
    width: 18px; height: 18px;
    background: var(--green);
    opacity: 0.12;
    bottom: 25%;
    right: 20%;
    border-radius: 3px;
    animation: decoFloat 8s ease-in-out infinite 1.5s;
}
.hero-deco-7 {
    width: 8px; height: 8px;
    background: rgba(255,255,255,0.25);
    top: 40%;
    left: 5%;
    animation: decoFloat 5s ease-in-out infinite 4s;
}
.hero-deco-8 {
    width: 22px; height: 22px;
    background: rgba(255,255,255,0.08);
    bottom: 10%;
    right: 35%;
    border-radius: 4px;
    animation: decoFloat 10s ease-in-out infinite 2.5s;
}

/* --- Page Hero (subpages) --- */
.page-hero {
    background: var(--purple);
    padding: calc(var(--nav-height) + 48px) 24px 56px;
    position: relative;
    overflow: hidden;
}

.page-hero-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.page-hero-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 6vw, 56px);
    color: white;
    line-height: 1.1;
    margin-bottom: 16px;
}

.page-hero-subtitle {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    max-width: 560px;
}

/* --- Sections --- */
.section {
    padding: 80px 0;
}

/* --- Featured Game --- */
.featured-section {
    background: var(--bg-white);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.featured-game {
    margin-bottom: 40px;
}

.featured-game-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 48px;
    align-items: center;
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.06);
    transition: transform var(--transition), box-shadow var(--transition);
}
.featured-game-inner:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

/* Phone Mockup */
.phone-wrap { display: flex; justify-content: center; }

.phone-mockup {
    width: 240px;
    height: 480px;
    background: #111;
    border-radius: 36px;
    border: 4px solid #222;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3), inset 0 0 0 1px rgba(255,255,255,0.05);
    flex-shrink: 0;
}

.phone-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 22px;
    background: #000;
    border-radius: 0 0 16px 16px;
    z-index: 3;
}

.phone-screen { width: 100%; height: 100%; overflow: hidden; position: relative; }
.phone-screenshot { width: 100%; height: 100%; object-fit: cover; }

.phone-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: opacity var(--transition);
}
.phone-mockup:hover .phone-play-overlay { opacity: 1; }

.play-circle {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255,255,255,0.3);
}

.play-label {
    font-size: 10px;
    letter-spacing: 1px;
    color: white;
    text-transform: uppercase;
    font-weight: 600;
}

/* Game Info */
.featured-info { display: flex; flex-direction: column; gap: 16px; }

.featured-logo {
    max-width: 280px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.1));
}

.featured-genre {
    font-size: 14px;
    font-weight: 500;
    color: var(--purple);
}

.featured-desc {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-body);
}

.featured-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.featured-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: var(--text-muted);
}

/* --- Badges & Tags --- */
.badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.badge-green { background: var(--green); color: var(--text-dark); }
.badge-purple { background: var(--purple); color: white; }
.badge-float { position: absolute; top: 16px; left: 16px; z-index: 2; }

.tag {
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 100px;
    border: 1px solid rgba(0,0,0,0.1);
    color: var(--text-body);
    font-weight: 500;
    background: white;
}

/* --- About / Stats Strip --- */
.about-strip {
    background: var(--bg-cream);
}

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

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

.stat-card {
    background: white;
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.06);
    transition: transform var(--transition), box-shadow var(--transition);
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.stat-icon { font-size: 24px; margin-bottom: 8px; }
.stat-number {
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--text-dark);
    margin-bottom: 2px;
}
.stat-label { font-size: 13px; color: var(--text-muted); }

.about-text p {
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.8;
}

/* --- Newsletter --- */
.newsletter-section {
    background: var(--bg-white);
}

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

.newsletter-deco { width: 160px; flex-shrink: 0; }

.deco-squares {
    display: grid;
    grid-template-columns: repeat(3, 48px);
    gap: 6px;
}

.sq {
    width: 48px;
    height: 48px;
    border-radius: 8px;
}
.sq-1 { background: var(--purple-light); opacity: 0.3; }
.sq-2 { background: var(--green); opacity: 0.5; }
.sq-3 { background: transparent; }
.sq-4 { background: var(--green); opacity: 0.3; }
.sq-5 { background: var(--purple); opacity: 0.2; }
.sq-6 { background: var(--green-light); opacity: 0.6; }
.sq-7 { background: var(--purple); opacity: 0.5; }
.sq-8 { background: var(--green); opacity: 0.4; }
.sq-9 { background: var(--purple-light); opacity: 0.2; }

.newsletter-content p {
    font-size: 15px;
    color: var(--text-body);
    margin-bottom: 20px;
    max-width: 480px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    max-width: 420px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--font-body);
    background: white;
    transition: border-color var(--transition);
}
.newsletter-input:focus { outline: none; border-color: var(--purple); }

/* --- Game Card (Games page) --- */
.game-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.06);
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 40px;
    transition: transform var(--transition), box-shadow var(--transition);
}
.game-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.game-card-image {
    position: relative;
    overflow: hidden;
    min-height: 320px;
}
.game-card-image img { width: 100%; height: 100%; object-fit: cover; }
.game-card-deco {
    position: absolute;
    bottom: -12px;
    right: -12px;
    width: 40px;
    height: 40px;
    background: var(--green);
    opacity: 0.6;
    border-radius: 6px;
    transform: rotate(12deg);
}

.game-card-body { padding: 40px; display: flex; flex-direction: column; gap: 16px; }
.game-card-header { display: flex; justify-content: space-between; align-items: flex-start; }
.game-card-title {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--text-dark);
}
.game-card-genre { font-size: 14px; color: var(--purple); font-weight: 500; }
.game-card-desc { font-size: 14px; line-height: 1.8; color: var(--text-body); }
.game-card-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.game-card-meta { display: flex; gap: 20px; font-size: 13px; color: var(--text-muted); }

/* More Games CTA */
.more-games-cta {
    text-align: center;
    padding: 60px 40px;
    background: var(--bg-dark);
    border-radius: var(--radius-lg);
    color: white;
}
.more-games-cta .more-games-icon { width: 56px; margin: 0 auto 20px; }
.more-games-cta h2 {
    font-family: var(--font-display);
    font-size: 28px;
    color: white;
    margin-bottom: 12px;
}
.more-games-cta p {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    max-width: 480px;
    margin: 0 auto 24px;
}

/* --- About Page — Who Grid --- */
.about-who-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 48px;
    align-items: center;
}

.about-who-image {
    width: 300px;
    flex-shrink: 0;
}
.about-who-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-who-text p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 16px;
}

/* --- Values --- */
.values-section { background: var(--bg-cream); }

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

.value-card {
    background: white;
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.06);
    transition: transform var(--transition), box-shadow var(--transition);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.value-icon { font-size: 28px; margin-bottom: 16px; }
.value-card h4 {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.value-card p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* --- Team Grid --- */
.team-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

/* Founder card — wide featured */
.team-card-founder {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 32px;
    align-items: center;
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: var(--shadow);
    text-align: left;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.team-card-founder:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.team-card-founder .team-photo {
    width: 180px;
    height: 220px;
}
.team-card-founder .team-bio {
    font-size: 14px;
    line-height: 1.8;
}

/* Rest of team — 2x2 grid */
.team-others {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.team-card {
    text-align: center;
    padding: 8px;
}

.team-photo {
    position: relative;
    width: 140px;
    height: 175px;
    margin: 0 auto 16px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-cream);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-photo-placeholder { color: var(--text-muted); }

.team-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: white;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-card h4 {
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.team-role {
    font-size: 13px;
    color: var(--purple);
    font-weight: 500;
    margin-bottom: 12px;
}

.team-org {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 10px;
    font-style: italic;
}

.team-bio {
    font-size: 11.5px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
}

.team-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--purple);
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid rgba(117, 25, 174, 0.2);
    border-radius: 100px;
    transition: all var(--transition);
}
.team-link:hover { background: rgba(117, 25, 174, 0.05); }

/* --- CTA Section --- */
.cta-section {
    background: var(--bg-dark);
    padding: 80px 24px;
    color: white;
}
.cta-section .section-title { color: white; }
.cta-section p { color: rgba(255,255,255,0.7); font-size: 16px; margin-bottom: 28px; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* --- Contact --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: flex-start;
}

.contact-form-wrap {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.06);
}
.contact-form-wrap h3 {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.contact-form-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }

.contact-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.contact-cat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
    border: 2px solid rgba(0,0,0,0.08);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
}
.contact-cat:has(input:checked) {
    border-color: var(--purple);
    background: rgba(117, 25, 174, 0.03);
}
.contact-cat input { display: none; }
.cat-icon { font-size: 20px; }
.cat-label { font-size: 14px; font-weight: 600; color: var(--text-dark); }
.cat-desc { font-size: 12px; color: var(--text-muted); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--font-body);
    transition: border-color var(--transition);
    background: white;
}
.form-input:focus { outline: none; border-color: var(--purple); }
.form-textarea { resize: vertical; min-height: 100px; }

/* Contact Sidebar */
.contact-sidebar { display: flex; flex-direction: column; gap: 20px; }

.sidebar-card {
    background: white;
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: var(--shadow);
}
.sidebar-card h4 {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.sidebar-card-icon { font-size: 24px; margin-bottom: 8px; }
.sidebar-note { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.sidebar-email {
    font-size: 15px;
    font-weight: 600;
    color: var(--purple);
    display: block;
    margin-bottom: 12px;
}
.sidebar-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
}
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    display: inline-block;
}

.sidebar-socials { display: flex; flex-direction: column; gap: 12px; }
.sidebar-social-row {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-body);
    font-size: 14px;
    transition: color var(--transition);
}
.sidebar-social-row:hover { color: var(--purple); }
.sidebar-social-row small { color: var(--text-muted); }
.sidebar-social-icon { font-size: 20px; width: 28px; text-align: center; }

.sidebar-card-accent {
    background: var(--purple);
    color: white;
    border-color: transparent;
}
.sidebar-card-accent h4 { color: white; }
.sidebar-card-accent p { color: rgba(255,255,255,0.8); font-size: 13px; margin-bottom: 12px; }
.sidebar-link {
    color: var(--green);
    font-weight: 600;
    font-size: 14px;
}
.sidebar-link:hover { color: var(--green-light); }

/* --- Footer --- */
.footer {
    background: var(--bg-dark);
    padding: 48px 0 24px;
    color: rgba(255,255,255,0.7);
    position: relative;
}

.footer-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--green), var(--purple), var(--green));
}

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

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.footer-logo { width: 40px; height: 40px; object-fit: contain; }
.footer-name {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}
.footer-name small {
    font-weight: 400;
    font-size: 11px;
    opacity: 0.6;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-tagline { font-size: 13px; line-height: 1.7; margin-bottom: 20px; }

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

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    transition: all var(--transition);
}
.social-icon:hover { background: rgba(255,255,255,0.15); color: white; }

.footer-col h4 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--green);
    margin-bottom: 16px;
}
.footer-col a {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 8px;
    transition: color var(--transition);
}
.footer-col a:hover { color: white; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-bottom-links a:hover { color: white; }

/* --- Wave Divider --- */
.wave-divider {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin-top: -2px;
    background: var(--purple);
}
.wave-divider svg {
    display: block;
    width: 100%;
    height: 80px;
}
.wave-divider-flip {
    transform: rotate(180deg);
    margin-top: 0;
    margin-bottom: -2px;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-16px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes decoFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(8px, -12px) rotate(5deg); }
    66% { transform: translate(-4px, 6px) rotate(-3deg); }
}
@keyframes breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}
@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(2deg); }
    75% { transform: rotate(-2deg); }
}
@keyframes popIn {
    0% { opacity: 0; transform: scale(0.8) translateY(20px); }
    60% { transform: scale(1.05) translateY(-4px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(143, 228, 6, 0.4); }
    50% { box-shadow: 0 0 20px 4px rgba(143, 228, 6, 0.15); }
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes bounceSubtle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* --- Delightful Animations --- */

/* Hero logo entrance + gentle breathing */
.hero-logo {
    animation: popIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), breathe 4s ease-in-out 1s infinite;
}

/* Phone mockup gentle float */
.phone-mockup {
    animation: bounceSubtle 3s ease-in-out infinite;
}

/* Stat cards — spring hover */
.stat-card {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.stat-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.stat-card:hover .stat-icon {
    animation: bounceSubtle 0.6s ease-in-out;
}
.stat-card:hover .stat-number {
    color: var(--purple);
    transition: color 0.3s ease;
}

/* Buttons — spring press + glow */
.btn {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.btn:active {
    transform: scale(0.96);
}
.btn-green {
    position: relative;
    overflow: hidden;
}
.btn-green::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    transform: skewX(-20deg);
    animation: btnShine 4s ease-in-out infinite;
}
@keyframes btnShine {
    0%, 75%, 100% { left: -60%; }
    50% { left: 120%; }
}

/* Deco squares — staggered breathe + spin */
.sq {
    animation: decoFloat 5s ease-in-out infinite;
}
.sq:nth-child(1) { animation-delay: 0s; animation-duration: 6s; }
.sq:nth-child(2) { animation-delay: 0.4s; animation-duration: 5s; }
.sq:nth-child(3) { animation-delay: 0.8s; animation-duration: 7s; }
.sq:nth-child(4) { animation-delay: 1.2s; animation-duration: 4.5s; }
.sq:nth-child(5) { animation-delay: 0.2s; animation-duration: 6.5s; }
.sq:nth-child(6) { animation-delay: 0.6s; animation-duration: 5.5s; }
.sq:nth-child(7) { animation-delay: 1.0s; animation-duration: 7.5s; }
.sq:nth-child(8) { animation-delay: 1.4s; animation-duration: 4s; }
.sq:nth-child(9) { animation-delay: 0.3s; animation-duration: 6s; }

/* Team cards — spring pop hover */
.team-card {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.team-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}
.team-card:hover .team-photo {
    box-shadow: 0 8px 24px rgba(117, 25, 174, 0.15);
    transition: box-shadow 0.3s ease;
}

/* Value cards — icon pop + lift */
.value-card {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.value-card:hover .value-icon {
    animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Footer social — spring bounce */
.social-icon {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.social-icon:hover {
    transform: translateY(-4px) scale(1.15);
    background: rgba(255,255,255,0.2);
    color: white;
}

/* Game card — image parallax zoom */
.game-card-image img {
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.game-card:hover .game-card-image img {
    transform: scale(1.08);
}

/* Featured game card — lift on hover */
.featured-game-inner {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}
.featured-game-inner:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 64px rgba(0,0,0,0.12);
}

/* Badge — subtle pulse */
.badge-green {
    animation: pulseGlow 3s ease-in-out infinite;
}

/* Nav logo — playful tilt on hover */
.nav-logo-img {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.nav-logo:hover .nav-logo-img {
    transform: scale(1.1) rotate(-5deg);
}

/* Hero deco cubes — varied rotation for more life */
.hero-deco {
    transition: opacity 0.3s ease;
}
.hero-deco-1 { animation: decoSpin 8s linear infinite, decoFloat 6s ease-in-out infinite; }
.hero-deco-4 { animation: decoSpin 12s linear infinite reverse, decoFloat 9s ease-in-out infinite 0.5s; }
.hero-deco-6 { animation: decoSpin 10s linear infinite, decoFloat 8s ease-in-out infinite 1.5s; }

@keyframes decoSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Contact category cards — border color transition */
.contact-cat {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.contact-cat:hover {
    transform: translateY(-2px);
    border-color: rgba(117, 25, 174, 0.3);
}

/* Story card — subtle left border glow on hover */
.story-card {
    transition: box-shadow 0.3s ease;
}
.story-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}

/* More games CTA — breathe */
.more-games-cta {
    animation: breathe 6s ease-in-out infinite;
}

/* Sidebar accent card glow */
.sidebar-card-accent {
    transition: box-shadow 0.3s ease;
}
.sidebar-card-accent:hover {
    box-shadow: 0 8px 32px rgba(117, 25, 174, 0.3);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
}

/* --- Waitlist Section --- */
.waitlist-section {
    background: var(--bg-white);
}

.waitlist-card {
    background: var(--purple);
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: 0;
}

.waitlist-inner {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    align-items: center;
}

.waitlist-content {
    padding: 48px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.waitlist-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 40px);
    color: white;
    line-height: 1.1;
}

.waitlist-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    max-width: 460px;
}

.waitlist-perks {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 4px 0;
}

.waitlist-perk {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
    margin-top: 8px;
}

.waitlist-input {
    padding: 14px 18px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    font-size: 15px;
    font-family: var(--font-body);
    background: rgba(255,255,255,0.1);
    color: white;
    transition: border-color var(--transition), background var(--transition);
}
.waitlist-input::placeholder { color: rgba(255,255,255,0.4); }
.waitlist-input:focus {
    outline: none;
    border-color: var(--green);
    background: rgba(255,255,255,0.15);
}

.waitlist-count {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
}

.waitlist-visual {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 24px 24px 0;
    overflow: hidden;
}

.waitlist-baba {
    max-height: 380px;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.3));
    animation: bounceSubtle 3s ease-in-out infinite;
}

/* Waitlist success state */
.waitlist-success {
    text-align: center;
    padding: 24px;
    background: rgba(143, 228, 6, 0.15);
    border: 2px solid rgba(143, 228, 6, 0.3);
    border-radius: 12px;
    max-width: 400px;
}
.waitlist-success h3 {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--green);
    margin-bottom: 8px;
}
.waitlist-success p {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

/* --- Game Detail Page (baba-on-the-road.html) --- */
.game-hero {
    background: var(--purple);
    padding: calc(var(--nav-height) + 48px) 24px 0;
    position: relative;
    overflow: hidden;
}

.game-hero-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    max-width: var(--container-max);
    margin: 0 auto;
    padding-bottom: 40px;
}

.game-hero-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.game-hero-logo {
    max-width: 340px;
    filter: drop-shadow(0 4px 16px rgba(0,0,0,0.2));
}

.game-hero-desc {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    max-width: 480px;
}

.game-hero-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.game-info-chip {
    font-size: 13px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.12);
}

.game-hero-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 15px;
}

.coming-soon-note {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    font-style: italic;
}

.game-hero-visual {
    display: flex;
    justify-content: center;
}

.phone-mockup-lg {
    width: 280px;
    height: 560px;
}

/* Video section */
.video-wrap {
    max-width: 700px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #000;
}

.game-video {
    width: 100%;
    display: block;
}

/* Story section */
.story-section { background: var(--bg-cream); }

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

.story-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.story-image img {
    width: 100%;
    display: block;
}
.story-image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    font-size: 13px;
    font-weight: 500;
}

.story-text p {
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 16px;
    color: var(--text-body);
}

/* Section subtitle */
.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 48px;
    line-height: 1.7;
}

/* Journey cards */
.journey-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 16px;
}

.journey-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.06);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.journey-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.journey-card-img {
    height: 200px;
    overflow: hidden;
}
.journey-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.journey-card:hover .journey-card-img img {
    transform: scale(1.06);
}

.journey-card-body {
    padding: 24px;
}

.journey-step {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--purple);
    margin-bottom: 4px;
    display: block;
}

.journey-card-body h3 {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.journey-card-body p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* How it works */
.how-section { background: var(--bg-cream); }

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

.how-step {
    text-align: center;
    padding: 32px 20px;
    background: white;
    border-radius: var(--radius);
    border: 1px solid rgba(0,0,0,0.06);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.how-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.how-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--purple);
    color: white;
    font-family: var(--font-display);
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.how-step h4 {
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.how-step p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Features grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.feature-block {
    padding: 32px 24px;
    background: white;
    border-radius: var(--radius);
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: var(--shadow);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.feature-block:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-block-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.feature-block h4 {
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.feature-block p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Gallery */
.gallery-section { background: var(--bg-cream); }

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

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.gallery-item:hover {
    transform: scale(1.02);
}
.gallery-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

/* CTA game logo */
.cta-game-logo {
    max-width: 260px;
    margin: 0 auto 24px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
}

/* --- Responsive --- */
@media (max-width: 968px) {
    .featured-game-inner { grid-template-columns: 1fr; text-align: center; padding: 28px; gap: 28px; }
    .phone-mockup { width: 200px; height: 400px; }
    .featured-logo { margin: 0 auto; max-width: 240px; }
    .featured-tags { justify-content: center; }
    .featured-meta { justify-content: center; }

    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .about-who-grid { grid-template-columns: 1fr; }
    .about-who-image { width: 100%; max-width: 300px; margin: 0 auto; }

    .newsletter-grid { grid-template-columns: 1fr; }
    .newsletter-deco { display: none; }

    .values-grid { grid-template-columns: 1fr 1fr; }
    .team-card-founder { grid-template-columns: 1fr; text-align: center; }
    .team-card-founder .team-photo { margin: 0 auto; }
    .team-others { grid-template-columns: 1fr 1fr; }

    .contact-grid { grid-template-columns: 1fr; }
    .game-card { grid-template-columns: 1fr; }
    .game-card-image { min-height: 220px; }

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

    .waitlist-inner { grid-template-columns: 1fr; }
    .waitlist-visual { display: none; }
    .waitlist-content { padding: 32px 24px; }

    .game-hero-grid { grid-template-columns: 1fr; text-align: center; }
    .game-hero-logo { margin: 0 auto; max-width: 280px; }
    .game-hero-desc { max-width: 100%; }
    .game-hero-badges { justify-content: center; }
    .game-hero-cta { justify-content: center; }
    .game-hero-visual { order: -1; }
    .phone-mockup-lg { width: 220px; height: 440px; }

    .story-grid { grid-template-columns: 1fr; }
    .journey-cards { grid-template-columns: 1fr; }
    .how-grid { grid-template-columns: 1fr 1fr; }
    .features-grid { grid-template-columns: 1fr 1fr; }
}

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

    .nav-links { display: none; }
    .nav-toggle { display: flex; }

    .hero { padding-top: calc(var(--nav-height) + 32px); padding-bottom: 60px; }
    .hero-cta { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 280px; }

    .section { padding: 60px 0; }

    .stats-grid { grid-template-columns: 1fr 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }

    .contact-categories { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

    .page-hero { padding-bottom: 40px; }

    .how-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item img { height: 200px; }
}
