/* Zerphiq.com — mint cream + indigo promo shell */
:root {
    --bg: #eef6f3;
    --bg-warm: #faf8f2;
    --surface: #ffffff;
    --surface-2: #e8f4ef;
    --ink: #14233a;
    --muted: #4d6278;
    --line: #c5d9d0;
    --accent: #6d28d9;
    --accent-2: #0d9488;
    --accent-hot: #e11d48;
    --lime: #65a30d;
    --shadow: 0 18px 48px rgba(20, 35, 58, 0.1);
    --radius: 16px;
    --radius-lg: 28px;
    --font-sans: 'Manrope', system-ui, sans-serif;
    --font-serif: 'DM Serif Display', Georgia, serif;
    --play-url: 'https://play.google.com/store/apps/details?id=slots.hot.vegas.casino.games.free';
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

figure {
    margin: 0;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.72;
    color: var(--ink);
    background: var(--bg);
    background-image:
        linear-gradient(135deg, rgba(109, 40, 217, 0.04) 0%, transparent 40%),
        linear-gradient(225deg, rgba(13, 148, 136, 0.07) 0%, transparent 45%),
        radial-gradient(circle at 80% 0%, rgba(225, 29, 72, 0.05), transparent 35%);
    min-height: 100vh;
    padding-bottom: 5.5rem;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.wrap {
    width: min(1180px, 93vw);
    margin-inline: auto;
    min-width: 0;
}

.contain-img,
.brand-mark img,
.mark-chip img,
.review-badge img,
.feat-glyph img,
.tile-icon img,
.legal-mark img,
.hero-badge img,
.notice-chip img,
.game-tile-media img,
.shot-frame img,
.bento-cell img,
.embed-thumb img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
}

/* Age gate */
.age-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(20, 35, 58, 0.72);
    backdrop-filter: blur(14px);
}

.age-overlay[hidden] {
    display: none !important;
}

.age-card {
    width: min(480px, 100%);
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 2rem 2.25rem;
    border: 2px solid var(--line);
    box-shadow: var(--shadow);
}

.age-card h1 {
    font-family: var(--font-serif);
    font-size: 1.55rem;
    margin: 0 0 0.5rem;
    color: var(--accent);
}

.age-card p {
    margin: 0 0 1rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.age-actions {
    margin-top: 1.25rem;
}

.age-check {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.age-check input {
    margin-top: 0.25rem;
    accent-color: var(--accent);
}

.slider-row label {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    margin-bottom: 0.4rem;
    font-weight: 700;
}

.slider-track {
    position: relative;
    height: 52px;
    background: var(--surface-2);
    border-radius: 999px;
    border: 2px solid var(--line);
    overflow: hidden;
    user-select: none;
}

.slider-fill {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-2), var(--accent));
    border-radius: 999px;
    pointer-events: none;
}

.slider-thumb {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--accent);
    box-shadow: 0 6px 18px rgba(109, 40, 217, 0.25);
    cursor: grab;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    touch-action: none;
}

.slider-hint {
    text-align: center;
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 0.35rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.5rem;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
}

.btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.btn-primary {
    background: linear-gradient(120deg, var(--accent), var(--accent-2));
    color: #fff;
    width: 100%;
    box-shadow: 0 10px 28px rgba(109, 40, 217, 0.28);
}

.btn-primary:not(:disabled):hover {
    transform: translateY(-2px);
}

/* Ribbon */
.top-ribbon {
    background: var(--ink);
    color: #e8f4ef;
    font-size: 0.76rem;
    font-weight: 600;
    text-align: center;
    padding: 0.5rem 1rem;
    letter-spacing: 0.06em;
}

/* Header */
.site-header {
    padding: 0.85rem 0;
    background: var(--surface);
    border-bottom: 3px solid var(--accent-2);
    position: sticky;
    top: 0;
    z-index: 300;
    box-shadow: 0 4px 0 rgba(13, 148, 136, 0.15);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--ink);
    font-weight: 800;
    font-size: 1.08rem;
    letter-spacing: -0.02em;
}

.brand:hover {
    color: var(--accent);
    text-decoration: none;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--accent-2);
    background: var(--surface-2);
    display: grid;
    place-items: center;
    overflow: hidden;
    flex-shrink: 0;
}

.brand-mark img {
    padding: 5px;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.nav a {
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--muted);
    border: 2px solid transparent;
}

.nav a:hover,
.nav a.active {
    color: var(--ink);
    background: var(--surface-2);
    border-color: var(--line);
    text-decoration: none;
}

/* Typography */
.kicker {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent-2);
    font-weight: 800;
    margin-bottom: 0.45rem;
}

h1,
h2,
h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 0.75rem;
}

h1 {
    font-size: clamp(2.1rem, 5vw, 3.1rem);
    color: var(--ink);
}

h2 {
    font-size: clamp(1.35rem, 3vw, 2rem);
}

