:root {
    --bg-color: #0b0f19;
    --bg-gradient: linear-gradient(135deg, #0b0f19 0%, #151b2b 100%);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-color: #06b6d4;
    --accent-hover: #0891b2;
    --accent-gradient: linear-gradient(90deg, #06b6d4, #3b82f6);
    --game-green: #4ade80;
    --game-blue: #60a5fa;
    --game-yellow: #facc15;
    --game-red: #f87171;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(12px);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --highlight-ratio: 1844 / 853;
}

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

body {
    background: var(--bg-gradient);
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.pixel-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(6, 182, 212, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 182, 212, 0.03) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
}

.starfield {
    position: absolute;
    inset: 0;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite;
}

.star-bright {
    width: 3px;
    height: 3px;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
}

.color-balls {
    position: absolute;
    inset: 0;
}

.ball {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.5);
    opacity: 0.5;
    animation: ballFloat 12s ease-in-out infinite;
}

.ball-sm {
    width: 10px;
    height: 10px;
    opacity: 0.35;
}

.ball-green { background: var(--game-green); top: 18%; left: 8%; animation-delay: 0s; }
.ball-blue { background: var(--game-blue); top: 65%; left: 12%; animation-delay: -3s; animation-duration: 14s; }
.ball-yellow { background: var(--game-yellow); top: 30%; right: 10%; animation-delay: -6s; animation-duration: 11s; }
.ball-red { background: var(--game-red); bottom: 20%; right: 15%; animation-delay: -9s; animation-duration: 13s; }
.ball-sm.ball-green { top: 75%; left: 45%; animation-delay: -2s; }
.ball-sm.ball-red { top: 12%; right: 30%; animation-delay: -7s; }

.scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
    opacity: 0.4;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.35;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(6, 182, 212, 0.2);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: rgba(59, 130, 246, 0.15);
    bottom: -200px;
    right: -100px;
    animation-delay: -5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(239, 68, 68, 0.1);
    top: 40%;
    left: 40%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

@keyframes ballFloat {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(30px, -40px); }
    50% { transform: translate(-20px, -80px); }
    75% { transform: translate(40px, -30px); }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(1.02); }
}

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

@keyframes iconPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.3); }
    50% { box-shadow: 0 0 20px 4px rgba(6, 182, 212, 0.2); }
}

@keyframes dotBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: -0.05em;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    color: var(--text-secondary);
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    margin-bottom: 1rem;
}

.gradient-text {
    background: linear-gradient(90deg, var(--game-green), var(--game-blue), var(--game-yellow), var(--game-red));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: colorCycle 6s ease infinite;
}

.arcade-text {
    display: inline-block;
}

.text-center {
    text-align: center;
}

/* Utilities */
.glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2rem);
}

.section {
    padding: clamp(3rem, 8vw, 6rem) 0;
}

/* Buttons */
.btn-beta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: linear-gradient(90deg, var(--game-green), var(--game-blue), var(--game-yellow), var(--game-red));
    background-size: 300% 100%;
    animation: colorCycle 6s ease infinite, betaPulse 2.5s ease-in-out infinite;
    color: #0b0f19;
    font-weight: 700;
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.3;
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.35), 0 0 0 0 rgba(74, 222, 128, 0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-beta:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 28px rgba(6, 182, 212, 0.45), 0 0 24px rgba(74, 222, 128, 0.25);
}

.btn-beta:active {
    transform: translateY(0) scale(0.98);
}

.btn-beta.large {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    padding: 1rem 2rem;
}

.btn-beta-sm {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    animation: colorCycle 6s ease infinite;
}

.btn-beta-submit {
    width: 100%;
    margin-top: 0.5rem;
    animation: colorCycle 6s ease infinite;
}

@keyframes betaPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(6, 182, 212, 0.35), 0 0 0 0 rgba(74, 222, 128, 0.35); }
    50% { box-shadow: 0 6px 28px rgba(6, 182, 212, 0.5), 0 0 20px rgba(74, 222, 128, 0.2); }
}

.btn-coming-soon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    border: 1px solid var(--glass-border);
    cursor: default;
    opacity: 0.85;
    text-align: center;
    line-height: 1.3;
}

.btn-coming-soon.large {
    font-size: clamp(0.9rem, 2.5vw, 1.05rem);
    padding: 0.875rem 1.5rem;
}

.nav-badge {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    white-space: nowrap;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    border-left: none;
    border-right: none;
    border-top: none;
    border-radius: 0;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem clamp(1rem, 4vw, 2rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: var(--text-primary);
    min-width: 0;
}

.logo img {
    height: 36px;
    width: 36px;
    border-radius: 10px;
    flex-shrink: 0;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: clamp(1rem, 4vw, 2rem);
    padding-right: clamp(1rem, 4vw, 2rem);
    gap: clamp(2rem, 5vw, 4rem);
}

.hero-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-color);
    border: 1px solid rgba(6, 182, 212, 0.3);
    background: rgba(6, 182, 212, 0.08);
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    margin-bottom: 1.25rem;
}

