/* ============================================================
   PlayMux Landing — Custom Styles (Tailwind handles most)
   ============================================================ */

/* Material Symbols */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Hero gradient */
.hero-gradient {
    background: radial-gradient(ellipse 80% 60% at 50% -10%, #1c1c1f 0%, #111114 100%);
}

/* Glass card */
.glass-card {
    background: rgba(49, 49, 51, 0.45);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(65, 71, 79, 0.15);
}

/* Nav glass on scroll */
.nav-scrolled {
    background: rgba(17, 17, 20, 0.7) !important;
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border-bottom: 1px solid rgba(65, 71, 79, 0.1);
}

/* Store buttons */
.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    color: #111;
    padding: 12px 24px;
    border-radius: 12px;
    transition: all 200ms cubic-bezier(0.16, 1, 0.3, 1);
    min-width: 190px;
}

.store-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.store-btn:active {
    transform: scale(0.97);
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Staggered grid items */
.grid > .reveal:nth-child(2) { transition-delay: 60ms; }
.grid > .reveal:nth-child(3) { transition-delay: 120ms; }
.grid > .reveal:nth-child(4) { transition-delay: 180ms; }
.grid > .reveal:nth-child(5) { transition-delay: 240ms; }
.grid > .reveal:nth-child(6) { transition-delay: 300ms; }

/* Focus states */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #78b4f2;
    outline-offset: 3px;
    border-radius: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    html {
        scroll-behavior: auto;
    }

    .group-hover\:scale-110 {
        transform: none !important;
    }

    .group-hover\:translate-y-2 {
        transform: none !important;
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: rgba(120, 180, 242, 0.3);
}