.hero-lead {
    font-size: 1.06rem;
    color: var(--muted);
    margin-bottom: 1rem;
}

.section {
    padding: 3.25rem 0;
}

.section-tight {
    padding: 2rem 0;
}

/* Notice band */
.notice-band {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    background: var(--surface);
    border: 2px dashed var(--line);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    margin-bottom: 2rem;
}

.notice-chip {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--surface-2);
    display: grid;
    place-items: center;
    overflow: hidden;
    flex-shrink: 0;
}

.notice-band p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--muted);
}

@media (max-width: 640px) {
    .notice-band {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .notice-band .notice-chip:last-child {
        display: none;
    }
}

/* Hero — stacked center + side rail */
.hero-split {
    display: grid;
    grid-template-columns: 1fr minmax(260px, 340px);
    gap: 2.5rem;
    align-items: start;
}

@media (max-width: 900px) {
    .hero-split {
        grid-template-columns: 1fr;
    }
}

.hero-main {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 2rem 2.25rem;
    border: 2px solid var(--line);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.hero-main::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--accent), transparent);
    opacity: 0.12;
    border-radius: 0 0 0 100%;
}

.hero-badge {
    width: 88px;
    height: 88px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    border: 3px solid var(--accent);
    background: var(--bg-warm);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.hero-rail {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.fact-panel {
    background: linear-gradient(160deg, var(--ink), #243b55);
    color: #e8f4ef;
    border-radius: var(--radius-lg);
    padding: 1.75rem;
}

.fact-panel h2 {
    color: #fff;
    font-size: 1.25rem;
    text-align: center;
}

.fact-panel ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.fact-panel li {
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.92rem;
}

.fact-panel code {
    font-size: 0.78em;
    word-break: break-all;
    color: #a7f3d0;
}

.mark-row {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.mark-chip {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    display: grid;
    place-items: center;
    overflow: hidden;
}

/* Stats */
.stat-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-top: 1.5rem;
}

@media (max-width: 720px) {
    .stat-strip {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stat-pill {
    background: var(--surface-2);
    border-radius: var(--radius);
    padding: 1rem;
    text-align: center;
    border: 2px solid var(--line);
}

.stat-pill strong {
    display: block;
    font-size: 1.35rem;
    color: var(--accent);
    font-family: var(--font-serif);
}

.stat-pill span {
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 600;
}

/* Description */
.desc-block {
    background: var(--bg-warm);
    border-left: 5px solid var(--accent-hot);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 1.5rem 1.75rem;
    margin-top: 1.5rem;
}

.desc-block h3 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 800;
    color: var(--accent-2);
    margin-top: 1.25rem;
}

.desc-block h3:first-of-type {
    margin-top: 0;
}

.desc-block p {
    margin: 0.5rem 0 0;
    color: var(--muted);
}

/* Tabs */
.tab-deck {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 2px solid var(--line);
    padding: 1.75rem;
    box-shadow: var(--shadow);
}

.tab-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    border-bottom: 2px solid var(--surface-2);
    padding-bottom: 1rem;
}

.tab-btn {
    font-family: inherit;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    border: 2px solid var(--line);
    background: var(--bg);
    color: var(--muted);
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.tab-btn[aria-selected='true'] {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.tab-panel[hidden] {
    display: none !important;
}

.tab-panel.is-active {
    display: block;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 700px) {
    .review-grid {
        grid-template-columns: 1fr;
    }
}

.review-card {
    background: var(--surface-2);
    border-radius: var(--radius);
    padding: 1.25rem;
    border: 2px solid var(--line);
}

.review-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
}

.review-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--accent-2);
    display: grid;
    place-items: center;
    overflow: hidden;
    flex-shrink: 0;
}

.review-stars {
    color: var(--accent-hot);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.review-card cite {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.82rem;
    color: var(--muted);
    font-style: normal;
    font-weight: 600;
}

.perk-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.perk-row {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1rem;
    background: var(--surface-2);
    border-radius: var(--radius);
}

.feat-glyph {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--surface);
    border: 2px solid var(--line);
    display: grid;
    place-items: center;
    overflow: hidden;
}

/* Bento screenshots */
.bento-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: auto auto;
    gap: 0.85rem;
}

.bento-cell {
    background: var(--ink);
    border-radius: var(--radius);
    min-height: 160px;
    display: grid;
    place-items: center;
    padding: 0.5rem;
    overflow: hidden;
}

.bento-cell:first-child {
    grid-row: span 2;
    min-height: 340px;
}

.bento-cell img {
    max-height: 100%;
    max-width: 100%;
}

@media (max-width: 760px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }

    .bento-cell:first-child {
        grid-row: span 1;
        min-height: 180px;
    }
}

/* Timeline — unique block */
.timeline {
    display: grid;
    gap: 0;
    border-left: 3px solid var(--accent-2);
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.timeline-item {
    position: relative;
    padding: 0 0 1.5rem 1rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.85rem;
    top: 0.35rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--surface);
    box-shadow: 0 0 0 2px var(--accent-2);
}

