/* ============================================================
   711KELAB MY — sister site
   Faithful to 711kelabmsia.com structure, modernized execution.
   Warm cream + gold/orange brand identity.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  --cream: #fff3ee;
  --cream-2: #ffece4;
  --cream-3: #ffe3d6;
  --paper: #fffaf7;
  --ink: #2b1700;
  --ink-soft: #8c7568;
  --ink-faint: #a38f84;
  --gold: #e0a43a;
  --gold-d: #b9772b;
  --gold-l: #f4cd72;
  --orange: #f5971d;
  --orange-d: #e07a0d;
  --maroon: #6e2a12;
  --line: rgba(58, 36, 20, 0.12);
  --line-2: rgba(58, 36, 20, 0.2);
  --shadow: 0 18px 40px -20px rgba(110, 60, 20, 0.45);
  --shadow-sm: 0 8px 22px -14px rgba(110, 60, 20, 0.5);
  --serif: 'Poppins', system-ui, -apple-system, sans-serif;
  --sans: 'Poppins', system-ui, -apple-system, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1200px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    radial-gradient(60% 50% at 50% -5%, rgba(255, 236, 228, 0.6), transparent 70%),
    radial-gradient(40% 35% at 100% 8%, rgba(255, 227, 214, 0.5), transparent 70%);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.08; letter-spacing: -0.01em; color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--gold); color: #fff; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 1.25rem; }
.section { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.eyebrow { font-family: var(--sans); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-d); }
.sec-title { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.8rem; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--sans); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.01em;
  padding: 0.72rem 1.4rem; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, color .2s ease; white-space: nowrap; }
.btn-gold { background: linear-gradient(135deg, var(--gold-l), var(--orange) 55%, var(--orange-d));
  color: #fff; box-shadow: 0 10px 24px -10px rgba(245, 151, 29, 0.8), inset 0 1px 0 rgba(255,255,255,.4); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(245, 151, 29, 0.9); }
.btn-outline { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-outline:hover { border-color: var(--gold-d); color: var(--gold-d); transform: translateY(-2px); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.8rem; }
.btn-lg { padding: 0.9rem 1.9rem; font-size: 1rem; }

/* ============================================================
   HEADER
   ============================================================ */
