/* BABEHSUGIH RTP | Red Edition v3 — presentation only; no change to game mechanics. */
:root {
  --bg: #170405;
  --panel: #270909;
  --panel-2: #3a1110;
  --line: #67211c;
  --gold: #edbc32;
  --gold-bright: #ffe67b;
  --gold-dark: #ad6114;
  --text: #fff6f0;
  --muted: #d7b8b1;
  --green: #26be71;
  --orange: #e6a51c;
  --red: #dc434a;
}
body {
  background: radial-gradient(ellipse 60% 310px at 50% 0%, rgba(185,36,14,.22), transparent 75%),
              radial-gradient(ellipse 36% 440px at 94% 30%, rgba(119,17,32,.15), transparent 86%),
              linear-gradient(180deg,#300808 0%,#1a0506 420px,#140405 100%);
  color:var(--text);
  font-family: system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
}
.site-header { background:#310705; border-top:4px solid #6d120d; box-shadow:0 8px 30px rgba(0,0,0,.42); }
.topline { justify-content:space-between; padding-inline:max(calc((100vw - 1460px)/2),16px); color:#e4bfb3; border-bottom:1px solid #5e1b18; letter-spacing:.25px; }
.header-main { min-height:90px; }
.brand { width:min(340px,42vw); display:flex; flex-direction:column; justify-content:center; gap:2px; line-height:1; }
.brand-image { display:block; width:100%; max-width:300px; height:62px; max-height:62px; object-fit:contain; object-position:left center; }
.brand-fallback { display:none; color:#ffd451; font-family:Georgia,'Times New Roman',serif; font-size:clamp(23px,3vw,38px); font-weight:900; letter-spacing:-1.2px; text-shadow:1px 2px #8d1609, 0 0 15px rgba(255,154,36,.38); }
.brand-subtitle { padding-left:2px; color:#ffc877; font-size:10px; letter-spacing:3.5px; font-weight:800; }
.login-area { grid-template-columns:90px 99px; }
.button { min-width:80px; border-radius:5px; font-size:12px; letter-spacing:.25px; transition:transform .18s,filter .18s; }
.button-login { background:linear-gradient(180deg,#a32513,#78100c); border:1px solid #ce5031; }
.button-register { color:#2b1005; background:linear-gradient(180deg,#ffe568,#f0b716); border:1px solid #f4c633; box-shadow:0 5px 15px rgba(253,188,36,.16); }
.button:hover,.hero-button:hover,.load-more:hover { filter:brightness(1.1); transform:translateY(-1px); }
.gold-nav { background:linear-gradient(180deg,#ae2714,#8c180d 72%,#73100a); box-shadow:inset 0 1px rgba(255,255,255,.16); border-bottom:1px solid #cf3c20; }
.nav-inner { justify-content:flex-start; gap:31px; }
.nav-inner strong { color:#3b1307; background:#f9c443; border:1px solid #ffe58f; border-radius:5px; padding:7px 18px; }
main { padding-top:26px; }
.hero { position:relative; min-height:232px; border:1px solid #8d2d22; border-radius:16px; padding:37px 52px;
  background: radial-gradient(circle at 83% 52%,rgba(255,186,53,.20),transparent 25%),
              radial-gradient(circle at 55% 15%,rgba(178,25,29,.20),transparent 33%),
              linear-gradient(115deg,#4c100e 0%,#2e090b 57%,#3c0d0a 100%);
  box-shadow:0 16px 50px rgba(5,0,0,.40),inset 0 1px rgba(255,255,255,.10); }
.hero::after { content:''; position:absolute; right:4%; bottom:-40%; width:270px; height:270px; border:1px solid rgba(248,194,83,.10); transform:rotate(45deg); pointer-events:none; }
.hero h1 { font-size:clamp(30px,4.6vw,57px); letter-spacing:-1.1px; text-transform:none; color:#fff9ee; text-shadow:0 3px 15px rgba(0,0,0,.3); }
.eyebrow { color:#ffcf55; letter-spacing:1.8px; }
.hero-button { color:#3b1405; background:linear-gradient(140deg,#ffe981,#e7ae18); border-radius:8px; box-shadow:0 7px 21px rgba(238,171,27,.22); }
.hero-badge { border:2px solid #ffda63; outline:6px solid #8c301c77; background:radial-gradient(circle,#7b2411,#270707 70%); transform:rotate(5deg); }
.hero-badge span { color:#ffe17a; }
.hero-badge small { color:#fff1ce; font-size:11px; line-height:1.35; letter-spacing:.8px; max-width:126px; margin-inline:auto; }
.provider-section { border:1px solid #72251d; border-top:3px solid #e1a72d; border-radius:12px; background:#2a0b0b; box-shadow:0 12px 35px rgba(0,0,0,.18); }
.provider-strip { scrollbar-color:#a63d2c #351412; }
.provider-link { background:#3a1413; border:1px solid #753029; border-radius:9px; }
.provider-link:hover { border-color:#e7b447; }
.provider-link.active { border-color:#ffd66a; background:linear-gradient(130deg,#7b2419,#421410); box-shadow:inset 0 0 0 1px rgba(255,226,125,.22); }
.provider-link span { color:#ffe3d1; }
.provider-arrow:hover { color:#ffd56b; }
.content-head { border-bottom:1px solid #723329; }
.content-head h1 { letter-spacing:-.6px; }
.search-box { color:#ebcabc; }
.search-box input { background:#300e0e; border:1px solid #894036; border-radius:8px; }
.search-box input:focus { border-color:#e8b04e; box-shadow:0 0 0 3px rgba(241,179,63,.17); }
.game-grid { gap:16px; }
.game-card { border:1px solid #6d2824; border-radius:12px; background:linear-gradient(180deg,#3b1312,#270c0d); box-shadow:0 9px 25px rgba(0,0,0,.30); }
.game-card:hover { border-color:#efb742; box-shadow:0 12px 32px rgba(0,0,0,.44); }
.game-link { padding:10px; }
.game-image-wrap { border-radius:8px; background:#330f0f; }
.image-fallback { background:linear-gradient(145deg,#5b1e19,#24090a); color:#f4c7b1; }
.game-name { color:#fff7ed; }
.rtp-head { color:#e0bab0; }
.rtp-value { color:#fff0cc; }
.progress { border:1px solid #55231e; background:#180607; border-radius:6px; }
.progress-bar.info { background-color:#3789bb; }
.pattern { background:#461b18; border:1px solid #6d2c23; border-radius:7px; }
.pattern-title { color:#381607; background:linear-gradient(180deg,#ffda61,#e6ae2a); border-radius:0 0 11px 11px; box-shadow:none; }
.pattern-mode { color:#f3d0bd; }
.load-more { color:#361606; background:linear-gradient(140deg,#ffe276,#e5a91d); border-radius:8px; box-shadow:0 8px 24px rgba(176,103,10,.20); }
.empty { background:#2d0c0c; border-color:#7c2d26; }
.site-footer { background:#250606; border-top:1px solid #693025; }
.footer-inner { color:#c9a9a0; }
.footer-inner a { color:#ffd264; }
@media(max-width:1060px) { .brand{width:min(320px,60vw);} .topline{padding-inline:16px;} }
@media(max-width:850px) and (min-width:651px){ .hero-badge small { max-width:104px; font-size:9px; letter-spacing:.4px; margin-top:5px; } }
@media(max-width:650px){
  .header-main { flex-direction:row; min-height:74px; gap:10px; padding:12px 0; }
  .brand { width:min(225px,52vw); min-width:0; }
  .brand-image { height:49px; max-height:49px; max-width:100%; }
  .brand-fallback { font-size:clamp(18px,5.2vw,27px); letter-spacing:-.7px; }
  .brand-subtitle { font-size:8px; letter-spacing:2.3px; }
  .login-area { width:auto; grid-template-columns:64px 68px; gap:5px; }
  .button { min-width:0; height:34px; font-size:10px; }
  .nav-inner { gap:10px; font-size:10px; }
  .nav-inner strong { padding:7px 10px; }
  .hero { padding:26px 20px; border-radius:12px; }
  .hero h1 { font-size:30px; }
  .provider-section { padding:8px 2px; border-radius:9px; }
  .game-grid { gap:10px; }
  .game-card { border-radius:9px; }
  .game-link { padding:8px; }
  .pattern { padding-inline:5px; }
}
@media(prefers-reduced-motion:reduce){ .progress-bar{animation:none;} .game-card,.provider-link{transition:none;} }
