/* ============================================
   DICESCORE — Premium Cosmic Marketing Theme
   ============================================ */

/* --- Design Tokens --- */
:root {
    --bg-deep: #0a0118;
    --bg-dark: #0f0a1e;
    --bg-card: rgba(20, 10, 40, 0.6);
    --purple-deep: #6d28d9;
    --purple-mid: #8b5cf6;
    --neon-magenta: #c026d3;
    --neon-pink: #e040fb;
    --orange: #f97316;
    --gold: #f5a623;
    --red: #ef4444;
    --white: #ffffff;
    --gray-100: #f1f5f9;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-700: #334155;
    --gray-900: #0f172a;
    --glow-purple: rgba(192, 38, 211, 0.5);
    --glow-orange: rgba(249, 115, 22, 0.5);
    --glow-gold: rgba(245, 166, 35, 0.4);
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --radius-full: 9999px;
    --transition-fast: 0.3s ease;
    --transition-med: 0.5s ease;
    --transition-slow: 0.8s ease;
}

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

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

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-deep);
    color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

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

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

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--gray-700); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--neon-magenta); }

/* --- Cosmic Background --- */
.cosmic-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -2;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(109, 40, 217, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(192, 38, 211, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(249, 115, 22, 0.08) 0%, transparent 50%),
        var(--bg-deep);
}

/* --- Floating Particles --- */
.particles-container {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: particleFloat linear infinite;
}

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

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(10, 1, 24, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: background var(--transition-fast), box-shadow var(--transition-fast);
}

.navbar.scrolled {
    background: rgba(10, 1, 24, 0.9);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    background: linear-gradient(135deg, var(--neon-magenta), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: none;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-300);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0; right: 0;
    height: 2px;
    background: var(--neon-magenta);
    transform: scaleX(0);
    transition: transform var(--transition-fast);
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

/* Mobile menu button */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.75rem;
    background: linear-gradient(135deg, var(--purple-deep), var(--neon-magenta));
    color: var(--white);
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 0 20px var(--glow-purple);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px var(--glow-purple), 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

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

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(192, 38, 211, 0.3);
    background: rgba(109, 40, 217, 0.1);
    color: var(--neon-pink);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

.hero-title .line-1 {
    display: block;
    color: var(--white);
}

.hero-title .line-2 {
    display: block;
    background: linear-gradient(135deg, var(--orange), var(--red), var(--neon-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: skewX(-3deg);
    margin-top: 0.25rem;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--gray-300);
    max-width: 550px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
    line-height: 1.7;
}

/* Store Buttons */
.store-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.store-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    max-width: 280px;
    padding: 0.875rem 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.store-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.store-btn.apple:hover {
    border-color: var(--neon-magenta);
    box-shadow: 0 0 25px var(--glow-purple);
}

.store-btn.google:hover {
    border-color: var(--orange);
    box-shadow: 0 0 25px var(--glow-orange);
}

.store-btn svg {
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
}

.store-btn-text {
    text-align: left;
}

.store-btn-label {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--neon-pink);
}

.store-btn.google .store-btn-label {
    color: var(--orange);
}

.store-btn-name {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

/* Centered store buttons (for CTA section) */
.store-buttons-center {
    justify-content: center;
    align-items: center;
}

/* Hero Phone Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.phone-mockup {
    position: relative;
    width: 260px;
    border-radius: 2.5rem;
    border: 3px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    box-shadow:
        0 0 40px rgba(192, 38, 211, 0.3),
        0 25px 60px rgba(0, 0, 0, 0.5),
        inset 0 0 30px rgba(192, 38, 211, 0.05);
    animation: phoneFloat 6s ease-in-out infinite;
    background: var(--bg-dark);
}

.phone-mockup img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes phoneFloat {
    0%, 100% { transform: translateY(0) rotateY(0deg); }
    25% { transform: translateY(-15px) rotateY(2deg); }
    75% { transform: translateY(5px) rotateY(-2deg); }
}

/* Decorative shapes around hero */
.hero-shape {
    position: absolute;
    border-radius: 20%;
    opacity: 0.5;
    animation: shapeFloat 8s ease-in-out infinite;
}

.hero-shape-1 {
    width: 60px; height: 60px;
    background: var(--gold);
    top: 20%; right: 8%;
    animation-delay: 0s;
    transform: rotate(30deg);
}

.hero-shape-2 {
    width: 40px; height: 40px;
    background: var(--neon-magenta);
    bottom: 30%; left: 5%;
    animation-delay: 2s;
    transform: rotate(45deg);
}

.hero-shape-3 {
    width: 30px; height: 30px;
    background: var(--purple-mid);
    top: 35%; left: 12%;
    animation-delay: 4s;
    transform: rotate(60deg);
}

@keyframes shapeFloat {
    0%, 100% { transform: translateY(0) rotate(30deg); }
    50% { transform: translateY(-20px) rotate(50deg); }
}

/* --- Section Common --- */
.section {
    padding: 5rem 0;
    position: relative;
    z-index: 1;
}

.section-dark {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.section-title .gradient-text {
    background: linear-gradient(135deg, var(--neon-magenta), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* --- Features Grid --- */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.feature-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    transition: all var(--transition-med);
    cursor: pointer;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent, rgba(255,255,255,0.05));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
    z-index: 2;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(192, 38, 211, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px var(--glow-purple);
}

.feature-card-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.feature-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.8s ease;
}

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

.feature-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 1, 24, 0.95) 0%, rgba(10, 1, 24, 0.6) 40%, rgba(10, 1, 24, 0.2) 100%);
    z-index: 1;
    transition: background var(--transition-med);
}

