/* ==========================================================================
   TEXAS78 — Online Casino (HTML5)
   ========================================================================== */

:root {
  --bg: #12010f;
  --bg-2: #1d011b;
  --surface: #2a0626;
  --surface-2: #3a0a35;
  --line: rgba(250, 64, 193, .22);
  --line-strong: rgba(250, 64, 193, .5);
  --pink: #fa40c1;
  --pink-2: #f8067f;
  --pink-soft: #ff9ee0;
  --violet: #5b064f;
  --gold: #ffd36b;
  --text: #fff4fb;
  --muted: #d6abc8;
  --dim: #9c7390;
  --green: #18b874;
  --red: #e5154f;
  --felt: #3b0835;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px rgba(0, 0, 0, .45);
  --glow: 0 0 24px rgba(250, 64, 193, .45);
  --grad: linear-gradient(135deg, #fa40c1 0%, #f8067f 100%);
  --grad-gold: linear-gradient(180deg, #fff1b8 0%, #ffd36b 45%, #d99a1e 100%);
  --shell: 1200px;
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Kanit", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(248, 6, 127, .25), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(91, 6, 79, .55), transparent 60%),
    var(--bg);
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input { font: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0; }
p { margin: 0; }

:focus-visible { outline: 2px solid var(--pink-soft); outline-offset: 3px; border-radius: 6px; }

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 768px) { .shell { padding-inline: 24px; } }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 200; padding: 10px 16px;
  background: var(--pink); color: #fff; border-radius: 10px; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* Ambient glows ---------------------------------------------------------- */
.ambient { position: fixed; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.ambient i {
  position: absolute; width: 520px; height: 520px; border-radius: 50%;
  filter: blur(120px); opacity: .35; animation: drift 18s ease-in-out infinite alternate;
}
.ambient i:nth-child(1) { background: #f8067f; top: 10%; right: -200px; }
.ambient i:nth-child(2) { background: #6d0a8f; bottom: -150px; left: -200px; animation-delay: -6s; }
.ambient i:nth-child(3) { background: #fa40c1; top: 55%; right: 30%; width: 320px; height: 320px; opacity: .15; animation-delay: -12s; }
@keyframes drift { to { transform: translate(-60px, 40px) scale(1.1); } }

/* Buttons ---------------------------------------------------------------- */
.btn {
  --h: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--h); padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 500; font-size: 15px; white-space: nowrap; line-height: 1;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  user-select: none; -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn--primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 8px 24px rgba(248, 6, 127, .4), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn--primary:hover:not(:disabled) { box-shadow: 0 10px 32px rgba(248, 6, 127, .6), inset 0 1px 0 rgba(255, 255, 255, .35); transform: translateY(-1px); }
.btn--ghost { background: rgba(255, 255, 255, .04); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--line-strong); background: rgba(250, 64, 193, .1); }
.btn--outline { background: transparent; border-color: var(--line-strong); }
.btn--outline:hover { background: rgba(250, 64, 193, .12); }
.btn--gold { background: var(--grad-gold); color: #3b1700; font-weight: 700; box-shadow: 0 8px 24px rgba(255, 196, 64, .35); }
.btn--lg { --h: 52px; padding: 0 28px; font-size: 16px; }
.btn--sm { --h: 36px; padding: 0 14px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--play { animation: playGlow 2.4s ease-in-out infinite; }
@keyframes playGlow { 50% { box-shadow: 0 8px 34px rgba(255, 196, 64, .65); } }
.btn .play-dot--dark { background: rgba(59, 23, 0, .18); color: #3b1700; }
.show-sm { display: none; }
.play-dot {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(250, 64, 193, .2); font-size: 10px; color: var(--pink-soft);
}

/* Topbar marquee --------------------------------------------------------- */
.topbar {
  overflow: hidden; background: linear-gradient(90deg, #5b064f, #8c0a6c, #5b064f);
  border-bottom: 1px solid var(--line); font-size: 13px; color: #ffd9f1;
}
.topbar__track { display: flex; gap: 48px; width: max-content; padding: 7px 0; animation: marquee 40s linear infinite; }
.topbar__track span { white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18, 1, 15, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand { flex: none; display: flex; align-items: center; }
.brand img { width: auto; height: 62px; filter: drop-shadow(0 0 10px rgba(250, 64, 193, .4)); transition: transform .3s; }
.brand:hover img { transform: scale(1.05) rotate(-2deg); }

.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a {
  position: relative; padding: 8px 14px; border-radius: 999px; color: var(--muted);
  font-size: 15px; transition: color .2s, background .2s;
}
.nav a:hover, .nav a.is-active { color: #fff; }
.nav a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 18px; height: 3px; border-radius: 3px;
  transform: translateX(-50%); background: var(--grad); box-shadow: var(--glow);
}
.nav__mobile-actions { display: none; }

.header__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); position: relative; }
.burger i { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: #fff; transition: transform .25s, opacity .2s; }
.burger i:nth-child(1) { top: 15px; }
.burger i:nth-child(2) { top: 21px; }
.burger i:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  :root { --header-h: 66px; }
  .brand img { height: 52px; }
  .hide-sm { display: none; }
  .show-sm { display: inline-flex; }
  .burger { display: block; }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--nav-top, var(--header-h)); margin: 0;
    flex-direction: column; gap: 2px; padding: 12px 16px 20px;
    background: rgba(24, 2, 21, .97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .25s ease;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 12px 14px; border-radius: 12px; }
  .nav a.is-active { background: rgba(250, 64, 193, .12); }
  .nav a.is-active::after { display: none; }
  .nav__mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
}

/* Hero ------------------------------------------------------------------- */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 32px;
  padding-top: 56px; padding-bottom: 56px; min-height: calc(100vh - var(--header-h) - 34px); max-height: 900px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px;
  border-radius: 999px; border: 1px solid var(--line); background: rgba(250, 64, 193, .08);
  font-size: 12px; letter-spacing: .18em; color: var(--pink-soft); font-weight: 500;
}
.eyebrow b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--grad); color: #fff; letter-spacing: 0; }
.hero h1 { margin-top: 20px; font-size: clamp(36px, 5.6vw, 66px); font-weight: 700; letter-spacing: -.01em; }
.hero h1 em {
  font-style: normal; background: linear-gradient(90deg, #ffb3e6, #fa40c1 40%, #f8067f);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 22px rgba(250, 64, 193, .45));
}
.hero__copy > p { margin-top: 18px; max-width: 520px; color: var(--muted); font-size: 17px; font-weight: 300; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__links { margin-top: 16px; font-size: 15px; color: var(--muted); }
.hero__links a { color: var(--pink-soft); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.hero__links span { margin: 0 8px; color: var(--dim); }
.hero__stats { display: flex; gap: 28px; margin: 36px 0 0; padding: 0; list-style: none; }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-size: 26px; font-weight: 700; color: #fff; }
.hero__stats span { font-size: 13px; color: var(--dim); }
.hero__stats li + li { padding-left: 28px; border-left: 1px solid var(--line); }

.hero__art { position: relative; aspect-ratio: 1 / .95; display: grid; place-items: center; }
.hero__logo {
  position: relative; z-index: 3; width: 78%; margin-bottom: 12%;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .55)) drop-shadow(0 0 40px rgba(250, 64, 193, .35));
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-14px); } }
.hero__glow { position: absolute; inset: 15%; border-radius: 50%; background: radial-gradient(circle, rgba(250, 64, 193, .55), transparent 65%); filter: blur(30px); }
.hero__ring { position: absolute; border-radius: 50%; border: 1px solid var(--line); }
.hero__ring--1 { inset: 4%; border-style: dashed; animation: spin 60s linear infinite; }
.hero__ring--2 {
  inset: 14%; border: 2px solid transparent;
  background: conic-gradient(from 0deg, transparent 0 70%, #fa40c1 85%, transparent) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0);
  animation: spin 8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.float-card {
  position: absolute; z-index: 2; width: 74px; height: 104px; border-radius: 10px;
  background: linear-gradient(160deg, #fff, #ffe3f4); color: #c8005e;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 16px 30px rgba(0, 0, 0, .45), 0 0 0 2px rgba(250, 64, 193, .4);
  font-weight: 700;
}
.float-card b { font-size: 30px; line-height: 1; }
.float-card span { font-size: 26px; line-height: 1; }
.float-card--a { left: 2%; top: 14%; transform: rotate(-16deg); animation: bob 7s ease-in-out infinite; }
.float-card--b { right: 3%; bottom: 20%; color: #1d011b; transform: rotate(14deg); animation: bob 8s ease-in-out infinite reverse; }
@keyframes bob { 50% { translate: 0 -12px; } }

.float-chip {
  position: absolute; z-index: 4; width: 62px; height: 62px; border-radius: 50%;
  background: repeating-conic-gradient(#fa40c1 0 30deg, #fff 30deg 45deg);
  display: grid; place-items: center; box-shadow: 0 10px 20px rgba(0, 0, 0, .45);
  animation: bob 5s ease-in-out infinite;
}
.float-chip span {
  display: grid; place-items: center; width: 70%; height: 70%; border-radius: 50%;
  background: #8c0a6c; border: 2px dashed rgba(255, 255, 255, .6); font-size: 13px; font-weight: 700;
}
.float-chip--a { right: 10%; top: 8%; }
.float-chip--b { left: 12%; bottom: 14%; width: 48px; height: 48px; animation-delay: -2s; }

.jackpot {
  position: absolute; z-index: 5; left: 50%; bottom: -2%; transform: translateX(-50%);
  padding: 10px 26px 12px; border-radius: 16px; text-align: center; white-space: nowrap;
  background: linear-gradient(180deg, rgba(58, 10, 53, .95), rgba(29, 1, 27, .95));
  border: 1px solid rgba(255, 211, 107, .45); box-shadow: 0 0 30px rgba(255, 211, 107, .18), var(--shadow);
}
.jackpot small { display: block; font-size: 11px; letter-spacing: .2em; color: var(--gold); opacity: .85; }
.jackpot strong {
  font-size: clamp(22px, 3vw, 30px); font-weight: 700; font-variant-numeric: tabular-nums;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; max-height: none; padding-top: 28px; text-align: center; gap: 12px; }
  .hero__art { order: -1; width: min(440px, 100%); margin-inline: auto; }
  .hero__copy > p { margin-inline: auto; }
  .hero__cta, .hero__stats { justify-content: center; }
  .eyebrow { margin-top: 18px; }
}
@media (max-width: 480px) {
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__stats { gap: 16px; }
  .hero__stats li + li { padding-left: 16px; }
  .hero__stats strong { font-size: 22px; }
  .float-card { width: 54px; height: 76px; }
  .float-card b { font-size: 22px; }
  .float-card span { font-size: 18px; }
  .float-chip { width: 46px; height: 46px; }
  .float-chip--b { width: 38px; height: 38px; }
  .float-chip span { font-size: 10px; }
}

/* Features --------------------------------------------------------------- */
.features { border-block: 1px solid var(--line); background: rgba(42, 6, 38, .55); }
.features__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature { display: flex; align-items: center; gap: 14px; padding: 22px 16px; }
.feature + .feature { border-left: 1px solid var(--line); }
.feature__icon {
  flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  background: rgba(250, 64, 193, .12); border: 1px solid var(--line); color: var(--pink-soft); font-size: 20px;
}
.feature strong { display: block; font-weight: 600; }
.feature small { color: var(--dim); font-size: 13px; }
@media (max-width: 900px) {
  .features__grid { grid-template-columns: 1fr 1fr; }
  .feature:nth-child(3) { border-left: 0; }
  .feature:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .feature { flex-direction: column; text-align: center; gap: 8px; padding: 18px 8px; }
}

/* Sections --------------------------------------------------------------- */
.section { padding-top: 80px; padding-bottom: 20px; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.kicker { display: inline-block; font-size: 12px; letter-spacing: .24em; color: var(--pink); font-weight: 600; margin-bottom: 8px; }
.section h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; }
.section__sub { margin-top: 6px; color: var(--muted); font-weight: 300; }

.search {
  display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; min-width: 260px;
  border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--dim);
}
.search:focus-within { border-color: var(--line-strong); box-shadow: var(--glow); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); }
.search input::placeholder { color: var(--dim); }
@media (max-width: 600px) { .search { min-width: 0; width: 100%; } }

.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 22px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button {
  flex: none; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03); color: var(--muted); font-size: 15px; transition: .2s;
}
.tabs button:hover { color: #fff; border-color: var(--line-strong); }
.tabs button[aria-selected="true"] { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 6px 20px rgba(248, 6, 127, .35); }

.empty { padding: 40px 0; text-align: center; color: var(--dim); }

/* Provider cards --------------------------------------------------------- */
.provider-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
@media (max-width: 520px) { .provider-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.provider-card {
  display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 18px 14px 14px; text-align: center;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: radial-gradient(220px 140px at 50% 0%, rgba(250, 64, 193, .16), transparent 70%), linear-gradient(180deg, var(--surface), var(--bg-2));
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s; animation: cardIn .45s ease both;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } }
.provider-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 18px 40px rgba(0, 0, 0, .45), var(--glow); }
.provider-card img {
  width: 100%; max-width: 132px; aspect-ratio: 1; object-fit: contain; border-radius: 22%;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .5); transition: transform .3s ease;
}
.provider-card:hover img { transform: scale(1.06); }
.provider-card__info h3 { font-size: 16px; font-weight: 600; }
.provider-card__info small { font-size: 12px; color: var(--dim); }
.provider-card .btn { margin-top: auto; }

/* About / SEO content --------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; } }
.about-card { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(42, 6, 38, .55); }
.about-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; color: #fff; }
.about-card p { color: var(--muted); font-weight: 300; }

/* Promotions ------------------------------------------------------------- */
.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .promo-grid { grid-template-columns: 1fr; } }
.promo {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 26px;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: radial-gradient(400px 200px at 100% 0%, rgba(250, 64, 193, .22), transparent 70%), linear-gradient(180deg, var(--surface), var(--bg-2));
}
.promo::after {
  content: "♠"; position: absolute; right: -10px; bottom: -40px; font-size: 180px; line-height: 1;
  color: rgba(250, 64, 193, .07); pointer-events: none;
}
.promo--hot { border-color: rgba(255, 211, 107, .45); box-shadow: 0 0 40px rgba(255, 211, 107, .08); }
.promo--hot .promo__badge { background: var(--grad-gold); color: #3b1700; }
.promo__badge { align-self: flex-start; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--grad); }
.promo__icon {
  display: grid; place-items: center; width: 72px; height: 72px; margin: 6px 0 4px; border-radius: 20px; font-size: 34px;
  background: rgba(250, 64, 193, .14); border: 1px solid var(--line-strong); color: var(--pink-soft); box-shadow: var(--glow);
}
.promo--hot .promo__icon { background: rgba(255, 211, 107, .12); border-color: rgba(255, 211, 107, .45); color: var(--gold); box-shadow: 0 0 24px rgba(255, 211, 107, .25); }
.promo h3 { font-size: 22px; font-weight: 600; }
.promo p { color: var(--muted); font-weight: 300; margin-bottom: 8px; }
.promo .btn { margin-top: auto; position: relative; z-index: 1; }
.fineprint { margin-top: 14px; font-size: 12px; color: var(--dim); }

/* Steps ------------------------------------------------------------------ */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(42, 6, 38, .6); }
.step__no {
  display: inline-grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 16px;
  background: var(--grad); font-size: 20px; font-weight: 700; box-shadow: 0 8px 22px rgba(248, 6, 127, .35);
}
.step h3 { font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.step p { color: var(--muted); font-weight: 300; }

/* FAQ -------------------------------------------------------------------- */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { border-radius: var(--radius-sm); border: 1px solid var(--line); background: rgba(42, 6, 38, .55); overflow: hidden; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 54px 18px 20px; position: relative; font-weight: 500; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: rgba(250, 64, 193, .15); color: var(--pink-soft); transition: transform .25s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 20px 18px; color: var(--muted); font-weight: 300; }
.text-link { color: var(--pink-soft); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* Footer ----------------------------------------------------------------- */
.footer { margin-top: 90px; border-top: 1px solid var(--line); background: rgba(10, 0, 8, .7); }
.footer__inner { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr; gap: 30px; padding-top: 44px; padding-bottom: 30px; align-items: start; }
.footer__brand img { width: 130px; margin-bottom: 10px; }
.footer__brand p, .footer__notice p { color: var(--dim); font-size: 14px; font-weight: 300; }
.footer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.footer__links a { color: var(--muted); font-size: 15px; }
.footer__links a:hover { color: var(--pink-soft); }
.footer__notice { display: flex; gap: 14px; align-items: center; }
.footer__copy { padding-top: 18px; padding-bottom: 28px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; text-align: center; }
.age-badge {
  flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid var(--pink); color: var(--pink-soft); font-weight: 700;
}
.age-badge--lg { width: 64px; height: 64px; font-size: 20px; margin: 0 auto 14px; }
@media (max-width: 900px) {
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer__brand img { margin-inline: auto; }
  .footer__links { justify-items: center; }
  .footer__notice { justify-content: center; text-align: left; }
}

/* Chat FAB --------------------------------------------------------------- */
.chat-fab {
  display: grid; place-items: center;
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 40;
  width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--grad); font-size: 24px;
  box-shadow: 0 10px 30px rgba(248, 6, 127, .5);
}
.chat-fab::before {
  content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--pink);
  animation: ping 2s ease-out infinite;
}
@keyframes ping { from { transform: scale(.85); opacity: .9; } to { transform: scale(1.35); opacity: 0; } }

/* Mobile quick menu ------------------------------------------------------ */
.quickbar { display: none; }
@media (max-width: 960px) {
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .chat-fab { display: none; }
  .quickbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
    height: calc(66px + env(safe-area-inset-bottom)); padding: 0 6px env(safe-area-inset-bottom);
    background: rgba(22, 2, 19, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line-strong); box-shadow: 0 -10px 30px rgba(0, 0, 0, .45);
  }
  .quickbar__item {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    height: 66px; padding: 0 2px; border: 0; background: none; color: var(--dim);
    font-size: 11px; line-height: 1.2; white-space: nowrap; -webkit-tap-highlight-color: transparent;
    transition: color .2s;
  }
  .quickbar__item svg {
    width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  }
  .quickbar__item.is-active, .quickbar__item:active { color: var(--pink-soft); }
  .quickbar__item.is-active svg { filter: drop-shadow(0 0 6px rgba(250, 64, 193, .7)); }

  .quickbar__play {
    position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px;
    height: 66px; padding-bottom: 7px; -webkit-tap-highlight-color: transparent;
  }
  .quickbar__play-btn {
    position: relative; display: grid; place-items: center; width: 66px; height: 66px; margin-top: -30px; border-radius: 50%;
    background: var(--grad); border: 4px solid #1d011b;
    box-shadow: 0 8px 22px rgba(248, 6, 127, .6), inset 0 2px 0 rgba(255, 255, 255, .35);
    transition: transform .15s ease;
  }
  .quickbar__play-btn::before {
    content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid var(--pink);
    animation: ping 2s ease-out infinite;
  }
  .quickbar__play-btn svg { width: 28px; height: 28px; margin-left: 4px; fill: #fff; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .3)); }
  .quickbar__play:active .quickbar__play-btn { transform: scale(.93); }
  .quickbar__play-label {
    font-size: 12px; font-weight: 600; line-height: 1.2; white-space: nowrap;
    background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
  }
}

/* Reveal ----------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Modals ----------------------------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(6, 0, 5, .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .25s ease; }
.modal__panel {
  position: relative; width: 100%; max-height: calc(100dvh - 32px); overflow: auto;
  border-radius: 22px; border: 1px solid var(--line-strong);
  background: radial-gradient(500px 240px at 50% 0%, rgba(250, 64, 193, .2), transparent 70%), linear-gradient(180deg, var(--surface), var(--bg-2));
  box-shadow: var(--shadow), 0 0 60px rgba(250, 64, 193, .15); animation: pop .3s cubic-bezier(.2, .9, .3, 1.2);
}
.modal__panel--sm { max-width: 420px; padding: 28px 24px 26px; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.modal__logo { width: 120px; margin: 0 auto 14px; filter: drop-shadow(0 0 16px rgba(250, 64, 193, .4)); }

.access-dialog { width: calc(100% - 32px); margin: auto; color: var(--text); }
.access-dialog:not([open]) { display: none; }
.access-dialog::backdrop { background: rgba(6, 0, 5, .78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.access-dialog h2 { font-size: 24px; margin: 8px 0 12px; padding-right: 12px; }
.access-dialog p { color: var(--muted); font-size: 15px; }
.access-dialog__close {
  position: absolute; top: 10px; right: 10px; width: 36px; height: 36px;
  border: 1px solid var(--line); border-radius: 50%; background: rgba(255, 255, 255, .04);
  font-size: 24px; line-height: 1;
}
.access-dialog__close:hover { background: rgba(250, 64, 193, .12); }
.access-dialog__actions { display: grid; gap: 12px; margin-top: 24px; }
.access-option {
  display: flex; align-items: center; gap: 12px; min-height: 86px; padding: 16px 12px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: rgba(250, 64, 193, .06);
  transition: background .2s, border-color .2s;
}
.access-option:hover { background: rgba(250, 64, 193, .15); }
.access-option--line { border-color: rgba(6, 199, 85, .6); background: rgba(6, 199, 85, .1); }
.access-option--line:hover { border-color: #06c755; background: rgba(6, 199, 85, .2); }
.access-option__icon { width: 44px; height: 44px; flex: none; }
.access-option__icon--web { color: var(--pink-soft); }
.access-option > span:not(.access-option__arrow) { min-width: 0; }
.access-option strong { display: block; font-size: 18px; font-weight: 500; }
.access-option small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.access-option__arrow { margin-left: auto; flex: none; color: var(--muted); }

.age-gate { text-align: center; }
.age-gate h2 { font-size: 22px; margin-bottom: 8px; }
.age-gate p { color: var(--muted); font-weight: 300; }
.age-gate__actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; margin-top: 22px; }
@media (max-width: 400px) { .age-gate__actions { grid-template-columns: 1fr; } }

/* Reduced motion --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