.hero-content {
    flex: 1 1 420px;
    max-width: 560px;
    min-width: 0;
}

.hero-content .subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.platforms {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.color-dots {
    display: flex;
    gap: 0.6rem;
    margin-top: 2rem;
}

.color-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.4);
    animation: dotBounce 2s ease-in-out infinite;
}

.color-dots span:nth-child(1) { background: var(--game-green); animation-delay: 0s; }
.color-dots span:nth-child(2) { background: var(--game-blue); animation-delay: 0.15s; }
.color-dots span:nth-child(3) { background: var(--game-yellow); animation-delay: 0.3s; }
.color-dots span:nth-child(4) { background: var(--game-red); animation-delay: 0.45s; }

.hero-visual {
    flex: 1 1 480px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
    width: 100%;
}

.hero-highlight {
    position: relative;
    width: 100%;
    max-width: 680px;
}

.hero-highlight img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: var(--highlight-ratio);
    object-fit: cover;
    border-radius: 14px;
    position: relative;
    z-index: 1;
    box-shadow:
        0 0 0 1px rgba(6, 182, 212, 0.15),
        0 20px 60px rgba(0, 0, 0, 0.55),
        0 0 80px rgba(6, 182, 212, 0.12);
    animation: heroFloat 5s ease-in-out infinite;
}

.highlight-glow {
    position: absolute;
    inset: -8%;
    background: radial-gradient(ellipse at center, rgba(6, 182, 212, 0.25) 0%, transparent 70%);
    z-index: 0;
    animation: glowPulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Description Section */
.card {
    padding: clamp(2rem, 5vw, 4rem);
    border-radius: 24px;
    text-align: center;
}

.card h2 {
    margin-bottom: 1.5rem;
}

.card p {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    max-width: 800px;
    margin: 0 auto 1.5rem auto;
}

.card p:last-child {
    margin-bottom: 0;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: clamp(1.25rem, 3vw, 2rem);
    margin-top: 3rem;
}

.feature-card {
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border-radius: 20px;
    transition: all 0.35s ease;
    border-left: 3px solid transparent;
}

.feature-card.accent-green { border-left-color: var(--game-green); }
.feature-card.accent-blue { border-left-color: var(--game-blue); }
.feature-card.accent-yellow { border-left-color: var(--game-yellow); }
.feature-card.accent-red { border-left-color: var(--game-red); }

.hover-lift:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.feature-card.accent-green:hover { border-color: var(--game-green); box-shadow: 0 12px 40px rgba(74, 222, 128, 0.12); }
.feature-card.accent-blue:hover { border-color: var(--game-blue); box-shadow: 0 12px 40px rgba(96, 165, 250, 0.12); }
.feature-card.accent-yellow:hover { border-color: var(--game-yellow); box-shadow: 0 12px 40px rgba(250, 204, 21, 0.12); }
.feature-card.accent-red:hover { border-color: var(--game-red); box-shadow: 0 12px 40px rgba(248, 113, 113, 0.12); }

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1.25rem;
    display: inline-block;
    background: var(--glass-bg);
    padding: 0.85rem;
    border-radius: 14px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease;
}

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

/* Gallery / Screenshots */
.gallery {
    position: relative;
    overflow: hidden;
}

.gallery-wrapper {
    position: relative;
    overflow: hidden;
}

.gallery-wrapper::before,
.gallery-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(24px, 8vw, 120px);
    z-index: 2;
    pointer-events: none;
}

.gallery-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-color) 0%, transparent 100%);
}

.gallery-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-color) 0%, transparent 100%);
}

.gallery-scroll {
    display: flex;
    gap: clamp(1rem, 3vw, 2rem);
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1.5rem clamp(1rem, 4vw, 2rem);
    padding-left: max(clamp(1rem, 4vw, 2rem), calc(50% - min(90vw, 760px) / 2));
    padding-right: max(clamp(1rem, 4vw, 2rem), calc(50% - min(90vw, 760px) / 2));
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.gallery-scroll::-webkit-scrollbar {
    display: none;
}

.gallery-img {
    width: min(90vw, 760px);
    height: auto;
    aspect-ratio: var(--highlight-ratio);
    object-fit: cover;
    border-radius: 14px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    scroll-snap-align: center;
    flex-shrink: 0;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.gallery-img:hover {
    transform: scale(1.02) translateY(-4px);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6), 0 0 40px rgba(6, 182, 212, 0.12);
    border-color: rgba(6, 182, 212, 0.25);
}

/* Beta CTA Section */
.beta-cta {
    padding-top: 0;
}

.beta-card {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.beta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(6, 182, 212, 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.beta-card-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.beta-card h2 {
    margin-bottom: 1rem;
}

.beta-card p {
    max-width: 520px;
    margin: 0 auto 1.75rem;
}

/* Beta Modal */
body.modal-open {
    overflow: hidden;
}

.beta-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.beta-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.beta-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.beta-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 480px;
    max-height: calc(100dvh - 2rem);
    overflow-y: auto;
    padding: clamp(1.5rem, 4vw, 2rem);
    border-radius: 20px;
    transform: translateY(20px) scale(0.96);
    transition: transform 0.35s ease;
}

.beta-modal.is-open .beta-modal-dialog {
    transform: translateY(0) scale(1);
}

.beta-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
}

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

.beta-modal-dialog h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    padding-right: 2rem;
}