.timeline-item strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

/* Game card */
.game-spotlight {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1.5rem;
    align-items: center;
    background: var(--surface);
    border: 2px solid var(--accent);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-top: 2rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s, box-shadow 0.2s;
}

.game-spotlight:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    text-decoration: none;
}

.game-spotlight-media {
    aspect-ratio: 4/3;
    background: var(--surface-2);
    border-radius: var(--radius);
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 0.5rem;
}

.game-spotlight-media img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
}

.game-spotlight h3 {
    margin: 0 0 0.35rem;
    color: var(--accent);
}

.tag-demo {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: var(--lime);
    color: #fff;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

@media (max-width: 640px) {
    .game-spotlight {
        grid-template-columns: 1fr;
    }
}

/* CTA */
.cta-panel {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    align-items: center;
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
    border: 2px solid var(--line);
    box-shadow: var(--shadow);
}

@media (max-width: 600px) {
    .cta-panel {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.store-link img {
    display: block;
    height: 54px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.cta-note {
    margin: 0;
    font-size: 0.9rem;
    color: var(--muted);
}

/* Games grid */
.page-hero {
    margin-bottom: 2rem;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 1.25rem;
}

.game-tile {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 2px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: inherit;
    transition: border-color 0.2s, transform 0.2s;
}

.game-tile:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    text-decoration: none;
}

.game-tile-media {
    height: 180px;
    background: linear-gradient(180deg, var(--surface-2), var(--bg));
    display: grid;
    place-items: center;
    padding: 0.75rem;
    position: relative;
}

.badge-demo {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: var(--accent);
    color: #fff;
    padding: 0.3rem 0.55rem;
    border-radius: 6px;
    z-index: 1;
}

.game-tile-body {
    padding: 1.25rem;
}

.game-tile-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    margin: 0 0 0.5rem;
}

.game-tile-desc {
    font-size: 0.9rem;
    color: var(--muted);
    margin: 0 0 0.75rem;
}

.game-tile-cta {
    font-weight: 800;
    font-size: 0.88rem;
    color: var(--accent-2);
}

.promo-tile {
    border-color: var(--accent-hot);
}

.promo-tile .tile-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    background: var(--surface-2);
    display: grid;
    place-items: center;
    overflow: hidden;
}

/* Prose / legal */
.prose {
    max-width: 72ch;
}

.prose h2 {
    margin-top: 2rem;
    font-size: 1.35rem;
}

.prose p,
.prose li {
    color: var(--muted);
}

.prose ul {
    padding-left: 1.25rem;
}

.legal-mark {
    width: 72px;
    height: 72px;
    margin: 1.5rem 0;
    border-radius: 50%;
    border: 2px solid var(--line);
    background: var(--surface);
    display: grid;
    place-items: center;
    overflow: hidden;
}

/* Embed page */
.section-embed {
    padding: 2rem 0 3rem;
}

.embed-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.embed-thumb {
    width: 72px;
    height: 72px;
    border-radius: var(--radius);
    border: 2px solid var(--line);
    background: var(--surface);
    display: grid;
    place-items: center;
    overflow: hidden;
    flex-shrink: 0;
}

.embed-shell {
    width: 100%;
    aspect-ratio: 16/10;
    min-height: 420px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 3px solid var(--ink);
    background: #0a1020;
    box-shadow: var(--shadow);
}

.embed-shell iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.link-back {
    font-weight: 700;
    white-space: nowrap;
}

/* Marquee marks */
.mark-marquee {
    display: flex;
    gap: 1rem;
    overflow: hidden;
    padding: 1rem 0;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.mark-marquee-track {
    display: flex;
    gap: 1rem;
    animation: marquee 28s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.mark-marquee .mark-chip {
    width: 48px;
    height: 48px;
    background: var(--surface);
    border: 2px solid var(--line);
    flex-shrink: 0;
}

/* Footer */
.site-footer {
    background: var(--ink);
    color: #c5d9d0;
    padding: 2.5rem 0 2rem;
    margin-top: 2rem;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
}

.footer-copy {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    max-width: 52ch;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-copy .brand-mark {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.06);
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}

.footer-nav a {
    color: #a7f3d0;
    font-weight: 600;
    font-size: 0.88rem;
}

.footer-legal-note {
    margin: 1.5rem 0 0;
    font-size: 0.78rem;
    text-align: center;
    color: rgba(197, 217, 208, 0.75);
    max-width: 70ch;
    margin-inline: auto;
}

/* Sticky play strip */
.play-strip {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 250;
    background: rgba(255, 255, 255, 0.96);
    border-top: 2px solid var(--accent-2);
    padding: 0.65rem 1rem;
    display: flex;
    justify-content: center;
    backdrop-filter: blur(8px);
    box-shadow: 0 -8px 24px rgba(20, 35, 58, 0.08);
}

.play-strip .store-link img {
    height: 48px;
}
