/* =========================================================
   Ollywood Casino — Landing page
   Hollywood glamour: warm near-black, champagne gold, crimson
   ========================================================= */

:root {
    --bg:         #0b0806;
    --bg-2:       #141009;
    --surface:    #1c1610;
    --surface-2:  #251d13;
    --border:     #3a3022;
    --text:       #f7f1e3;
    --text-muted: #c2b89f;
    --text-dim:   #8d8470;
    --gold:       #f0c050;
    --gold-2:     #ffe49a;
    --gold-ink:   #2a1c00;
    --crimson:    #e8344e;

    --radius:     14px;
    --maxw:       1180px;
    --gap:        clamp(1rem, 2.4vw, 1.6rem);
    --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0; font-family: var(--font); background: var(--bg); color: var(--text);
    line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased;
}
img, svg, canvas { max-width: 100%; display: block; }
a { color: var(--gold-2); }
a:hover { color: #fff; }
h1, h2, h3 { line-height: 1.15; color: #fff; margin: 0 0 .6rem; font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.3rem); }
p { margin: 0 0 1rem; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gap); }

.eyebrow {
    color: var(--gold); font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
    font-size: .76rem; margin: 0 0 .8rem;
}
.eyebrow--calm { color: var(--text-muted); }
.section-lead { color: var(--text-muted); font-size: 1.08rem; max-width: 62ch; }
.section-lead--light { color: #efe7d2; }

.skip-link {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
    position: fixed; top: 10px; left: 10px; width: auto; height: auto; clip: auto; z-index: 1000;
    padding: .6rem 1rem; background: var(--gold); color: var(--gold-ink); border-radius: 10px;
}
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }

/* ---------- Buttons & badges ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    font: inherit; font-weight: 700; cursor: pointer; white-space: nowrap; text-decoration: none;
    padding: .72rem 1.4rem; border-radius: 999px; border: 1px solid transparent;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, filter .15s ease;
}
.btn--gold {
    background: linear-gradient(180deg, var(--gold-2), var(--gold));
    color: var(--gold-ink); box-shadow: 0 2px 14px rgba(240, 192, 80, .25);
}
.btn--gold:hover { filter: brightness(1.06); transform: translateY(-2px); box-shadow: 0 6px 22px rgba(240, 192, 80, .35); color: var(--gold-ink); }
.btn--ghost { background: rgba(11, 8, 6, .35); color: var(--text); border-color: var(--border); backdrop-filter: blur(4px); }
.btn--ghost:hover { border-color: var(--gold); color: #fff; transform: translateY(-2px); }
.btn--lg { padding: .95rem 1.9rem; font-size: 1.06rem; }

.badge-age {
    display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
    background: var(--crimson); color: #fff; font-weight: 800; font-size: .82rem;
    line-height: 1; padding: .3rem .58rem; border-radius: 999px; border: 2px solid rgba(255, 255, 255, .28);
}
.badge-age--lg { font-size: 1rem; padding: .45rem .75rem; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(13, 10, 7, .9); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.site-header__inner { display: flex; align-items: center; gap: .9rem; padding-block: .65rem; }
.brand { display: inline-flex; border-radius: 8px; }
.brand__logo { width: 178px; height: 38px; }
.site-header__cta { margin-left: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.hero__bg { position: absolute; inset: 0; }
.hero__photo {
    width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 40%;
    animation: kenburns 26s ease-in-out infinite alternate;
}
@keyframes kenburns {
    from { transform: scale(1.02); }
    to   { transform: scale(1.16) translateX(-1.5%); }
}
.hero__veil {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(11, 8, 6, .55), rgba(11, 8, 6, .35) 40%, var(--bg) 96%),
        radial-gradient(70% 90% at 30% 45%, rgba(11, 8, 6, .62), transparent 70%);
}

/* spotlight beams */
.beam {
    position: absolute; bottom: -12%; width: clamp(120px, 16vw, 230px); height: 130%;
    background: linear-gradient(to top, rgba(255, 228, 154, .26), rgba(255, 228, 154, .05) 55%, transparent 85%);
    clip-path: polygon(42% 100%, 58% 100%, 100% 0, 0 0);
    mix-blend-mode: screen; will-change: transform; pointer-events: none;
}
.beam--left  { left: 6%;  transform-origin: 50% 100%; animation: sweepL 11s ease-in-out infinite alternate; }
.beam--right { right: 6%; transform-origin: 50% 100%; animation: sweepR 13s ease-in-out infinite alternate; }
@keyframes sweepL { from { transform: rotate(-24deg); } to { transform: rotate(16deg); } }
@keyframes sweepR { from { transform: rotate(22deg); }  to { transform: rotate(-18deg); } }

.hero__dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.hero__deco--top {
    position: absolute; top: 0; left: 0; right: 0; height: 5px;
    background: repeating-linear-gradient(90deg, var(--gold) 0 22px, transparent 22px 34px);
    opacity: .35;
}

.hero__inner { position: relative; z-index: 2; padding-block: clamp(4.2rem, 10vw, 8.5rem) clamp(3rem, 7vw, 5.5rem); }
.hero__title {
    font-size: clamp(2.5rem, 7vw, 4.6rem); letter-spacing: .01em;
    margin-bottom: 1rem; text-shadow: 0 4px 30px rgba(0, 0, 0, .55);
}
.shimmer {
    background: linear-gradient(100deg, var(--gold) 20%, #fff7dd 38%, var(--gold-2) 46%, var(--gold) 64%);
    background-size: 250% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: shimmer 4.5s linear infinite;
}
@keyframes shimmer { from { background-position: 125% 0; } to { background-position: -125% 0; } }

.hero__lead { color: #ece4d0; max-width: 58ch; font-size: 1.1rem; text-shadow: 0 2px 14px rgba(0, 0, 0, .6); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.6rem; }

.hero__stats {
    display: flex; flex-wrap: wrap; gap: clamp(1.2rem, 4vw, 3rem);
    list-style: none; margin: 2.6rem 0 0; padding: 1.1rem 0 0;
    border-top: 1px solid rgba(240, 192, 80, .28);
}
.hero__stats li { display: grid; gap: .15rem; max-width: 200px; }
.hero__stats strong { font-size: clamp(1.5rem, 3.4vw, 2.1rem); color: var(--gold-2); line-height: 1.1; font-variant-numeric: tabular-nums; }
.hero__stats span { color: var(--text-muted); font-size: .85rem; line-height: 1.4; }

.deco-rule {
    position: relative; z-index: 2; height: 8px;
    background: radial-gradient(var(--gold) 1.4px, transparent 1.6px);
    background-size: 14px 8px; background-position: center; opacity: .45;
}

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .3, 1); }
[data-reveal].in { opacity: 1; transform: none; }
.features__grid [data-reveal]:nth-child(2), .rg__grid [data-reveal]:nth-child(2) { transition-delay: .12s; }
.features__grid [data-reveal]:nth-child(3), .rg__grid [data-reveal]:nth-child(3) { transition-delay: .24s; }
.features__grid [data-reveal]:nth-child(4) { transition-delay: .36s; }
.faq__item[data-reveal]:nth-of-type(2) { transition-delay: .08s; }
.faq__item[data-reveal]:nth-of-type(3) { transition-delay: .16s; }
.faq__item[data-reveal]:nth-of-type(4) { transition-delay: .24s; }

/* ---------- Games / marquee ---------- */
.games { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.4rem, 5vw, 4rem); background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.games__head { margin-bottom: 2.2rem; }

.marquee {
    overflow: hidden; position: relative; padding-block: .6rem;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; will-change: transform; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee__row { display: flex; gap: 1.1rem; list-style: none; margin: 0; padding: 0 .55rem; }
.marquee__row li {
    flex: 0 0 auto; width: clamp(140px, 17vw, 210px); border-radius: var(--radius);
    overflow: hidden; border: 1px solid var(--border);
    box-shadow: 0 8px 26px rgba(0, 0, 0, .45);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.marquee__row li:hover { transform: translateY(-6px) scale(1.03); border-color: var(--gold); box-shadow: 0 14px 34px rgba(240, 192, 80, .22); }
.marquee__row img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* fanned card cluster */
.fan-wrap { display: grid; justify-items: center; margin-top: clamp(2.2rem, 5vw, 3.6rem); }
.fan { position: relative; width: min(420px, 86vw); height: clamp(200px, 46vw, 260px); cursor: pointer; border-radius: var(--radius); }
.fan__card {
    position: absolute; left: 50%; bottom: 0; width: clamp(140px, 34vw, 190px); aspect-ratio: 1;
    object-fit: cover; border-radius: 12px; border: 1px solid var(--border);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .55);
    transform-origin: 50% 130%;
    transition: transform .45s cubic-bezier(.2, .8, .3, 1.1), border-color .45s ease;
    will-change: transform;
}
.fan__card:nth-child(1) { transform: translateX(-50%) rotate(-9deg); }
.fan__card:nth-child(2) { transform: translateX(-50%) rotate(-4.5deg); }
.fan__card:nth-child(3) { transform: translateX(-50%) rotate(0deg); }
.fan__card:nth-child(4) { transform: translateX(-50%) rotate(4.5deg); }
.fan__card:nth-child(5) { transform: translateX(-50%) rotate(9deg); }
.fan:hover .fan__card, .fan:focus-visible .fan__card { border-color: var(--gold); }
.fan:hover .fan__card:nth-child(1), .fan:focus-visible .fan__card:nth-child(1) { transform: translateX(-50%) rotate(-26deg); }
.fan:hover .fan__card:nth-child(2), .fan:focus-visible .fan__card:nth-child(2) { transform: translateX(-50%) rotate(-13deg) translateY(-12px); }
.fan:hover .fan__card:nth-child(3), .fan:focus-visible .fan__card:nth-child(3) { transform: translateX(-50%) rotate(0deg) translateY(-20px); }
.fan:hover .fan__card:nth-child(4), .fan:focus-visible .fan__card:nth-child(4) { transform: translateX(-50%) rotate(13deg) translateY(-12px); }
.fan:hover .fan__card:nth-child(5), .fan:focus-visible .fan__card:nth-child(5) { transform: translateX(-50%) rotate(26deg); }
.fan__caption { color: var(--text-dim); font-size: .92rem; text-align: center; max-width: 56ch; margin-top: 1.4rem; }

/* ---------- Features ---------- */
.features { padding-block: clamp(3rem, 7vw, 5.5rem); background: var(--bg-2); border-block: 1px solid var(--border); }
.features__head { margin-bottom: 2.2rem; }
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.feature-card {
    position: relative; background: linear-gradient(180deg, var(--surface), var(--surface-2));
    border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem 1.4rem 1.2rem;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.feature-card::before {
    content: ""; position: absolute; inset: 7px; border-radius: 9px;
    border: 1px solid rgba(240, 192, 80, .22); pointer-events: none;
}
.feature-card::after { /* art-deco corner notch */
    content: ""; position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
    width: 46px; height: 3px; border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.feature-card:hover {
    transform: translateY(-6px); border-color: rgba(240, 192, 80, .55);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .5), 0 0 24px rgba(240, 192, 80, .12);
}
.feature-card__icon {
    width: 46px; height: 46px; margin-bottom: 1rem; padding: 10px; color: var(--gold);
    border: 1px solid rgba(240, 192, 80, .4); border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, rgba(255, 228, 154, .14), transparent 70%);
}
.feature-card h3 { font-size: 1.06rem; margin-bottom: .5rem; }
.feature-card p { color: var(--text-muted); font-size: .92rem; margin: 0; }

/* ---------- Live casino ---------- */
.live { position: relative; overflow: hidden; }
.live__bg { position: absolute; inset: 0; }
.live__photo { width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.live__veil {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(11, 8, 6, .88) 0%, rgba(11, 8, 6, .55) 55%, rgba(11, 8, 6, .25));
}
.live__inner { position: relative; z-index: 2; padding-block: clamp(4rem, 10vw, 7.5rem); max-width: none; }
.live__inner .section-lead { margin-bottom: 1.6rem; }

/* ---------- Responsible gaming ---------- */
.rg { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--border); padding-block: clamp(3rem, 7vw, 5.5rem); }
.rg__head { margin-bottom: 2rem; }
.rg__grid { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: var(--gap); }
.rg__card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 1.5rem 1.4rem;
}
.rg__card h3 { font-size: 1.08rem; }
.rg__card p { color: var(--text-muted); font-size: .95rem; }
.rg__card p:last-child { margin-bottom: 0; }
.rg__card--help { border-color: rgba(240, 192, 80, .45); background: linear-gradient(180deg, #221a0e, var(--surface)); }
.rg__phone { margin: .4rem 0 .6rem; }
.rg__phone a {
    font-size: clamp(1.35rem, 3vw, 1.7rem); font-weight: 800; color: var(--gold-2);
    text-decoration: none; letter-spacing: .02em;
}
.rg__phone a:hover { color: #fff; text-decoration: underline; }
.rg__sub { font-size: .88rem; color: var(--text-dim); }
.rg__footnote { color: var(--text-dim); margin: 1.8rem 0 0; font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { padding-block: clamp(3rem, 7vw, 5rem); }
.faq__inner { max-width: 840px; }
.faq__head { margin-bottom: 1.8rem; }
.faq__item {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    margin-bottom: .8rem; overflow: hidden;
}
.faq__item[open] { border-color: rgba(240, 192, 80, .5); }
.faq__item summary {
    cursor: pointer; list-style: none; font-weight: 700; color: #fff;
    padding: 1.05rem 3rem 1.05rem 1.3rem; position: relative; user-select: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
    content: ""; position: absolute; right: 1.25rem; top: 50%; width: 11px; height: 11px;
    border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
    transform: translateY(-70%) rotate(45deg); transition: transform .25s ease;
}
.faq__item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq__item summary:hover { color: var(--gold-2); }
.faq__body { padding: 0 1.3rem 1.1rem; color: var(--text-muted); }
.faq__body p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--border); padding-block: 2.6rem 2rem; }
.site-footer__top { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.4rem; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; margin-bottom: 1.6rem; }
.site-footer__nav a { color: var(--text-muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
.site-footer__nav a:hover { color: var(--gold-2); text-decoration: underline; }
.site-footer__badges { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-bottom: 1.6rem; }
.site-footer__badges img { border-radius: 8px; border: 1px solid var(--border); height: 50px; width: auto; }
.site-footer__legal { border-top: 1px solid var(--border); padding-top: 1.4rem; }
.site-footer__legal p { color: var(--text-dim); font-size: .85rem; max-width: 90ch; }
.site-footer__legal strong { color: var(--text-muted); }
.site-footer__legal a { color: var(--text-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .features__grid { grid-template-columns: 1fr 1fr; }
    .rg__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .features__grid { grid-template-columns: 1fr; }
    .brand__logo { width: 150px; height: 32px; }
    .badge-age { font-size: .75rem; }
    .site-header__cta { padding: .58rem 1rem; font-size: .92rem; }
    .hero__cta .btn { flex: 1 1 100%; }
    .hero__stats { gap: 1.1rem 1.8rem; }
    .beam--right { display: none; }
}

/* ---------- Reduced motion: static, still styled ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    [data-reveal] { opacity: 1; transform: none; }
    .hero__photo { transform: scale(1.05); }
    .beam--left { transform: rotate(-8deg); }
    .beam--right { transform: rotate(8deg); }
    .shimmer { background-position: 50% 0; }
    .hero__dust { display: none; }
    .marquee { overflow-x: auto; }
    .marquee__track { width: auto; }
    .marquee__row[aria-hidden="true"] { display: none; }
    .live__photo { height: 100%; }
}