.beta-modal-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.beta-platform-fieldset {
    border: none;
    margin: 0 0 1.25rem;
    padding: 0;
}

.beta-platform-fieldset legend {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
}

.beta-platform-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.beta-platform-option {
    cursor: pointer;
}

.beta-platform-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.beta-platform-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 2px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.03);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.beta-platform-option input:checked + .beta-platform-card {
    border-color: var(--accent-color);
    background: rgba(6, 182, 212, 0.12);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.15);
}

.beta-platform-option input:focus-visible + .beta-platform-card {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.beta-field {
    margin-bottom: 1rem;
}

.beta-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.beta-field input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.25);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.beta-field input::placeholder {
    color: rgba(148, 163, 184, 0.6);
}

.beta-field input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}

.beta-field-hint {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin: 0.4rem 0 0;
    line-height: 1.4;
}

.beta-form-error {
    font-size: 0.88rem;
    color: var(--game-red);
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.25);
    border-radius: 10px;
    padding: 0.65rem 0.85rem;
    margin-bottom: 0.75rem;
}

.beta-modal-success {
    text-align: center;
    padding: 1rem 0;
}

.beta-success-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: rgba(74, 222, 128, 0.15);
    border: 2px solid var(--game-green);
    color: var(--game-green);
    font-size: 1.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: successPop 0.5s ease;
}

@keyframes successPop {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.15); }
    100% { transform: scale(1); opacity: 1; }
}

.beta-modal-success h2 {
    margin-bottom: 0.75rem;
}

.beta-modal-success p {
    margin-bottom: 1.5rem;
}

.beta-modal-success strong {
    color: var(--text-primary);
}

/* Footer */
.footer {
    border-top: 1px solid var(--glass-border);
    padding: clamp(2.5rem, 6vw, 4rem) 0 2rem;
    margin-top: 2rem;
    background: rgba(0, 0, 0, 0.2);
}

.logo-footer {
    justify-content: center;
    margin-bottom: 1rem;
}

.logo-footer h2 {
    margin-bottom: 0;
    font-size: 1.5rem;
}

.footer-icon-pulse {
    animation: iconPulse 3s ease-in-out infinite;
}

.footer-cta {
    margin: 2rem 0;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.6;
    margin-top: 2rem;
    margin-bottom: 0;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards ease-out;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

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

/* Utility Enhancements */
.back-link {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    transition: color 0.3s;
    margin-right: 0.25rem;
    flex-shrink: 0;
}

.back-link:hover {
    color: var(--accent-color);
}

.gallery-hint {
    color: var(--text-secondary);
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.7;
    animation: pulse-op 2s infinite;
    padding: 0 1rem;
}

@keyframes pulse-op {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* Scroll Reveal Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.scroll-reveal.delay-1.visible { transition-delay: 0.1s; }
.scroll-reveal.delay-2.visible { transition-delay: 0.2s; }

/* Responsive */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 88px;
        padding-bottom: 3rem;
        min-height: auto;
    }

    .hero-actions {
        align-items: center;
        width: 100%;
    }

    .hero-content {
        max-width: 100%;
    }

    .color-dots {
        justify-content: center;
    }

    .hero-highlight {
        max-width: min(100%, 640px);
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 80px;
        gap: 2rem;
    }

    .hero-badge {
        font-size: 0.7rem;
    }

    .btn-coming-soon.large {
        width: 100%;
        max-width: 360px;
    }

    .btn-beta.large {
        width: 100%;
        max-width: 360px;
    }

    .nav-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.75rem;
    }

    .logo span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .gallery-scroll {
        padding-left: 1rem;
        padding-right: 1rem;
        scroll-padding-inline: 1rem;
    }

    .gallery-img {
        width: min(calc(100vw - 2rem), 640px);
    }

    .gallery-wrapper::before,
    .gallery-wrapper::after {
        width: 24px;
    }

    .ball {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-highlight img {
        border-radius: 10px;
    }

    .gallery-img {
        width: calc(100vw - 2rem);
        border-radius: 10px;
    }

    .feature-card {
        text-align: center;
        border-left: none;
        border-top: 3px solid transparent;
    }

    .feature-card.accent-green { border-top-color: var(--game-green); border-left-color: transparent; }
    .feature-card.accent-blue { border-top-color: var(--game-blue); border-left-color: transparent; }
    .feature-card.accent-yellow { border-top-color: var(--game-yellow); border-left-color: transparent; }
    .feature-card.accent-red { border-top-color: var(--game-red); border-left-color: transparent; }
}

@media (min-width: 993px) {
    .hero-actions {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hero-highlight img {
        animation: none;
    }

    .btn-beta {
        animation: none;
    }

    .scroll-reveal {
        opacity: 1;
        transform: none;
    }
}
