/* Slotrus - Bright Social Casino (Slotomania / Jackpot Party playbook) */

:root {
    /* Bright Vegas party field, not a dark SaaS page */
    --purple-deep: #2b0a6e;
    --purple: #6321d6;
    --magenta: #d61f9e;
    --pink: #ff3d81;
    --gold: #ffd23f;
    --gold-deep: #f5a623;
    --gold-glow: rgba(255, 210, 63, 0.55);
    --green: #46d34e;         /* candy "PLAY" green */
    --green-deep: #1f9e34;
    --text: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.78);
    --card: rgba(255, 255, 255, 0.10);
    --card-line: rgba(255, 255, 255, 0.28);
}

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

/* Screen-reader / SEO only (visually hidden, still crawlable) */
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

body {
    font-family: 'Fredoka', 'Segoe UI', sans-serif;
    color: var(--text);
    overflow-x: hidden;
    background:
        radial-gradient(circle at 50% -10%, #9a3bff 0%, transparent 55%),
        radial-gradient(circle at 100% 20%, rgba(214, 31, 158, 0.55) 0%, transparent 45%),
        radial-gradient(circle at 0% 60%, rgba(255, 210, 63, 0.18) 0%, transparent 40%),
        linear-gradient(180deg, #4a13a8 0%, #35108a 40%, #2b0a6e 100%);
    background-attachment: fixed;
}

/* Baloo 2 - fun chunky rounded display for titles (no pixely 80s) */
.logo, .hero h1, .section-title, .stat-num, .game-card h3, .daily-item h4 {
    font-family: 'Baloo 2', 'Fredoka', sans-serif;
    font-weight: 800;
    letter-spacing: 0.01em;
}

/* Nav */
nav {
    position: fixed; top: 0; width: 100%; z-index: 100;
    background: rgba(43, 10, 110, 0.72);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(255, 210, 63, 0.35);
}
.nav-inner {
    max-width: 960px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.7rem 1.5rem;
}
.logo {
    text-decoration: none; color: var(--text);
    font-size: 0.85rem; letter-spacing: 0.06em;
    display: flex; align-items: center; gap: 0.5rem;
    text-shadow: 0 2px 0 rgba(0,0,0,0.35);
}
.logo-img {
    display: block; height: 30px; width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}
/* Glossy gold pill */
.btn-play {
    background: linear-gradient(180deg, #ffe066 0%, var(--gold) 45%, var(--gold-deep) 100%);
    color: #4a1d00;
    padding: 0.6rem 1.3rem; border-radius: 9999px;
    font-family: 'Fredoka', sans-serif;
    font-size: 0.95rem; font-weight: 700;
    text-decoration: none; letter-spacing: 0.02em;
    box-shadow: 0 4px 0 var(--gold-deep), 0 6px 14px rgba(0,0,0,0.35),
                inset 0 2px 2px rgba(255,255,255,0.7);
    transition: transform 0.12s, box-shadow 0.12s;
}
.btn-play:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--gold-deep), 0 10px 20px rgba(0,0,0,0.4), inset 0 2px 2px rgba(255,255,255,0.7); }
.btn-play:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--gold-deep), inset 0 2px 2px rgba(255,255,255,0.6); }

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    padding: 5rem 1.5rem 3rem;
    overflow: hidden;
}
/* Hero backdrop plate. Local SVG stage now; swap to the CDN jpg once the
   Midjourney hero render is uploaded (single-line change, see docs/ART-PROMPTS.md).
   The animated marquee/machine/coins sit ON TOP as the living centerpiece,
   so the plate is a center-open stage (no foreground machine). */
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background-image: url('https://prodmedia.tyga.host/public/tyga.cloud/landing/slotrus.com/slotrus_hero_image.jpg');
    background-size: cover; background-position: center;
    background-color: #2b0a6e;
}

