/* =========================================================
   REDMITOTO — landing page (promo/RTP, no login doorway)
   Palette derived from the original inline vars:
     --base-color: rgb(180,142,27)  -> gold
     --accent-color: #fff           -> white
   Background/theme were not specified in the source file
   (they lived in an external stylesheet not included), so a
   dark theme + gold accent is used here as the closest match
   to the only concrete colors given. Adjust --bg if your real
   brand uses something else.
   ========================================================= */
:root{
  --gold:        #B48E1B;
  --gold-light:  #D4AF37;
  --white:       #ffffff;
  --bg:          #0E0E0E;
  --bg-alt:      #171717;
  --card:        #1D1D1D;
  --line:        rgba(255,255,255,0.08);
  --text:        #EDEDED;
  --muted:       #A9A9A9;

  --font-body: "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1200px;
  --radius: 8px;
}

*{ box-sizing:border-box; }
body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height:1.5;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
.wrap{ max-width: var(--wrap); margin:0 auto; padding: 0 20px; }

a:focus-visible, button:focus-visible{
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

/* =========================================================
   Buttons
   ========================================================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 22px;
  border-radius: 4px;
  font-weight:700;
  font-size:13.5px;
  letter-spacing:.02em;
  cursor:pointer;
  border:1px solid transparent;
  transition: filter .15s ease, transform .15s ease;
}
.btn:hover{ filter:brightness(1.1); transform: translateY(-1px); }
.btn-gold{
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color:#1a1400;
}
.btn-outline{
  border-color: var(--gold);
  color: var(--gold-light);
  background:transparent;
}
.btn-lg{ padding:13px 30px; font-size:14.5px; }

/* =========================================================
   Promo popup — permanent overlay, glass card, no close controls
   ========================================================= */
.promo-overlay{
  position: fixed;
  inset:0;
  z-index: 100;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(6px);
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 20px;
}
.promo-card{
  position:relative;
  width:100%;
  max-width: 420px;
  background: rgba(30,26,18,0.45);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border:1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  padding: 18px;
  text-align:center;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.08);
}
.promo-banner{
  border-radius:10px;
  overflow:hidden;
  margin-bottom:16px;
}
.promo-actions{
  display:flex;
  gap:10px;
  justify-content:center;
  flex-wrap:wrap;
  margin-bottom:12px;
}
.promo-actions .btn{
  flex:1 1 150px;
  position:relative;
  z-index:1;
  overflow:visible;
}
.promo-actions .btn::before{
  content:'';
  position:absolute;
  top:-3px; left:-3px;
  width:calc(100% + 6px);
  height:calc(100% + 6px);
  background: linear-gradient(45deg,
    transparent, var(--gold), #fff2c4, var(--gold-light),
    transparent, var(--gold-light), var(--gold), transparent);
  background-size: 300% 300%;
  filter: blur(7px);
  z-index:-1;
  border-radius: 8px;
  animation: promo-btn-glow 5s linear infinite;
}
.promo-actions .btn{
  animation: promo-btn-pulse 2.2s ease-in-out infinite;
}
@keyframes promo-btn-glow{
  0%   { background-position: 0% 50%; }
  50%  { background-position: 300% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes promo-btn-pulse{
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 rgba(212,175,55,0); }
  50%      { transform: scale(1.035); box-shadow: 0 0 16px rgba(212,175,55,0.55); }
}
@media (prefers-reduced-motion: reduce){
  .promo-actions .btn,
  .promo-actions .btn::before{ animation: none; }
}
.promo-caption{
  font-size:12.5px;
  color: var(--muted);
  margin:0;
}

/* =========================================================
   Top bar
   ========================================================= */
.topbar{
  background: var(--bg-alt);
  border-bottom:1px solid var(--line);
  font-size:12.5px;
}
.topbar-inner{
  display:flex;
  align-items:center;
  gap:20px;
  height:38px;
}
.topbar-marquee{
  flex:1;
  overflow:hidden;
  white-space:nowrap;
  color: var(--muted);
}
.topbar-marquee span{
  display:inline-block;
  padding-left:100%;
  animation: marquee 22s linear infinite;
}
@keyframes marquee{ to{ transform: translateX(-100%); } }
.topbar-links{ display:flex; align-items:center; gap:14px; white-space:nowrap; }
.topbar-links a{ color: var(--muted); }
.topbar-links a:hover{ color: var(--gold-light); }
.topbar-social{ display:flex; gap:8px; }
.topbar-social a{
  width:24px; height:24px;
  border:1px solid var(--line);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
}
.topbar-social svg{ width:13px; height:13px; fill: var(--muted); }
.topbar-social a:hover svg{ fill: var(--gold-light); }
.topbar-social a:hover{ border-color: var(--gold); }

@media (max-width:720px){
  .topbar-links{ display:none; }
}

/* =========================================================
   Header / main nav
   ========================================================= */
.site-header{
  position: sticky;
  top:0;
  z-index:50;
  background: rgba(14,14,14,0.92);
  backdrop-filter: blur(8px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex;
  align-items:center;
  gap:28px;
  height:76px;
}
.logo{ margin-right:auto; display:flex; align-items:center; }
.logo img{ height:42px; width:auto; }

.main-nav{ display:flex; align-items:center; gap:8px; }
.nav-item{ position:relative; }
.nav-item > a{
  display:flex; align-items:center; gap:6px;
  padding: 10px 14px;
  font-size:14px; font-weight:600;
  color: var(--text);
  border-radius:4px;
}
.nav-item > a:hover{ color: var(--gold-light); }
.nav-item .caret{ font-size:10px; color:var(--muted); }

.mega{
  position:absolute;
  top: calc(100% + 10px);
  left:0;
  min-width: 420px;
  background: var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  display:none;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.nav-item:hover .mega{ display:block; }
.mega-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
}
.mega-tile{
  display:flex; flex-direction:column; align-items:center; gap:8px;
  padding:12px 8px;
  border-radius:6px;
  border:1px solid transparent;
}
.mega-tile:hover{ border-color: var(--gold); background: rgba(180,142,27,0.06); }
.mega-tile img{ height:32px; width:auto; object-fit:contain; }
.mega-tile span{ font-size:11.5px; color: var(--muted); text-align:center; }

.header-cta{ display:flex; }

.nav-toggle{
  display:none; flex-direction:column; gap:5px;
  background:none; border:none; padding:8px; cursor:pointer;
}
.nav-toggle span{ width:22px; height:2px; background: var(--text); }

.mobile-nav{ display:none; flex-direction:column; padding: 10px 20px 20px; border-top:1px solid var(--line); }
.mobile-nav a{ padding:12px 0; border-bottom:1px solid var(--line); font-size:15px; }
.mobile-nav .btn{ margin-top:14px; width:fit-content; }
.mobile-nav.is-open{ display:flex; }

@media (max-width: 900px){
  .main-nav, .header-cta{ display:none; }
  .nav-toggle{ display:flex; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero{ padding: 26px 0; }
.hero-banner{
  border-radius: var(--radius);
  overflow:hidden;
  max-height:500px;
  min-height:130px;
}
.hero-banner img{ width:100%; height:auto; }

/* =========================================================
   Section shell
   ========================================================= */
.section{ padding: 54px 0; }
.section-head{
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom:24px;
}
.section-head h2{
  font-size: 15px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color: var(--gold-light);
  margin:0;
  padding-left:12px;
  border-left: 3px solid var(--gold);
}

/* =========================================================
   Game row — single line, auto-rotating
   ========================================================= */
.game-row-wrap{
  overflow:hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.game-row{
  display:flex;
  gap:14px;
  width: max-content;
  animation: game-row-scroll 34s linear infinite;
}
.game-row:hover{ animation-play-state: paused; }

@keyframes game-row-scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); } /* content is rendered twice by JS for a seamless loop */
}

.game-card{
  flex: 0 0 160px;
  background: var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  transition: transform .18s ease, border-color .18s ease;
}
.game-card:hover{ transform: translateY(-3px); border-color: var(--gold); }
.game-thumb{ aspect-ratio: 1/1; overflow:hidden; background:#000; }
.game-thumb img{ width:100%; height:100%; object-fit:cover; }
.game-info{
  padding:10px 10px 12px;
  display:flex; align-items:center; justify-content:space-between; gap:8px;
}
.game-name{
  font-size:12.5px;
  font-weight:600;
  line-height:1.3;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.game-provider-logo{ height:16px; width:auto; opacity:.85; flex-shrink:0; }

@media (max-width:600px){
  .game-card{ flex-basis:130px; }
}

/* =========================================================
   Provider strip
   ========================================================= */
.provider-strip{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
}
.provider-chip{
  display:flex; align-items:center; gap:10px;
  background: var(--card);
  border:1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px 10px 12px;
}
.provider-chip img{ height:26px; width:auto; }
.provider-chip span{ font-size:13px; font-weight:600; color: var(--muted); }

/* =========================================================
   Service advantage cards
   ========================================================= */
.advantage-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:14px;
}
.advantage-card{
  background: var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:18px;
}
.advantage-head{ display:flex; align-items:center; gap:12px; margin-bottom:14px; }
.advantage-icon{
  width:40px; height:40px; border-radius:50%;
  background: rgba(180,142,27,0.14);
  display:flex; align-items:center; justify-content:center;
  color: var(--gold-light);
  flex-shrink:0;
}
.advantage-title{ font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:.04em; }
.advantage-sub{ font-size:12px; color:var(--muted); }
.advantage-value{ text-align:right; font-size:13px; color: var(--muted); margin-bottom:8px; }
.progress{
  height:6px; border-radius:999px; background:rgba(255,255,255,0.08); overflow:hidden;
}
.progress-bar{ height:100%; background: linear-gradient(90deg, var(--gold), var(--gold-light)); }

.stat-row{
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap:10px;
  margin-top:14px;
}
.stat-card{
  background: var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:16px 10px;
  text-align:center;
}
.stat-value{ font-size:18px; font-weight:700; color: var(--gold-light); }
.stat-label{ font-size:11px; color: var(--muted); margin-top:4px; }
.placeholder-note{ font-size:11px; color: var(--muted); font-style:italic; margin-top:10px; }

/* =========================================================
   Info + contact two-column
   ========================================================= */
.info-contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:20px;
}
.info-card, .contact-card{
  background: var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:20px;
}
.info-list{ list-style:none; margin:0; padding:0; }
.info-list li{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 0;
  border-bottom:1px solid var(--line);
  font-size:13.5px;
}
.info-list li:last-child{ border-bottom:none; }
.info-list a{ color: var(--gold-light); font-size:12.5px; font-weight:600; }

.contact-item{
  display:flex; align-items:center; gap:12px;
  padding:12px 0;
  border-bottom:1px solid var(--line);
}
.contact-item:last-child{ border-bottom:none; }
.contact-icon{
  width:34px; height:34px; border-radius:8px;
  background: rgba(180,142,27,0.14);
  display:flex; align-items:center; justify-content:center;
  color: var(--gold-light);
  flex-shrink:0;
}
.contact-label{ font-size:11px; color:var(--muted); text-transform:uppercase; letter-spacing:.04em; }
.contact-value{ font-size:13.5px; font-weight:600; }

@media (max-width: 760px){
  .advantage-grid, .info-contact-grid{ grid-template-columns:1fr; }
  .stat-row{ grid-template-columns: repeat(3,1fr); }
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer{
  background: var(--bg-alt);
  border-top:1px solid var(--line);
  padding-top:48px;
  margin-top:20px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap:32px;
  padding-bottom:36px;
}
.footer-logo img{ height:34px; margin-bottom:14px; }
.footer-brand p{ font-size:13px; color:var(--muted); max-width:30ch; }
.footer-col h4{
  font-size:12px; text-transform:uppercase; letter-spacing:.06em;
  color: var(--gold-light); margin:0 0 14px;
}
.footer-col a, .footer-col p{
  display:block; font-size:13px; color:var(--muted); padding:5px 0;
}
.footer-col a:hover{ color: var(--text); }
.footer-bottom{
  border-top:1px solid var(--line);
  display:flex; align-items:center; justify-content:space-between;
  padding: 16px 20px;
  font-size:12px; color: var(--muted);
}
.footer-social{ display:flex; gap:8px; }
.footer-social a{
  width:30px; height:30px; border-radius:50%;
  border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center;
}
.footer-social svg{ width:14px; height:14px; fill: var(--muted); }
.footer-social a:hover{ border-color: var(--gold); }
.footer-social a:hover svg{ fill: var(--gold-light); }

@media (max-width:900px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width:520px){
  .footer-grid{ grid-template-columns: 1fr; }
  .footer-bottom{ flex-direction:column; gap:8px; text-align:center; }
}
