/* =============================================
   StudioBET78 – RTP Live CSS
   ============================================= */

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

:root {
  --red:    #e8001e;
  --red2:   #ff1f3d;
  --dark:   #0d0d0d;
  --dark2:  #111111;
  --dark3:  #1a1a1a;
  --dark4:  #222222;
  --card:   #181818;
  --border: #2a2a2a;
  --text:   #e0e0e0;
  --muted:  #888;
  --gold:   #ffc107;
  --green:  #00e676;
  --font1:  'Rajdhani', sans-serif;
  --font2:  'Inter', sans-serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.5);
}

html { scroll-behavior: smooth; }
body { background: var(--dark); color: var(--text); font-family: var(--font2); font-size: 14px; line-height: 1.6; }

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red2); }
img { max-width: 100%; display: block; }

/* CONTAINER */
.container { max-width: 1280px; margin: 0 auto; padding: 0 16px; }

/* NAVBAR */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,10,0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.nav-inner { display: flex; align-items: center; gap: 16px; padding: 10px 20px; max-width: 1280px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 8px; font-family: var(--font1); font-size: 22px; font-weight: 700; color: #fff; letter-spacing: 1px; }
.logo-icon { font-size: 26px; }
.logo-text { line-height: 1.1; }
.logo-text span { color: var(--red); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-link { padding: 6px 14px; border-radius: 6px; font-family: var(--font1); font-size: 15px; font-weight: 600; color: var(--text); transition: all .2s; }
.nav-link:hover, .nav-link.active { color: var(--red); }
.nav-btns { display: flex; gap: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 8px 20px; border-radius: 6px; font-family: var(--font1); font-size: 15px; font-weight: 700; cursor: pointer; border: 2px solid transparent; transition: all .2s; }
.btn-login { background: var(--red); color: #fff; }
.btn-login:hover { background: var(--red2); color: #fff; }
.btn-register { background: transparent; border-color: var(--red); color: var(--red); }
.btn-register:hover { background: var(--red); color: #fff; }
.hamburger { display: none; background: none; border: none; font-size: 22px; color: #fff; cursor: pointer; margin-left: 8px; }
.mobile-menu { display: none; background: var(--dark2); border-top: 1px solid var(--border); }
.mobile-menu a { display: block; padding: 12px 20px; font-family: var(--font1); font-size: 16px; color: var(--text); border-bottom: 1px solid var(--border); }
.mobile-menu.open { display: block; }

/* HERO BANNER */
.hero-banner {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a0a0a 50%, #0d0d0d 100%);
  min-height: 340px;
}
.banner-slider { position: relative; }
.banner-slide {
  display: none; padding: 48px 40px; min-height: 320px;
  align-items: center; gap: 40px;
  background: linear-gradient(135deg, #150005 0%, #0a0012 60%, #0d0004 100%);
  position: relative; overflow: hidden;
}
.banner-slide.active { display: flex; }
.banner-content { flex: 1; z-index: 2; }
.banner-badge { display: inline-block; background: var(--red); color: #fff; font-family: var(--font1); font-size: 13px; font-weight: 700; padding: 4px 14px; border-radius: 20px; margin-bottom: 14px; letter-spacing: 1px; }
.banner-title { font-family: var(--font1); font-size: clamp(28px,4vw,52px); font-weight: 700; color: #fff; line-height: 1.15; margin-bottom: 16px; }
.banner-title .highlight { color: var(--gold); text-shadow: 0 0 24px rgba(255,193,7,0.5); }
.banner-prize { display: flex; flex-direction: column; margin-bottom: 10px; }
.prize-label { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.prize-amount { font-family: var(--font1); font-size: clamp(22px,3vw,40px); font-weight: 700; color: var(--gold); text-shadow: 0 0 20px rgba(255,193,7,0.4); }
.banner-period { font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.btn-primary-lg { background: var(--red); color: #fff; padding: 12px 32px; font-size: 17px; border-radius: 8px; font-family: var(--font1); font-weight: 700; letter-spacing: 1px; box-shadow: 0 0 20px rgba(232,0,30,0.4); }
.btn-primary-lg:hover { background: var(--red2); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 28px rgba(232,0,30,0.6); }
.banner-deco { flex: 0 0 200px; display: flex; align-items: center; justify-content: center; position: relative; }
.deco-circle { position: absolute; border-radius: 50%; opacity: 0.08; }
.c1 { width: 200px; height: 200px; background: var(--red); top: -30px; right: -30px; }
.c2 { width: 140px; height: 140px; background: var(--gold); bottom: -20px; right: 20px; }
.c3 { width: 80px; height: 80px; background: #fff; top: 10px; left: 10px; }
.spin-icon { font-size: 80px; z-index: 1; animation: float 3s ease-in-out infinite; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
.banner-prev, .banner-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.1); border: none; color: #fff; font-size: 18px;
  width: 36px; height: 36px; border-radius: 50%; cursor: pointer; z-index: 5;
  backdrop-filter: blur(4px); transition: background .2s;
}
.banner-prev { left: 12px; }
.banner-next { right: 12px; }
.banner-prev:hover, .banner-next:hover { background: var(--red); }
.banner-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3); cursor: pointer; transition: background .2s; }
.dot.active { background: var(--red); }

/* RTP INFO HEADER */
.rtp-info-header { background: #f5f5f5; padding: 32px 0; }
.rtp-info-header .container { max-width: 900px; }
.section-title { font-family: var(--font1); font-size: clamp(20px,2.5vw,28px); font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.rtp-update-text { color: #444; font-size: 14px; margin-bottom: 14px; }
.disclaimer-box {
  display: flex; gap: 10px; align-items: flex-start;
  background: #fff; border: 1px solid #ddd; border-radius: 8px; padding: 14px 18px;
}
.disclaimer-icon { font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.disclaimer-box p { color: #555; font-size: 13px; }
.link-inline { color: var(--red); font-weight: 600; }

/* RTP SECTION */
.rtp-section { background: #efefef; padding: 40px 0; }
.section-title-lg { font-family: var(--font1); font-size: clamp(22px,3vw,34px); font-weight: 700; color: var(--dark); margin-bottom: 24px; }

/* FILTER BAR */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end;
  background: var(--dark); border-radius: var(--radius); padding: 18px; margin-bottom: 28px;
}
.filter-group { display: flex; flex-direction: column; gap: 6px; }
.filter-group label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.filter-group select {
  background: var(--dark3); border: 1px solid var(--border); color: var(--text);
  padding: 8px 14px; border-radius: 8px; font-size: 14px; min-width: 140px; cursor: pointer;
}
.filter-search { display: flex; gap: 0; margin-left: auto; }
.filter-search input {
  background: var(--dark3); border: 1px solid var(--border); color: var(--text);
  padding: 8px 14px; border-radius: 8px 0 0 8px; font-size: 14px; width: 220px;
}
.filter-search input::placeholder { color: var(--muted); }
.filter-search button {
  background: var(--red); border: none; color: #fff; padding: 8px 16px;
  border-radius: 0 8px 8px 0; cursor: pointer; font-size: 16px; transition: background .2s;
}
.filter-search button:hover { background: var(--red2); }

/* GAMES GRID */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

/* GAME CARD */
.game-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); transition: transform .2s, box-shadow .2s;
}
.game-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.6); }
.card-img-wrap { position: relative; }
.card-img-wrap img { width: 100%; height: 130px; object-fit: cover; }
.card-provider-badge {
  position: absolute; top: 8px; left: 8px;
  background: rgba(0,0,0,0.75); color: #fff; font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 4px; letter-spacing: .5px;
}
.card-hot-badge {
  position: absolute; top: 8px; right: 8px;
  background: var(--red); color: #fff; font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 4px; animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.7} }

.card-body { padding: 12px; }
.card-title { font-family: var(--font1); font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .5px; text-align: center; }
.card-section { margin-bottom: 10px; }
.card-label { font-size: 10px; font-weight: 700; color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 4px; }
.jam-badge { display: inline-block; background: var(--dark4); color: var(--text); font-size: 12px; padding: 2px 8px; border-radius: 4px; margin: 2px 2px 2px 0; }
.pola-list { display: flex; flex-direction: column; gap: 2px; }
.pola-row { display: flex; gap: 6px; align-items: center; }
.pola-spin { color: #fff; font-weight: 700; font-size: 13px; width: 24px; text-align: right; }
.pola-mode { font-size: 11px; padding: 1px 7px; border-radius: 10px; font-weight: 600; }
.pola-mode.auto { background: rgba(0,230,118,0.15); color: var(--green); }
.pola-mode.manual { background: rgba(255,193,7,0.15); color: var(--gold); }

.rtp-bar-wrap { display: flex; align-items: center; gap: 8px; margin: 10px 0 6px; }
.rtp-bar-track { flex: 1; height: 8px; background: var(--dark4); border-radius: 4px; overflow: hidden; }
.rtp-bar-fill { height: 100%; border-radius: 4px; transition: width .6s ease; }
.rtp-percent { font-family: var(--font1); font-size: 14px; font-weight: 700; color: #fff; white-space: nowrap; }
.rtp-level-row { display: flex; align-items: center; gap: 6px; }
.label-small { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.level-badge { font-family: var(--font1); font-size: 13px; font-weight: 700; letter-spacing: 1px; }

/* LOAD MORE */
.load-more-wrap { text-align: center; margin-top: 8px; }
.btn-loadmore {
  background: var(--dark); color: var(--text); border: 1px solid var(--border);
  padding: 12px 40px; border-radius: 8px; font-family: var(--font1); font-size: 16px;
  font-weight: 700; cursor: pointer; letter-spacing: 1px; transition: all .2s;
}
.btn-loadmore:hover { background: var(--dark3); border-color: var(--red); color: var(--red); }

/* EMPTY STATE */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-icon { font-size: 48px; margin-bottom: 12px; }
.empty-state p { color: var(--muted); font-size: 16px; }

/* PROMO SECTION */
.promo-section { background: #f0f0f0; padding: 40px 0; }
.promo-card {
  border-radius: var(--radius); padding: 32px; display: flex; gap: 24px;
  align-items: center; min-height: 180px; position: relative; overflow: hidden;
}
.promo-app { background: linear-gradient(135deg, #1a0005 0%, #2d0010 50%, #0d0008 100%); }
.promo-turnamen { background: linear-gradient(135deg, #0d1a00 0%, #1a2d00 50%, #080d00 100%); }
.promo-text { flex: 1; z-index: 2; }
.promo-badge { display: inline-block; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; font-family: var(--font1); padding: 3px 12px; border-radius: 20px; margin-bottom: 10px; }
.promo-text h3 { font-family: var(--font1); font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.promo-text p { color: rgba(255,255,255,0.7); font-size: 13px; margin-bottom: 14px; }
.btn-promo { background: var(--red); color: #fff; padding: 8px 24px; border-radius: 6px; font-family: var(--font1); font-weight: 700; }
.btn-promo:hover { background: var(--red2); color: #fff; }
.promo-img-placeholder { font-size: 72px; flex-shrink: 0; opacity: 0.6; }
.promo-arrows { display: flex; justify-content: center; gap: 12px; margin-top: 16px; }
.promo-arrows button {
  background: var(--dark); color: #fff; border: 1px solid var(--border);
  width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 16px;
  transition: background .2s;
}
.promo-arrows button:hover { background: var(--red); border-color: var(--red); }
.promo-slide { display: none; }
.promo-slide.active { display: block; }

/* DEPOSIT SECTION */
.deposit-section { background: #e8e8e8; padding: 40px 0; }
.deposit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.deposit-card {
  background: var(--dark2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: transform .2s;
}
.deposit-card:hover { transform: translateY(-2px); }
.deposit-icon { font-size: 40px; }
.deposit-label { color: var(--text); font-family: var(--font1); font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.deposit-amount { color: var(--red); font-family: var(--font1); font-size: 28px; font-weight: 700; }

/* ARTICLE SECTION */
.article-section { background: #fff; padding: 48px 0; }
.seo-article { max-width: 820px; }
.seo-article h2 { font-family: var(--font1); font-size: clamp(20px,2.5vw,28px); font-weight: 700; color: var(--dark); margin-bottom: 14px; }
.seo-article h3 { font-family: var(--font1); font-size: 19px; font-weight: 700; color: var(--dark); margin: 22px 0 8px; }
.seo-article p { color: #444; font-size: 15px; margin-bottom: 12px; line-height: 1.75; }
.article-list { margin: 8px 0 0 20px; }
.article-list li { color: #444; font-size: 15px; margin-bottom: 6px; line-height: 1.7; }

/* CONTACT SECTION */
.contact-section { background: var(--dark2); padding: 40px 0; }
.contact-title { color: #fff !important; }
.contact-grid { display: flex; gap: 16px; flex-wrap: wrap; }
.contact-card {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  background: var(--dark3); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 32px; transition: all .2s;
}
.contact-card:hover { transform: translateY(-2px); border-color: var(--red); }
.contact-card span { color: var(--text); font-family: var(--font1); font-size: 15px; font-weight: 600; }
.contact-icon { width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.contact-icon svg { width: 28px; height: 28px; }
.contact-icon.wa { background: #25d366; color: #fff; }
.contact-icon.lc { background: #ff6b35; color: #fff; }

/* FOOTER */
.footer { background: var(--dark); border-top: 1px solid var(--border); padding: 24px 0; }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: 0 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.footer-brand { display: flex; flex-direction: column; gap: 4px; }
.footer-logo { font-family: var(--font1); font-size: 20px; font-weight: 700; color: #fff; }
.footer-tagline { color: var(--muted); font-size: 12px; letter-spacing: 1px; }
.footer-copy { color: var(--muted); font-size: 13px; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links, .nav-btns { display: none; }
  .hamburger { display: block; }
  .banner-slide { padding: 32px 20px; flex-direction: column; min-height: auto; }
  .banner-deco { display: none; }
  .games-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .deposit-grid { grid-template-columns: 1fr; }
  .filter-bar { flex-direction: column; }
  .filter-search { width: 100%; }
  .filter-search input { flex: 1; width: auto; }
  .contact-grid { justify-content: center; }
}
@media (max-width: 480px) {
  .games-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .prize-amount { font-size: 20px; }
}