/* Gold coin confetti scatter */
.stars {
    position: absolute; inset: 0;
    background:
        radial-gradient(6px 6px at 12% 24%, #ffe066 60%, var(--gold-deep) 62%, transparent 64%),
        radial-gradient(5px 5px at 82% 18%, #ffe066 60%, var(--gold-deep) 62%, transparent 64%),
        radial-gradient(7px 7px at 68% 72%, #ffe066 60%, var(--gold-deep) 62%, transparent 64%),
        radial-gradient(4px 4px at 30% 66%, #ffe066 60%, var(--gold-deep) 62%, transparent 64%),
        radial-gradient(6px 6px at 90% 55%, #ffe066 60%, var(--gold-deep) 62%, transparent 64%),
        radial-gradient(5px 5px at 20% 84%, #ffe066 60%, var(--gold-deep) 62%, transparent 64%),
        radial-gradient(4px 4px at 55% 12%, #ffe066 60%, var(--gold-deep) 62%, transparent 64%);
    opacity: 0.9;
    animation: coinfall 7s linear infinite;
}
@keyframes coinfall { from { transform: translateY(-30px); } to { transform: translateY(30px); } }

/* Neon marquee bulb ring */
.marquee {
    position: absolute; top: 14%; left: 50%;
    width: 360px; height: 360px; margin-left: -180px;
    border-radius: 24px;
    background: transparent;
    box-shadow:
        0 0 0 4px rgba(255, 210, 63, 0.5),
        0 0 60px rgba(255, 61, 129, 0.4);
    animation: chase 2s linear infinite;
}
@keyframes chase {
    0%, 100% { box-shadow: 0 0 0 4px rgba(255,210,63,0.5), 0 0 60px rgba(255,61,129,0.4); }
    50%      { box-shadow: 0 0 0 4px rgba(255,61,129,0.6), 0 0 70px rgba(255,210,63,0.55); }
}

/* Slot machine + spinning reels (brightened) */
.machine {
    position: absolute; top: 20%; left: 50%;
    width: 280px; height: 140px; margin-left: -140px;
    border-radius: 14px;
    background: linear-gradient(180deg, #8a2be2 0%, #5a189a 100%);
    border: 4px solid var(--gold);
    box-shadow: 0 0 60px rgba(255, 210, 63, 0.45), 0 10px 24px rgba(0,0,0,0.4),
                inset 0 2px 4px rgba(255,255,255,0.35);
}
.reels {
    position: absolute; inset: 24px 22px;
    display: flex; gap: 12px;
    align-items: stretch;
}
.reel {
    flex: 1;
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px;
    background: linear-gradient(180deg, #fff7e0, #ffe9a8);
    color: var(--magenta);
    font-family: 'Press Start 2P', monospace;
    font-size: 2rem;
    text-shadow: 0 2px 0 rgba(0,0,0,0.15);
    box-shadow: inset 0 -4px 8px rgba(0,0,0,0.15), inset 0 2px 2px rgba(255,255,255,0.8);
}
.r1 { animation: reelspin 1.6s ease-in-out infinite; }
.r2 { animation: reelspin 1.9s ease-in-out infinite; }
.r3 { animation: reelspin 2.2s ease-in-out infinite; }
@keyframes reelspin {
    0%   { transform: translateY(0); opacity: 1; }
    45%  { transform: translateY(-6px); opacity: 0.55; }
    55%  { transform: translateY(6px); opacity: 0.55; }
    100% { transform: translateY(0); opacity: 1; }
}

.hero-bg-overlay {
    position: absolute; inset: 0; z-index: 3;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(43,10,110,0.15) 55%,
        rgba(43,10,110,0.55) 100%
    );
}
.hero > *:not(.hero-bg) { position: relative; z-index: 4; }

.hero-rank {
    font-size: 0.85rem;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    text-shadow: 0 2px 0 rgba(0,0,0,0.4);
}

.hero h1 {
    font-size: 3.8rem;
    color: var(--gold);
    letter-spacing: 0.06em;
    text-shadow:
        0 0 40px var(--gold-glow),
        3px 3px 0 var(--magenta),
        6px 6px 0 rgba(0,0,0,0.35);
    margin-bottom: 1.2rem;
}
.hero h1 .tm { font-size: 1rem; vertical-align: top; color: var(--pink); }

/* Welcome coin offer (the hook) */
.welcome-offer {
    display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.06));
    border: 2px solid var(--gold);
    border-radius: 18px;
    padding: 1.2rem 2rem;
    margin: 0 auto 1.8rem;
    max-width: 460px;
    box-shadow: 0 0 50px rgba(255, 210, 63, 0.3), inset 0 2px 3px rgba(255,255,255,0.35);
}
.wo-label {
    font-size: 0.75rem; color: var(--text); font-weight: 600;
    letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.9;
}
.wo-amount {
    font-size: 1.7rem; color: var(--gold); font-weight: 700;
    letter-spacing: 0.02em; line-height: 1.3;
    text-shadow: 0 0 24px var(--gold-glow), 2px 2px 0 rgba(0,0,0,0.35);
    animation: coinpulse 1.6s ease-in-out infinite;
}
@keyframes coinpulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.wo-sub { font-size: 0.85rem; color: var(--text-dim); line-height: 1.5; }

.tagline {
    font-size: 1.25rem;
    color: var(--text);
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 1.6rem;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 0 rgba(0,0,0,0.3);
}
.hero-sub {
    font-size: 1rem;
    color: var(--text-dim);
    line-height: 1.6;
    margin: 0 auto 2rem;
    max-width: 480px;
}

/* Blinking cursor */
.cursor {
    display: inline-block;
    width: 0.5em; height: 1em;
    background: var(--gold);
    margin-left: 3px;
    vertical-align: text-bottom;
    animation: blink 1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* Glossy candy-green PLAY pill (the Slotomania hero button) */
.btn-primary {
    display: inline-block;
    background: linear-gradient(180deg, #7cf07f 0%, var(--green) 45%, var(--green-deep) 100%);
    color: #0b3d12;
    padding: 1.1rem 2.8rem;
    border-radius: 9999px;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 0 rgba(255,255,255,0.4);
    box-shadow: 0 6px 0 var(--green-deep), 0 10px 22px rgba(0,0,0,0.4),
                inset 0 2px 3px rgba(255,255,255,0.7);
    transition: transform 0.12s, box-shadow 0.12s;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 0 var(--green-deep), 0 16px 30px rgba(0,0,0,0.45), inset 0 2px 3px rgba(255,255,255,0.7);
}
.btn-primary:active {
    transform: translateY(3px);
    box-shadow: 0 3px 0 var(--green-deep), inset 0 2px 3px rgba(255,255,255,0.6);
}

.hero-note {
    color: var(--text-dim);
    font-size: 0.8rem;
    margin-top: 1.1rem;
    letter-spacing: 0.04em;
}

/* Wide viewport: shift the hero copy to the right (as a centered column) so
   the 777 reel on the left stays visible */
@media (min-width: 900px) {
    .hero { align-items: flex-end; padding-right: 7vw; }
    .hero > *:not(.hero-bg) { width: 460px; max-width: 100%; margin-left: 0; margin-right: 0; }
}

/* Shared section headings */
.section-title {
    font-size: 1.15rem; color: var(--gold);
    text-align: center; letter-spacing: 0.03em;
    text-shadow: 2px 2px 0 var(--magenta), 4px 4px 0 rgba(0,0,0,0.25);
    margin-bottom: 0.9rem;
}
.section-sub {
    font-size: 1rem; color: var(--text-dim);
    text-align: center; line-height: 1.6;
    max-width: 580px; margin: 0 auto 2.4rem;
}

/* Stat bar */
.stats {
    background: linear-gradient(180deg, rgba(255,210,63,0.14), rgba(255,210,63,0.06));
    border-top: 2px solid rgba(255, 210, 63, 0.35);
    border-bottom: 2px solid rgba(255, 210, 63, 0.35);
    padding: 2.6rem 1.5rem;
}
.stats-inner {
    max-width: 900px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
    text-align: center;
}
.stat { display: flex; flex-direction: column; gap: 0.6rem; }
.stat-num {
    font-size: 1.5rem; color: var(--gold);
    text-shadow: 2px 2px 0 var(--magenta), 0 0 20px var(--gold-glow);
}
.stat-lbl { font-size: 0.85rem; color: var(--text); font-weight: 500; letter-spacing: 0.02em; }

/* Featured machines grid */
.games {
    padding: 4rem 1.5rem;
}
.games-inner { max-width: 960px; margin: 0 auto; }
.games-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.game-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.06));
    border: 2px solid var(--card-line);
    border-radius: 18px;
    padding: 0.9rem 0.9rem 1.4rem;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25), inset 0 2px 2px rgba(255,255,255,0.25);
    transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}
.game-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
    box-shadow: 0 14px 34px rgba(0,0,0,0.35), 0 0 30px rgba(255,210,63,0.25);
}
.game-art {
    height: 128px; border-radius: 12px; margin-bottom: 1rem;
    box-shadow: inset 0 -8px 16px rgba(0,0,0,0.35), inset 0 2px 3px rgba(255,255,255,0.4);
    position: relative; overflow: hidden;
    background-size: cover; background-position: center;
}
/* Machine plate art. Local SVG now; swap the base path to the CDN jpgs
   (see docs/ART-PROMPTS.md) once the Midjourney renders are uploaded --
   filenames match 1:1, so it is a single find/replace of the url() base. */
.gc-egypt   .game-art { background-image: url('/assets/machines/pharaohs-gold.svg');  background-color: #c8860f; }
.gc-neon    .game-art { background-image: url('/assets/machines/neon-sevens.svg');    background-color: #a11060; }
.gc-buffalo .game-art { background-image: url('/assets/machines/thunder-herd.svg');   background-color: #7a3c12; }
.gc-ocean   .game-art { background-image: url('/assets/machines/deep-blue.svg');       background-color: #0d6f88; }
.gc-jackpot .game-art { background-image: url('/assets/machines/hold-blaze.svg');      background-color: #c89400; }
.gc-mystic  .game-art { background-image: url('/assets/machines/mystic-fortune.svg');  background-color: #5a1ba0; }
.game-card h3 { font-size: 0.72rem; color: var(--gold); margin-bottom: 0.7rem; letter-spacing: 0.01em; }
.game-card p { font-size: 0.9rem; color: var(--text-dim); line-height: 1.5; margin-bottom: 1.1rem; min-height: 4em; }
/* Glossy green mini play pill */
.btn-card {
    display: inline-block;
    background: linear-gradient(180deg, #7cf07f 0%, var(--green) 45%, var(--green-deep) 100%);
    color: #0b3d12;
    border: none; border-radius: 9999px;
    padding: 0.6rem 1.8rem; font-family: 'Fredoka', sans-serif;
    font-size: 0.95rem; font-weight: 700; text-decoration: none; letter-spacing: 0.02em;
    box-shadow: 0 4px 0 var(--green-deep), inset 0 2px 2px rgba(255,255,255,0.6);
    transition: transform 0.12s, box-shadow 0.12s;
}
.btn-card:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--green-deep), 0 8px 16px rgba(0,0,0,0.35), inset 0 2px 2px rgba(255,255,255,0.6); }
.btn-card:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--green-deep), inset 0 2px 2px rgba(255,255,255,0.5); }
.games-cta { text-align: center; margin-top: 2.6rem; }

/* Daily free coins */
.daily {
    padding: 4rem 1.5rem;
}
.daily-inner { max-width: 960px; margin: 0 auto; }
.daily-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem;
}
.daily-item {
    background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.06));
    border: 2px solid var(--card-line);
    border-radius: 18px; padding: 1.8rem 1rem; text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.22), inset 0 2px 2px rgba(255,255,255,0.25);
}
.di-icon { font-size: 2.2rem; display: block; margin-bottom: 0.9rem; }
.daily-item h4 { font-size: 0.66rem; color: var(--gold); margin-bottom: 0.8rem; letter-spacing: 0.01em; }
.daily-item p { font-size: 0.88rem; color: var(--text-dim); line-height: 1.5; }

/* Social proof */
.proof {
    padding: 4rem 1.5rem;
}
.proof-inner { max-width: 960px; margin: 0 auto; }
.proof-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.quote {
    background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.06));
    border: 2px solid var(--card-line);
    border-radius: 18px; padding: 1.8rem 1.5rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.22), inset 0 2px 2px rgba(255,255,255,0.25);
}
.quote p { font-size: 0.95rem; color: var(--text); line-height: 1.6; margin-bottom: 1rem; }
.quote-by { font-size: 0.9rem; color: var(--gold); font-weight: 700; letter-spacing: 0.02em; }

