/* Rivo Casino GERMANY — content/BP.
   Layout #2 REUSED across a different market (different language + fully different copy).
   Visual variation vs demo45 so the pair doesn't read as one template:
   - sidebar moves to the LEFT
   - hero card sits on the LEFT, text on the RIGHT (mirrored)
   - TOC bar is underlined-tabs instead of pills
   - section headings get a left rule instead of a bottom border */
:root{
  --ink:#011918;
  --ink2:#03231f;
  --green:#135026;
  --green2:#1f7430;
  --green3:#248234;
  --cream:#fff6ef;
  --cream2:#e9d3ab;
  --gold1:#e6c073;
  --gold2:#c9973f;
  --line:rgba(233,211,171,.16);
  --card:#062a24;
  --radius:12px;
  --wrap:1180px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  background:var(--ink);color:#dce8e0;
  font:400 16.5px/1.7 Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;overflow-x:hidden;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 20px}
h1,h2,h3,h4{font-family:Cinzel,Georgia,serif;color:var(--cream);line-height:1.2}
.skip{position:absolute;left:-9999px}
.skip:focus{left:12px;top:12px;background:var(--gold1);color:#1a1206;padding:10px 16px;border-radius:8px;z-index:99}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:12px 22px;border-radius:9px;font-weight:700;font-size:15px;
  border:1px solid transparent;transition:transform .15s,box-shadow .15s,filter .15s;
  white-space:nowrap;cursor:pointer;
}
.btn:hover{transform:translateY(-1px)}
.btn-gold{
  background:linear-gradient(180deg,#f0d493,var(--gold2));color:#241703;
  box-shadow:0 6px 18px rgba(201,151,63,.26);border-color:rgba(255,246,239,.3);
}
.btn-gold:hover{filter:brightness(1.06)}
.btn-sm{padding:9px 16px;font-size:14px}
.btn-full{width:100%}
.btn-xl{padding:16px 38px;font-size:17px}

/* ---------- doc header (different from operator's) ---------- */
.dhdr{position:sticky;top:0;z-index:50;background:rgba(1,25,24,.94);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.dhdr-in{max-width:var(--wrap);margin:0 auto;padding:10px 20px;display:flex;align-items:center;gap:20px}
.brand img{height:42px;width:auto}
.dnav{display:flex;gap:22px;flex:1;margin-left:8px}
.dnav a{font-size:14.5px;font-weight:600;color:#b7cbbe;padding:4px 0;border-bottom:2px solid transparent;transition:.15s}
.dnav a:hover{color:var(--cream);border-bottom-color:var(--gold1)}

/* ---------- compact split hero ---------- */
.dhero{
  position:relative;border-bottom:1px solid var(--line);overflow:hidden;
  background:#03231f;
}
.dhero::before{
  content:"";position:absolute;inset:0;
  background:url("/assets/img/hero-bg.jpg") center/cover no-repeat;
  opacity:.5;
}
.dhero::after{   /* readability scrim, heavier on the text side */
  content:"";position:absolute;inset:0;
  background:linear-gradient(270deg,rgba(1,25,24,.94) 0%,rgba(1,25,24,.8) 45%,rgba(1,25,24,.55) 100%),
             linear-gradient(180deg,rgba(1,25,24,.35),rgba(1,25,24,.7));
}
.dhero-in{position:relative;z-index:2;display:grid;grid-template-columns:.85fr 1.25fr;gap:36px;align-items:center;padding:40px 20px 44px}
.dhero-txt{order:2}
.dcard{order:1}
.dbadge{
  display:inline-block;font-size:11.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  color:var(--cream2);border:1px solid var(--line);background:rgba(1,25,24,.6);
  padding:6px 13px;border-radius:99px;margin-bottom:14px;
}
.dhero h1{font-size:clamp(27px,3.6vw,42px);margin-bottom:14px}
.dlead{color:#b9cdc0;font-size:16.5px;max-width:56ch}
.dhero-cta{display:flex;align-items:center;gap:14px;margin-top:20px;flex-wrap:wrap}
.dhero-note{font-size:12.5px;color:#8fa697}
.dcard{
  background:linear-gradient(160deg,#0a3329,#062a24);
  border:1px solid var(--line);border-radius:16px;padding:18px;
  box-shadow:0 18px 44px rgba(0,0,0,.4);
}
.dcard img{width:100%;height:auto;margin-bottom:8px;filter:drop-shadow(0 10px 24px rgba(0,0,0,.5))}

/* fact list (shared by hero card + sidebar) */
.dfacts{list-style:none;margin:0 0 14px}
.dfacts li{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px dashed var(--line);font-size:14px}
.dfacts li:last-child{border-bottom:0}
.dfacts span{color:#8fa697}
.dfacts strong{color:var(--cream);font-weight:700}

/* ---------- sticky TOC ---------- */
.toc{position:sticky;top:62px;z-index:40;background:rgba(3,35,31,.96);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.toc-in{display:flex;align-items:center;gap:8px;padding:10px 20px;overflow-x:auto;-webkit-overflow-scrolling:touch}
.toc-in::-webkit-scrollbar{display:none}
.toc-h{
  font-family:Cinzel,serif;font-size:11px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;
  color:#241703;background:linear-gradient(180deg,#f0d493,var(--gold2));
  padding:5px 11px;border-radius:99px;flex:0 0 auto;
}
.toc a{
  flex:0 0 auto;font-size:13.5px;font-weight:600;color:#b7cbbe;
  padding:8px 4px;border-bottom:2px solid transparent;transition:.15s;
}
.toc a:hover{color:var(--cream);border-bottom-color:var(--gold1)}

/* ---------- article + sidebar ---------- */
.dgrid{display:grid;grid-template-columns:300px minmax(0,1fr);gap:38px;padding:40px 20px 56px;align-items:start}
.dbody{order:2}
.dside{order:1}
.dbody section{margin-bottom:40px;scroll-margin-top:120px}
.dbody h2{font-size:clamp(21px,2.6vw,27px);margin-bottom:12px;padding-left:13px;border-left:4px solid var(--gold2)}
.dbody h3{font-size:18px;margin:22px 0 8px;color:var(--cream2)}
.dbody p{margin-bottom:12px;color:#b9cdc0}
.dbody strong{color:var(--cream)}
.dnote{font-size:13.5px;color:#8fa697;border-left:2px solid var(--gold2);padding-left:12px}
.dlist{list-style:none;margin:0 0 12px}
.dlist li{padding:8px 0 8px 22px;position:relative;color:#b9cdc0}
.dlist li::before{content:"◆";position:absolute;left:0;color:var(--gold1);font-size:11px;top:12px}

/* tables (a component the operator site doesn't have) */
.dtable-wrap{overflow-x:auto;margin:16px 0;border:1px solid var(--line);border-radius:var(--radius)}
.dtable{width:100%;border-collapse:collapse;font-size:14.5px;min-width:460px}
.dtable caption{text-align:left;padding:12px 14px;color:#8fa697;font-size:13px;border-bottom:1px solid var(--line)}
.dtable th{
  text-align:left;padding:11px 14px;background:rgba(36,130,52,.16);
  color:var(--cream);font-family:Cinzel,serif;font-size:13px;font-weight:700;letter-spacing:.04em;
  border-bottom:1px solid var(--line);
}
.dtable td{padding:11px 14px;border-bottom:1px solid rgba(233,211,171,.08);color:#b9cdc0}
.dtable tbody tr:last-child td{border-bottom:0}
.dtable tbody tr:hover{background:rgba(255,246,239,.03)}

/* game strips (denser than the operator's grid) */
.dgames{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:16px 0}
.dgame{border:1px solid var(--line);border-radius:10px;overflow:hidden;background:var(--card);transition:.18s}
.dgame:hover{transform:translateY(-3px);border-color:var(--gold1)}
.dgame-i{
  height:132px;display:flex!important;align-items:center;justify-content:center;
  background:radial-gradient(120% 100% at 50% 0%,#0a3a2e,#052620);padding:8px;
}
.dgame-i img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;
  filter:drop-shadow(0 6px 14px rgba(0,0,0,.5))}
.dgame>span:last-child{display:block;padding:8px 9px;font-size:12px;font-weight:700;color:var(--cream);line-height:1.3}
.dgame em{display:block;font-style:normal;font-weight:400;color:#8fa697;font-size:11px;margin-top:2px}
.dlive{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:16px 0}
.dlv{border:1px solid var(--line);border-radius:10px;overflow:hidden;background:var(--card);transition:.18s}
.dlv:hover{transform:translateY(-3px);border-color:var(--gold1)}
.dlv-i{display:block;height:150px;overflow:hidden;background:#04231e}
.dlv-i img{width:100%;height:100%;object-fit:cover;object-position:center 22%;display:block}
.dlv>span:last-child{display:block;padding:8px 10px;font-size:12.5px;font-weight:700;color:var(--cream);line-height:1.3}
.dlv em{display:block;font-style:normal;font-weight:400;color:#8fa697;font-size:11px;margin-top:1px}

/* providers panel (reused, blended) */
.prov-frame{
  position:relative;border:1px solid var(--line);border-radius:14px;
  background:radial-gradient(120% 120% at 50% 0%,rgba(36,130,52,.12),transparent 65%),#04231e;
  padding:8px;overflow:hidden;margin-top:14px;
}
.prov-frame img{width:100%;height:auto;border-radius:8px;mix-blend-mode:screen;opacity:.94}
.prov-frame::after{content:"";position:absolute;inset:0;pointer-events:none;border-radius:14px;box-shadow:inset 0 0 40px 12px #04231e}

/* faq */
.faq{border:1px solid var(--line);border-radius:10px;background:var(--card);padding:13px 16px;margin-bottom:9px}
.faq summary{cursor:pointer;font-weight:700;color:var(--cream);font-size:15.5px;list-style:none;display:flex;justify-content:space-between;gap:12px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--gold1);font-weight:800;font-size:19px;line-height:1}
.faq[open] summary::after{content:"–"}
.faq p{margin:11px 0 2px;color:#a9bfb1;font-size:14.5px}

/* ---------- sidebar ---------- */
.dside{position:sticky;top:118px;display:flex;flex-direction:column;gap:14px}
.dwidget{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:16px}
.dw-h{display:block;font-family:Cinzel,serif;font-size:11.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#8fa697;margin-bottom:10px}
.dwidget-cta{background:linear-gradient(160deg,#0d3b2c,#072b23);border-color:rgba(233,211,171,.3);text-align:center}
.dw-big{
  display:block;font-family:Cinzel,serif;font-size:44px;font-weight:900;line-height:1;
  background:linear-gradient(180deg,#fff6ef,#e6c073 60%,#c9973f);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.dw-sub{display:block;color:#b9cdc0;font-size:13.5px;margin:6px 0 14px}
.dw-note{display:block;font-size:11.5px;color:#8fa697;margin-top:9px}
.dchips{display:flex;flex-wrap:wrap;gap:6px}
.dchips span{font-size:11.5px;font-weight:600;color:#a9bfb1;background:rgba(255,246,239,.05);border:1px solid var(--line);padding:6px 10px;border-radius:6px}
.dchips span:has(img){display:inline-flex;align-items:center;padding:7px 11px}
.dchips span img{height:17px;width:auto;max-width:66px;display:block;opacity:.95}

/* ---------- cta band + footer ---------- */
.cta-band{padding:48px 0;text-align:center;background:linear-gradient(135deg,#135026,#248234 60%,#1f7430);border-top:1px solid rgba(233,211,171,.25)}
.cta-band h2{font-size:clamp(23px,3.2vw,32px);color:#fff6ef}
.cta-band p{color:#dff0e2;margin:9px 0 20px}
.ftr{background:#010f0e;padding:40px 0 110px;border-top:1px solid var(--line)}
.ftr-cols{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;padding-bottom:22px}
.ftr-cols h4{font-size:13.5px;margin-bottom:11px;color:var(--cream)}
.ftr-cols a{display:block;color:#8fa697;font-size:13.5px;padding:4px 0;transition:.15s}
.ftr-cols a:hover{color:var(--cream2)}
.ftr-legal{border-top:1px solid var(--line);padding-top:20px;display:flex;gap:14px;align-items:flex-start;flex-wrap:wrap}
.age{flex:0 0 auto;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;border:2px solid #d05b5b;color:#e88585;font-weight:800;font-size:12.5px}
.ftr-legal p{color:#7e9488;font-size:12.5px;flex:1;min-width:260px}
.cp{flex-basis:100%;margin-top:8px;color:#5f7268}

/* ---------- sticky mobile CTA ---------- */
.sticky{
  display:none;position:fixed;left:12px;right:12px;bottom:12px;z-index:60;text-align:center;
  padding:14px;border-radius:11px;font-weight:800;font-size:14.5px;
  background:linear-gradient(180deg,#f0d493,var(--gold2));color:#241703;box-shadow:0 8px 26px rgba(0,0,0,.5);
}

/* ---------- responsive ---------- */
@media(max-width:1040px){
  .dgrid{grid-template-columns:1fr;gap:28px}
  .dbody{order:1}
  .dside{order:2}
  .dside{position:static;flex-direction:row;flex-wrap:wrap}
  .dwidget{flex:1;min-width:240px}
  .dnav{display:none}
  .dgames{grid-template-columns:repeat(4,1fr)}
}
@media(max-width:820px){
  .dhero-in{grid-template-columns:1fr;gap:24px;padding:26px 20px 32px}
  .dhero-txt{order:1}
  .dcard{order:2}
  .dcard{max-width:420px;margin:0 auto}
}
@media(max-width:640px){
  .brand img{height:34px}
  .dhero h1{font-size:23px}
  .dlead{font-size:15px}
  .toc{top:56px}
  .dgames{grid-template-columns:repeat(3,1fr);gap:8px}
  .dlive{grid-template-columns:repeat(2,1fr)}
  .ftr-cols{grid-template-columns:repeat(2,1fr)}
  .ftr{padding-bottom:100px}
  .sticky{display:block}
  .dside{flex-direction:column}
  .dwidget{min-width:0}
}
@media(prefers-reduced-motion:reduce){
  *{transition:none!important;animation:none!important}
  html{scroll-behavior:auto}
}
/* payment logo strip */
.pay-strip{display:flex;flex-wrap:wrap;align-items:center;gap:13px;margin:14px 0 6px}
.pay-strip img{height:22px;width:auto;max-width:78px;display:block;opacity:.95}
@media(max-width:640px){.pay-strip img{height:18px;max-width:62px}}
