:root{
  --bg:#0b0710;
  --bg-2:#120913;
  --panel:#17111b;
  --panel-2:#211822;
  --bordo:#551926;
  --bordo-2:#7c2333;
  --gold:#d7a748;
  --gold-2:#f0c66d;
  --text:#f5f2ec;
  --muted:#c0b6ab;
  --line:rgba(255,255,255,.08);
  --ok:#3f7d35;
  --shadow:0 18px 40px rgba(0,0,0,.35);
  --radius:22px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.rb-body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at top left, rgba(215,167,72,.08), transparent 24%),
    linear-gradient(180deg, #09070b 0%, #110a12 100%);
}

a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}

.rb-wrap{
  width:min(calc(100% - 32px), 1440px);
  margin:0 auto;
}

/* ===== HEADER ===== */
.rb-header{
  position:sticky;
  top:0;
  z-index:40;
  backdrop-filter:blur(10px);
  background:rgba(10,8,12,.92);
  border-bottom:1px solid var(--line);
}

.rb-header-inner{
  min-height:88px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  position:relative;
}

.rb-brand{
  display:flex;
  align-items:center;
  min-width:0;
}

.rb-brand-logo{
  width:210px;
  max-height:64px;
  object-fit:contain;
}

.rb-header-panel{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  flex:1;
}

.rb-nav{
  display:flex;
  gap:26px;
  flex-wrap:wrap;
  justify-content:center;
  width:100%;
}

.rb-nav a{
  font-weight:800;
  color:#e8dfd3;
  padding:8px 0;
  position:relative;
}

.rb-nav a.is-active,
.rb-nav a:hover{
  color:var(--gold-2);
}

.rb-nav a.is-active::after,
.rb-nav a:hover::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-10px;
  height:3px;
  border-radius:99px;
  background:linear-gradient(90deg,var(--gold),var(--gold-2));
}

.rb-userbox{
  display:flex;
  align-items:center;
  gap:12px;
}

.rb-userchip{
  display:flex;
  flex-direction:column;
  padding:10px 14px;
  border-radius:16px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  min-width:170px;
}

.rb-userchip-name{
  font-weight:800;
  font-size:14px;
}

.rb-userchip-balance{
  color:var(--gold-2);
  font-size:13px;
  margin-top:3px;
}

.rb-btn{
  white-space: nowrap;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:16px;
  padding:13px 18px;
  font-weight:900;
  font-size:14px;
  border:1px solid transparent;
  cursor:pointer;
}

.rb-btn-gold{
  background:linear-gradient(135deg,var(--gold),var(--gold-2));
  color:#1a1307;
  box-shadow:0 12px 24px rgba(215,167,72,.18);
}

.rb-btn-outline{
  background:transparent;
  border-color:rgba(255,255,255,.14);
  color:#fff;
}

.rb-menu-toggle{
  display:none;
  width:52px;
  height:52px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  cursor:pointer;
  padding:0;
  position:relative;
}

.rb-menu-toggle span{
  position:absolute;
  left:13px;
  right:13px;
  height:3px;
  border-radius:999px;
  background:#f4eadb;
  transition:.25s ease;
}

.rb-menu-toggle span:nth-child(1){ top:16px; }
.rb-menu-toggle span:nth-child(2){ top:24px; }
.rb-menu-toggle span:nth-child(3){ top:32px; }

.rb-menu-toggle.is-open span:nth-child(1){
  transform:translateY(8px) rotate(45deg);
}
.rb-menu-toggle.is-open span:nth-child(2){
  opacity:0;
}
.rb-menu-toggle.is-open span:nth-child(3){
  transform:translateY(-8px) rotate(-45deg);
}

/* ===== GENERAL ===== */
.rb-main{
  padding:26px 0 40px;
}

.rb-section{
  padding-top:28px;
}

.rb-section-head{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:16px;
  margin-bottom:18px;
}

.rb-section-head h2{
  margin:0 0 8px;
  font-size:34px;
}

.rb-section-head p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
}