/* Hook Section */
.hook {
    padding: 4rem 1.5rem 5rem;
    text-align: center;
}
.hook-inner { max-width: 640px; margin: 0 auto; }
.fragment {
    font-size: 1.15rem;
    color: var(--text);
    line-height: 1.6;
    margin: 0 auto 2rem;
    max-width: 520px;
    font-weight: 500;
    text-shadow: 0 2px 0 rgba(0,0,0,0.3);
}
.fragment.last { margin-bottom: 2.5rem; }

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--gold);
    padding: 0.9rem 2rem;
    border: 2px solid var(--gold);
    border-radius: 9999px;
    font-family: 'Fredoka', sans-serif;
    font-size: 1rem; font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: background 0.2s, color 0.2s;
}
.btn-secondary:hover { background: var(--gold); color: #4a1d00; }

/* App store badges */
.store-badges {
    display: flex; justify-content: center; gap: 0.8rem;
    flex-wrap: wrap; margin-top: 2rem;
}
.store-badge {
    display: inline-flex; align-items: center;
    background: rgba(0,0,0,0.28);
    border: 2px solid rgba(255,255,255,0.35);
    border-radius: 9999px; padding: 0.7rem 1.4rem;
    color: var(--text); text-decoration: none;
    font-size: 0.9rem; font-weight: 600; letter-spacing: 0.02em;
    transition: border-color 0.2s, background 0.2s, transform 0.12s;
}
.store-badge:hover { border-color: var(--gold); background: rgba(0,0,0,0.4); transform: translateY(-2px); }

/* Footer */
footer {
    padding: 2rem 1.5rem;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    background: rgba(43, 10, 110, 0.55);
    border-top: 2px solid rgba(255, 210, 63, 0.25);
}
footer a { color: var(--text-dim); text-decoration: none; }
footer a:hover { color: var(--gold); }
footer .sep { margin: 0 0.5rem; opacity: 0.4; }
.footer-powered { margin-top: 0.6rem; }
.footer-powered a { color: var(--gold); text-decoration: underline; font-weight: 600; }
.footer-powered a:hover { color: var(--pink); }
.footer-powered .studio { color: var(--text-dim); }
.footer-disclaimer {
    max-width: 640px; margin: 0.9rem auto 0;
    font-size: 0.75rem; color: var(--text-dim);
    line-height: 1.6; opacity: 0.85;
}

/* Mobile */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.4rem; }
    .tagline { font-size: 1rem; }
    .wo-amount { font-size: 1.35rem; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
    .games-grid { grid-template-columns: repeat(2, 1fr); }
    .daily-grid { grid-template-columns: repeat(2, 1fr); }
    .proof-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 1.9rem; letter-spacing: 0.03em; }
    .tagline { font-size: 0.9rem; }
    .games-grid { grid-template-columns: 1fr; }
    .game-card p { min-height: 0; }
}