.topbar { background: var(--maroon); color: #f7e7cf; font-size: 0.76rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 34px; }
.topbar a { color: #f7e7cf; opacity: 0.85; transition: opacity .2s; }
.topbar a:hover { opacity: 1; color: var(--gold-l); }
.topbar .tb-right { display: flex; gap: 1.1rem; align-items: center; }

.header { position: sticky; top: 0; z-index: 60; background: rgba(255, 243, 238, 0.85); padding-top: 0;
  backdrop-filter: blur(14px) saturate(150%); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(110,60,20,.6); background: rgba(255,243,238,.96); }
.header .bar { display: flex; align-items: center; gap: 1.25rem; max-width: 1600px; margin-inline: auto; padding-inline: 1.25rem; height: 120px; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 0.55rem; flex: 0 0 auto; }
.logo-img { height: 64px; width: auto; flex: 0 0 auto; object-fit: contain; display: block; mix-blend-mode: multiply; }
.header .logo { margin-left: 3.5rem; }
.logo .mark { filter: drop-shadow(0 3px 8px rgba(224,164,58,.5)); }
.logo .wordmark { display: flex; flex-direction: column; line-height: 1; }
.logo .wordmark b { font-family: var(--serif); font-weight: 900; font-size: 1.32rem; letter-spacing: -0.02em; }
.logo .wordmark b span { background: linear-gradient(120deg, var(--gold-d), var(--gold-l)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo .wordmark small { font-family: var(--sans); font-size: 0.5rem; font-weight: 700; letter-spacing: 0.4em; color: var(--ink-soft); margin-top: 2px; }

/* Primary nav */
.nav { display: none; flex: 1; align-items: center; justify-content: center; gap: 0.1rem; margin-top: 14px; }
.nav::-webkit-scrollbar { display: none; }
.nav a { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 0.45rem 0.6rem; border-radius: 10px;
  font-family: var(--serif); font-weight: 600; font-size: 0.8rem; color: var(--ink-soft); transition: color .2s, background .2s; position: relative; white-space: nowrap; }
.nav a svg { width: 18px; height: 18px; stroke: currentColor; }
.nav a:hover, .nav a.active { color: var(--gold-d); background: rgba(224,164,58,.12); }
.nav a.active { color: var(--orange-d); }

/* Dropdown */
.nav-item { position: relative; display: flex; align-items: stretch; }
.caret { font-style: normal; font-size: 0.85em; display: inline-block; transition: transform .2s; }
.nav-item:hover .caret { transform: rotate(180deg); }
.dropdown { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px); min-width: 210px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 0.4rem;
  display: none; z-index: 70; }
.nav-item:hover .dropdown { display: block; }
.nav .dropdown a { display: block; padding: 0.65rem 0.9rem; border-radius: 8px; font-size: 0.82rem; font-weight: 600;
  text-align: left; white-space: nowrap; color: var(--ink-soft); }
.nav .dropdown a:hover { background: rgba(224,164,58,.12); color: var(--gold-d); }
.mobile-menu a.mob-sub { padding-left: 2.4rem; font-size: 0.86rem; color: var(--ink-soft); }

.header-actions { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
.menu-btn { display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.menu-btn span { width: 24px; height: 2px; border-radius: 2px; background: var(--gold-d); transition: transform .25s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu { display: none; background: var(--paper); border-top: 1px solid var(--line); padding: 0.5rem 1.25rem 1.25rem; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: flex; align-items: center; gap: 0.6rem; padding: 0.85rem 0.25rem; font-family: var(--serif); font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-menu a svg { width: 18px; height: 18px; stroke: var(--gold-d); }
.mobile-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-top: 1rem; }
.mobile-cta .btn { width: 100%; }

/* News ticker */
.ticker { background: #ffe5da; border-bottom: 0; position: relative; z-index: 1; margin-top: -1px; }
.ticker .container { display: flex; align-items: center; gap: 0.9rem; height: 38px; overflow: hidden; }
.ticker .tk-label { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--serif); font-weight: 700; font-size: 0.82rem; color: var(--maroon); flex: none; }
.ticker .tk-label svg { width: 16px; height: 16px; }
.ticker .tk-track-wrap { overflow: hidden; flex: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker .tk-track { display: inline-flex; gap: 3rem; white-space: nowrap; animation: ticker 34s linear infinite; }
.ticker .tk-track span { font-size: 0.8rem; color: #a38f84; }
.ticker .tk-track b { color: #8c7568; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ============================================================
   HERO CAROUSEL
   ============================================================ */
.hero { position: relative; }
.carousel { position: relative; overflow: hidden; }
.slides { display: flex; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.slide { min-width: 100%; position: relative; display: block;
  background: linear-gradient(135deg, #8fc4ef, #cfe6fb); aspect-ratio: 1920 / 600; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide-inner { position: relative; min-height: clamp(280px, 42vw, 460px); display: flex; align-items: center; overflow: hidden; }
.slide-bg { position: absolute; inset: 0; z-index: 0; }
.slide-1 .slide-bg { background: radial-gradient(80% 120% at 80% 30%, #ffd98a, #f3a64a 45%, #b9772b); }
.slide-2 .slide-bg { background: radial-gradient(90% 120% at 20% 20%, #7fc4ff, #2f7fd0 55%, #173f73); }
.slide-3 .slide-bg { background: radial-gradient(80% 120% at 75% 40%, #ffd27a, #e0772b 50%, #7a2d12); }
.slide-bg::after { content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,.18) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,.12) 0 2px, transparent 3px); background-size: 90px 90px, 120px 120px; opacity: .5; }
.slide-content { position: relative; z-index: 2; padding: 2rem clamp(1.25rem, 5vw, 4rem); max-width: 640px; color: #fff; }
.slide-content .kicker { display: inline-block; font-family: var(--sans); font-weight: 800; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; padding: 0.35rem 0.8rem; border-radius: 999px; background: rgba(255,255,255,.22); backdrop-filter: blur(4px); margin-bottom: 1rem; }
.slide-content h2 { font-size: clamp(2rem, 6vw, 4rem); color: #fff; text-shadow: 0 4px 20px rgba(0,0,0,.25); line-height: 0.98; }
.slide-content h2 em { font-style: normal; color: #fff2cc; }
.slide-content .big { font-family: var(--serif); font-weight: 900; font-size: clamp(2.6rem, 9vw, 6rem); line-height: 0.9; color: #fff; -webkit-text-stroke: 1px rgba(0,0,0,.08); }
.slide-content p { font-size: 1rem; opacity: 0.95; margin: 0.85rem 0 1.4rem; max-width: 30rem; }
.slide-deco { position: absolute; right: -2%; bottom: -6%; z-index: 1; font-size: clamp(8rem, 24vw, 18rem); opacity: 0.9; filter: drop-shadow(0 14px 30px rgba(0,0,0,.3)); transform: rotate(-8deg); }

.car-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 44px; height: 44px; border-radius: 999px;
  background: rgba(255,255,255,.85); border: 0; display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: background .2s, transform .2s; }
.car-arrow:hover { background: #fff; }
.car-arrow svg { width: 22px; height: 22px; stroke: var(--ink); }
.car-arrow.prev { left: 14px; } .car-arrow.next { right: 14px; }
.car-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 8px; }
.car-dots button { width: 9px; height: 9px; padding: 0; border-radius: 999px; border: 0; background: rgba(255,255,255,.55); transition: width .25s, background .25s; }
.car-dots button.active { width: 26px; background: #fff; }

/* ============================================================
   QUICK CATEGORY STRIP
   ============================================================ */
.cats { background: transparent; }
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1.1rem; }
.cat-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.75rem; }
.cat-ic { width: 100%; max-width: 152px; aspect-ratio: 1 / 1; border-radius: 22px; display: grid; place-items: center;
  background: linear-gradient(160deg, #ecbf68 0%, #cf9544 42%, #a4682c 100%);
  box-shadow: inset 0 3px 5px rgba(255,255,255,.45), inset 0 -7px 14px rgba(120,68,18,.4), 0 14px 28px -14px rgba(150,90,30,.75);
  transition: transform .22s ease, box-shadow .3s ease; }
.cat-tile:hover .cat-ic { transform: translateY(-6px); box-shadow: inset 0 3px 5px rgba(255,255,255,.5), inset 0 -7px 14px rgba(120,68,18,.4), 0 20px 34px -14px rgba(150,90,30,.85); }
.cat-ic svg { width: 46%; height: 46%; stroke: #5a3211; stroke-width: 1.5; fill: none; }
.cat-img { width: 100%; max-width: 152px; aspect-ratio: 1 / 1; object-fit: contain; border-radius: 18px;
  filter: drop-shadow(0 12px 22px rgba(150, 90, 30, 0.45)); transition: transform .22s ease, filter .3s ease; }
.cat-tile:hover .cat-img { transform: translateY(-6px); filter: drop-shadow(0 20px 30px rgba(150, 90, 30, 0.6)); }
.cat-tile .label { font-family: var(--serif); font-weight: 700; font-size: 0.98rem; color: var(--ink); }
.show-more { text-align: center; margin-top: 1.8rem; }

/* ============================================================
   NEWS + MAINTENANCE
   ============================================================ */
.panels { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.panel-head { display: flex; align-items: center; gap: 0.6rem; padding: 1rem 1.4rem; border-bottom: 2px solid var(--gold); background: linear-gradient(90deg, rgba(224,164,58,.14), transparent); }
.panel-head h3 { font-size: 1.15rem; }
.panel-head .dot { width: 9px; height: 9px; border-radius: 999px; background: var(--orange); box-shadow: 0 0 0 4px rgba(245,151,29,.2); }
.panel ul { list-style: none; padding: 0.5rem 0.5rem; }
.panel li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem 0.9rem; border-radius: 8px; transition: background .2s; }
.panel li:hover { background: var(--cream); }
.panel li .t { font-size: 0.88rem; font-weight: 600; display: flex; align-items: center; gap: 0.5rem; }
.panel li .t::before { content: '◆'; color: var(--gold-d); font-size: 0.6rem; }
.panel li .d { font-size: 0.76rem; color: var(--ink-faint); flex: none; }

/* ============================================================
   STATS STRIP (modern addition, brand-styled)
   ============================================================ */
.stats { background: linear-gradient(135deg, var(--maroon), #4a1c0c); color: #f7e7cf; }
.stats .grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; text-align: center; }
.stats .n { font-family: var(--serif); font-weight: 900; font-size: clamp(1.6rem, 4vw, 2.4rem); color: var(--gold-l); }
.stats .l { font-size: 0.8rem; letter-spacing: 0.05em; opacity: 0.85; }

/* ============================================================
   GAMES GRID (inner pages)
   ============================================================ */
.page-banner { position: relative; overflow: hidden; aspect-ratio: 1920 / 600; display: flex; align-items: center; }
.page-banner .pb-bg { position: absolute; inset: 0; z-index: 0; }
.page-banner .pb-content { position: relative; z-index: 2; padding: 2rem clamp(1.25rem,5vw,4rem); }
.page-banner h1 { font-size: clamp(2rem, 6vw, 3.8rem); color: #fff; text-shadow: 0 4px 18px rgba(0,0,0,.3); }
.page-banner p { color: #fff; opacity: 0.92; margin-top: 0.6rem; max-width: 34rem; }
.page-banner .pb-deco { position: absolute; right: 4%; bottom: -10%; font-size: clamp(7rem, 18vw, 13rem); opacity: .85; transform: rotate(-6deg); z-index: 1; }
.page-banner .pb-bg.photo { background-size: cover; background-position: center; }
.page-banner .pb-bg.photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,8,4,.74) 0%, rgba(20,8,4,.38) 48%, rgba(20,8,4,.06) 100%); }
.page-banner.full { display: block; }
.page-banner.full a { display: block; width: 100%; height: 100%; }
.page-banner.full .pb-full { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Info / FAQ pages */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.4rem; margin: 1.8rem 0 .6rem; }
.prose h3 { font-size: 1.08rem; margin: 1.4rem 0 .4rem; }
.prose p { color: var(--ink-soft); margin-bottom: 1rem; }
.prose ul { color: var(--ink-soft); padding-left: 1.2rem; margin-bottom: 1rem; display: grid; gap: .45rem; }
.prose strong { color: var(--ink); }
.faq { max-width: 820px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 0 1.2rem; margin-bottom: .8rem; background: var(--paper); }
.faq summary { cursor: pointer; font-family: var(--serif); font-weight: 700; padding: 1.05rem 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--gold-d); font-size: 1.4rem; line-height: 1; flex: none; }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { color: var(--ink-soft); padding-bottom: 1.05rem; margin: 0; }

/* Homepage SEO content block */
.seo-section { padding-top: 1rem; }
.seo-prose { max-width: 1000px; margin-inline: auto; }
.seo-prose h2 { font-size: clamp(1.3rem, 3vw, 1.75rem); margin: 1.9rem 0 .6rem; }
.seo-prose h2:first-child { margin-top: 0; }
.seo-prose h3 { font-size: 1.12rem; margin: 1.6rem 0 .4rem; }
.seo-prose p, .seo-prose li { color: var(--ink-soft); font-size: .92rem; line-height: 1.7; }
.seo-prose ul { padding-left: 1.2rem; display: grid; gap: .35rem; margin: .4rem 0 1rem; }
.seo-prose .seo-kw { color: var(--gold-d); font-weight: 700; }
.seo-prose .seo-kw:hover { text-decoration: underline; }
.seo-prose .seo-il { color: var(--gold-d); font-weight: 800; text-decoration: none; border-bottom: 1px solid rgba(185,119,43,.35); transition: border-color .2s; }
.seo-prose .seo-il:hover { border-bottom-color: var(--gold-d); }
.seo-prose .faq { margin-top: 1rem; max-width: none; }

.game-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.game-card { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: var(--paper); transition: transform .22s, box-shadow .3s, border-color .25s; }
.game-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(224,164,58,.6); }
.game-card .gc-art { height: 120px; display: grid; place-items: center; position: relative; background: linear-gradient(135deg, #2a1a10, #4a2c16); }
.game-card .gc-art .emoji { font-size: 2.6rem; filter: drop-shadow(0 4px 10px rgba(0,0,0,.4)); }
.game-card .gc-art .gc-ic { width: 46px; height: 46px; stroke: var(--gold-l); opacity: .9; }
.game-card .gc-art .gc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }

/* Modern provider tiles (slot page) */
#slotgrid { gap: 1.2rem; }
.prov-grid .game-card { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--paper); transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .3s ease, border-color .25s ease; }
.prov-grid .game-card:hover { transform: translateY(-8px); box-shadow: 0 26px 46px -22px rgba(110,60,20,.55); border-color: rgba(224,164,58,.6); }
.prov-grid .gc-art { height: auto; aspect-ratio: 250 / 400; padding: 0; background: #20140a; overflow: hidden; }
.prov-grid .gc-art .gc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.prov-grid .gc-art .gc-name { font-family: var(--serif); font-weight: 800; font-size: 1.35rem; text-align: center; padding: 0 .8rem; background: linear-gradient(120deg, var(--gold-l), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 2px 10px rgba(0,0,0,.25); transition: transform .35s ease; }
.prov-grid .game-card:hover .gc-art .gc-name { transform: scale(1.06); }
.prov-grid .game-card:hover .gc-art .gc-img { transform: scale(1.07); }
.prov-grid .gc-art .tag { z-index: 2; }
.prov-grid .gc-body { padding: 1rem 1rem 1.2rem; text-align: center; }
.prov-grid .gc-body .name { font-family: var(--serif); font-weight: 700; font-size: 1.02rem; }
.prov-grid .gc-body .prov { color: var(--ink-soft); font-size: .76rem; margin: .2rem 0 .9rem; }
/* Wide (landscape) provider cards — sportsbook & e-games */
.prov-grid.wide { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.prov-grid.wide .gc-art { aspect-ratio: 7 / 4; }
.game-card .gc-art .tag { position: absolute; top: 8px; right: 8px; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.2rem 0.5rem; border-radius: 6px; background: var(--orange); color: #fff; }
.game-card .gc-body { padding: 0.9rem 1rem 1.1rem; text-align: center; }
.game-card .gc-body .name { font-family: var(--serif); font-weight: 700; font-size: 1rem; }
.game-card .gc-body .prov { font-size: 0.74rem; color: var(--ink-soft); margin-bottom: 0.7rem; }

/* ============================================================
   PROMO CARDS
   ============================================================ */
.promo-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
.promo-card { position: relative; padding: 1.6rem; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); overflow: hidden; transition: transform .22s, box-shadow .3s; }
.promo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.promo-card.feat { border-color: rgba(245,151,29,.5); background: linear-gradient(160deg, rgba(245,151,29,.12), var(--paper)); }
.promo-card .cat { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.promo-card .val { font-family: var(--serif); font-weight: 900; font-size: 2.6rem; line-height: 1; margin: 0.3rem 0 0.5rem; background: linear-gradient(120deg, var(--gold-d), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.promo-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.promo-card p { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 1rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--cream-2); border-top: 1px solid var(--line); margin-top: 2rem; padding-block: 2.5rem 1.5rem; }
.f-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.f-brand { max-width: 360px; }
.f-brand p { font-size: 0.88rem; color: var(--ink-soft); margin: 1rem 0; }
.f-col h4 { font-family: var(--serif); font-size: 0.95rem; margin-bottom: 0.8rem; }
.f-col a { display: block; font-size: 0.88rem; color: var(--ink-soft); padding: 0.32rem 0; transition: color .2s, padding-left .2s; }
.f-col a:hover { color: var(--gold-d); padding-left: 4px; }
.f-social { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.f-social a { width: 54px; height: 54px; border-radius: 999px; background: #3b2314; display: grid; place-items: center; overflow: hidden; transition: transform .22s ease, box-shadow .25s ease; }
.f-social a:hover { transform: translateY(-4px) scale(1.07); box-shadow: 0 10px 20px -7px rgba(110, 60, 20, 0.5); }
.f-social svg { width: 30px; height: 30px; fill: #fff; }
.f-social a[aria-label="Facebook"] svg { transform: scale(1.4); }
.f-social img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px; display: block; }
.f-live { display: flex; align-items: center; gap: 0.7rem; }
.f-live .ic { width: 44px; height: 44px; border-radius: 999px; background: linear-gradient(150deg, var(--gold-l), var(--gold-d)); display: grid; place-items: center; }
.f-live .ic svg { width: 22px; height: 22px; stroke: #fff; }
.f-live small { display: block; font-size: 0.72rem; color: var(--ink-faint); }
.f-live b { font-size: 0.9rem; }

.licenses { text-align: center; margin-top: 2rem; }
.licenses .lab, .platforms .lab { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 0.9rem; }
.lic-row { display: flex; justify-content: center; gap: 0.8rem; flex-wrap: wrap; }
.lic-row { gap: 1.5rem; align-items: center; }
.lic-badge { height: 50px; width: auto; object-fit: contain; }
.platforms { margin-top: 2rem; text-align: center; width: 100vw; margin-left: calc(50% - 50vw); padding-inline: 1.5rem; }
.plat-img { width: 100%; max-width: 1500px; height: auto; display: block; margin-inline: auto; margin-top: 1.1rem; }
.plat-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.plat-row span { font-family: var(--serif); font-weight: 700; font-size: 0.78rem; padding: 0.4rem 0.8rem; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-soft); }
.copyright { text-align: center; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 0.78rem; color: var(--ink-faint); }
.copyright .warn { margin-top: 0.5rem; }

/* ============================================================
   FLOATING UI
   ============================================================ */
.fab-contact { position: fixed; right: 0; top: 38%; z-index: 40; writing-mode: vertical-rl; background: var(--maroon); color: #f7e7cf;
  font-family: var(--serif); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.1em; padding: 0.9rem 0.45rem; border-radius: 10px 0 0 10px; box-shadow: var(--shadow-sm); transition: background .2s; }
.fab-contact:hover { background: var(--orange-d); }
.fab-mission { position: fixed; left: 16px; bottom: 18px; z-index: 40; width: 72px; height: 72px; display: grid; place-items: center;
  filter: drop-shadow(0 8px 18px rgba(150,90,30,.5)); transition: transform .2s ease; }
.fab-mission:hover { transform: scale(1.06); }
.fab-mission img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* Announcement modal */
.modal-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(20,8,4,.6); display: flex; align-items: center; justify-content: center; padding: 1.25rem; }
.modal-overlay[hidden] { display: none; }
.modal-card { position: relative; width: 100%; max-width: 640px; max-height: 92vh; background: var(--paper); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); animation: rise .4s cubic-bezier(.22,1,.36,1) both; }
.modal-x { position: absolute; top: 10px; right: 10px; z-index: 5; width: 34px; height: 34px; border-radius: 999px; border: 0; background: rgba(0,0,0,.4); color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.modal-x:hover { background: rgba(0,0,0,.6); }
.modal-carousel { position: relative; overflow: hidden; }
.mc-ann { min-width: 100%; height: min(440px, 72vh); display: flex; flex-direction: column; }
.ann-title { background: var(--cream-2); color: var(--ink); font-family: var(--serif); font-weight: 800; text-transform: uppercase; letter-spacing: .03em; font-size: .96rem; padding: 1.1rem 3rem 1.1rem 1.5rem; border-bottom: 1px solid var(--line); }
.ann-body { flex: 1; overflow-y: auto; padding: 1.4rem 1.5rem 2.4rem; }
.ann-body h4 { font-family: var(--serif); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); font-size: .8rem; margin-bottom: 1rem; }
.ann-table { width: 100%; border-collapse: collapse; margin-bottom: 1.2rem; }
.ann-table td { border: 1px solid var(--line-2); padding: .7rem .9rem; font-size: .85rem; text-align: center; }
.ann-table td:first-child { font-weight: 700; color: var(--ink); background: rgba(58,36,20,.05); width: 46%; }
.ann-table td:last-child { color: var(--ink-soft); }
.ann-terms { margin: 0; padding-left: 1.2rem; display: grid; gap: .5rem; }
.ann-terms li { font-size: .84rem; color: var(--ink-soft); }
.mc-slides { display: flex; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.mc-slides > * { min-width: 100%; }
.mc-slides img { width: 100%; display: block; }
.mc-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 36px; height: 36px; border-radius: 999px; border: 0; background: rgba(255,255,255,.85); color: var(--ink); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.mc-arrow.prev { left: 10px; } .mc-arrow.next { right: 10px; }
.mc-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); z-index: 4; display: flex; gap: 7px; }
.mc-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: rgba(58,36,20,.25); cursor: pointer; transition: width .25s, background .25s; }
.mc-dots button.active { width: 24px; background: var(--gold-d); }
.modal-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1rem 1.25rem; }
.modal-dns { display: flex; align-items: center; gap: .45rem; font-size: .82rem; color: var(--ink-soft); }
.modal-dns input { accent-color: var(--orange); width: 15px; height: 15px; }
.modal-btns { display: flex; gap: .5rem; }

/* Login modal */
.login-card { width: 100%; max-width: 500px; background: linear-gradient(180deg, #fbeede, #f1ddc2); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); animation: rise .35s cubic-bezier(.22,1,.36,1) both; }
.login-head { display: flex; align-items: center; justify-content: space-between; background: var(--maroon); color: #f3e7d6; padding: 1rem 1.3rem; font-family: var(--serif); font-weight: 800; font-size: 1.3rem; letter-spacing: .04em; }
.login-x { background: none; border: 0; color: #f3e7d6; font-size: 1.7rem; line-height: 1; cursor: pointer; transition: opacity .2s; }
.login-x:hover { opacity: .7; }
.login-body { padding: 1.6rem 2rem 2rem; text-align: center; }
.login-logo { height: 96px; width: auto; margin: 0 auto 1.4rem; mix-blend-mode: multiply; }
#login-form { display: grid; gap: 1.5rem; }
.login-field { display: flex; align-items: center; gap: .9rem; border-bottom: 1px solid var(--line-2); padding-bottom: .45rem; }
.login-field .lf-ic svg { width: 22px; height: 22px; stroke: var(--ink-soft); fill: none; display: block; }
.login-field input { flex: 1; border: 0; background: transparent; font-family: var(--sans); font-size: 1rem; color: var(--ink); padding: .35rem 0; }
.login-field input::placeholder { color: var(--ink-faint); }
.login-field input:focus { outline: none; }
.login-forgot { text-align: right; font-size: .85rem; color: var(--ink-soft); margin-top: -.8rem; }
.login-forgot:hover { color: var(--gold-d); }
.login-submit { width: 100%; margin-top: .4rem; }
.login-foot { background: var(--maroon); color: #f3e7d6; text-align: center; padding: 1rem; font-weight: 600; font-size: .95rem; }
.login-foot a { color: var(--gold-l); font-weight: 800; }

/* Page loader */
.page-loader { position: fixed; inset: 0; z-index: 9999; background: var(--cream); display: grid; place-items: center; transition: opacity .5s ease; }
.page-loader::after { content: ''; width: 160px; height: 160px; background: url('../img/logo.jpg') center / contain no-repeat; mix-blend-mode: multiply; animation: loaderPulse 1.2s ease-in-out infinite; }
.page-loader.hidden { opacity: 0; pointer-events: none; }
@keyframes loaderPulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes spin-slow { to { transform: rotate(360deg); } }
.fab-top { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 46px; height: 46px; border-radius: 999px; border: 0;
  background: var(--ink); color: #fff; display: none; place-items: center; box-shadow: var(--shadow); opacity: 0; transition: opacity .3s; }
.fab-top.show { display: grid; opacity: 1; }
.fab-top svg { width: 22px; height: 22px; stroke: #fff; }

/* ── Reveal animation ── */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.in { animation: rise .7s cubic-bezier(.22,1,.36,1) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (min-width: 600px) {
  .cat-grid, .game-grid { grid-template-columns: repeat(3, 1fr); }
  .stats .grid { grid-template-columns: repeat(4, 1fr); }
  .promo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 880px) {
  .panels { grid-template-columns: 1.3fr 1fr; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .game-grid { grid-template-columns: repeat(4, 1fr); }
  .promo-grid { grid-template-columns: repeat(3, 1fr); }
  .f-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
}
@media (min-width: 1280px) {
  .nav { display: flex; }
  .menu-btn { display: none; }
}
@media (max-width: 1279px) {
  .nav { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ===== Lucky Number + Payout (4D) ===== */
.lucky { text-align: center; }
.lucky .eyebrow { color: var(--gold-d); }
.lucky-title { font-family: var(--serif); font-weight: 900; letter-spacing: .04em;
  font-size: clamp(1.6rem, 5vw, 2.8rem); text-transform: uppercase; margin: .2rem 0 1.4rem;
  background: linear-gradient(180deg, #ffe9b0, #e0a43a 55%, #b9772b);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 2px 10px rgba(224,164,58,.25); }
.lucky-row { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: stretch; justify-content: center; }
.lucky-display { flex: 1 1 320px; max-width: 720px; background: #0d0d0d; border-radius: 16px;
  border: 4px solid #e6cf9b; box-shadow: inset 0 0 30px rgba(0,0,0,.7), 0 10px 30px rgba(0,0,0,.18);
  display: flex; align-items: center; justify-content: center; gap: clamp(.6rem, 4vw, 2.4rem); padding: clamp(1.4rem, 4vw, 2.6rem) 1rem; }
.lucky-digit { font-family: var(--serif); font-weight: 900; color: #f3f3f3; line-height: 1;
  font-size: clamp(2.4rem, 9vw, 4.6rem); width: clamp(2rem, 9vw, 4rem); text-align: center;
  text-shadow: 0 0 14px rgba(255,255,255,.35); transition: transform .05s; }
.spin-btn { flex: 0 0 auto; align-self: center; cursor: pointer; border: 0;
  font-family: var(--serif); font-weight: 900; letter-spacing: .12em; text-transform: uppercase;
  font-size: clamp(1.1rem, 3vw, 1.6rem); color: #ffe9b0; padding: clamp(1.2rem,3vw,1.8rem) clamp(1.8rem,4vw,2.8rem);
  border-radius: 14px; background: radial-gradient(120% 120% at 50% 0%, #5a3416, #2e1a0c);
  box-shadow: 0 0 0 4px #c9962f, 0 0 22px rgba(224,164,58,.5), inset 0 0 18px rgba(255,200,90,.25);
  transition: transform .15s, box-shadow .2s; }
.spin-btn:hover { transform: translateY(-2px); box-shadow: 0 0 0 4px #e0a43a, 0 0 30px rgba(224,164,58,.7), inset 0 0 18px rgba(255,200,90,.35); }
.spin-btn:disabled { opacity: .7; cursor: default; transform: none; }

.po-tabs { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 1.4rem; }
.po-tab { font-family: var(--serif); font-weight: 700; font-size: .82rem; padding: .55rem 1.1rem; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--ink-soft); background: transparent; cursor: pointer; transition: .2s; }
.po-tab:hover { border-color: var(--gold); }
.po-tab.active { background: linear-gradient(135deg, var(--gold-l), var(--gold-d)); color: #fff; border-color: transparent; }
.po-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.po-table { width: 100%; border-collapse: collapse; min-width: 460px; background: #fff; }
.po-table caption { font-family: var(--serif); font-weight: 800; color: var(--gold-d); font-size: .92rem;
  padding: .9rem; background: var(--cream); border-bottom: 1px solid var(--line); }
.po-table th, .po-table td { padding: .7rem .8rem; text-align: center; font-size: .86rem; border-bottom: 1px solid var(--line); }
.po-table thead th { background: linear-gradient(135deg, #2a1a10, #4a2c16); color: #ffe9b0; font-family: var(--serif); font-weight: 700; }
.po-table tbody th { text-align: left; font-family: var(--serif); font-weight: 700; color: var(--ink); background: var(--cream); }
.po-table tbody tr:nth-child(even) td { background: rgba(224,164,58,.05); }
.po-table .amt { font-family: var(--serif); font-weight: 700; color: var(--ink); }
.po-table .dash { color: var(--ink-faint); }
.po-table tbody tr.sec th { background: linear-gradient(135deg, #2a1a10, #4a2c16); color: #ffe9b0; text-align: center; letter-spacing: .06em; text-transform: uppercase; font-size: .74rem; }
.po-table .yes { color: #1f8a4c; font-weight: 800; }
.po-table thead th.hl { color: #fff; }