.feature-card:hover .feature-card-overlay {
    background: linear-gradient(to top, rgba(10, 1, 24, 0.98) 0%, rgba(10, 1, 24, 0.5) 50%, rgba(10, 1, 24, 0.1) 100%);
}

.feature-card-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.feature-card-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    display: block;
}

.feature-card-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.feature-card-desc {
    font-size: 0.95rem;
    color: var(--gray-300);
    font-weight: 300;
    line-height: 1.6;
}

/* --- How to Play --- */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    position: relative;
}

.step-card {
    position: relative;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all var(--transition-med);
}

.step-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.step-number {
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    border-radius: 1rem;
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--white);
    transition: transform var(--transition-fast);
}

.step-card:hover .step-number {
    transform: scale(1.1) rotate(5deg);
}

.step-1 .step-number {
    background: linear-gradient(135deg, #374151, #1f2937);
    border: 1px solid #4b5563;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.step-2 .step-number {
    background: linear-gradient(135deg, var(--orange), var(--red));
    box-shadow: 0 0 20px var(--glow-orange);
}

.step-3 .step-number {
    background: linear-gradient(135deg, var(--purple-deep), var(--neon-magenta));
    box-shadow: 0 0 20px var(--glow-purple);
}

.step-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.95rem;
    color: var(--gray-400);
    font-weight: 300;
}

/* --- Gallery (Swiper) --- */
.gallery-section .swiper {
    padding: 2rem 0 3rem;
}

.gallery-slide {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 3px solid rgba(109, 40, 217, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    background: var(--bg-dark);
    aspect-ratio: 9/16;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.gallery-slide:hover img {
    transform: scale(1.05);
}

.swiper-pagination-bullet {
    background: var(--gray-500);
    opacity: 0.5;
    width: 10px;
    height: 10px;
    transition: all var(--transition-fast);
}

.swiper-pagination-bullet-active {
    background: var(--neon-magenta);
    opacity: 1;
    width: 28px;
    border-radius: 5px;
}

/* --- Save & Play Section --- */
.save-play-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.save-play-image {
    display: flex;
    justify-content: center;
}

.save-play-image .phone-mockup {
    width: 240px;
    animation-delay: 3s;
}

.save-play-content {
    text-align: center;
}

.save-play-content h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.save-play-content h2 .gradient-text {
    background: linear-gradient(135deg, var(--neon-magenta), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.save-play-content p {
    font-size: 1.1rem;
    color: var(--gray-300);
    font-weight: 300;
    line-height: 1.7;
    max-width: 450px;
    margin: 0 auto 2rem;
}

/* Bullet feature list */
.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--gray-300);
    font-weight: 400;
}

.feature-list li .check-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple-deep), var(--neon-magenta));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.8rem;
    box-shadow: 0 0 12px var(--glow-purple);
}