.rb-grid-4{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.rb-card-link,
.rb-panel,
.rb-empty{
  border-radius:24px;
  border:1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(145deg, rgba(124,35,51,.18), rgba(255,255,255,.02)),
    linear-gradient(160deg, #151017, #100c13);
  box-shadow:var(--shadow);
}

.rb-card-link{
  padding:24px;
  min-height:190px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
}

.rb-card-link h3{
  margin:0 0 8px;
  font-size:32px;
}

.rb-card-link p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
}

.rb-panel,
.rb-empty{
  padding:22px;
}

.rb-panel h3,
.rb-empty h3{
  margin:0 0 10px;
  font-size:28px;
}

.rb-panel p,
.rb-empty p{
  margin:0;
  color:var(--muted);
  line-height:1.7;
}

/* ===== HOME ===== */
.rb-home-hero{
  min-height:460px;
  border-radius:32px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:var(--shadow);
  background:
    linear-gradient(120deg, rgba(85,25,38,.92), rgba(15,10,15,.82)),
    linear-gradient(145deg,#2a1017,#0f0b10);
  margin-bottom:6px;
}

.rb-home-hero-overlay{
  min-height:460px;
  display:flex;
  align-items:center;
  padding:54px;
  background:linear-gradient(90deg, rgba(10,8,12,.45), rgba(10,8,12,.12));
}

.rb-home-hero-copy{
  max-width:760px;
}

.rb-eyebrow{
  color:var(--gold-2);
  letter-spacing:2px;
  font-size:12px;
  font-weight:900;
  margin-bottom:18px;
  text-transform:uppercase;
}

.rb-home-title{
  margin:0 0 16px;
  font-size:58px;
  line-height:1.03;
}

.rb-home-text{
  margin:0 0 24px;
  font-size:20px;
  line-height:1.7;
  color:#eadfd1;
  max-width:680px;
}

.rb-home-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

/* ===== MINI HERO ===== */
.rb-minihero{
  border-radius:28px;
  border:1px solid rgba(255,255,255,.08);
  min-height:190px;
  overflow:hidden;
  box-shadow:var(--shadow);
  background:
    linear-gradient(120deg, rgba(85,25,38,.90), rgba(17,12,18,.85)),
    linear-gradient(160deg,#2c0f16,#0e0b10);
  margin-bottom:20px;
  display:grid;
  align-items:center;
}

.rb-minihero-inner{
  padding:28px 34px;
}

.rb-minihero h1{
  margin:0 0 10px;
  font-size:40px;
}

.rb-minihero p{
  margin:0;
  max-width:760px;
  color:#ebdfd1;
  line-height:1.7;
}

/* ===== GAMES ===== */
.rb-games{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:18px;
}

.rb-game{
  overflow:hidden;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(160deg,#140f15,#0f0b11);
  box-shadow:var(--shadow);
}

.rb-game-thumb{
  aspect-ratio:16/11;
  background:
    linear-gradient(135deg, rgba(240,198,109,.10), rgba(255,255,255,.02)),
    #120d12;
  overflow:hidden;
}

.rb-game-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.rb-thumb-fallback{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  color:#f4eadb;
  font-weight:900;
  text-align:center;
  padding:16px;
  background:
    linear-gradient(135deg, rgba(240,198,109,.14), rgba(124,35,51,.20)),
    #150f13;
}

.rb-game-body{
  padding:14px 14px 16px;
}

.rb-game-provider{
  color:var(--gold-2);
  font-size:13px;
  margin-bottom:14px;
  text-transform:uppercase;
  letter-spacing:.3px;
}

.rb-game-title{
  margin:0 0 6px;
  font-size:20px;
  min-height:48px;
}

.rb-game .rb-btn{
  width:100%;
}

.rb-game-topline{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}

.rb-fav-form{
  margin:0;
}

.rb-fav-btn{
  width:36px;
  height:36px;
  border:none;
  border-radius:12px;
  cursor:pointer;
  font-size:18px;
  font-weight:900;
  background:rgba(255,255,255,.06);
  color:#f5e7c3;
  border:1px solid rgba(255,255,255,.08);
}

.rb-fav-btn.is-active{
  background:linear-gradient(135deg,var(--gold),var(--gold-2));
  color:#1a1207;
}

/* ===== SLOTS PRO ===== */
.rb-slots-tabs{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.rb-tab{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 20px;
  border-radius:16px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  font-weight:900;
  color:#f1e6d8;
  min-width:140px;
}

.rb-tab.is-active,
.rb-tab:hover{
  background:linear-gradient(135deg,var(--gold),var(--gold-2));
  color:#1d1407;
}

.rb-provider-scroll{
  display:flex;
  gap:10px;
  overflow-x:auto;
  padding-bottom:10px;
  flex-wrap:nowrap;
  scrollbar-width:thin;
}

.rb-provider-scroll::-webkit-scrollbar{
  height:8px;
}

.rb-provider-scroll::-webkit-scrollbar-thumb{
  background:rgba(255,255,255,.18);
  border-radius:999px;
}

.rb-provider{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:52px;
    padding:0 20px;
    border-radius:999px;
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.08);
    color:#f1e6d8;
    font-weight:800;
    white-space:nowrap;
    transition:.2s ease;
  }

 .rb-provider:hover,
 .rb-provider.is-active{
    background:linear-gradient(135deg,var(--gold),var(--gold-2));
    color:#1d1407;
    border-color:transparent;
  }

.rb-search{
  min-width:300px;
  max-width:420px;
  width:100%;
}

.rb-search input{
  width:100%;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background:#120d13;
  color:#fff;
  padding:14px 16px;
  font-size:15px;
  outline:none;
}

.rb-search input:focus{
  border-color:rgba(240,198,109,.55);
  box-shadow:0 0 0 4px rgba(240,198,109,.10);
}

/* ===== FOOTER ===== */
.rb-footer{
  border-top:1px solid rgba(255,255,255,.08);
  padding:26px 0 40px;
  margin-top:36px;
}

.rb-footer-inner{
  display:flex;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
}

.rb-footer p{
  margin:8px 0 0;
  color:var(--muted);
}

.rb-footer-links{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
}

/* ===== MOBILE BOTTOM NAV ===== */
.rb-mobile-bottom-nav{
  display:none;
}

.rb-mobile-bottom-icon{
  font-size:18px;
  margin-bottom:3px;
}

.rb-mobile-bottom-logo{
  flex:0 0 auto !important;
}

.rb-mobile-bottom-logo img{
  width:42px;
  height:auto;
}

/* ===== DESKTOP ===== */
@media (min-width:769px){
  .rb-menu-toggle{
    display:none !important;
  }

  .rb-header-panel{
    display:flex !important;
    position:static !important;
    background:none !important;
    border:none !important;
    box-shadow:none !important;
    padding:0 !important;
    border-radius:0 !important;
    flex:1;
    align-items:center;
    justify-content:space-between;
    gap:20px;
  }

  .rb-nav{
    display:flex;
    gap:26px;
    flex-wrap:wrap;
    justify-content:center;
    width:100%;
  }

  .rb-userbox{
    width:auto !important;
    margin-top:0 !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:flex-end !important;
  }
}

/* ===== TABLET / NOTEBOOK ===== */
@media (max-width:1280px){
  .rb-games{grid-template-columns:repeat(4,1fr)}
  .rb-grid-4{grid-template-columns:repeat(2,1fr)}
}

@media (max-width:920px){
  .rb-games{grid-template-columns:repeat(3,1fr)}

  .rb-home-hero-overlay{
    padding:30px;
    min-height:360px;
  }

  .rb-home-title{
    font-size:40px;
  }

  .rb-home-text{
    font-size:17px;
  }
}

/* ===== MOBILE ===== */
@media (max-width:768px){
  .rb-header{
    position:sticky;
    top:0;
  }

  .rb-header-inner{
    min-height:auto;
    padding:14px 0;
    align-items:center;
    justify-content:space-between;
    flex-wrap:nowrap;
  }

  .rb-brand-logo{
    width:180px;
    max-height:54px;
  }

  .rb-menu-toggle{
    display:block;
    flex:0 0 auto;
  }

  .rb-header-panel{
    display:none;
    position:absolute;
    top:calc(100% + 8px);
    left:0;
    right:0;
    z-index:120;
    padding:16px 14px 18px;
    background:rgba(9,8,12,.98);
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    box-shadow:0 18px 30px rgba(0,0,0,.35);
    flex-direction:column;
    align-items:stretch;
  }

  .rb-header-panel.is-open{
    display:flex !important;
  }

  .rb-nav{
    width:100%;
    display:flex;
    flex-direction:column;
    gap:0;
  }

  .rb-nav a{
    padding:14px 4px;
    border-bottom:1px solid rgba(255,255,255,.06);
  }

  .rb-nav a.is-active::after,
  .rb-nav a:hover::after{
    display:none;
  }

  .rb-userbox{
    width:100%;
    margin-top:14px;
    justify-content:stretch;
    flex-direction:column;
    align-items:stretch;
  }

  .rb-userchip{
    min-width:0;
  }

  .rb-userbox .rb-btn{
    width: auto !important;
    min-width: 160px;
    white-space: nowrap;
  }

  .rb-provider-scroll{
    display:flex;
    gap:12px;
    overflow-x:auto;
    padding-bottom:10px;
    flex-wrap:nowrap;
    scrollbar-width:thin;
  }

  .rb-home-hero{
    min-height:auto;
  }

  .rb-home-hero-overlay{
    min-height:auto;
    padding:28px 22px;
  }

  .rb-home-title{
    font-size:34px;
    line-height:1.08;
  }

  .rb-home-text{
    font-size:17px;
    line-height:1.6;
  }

  .rb-minihero{
    min-height:auto;
  }

  .rb-minihero-inner{
    padding:24px 20px;
  }

  .rb-minihero h1{
    font-size:30px;
  }

  .rb-grid-4{
    grid-template-columns:1fr;
  }

  .rb-games{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
  }

  .rb-game-title{
    font-size:17px;
    min-height:40px;
  }

  .rb-game-body{
    padding:12px;
  }

  .rb-btn{
    padding:12px 16px;
  }

  .rb-slots-tabs{
    flex-wrap:nowrap;
    overflow-x:auto;
    padding-bottom:8px;
  }

  .rb-tab{
    flex:0 0 auto;
    min-width:150px;
    white-space:nowrap;
  }

  .rb-search{
    min-width:100%;
    max-width:none;
  }

  .rb-section-head{
    flex-direction:column;
    align-items:flex-start;
  }

  .rb-footer{
    padding-bottom:86px;
  }

  .rb-mobile-bottom-nav{
    position:fixed;
    left:10px;
    right:10px;
    bottom:10px;
    z-index:60;
    display:flex;
    justify-content:space-around;
    align-items:center;
    gap:8px;
    padding:10px;
    border-radius:20px;
    background:rgba(12,10,14,.96);
    border:1px solid rgba(255,255,255,.08);
    box-shadow:0 20px 35px rgba(0,0,0,.35);
    backdrop-filter:blur(10px);
  }

  .rb-mobile-bottom-nav a{
    flex:1;
    min-height:48px;
    border-radius:14px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    font-size:12px;
    font-weight:800;
    color:#f2e6d5;
    padding:8px 6px;
    line-height:1.2;
    background:rgba(255,255,255,.04);
  }

  .rb-mobile-bottom-nav a.is-active{
    background:linear-gradient(135deg,var(--gold),var(--gold-2));
    color:#1a1207;
  }

  body.rb-body{
    padding-bottom:80px;
  }
}

/* ===== MOBILE CHICO ===== */
@media (max-width:430px){
  .rb-wrap{
    width:min(calc(100% - 16px), 1440px);
  }

  .rb-brand-logo{
    width:150px;
    max-height:46px;
  }

  .rb-home-title{
    font-size:28px;
  }

  .rb-home-actions{
    flex-direction:column;
  }

  .rb-home-actions .rb-btn{
    width:100%;
  }

  .rb-game-provider{
    font-size:11px;
  }

  .rb-game-title{
    font-size:15px;
  }

  .rb-thumb-fallback{
    font-size:13px;
  }
}