/* --- Stats Section --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-card {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-xl);
    transition: all var(--transition-med);
}

.stat-card:hover {
    border-color: rgba(192, 38, 211, 0.2);
    transform: translateY(-3px);
}

.stat-number {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--white), var(--gray-300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray-400);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* --- CTA Section --- */
.cta-section {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: radial-gradient(ellipse at center, rgba(109, 40, 217, 0.15), transparent 60%);
    z-index: 0;
}

.cta-inner {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    color: var(--gray-300);
    max-width: 500px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
}

/* --- Leaderboard --- */
.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.leaderboard-table thead tr {
    background: rgba(255, 255, 255, 0.04);
}

.leaderboard-table th {
    padding: 1.25rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.leaderboard-table td {
    padding: 1.15rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.leaderboard-table tbody tr {
    transition: background var(--transition-fast);
}

.leaderboard-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.04);
}

.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
}

.rank-1 {
    background: rgba(234, 179, 8, 0.2);
    color: #eab308;
    border: 1px solid rgba(234, 179, 8, 0.4);
    box-shadow: 0 0 10px rgba(234, 179, 8, 0.3);
}

.rank-2 {
    background: rgba(156, 163, 175, 0.2);
    color: #9ca3af;
    border: 1px solid rgba(156, 163, 175, 0.4);
}

.rank-3 {
    background: rgba(180, 83, 9, 0.2);
    color: #d97706;
    border: 1px solid rgba(180, 83, 9, 0.4);
}

.player-name {
    font-weight: 700;
    font-size: 1.1rem;
    transition: color var(--transition-fast);
}

.leaderboard-table tbody tr:hover .player-name {
    color: var(--neon-pink);
}

.player-score {
    font-family: 'Outfit', monospace;
    font-weight: 700;
    font-size: 1.15rem;
    background: linear-gradient(135deg, var(--white), var(--gray-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.leaderboard-wrapper {
    background: rgba(15, 10, 30, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* --- Footer --- */
.footer {
    background: rgba(0, 0, 0, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 3rem 0 1.5rem;
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--gray-500);
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    transition: color var(--transition-fast);
}

.footer-logo:hover {
    color: var(--white);
}

.footer-text {
    color: var(--gray-500);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 1.5rem;
}

.footer-copyright {
    font-size: 0.85rem;
    color: var(--white);
    margin: 0;
}

.footer-company {
    font-size: 0.85rem;
    color: var(--gray-400);
    margin: 0;
}

.footer-company strong {
    color: var(--white);
    font-weight: 700;
    letter-spacing: 0.05em;
}

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

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Neon Text Glow --- */
.neon-glow {
    text-shadow: 0 0 10px var(--glow-purple), 0 0 30px var(--glow-purple);
}

/* --- Responsive --- */
@media (min-width: 640px) {
    .store-buttons {
        flex-direction: row;
    }

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

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }

    .hero-inner {
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }

    .hero-content {
        text-align: left;
    }

    .hero-description {
        margin: 0 0 2.5rem;
    }

    .store-buttons {
        justify-content: flex-start;
    }

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

    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .save-play-section {
        grid-template-columns: 1fr 1fr;
    }

    .save-play-content {
        text-align: left;
    }

    .save-play-content p {
        margin: 0 0 2rem;
    }

    .feature-list {
        margin: 0;
    }

    .section {
        padding: 6rem 0;
    }

    .phone-mockup {
        width: 280px;
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .feature-card {
        min-height: 450px;
    }

    .phone-mockup {
        width: 300px;
    }
}
