/* ==========================================================================
   Goldex Casino — goldex7.de
   Reines HTML/CSS, kein JavaScript
   ========================================================================== */

:root{
  --gold:#e0b13c;
  --gold-light:#f6d878;
  --purple:#6c4fa1;
  --purple-dark:#3c2a63;
  --header-bg:#1a1329;
  --header-bg-2:#241a3d;
  --bg:#ffffff;
  --surface:#f8f6fc;
  --surface-2:#f1ecf9;
  --text:#221c33;
  --text-light:#5b5470;
  --border:#e4dff0;
  --radius:12px;
  --container:1140px;
}

*,*::before,*::after{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;}
body{
  margin:0;
  font-family:"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.6;
  overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block;}
a{color:var(--purple);}
a:hover{color:var(--purple-dark);}

.container{
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  padding-left:1.25rem;
  padding-right:1.25rem;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header{
  background:linear-gradient(135deg,var(--header-bg),var(--header-bg-2));
  position:relative;
  z-index:100;
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  padding:.7rem 0;
  position:relative;
}

.logo{
  display:flex;
  align-items:center;
  flex:0 0 auto;
  text-decoration:none;
}
.logo img{
  height:64px;
  width:auto;
}

.nav-toggle{
  display:none;
}

.burger-btn{
  display:none;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:5px;
  width:42px;
  height:42px;
  cursor:pointer;
  flex:0 0 auto;
  border-radius:8px;
}
.burger-btn span{
  display:block;
  width:22px;
  height:2px;
  background:var(--gold-light);
  border-radius:2px;
}

.header-panel{
  display:flex;
  align-items:center;
  flex:1 1 auto;
  justify-content:flex-end;
}

.site-nav{
  display:flex;
  flex-wrap:wrap;
  gap:1.5rem;
}
.site-nav a{
  color:#f1ecf9;
  text-decoration:none;
  font-weight:600;
  font-size:.95rem;
  white-space:nowrap;
}
.site-nav a:hover{
  color:var(--gold-light);
}

.header-actions{
  display:flex;
  gap:.65rem;
  flex:0 0 auto;
  margin-left:1.75rem;
}

.btn{
  display:inline-block;
  padding:.6rem 1.25rem;
  border-radius:999px;
  font-weight:700;
  font-size:.88rem;
  text-decoration:none;
  border:1.5px solid transparent;
  white-space:nowrap;
  text-align:center;
}
.btn-ghost{
  border-color:var(--gold);
  color:var(--gold-light);
  background:transparent;
}
.btn-ghost:hover{
  background:rgba(224,177,60,.12);
  color:var(--gold-light);
}
.btn-solid{
  background:linear-gradient(135deg,var(--gold-light),var(--gold));
  color:#2a1d0a;
  box-shadow:0 4px 14px rgba(224,177,60,.35);
}
.btn-solid:hover{
  color:#2a1d0a;
  box-shadow:0 6px 18px rgba(224,177,60,.5);
}

.btn-cta{
  background:linear-gradient(135deg,var(--gold-light),var(--gold));
  color:#2a1d0a;
  padding:.85rem 1.9rem;
  font-size:1rem;
  border-radius:999px;
  font-weight:800;
  text-decoration:none;
  display:inline-block;
  box-shadow:0 8px 22px rgba(224,177,60,.4);
}
.btn-cta:hover{
  color:#2a1d0a;
  box-shadow:0 10px 26px rgba(224,177,60,.55);
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */

.breadcrumbs{
  background:var(--surface);
  border-bottom:1px solid var(--border);
}
.breadcrumbs ol{
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  gap:.4rem;
  margin:0;
  padding:.65rem 0;
  font-size:.82rem;
  color:var(--text-light);
}
.breadcrumbs li{
  display:flex;
  align-items:center;
  gap:.4rem;
}
.breadcrumbs li:not(:last-child)::after{
  content:"/";
  color:#c9c1de;
}
.breadcrumbs a{
  color:var(--text-light);
  text-decoration:none;
}
.breadcrumbs a:hover{
  color:var(--purple);
  text-decoration:underline;
}
.breadcrumbs li[aria-current="page"]{
  color:var(--purple-dark);
  font-weight:600;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero{
  background:#0c0912;
  padding:1.5rem 0;
}
.hero-media{
  position:relative;
  width:100%;
}
.hero-img{
  width:100%;
  height:auto;
  border-radius:var(--radius);
}
.hero-text{
  position:absolute;
  top:50%;
  left:4.5%;
  transform:translateY(-50%);
  max-width:40%;
  color:#fdfcff;
}
.hero-kicker{
  margin:0 0 .5rem;
  text-transform:uppercase;
  letter-spacing:.09em;
  font-size:.8rem;
  font-weight:700;
  color:var(--gold-light);
}
.hero-headline{
  margin:0 0 1.4rem;
  font-size:1.7rem;
  line-height:1.28;
  font-weight:800;
  text-shadow:0 2px 12px rgba(0,0,0,.65);
}

/* ==========================================================================
   Main content
   ========================================================================== */

main{
  padding:2.25rem 0 3rem;
}

article h1{
  font-size:1.9rem;
  line-height:1.25;
  margin:0 0 1rem;
  color:var(--text);
}
article h2{
  font-size:1.35rem;
  margin:2.25rem 0 .75rem;
  color:var(--purple-dark);
  padding-top:.25rem;
  border-top:1px solid var(--border);
  padding-top:1.5rem;
}
article section:first-of-type h2{
  border-top:none;
  padding-top:0;
}
article h3{
  font-size:1.1rem;
  margin:1.5rem 0 .5rem;
  color:var(--purple-dark);
}
article p{
  margin:0 0 1rem;
}
article ul,article ol{
  margin:0 0 1rem;
  padding-left:1.4rem;
}
article li{
  margin-bottom:.4rem;
}

/* TOC accordion */
.toc{
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:var(--surface);
  padding:.9rem 1.1rem;
  margin:1.5rem 0 2rem;
}
.toc summary{
  cursor:pointer;
  font-weight:700;
  color:var(--purple-dark);
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
}
.toc summary::-webkit-details-marker{
  display:none;
}
.toc summary::after{
  content:"+";
  font-size:1.3rem;
  font-weight:700;
  color:var(--gold);
  flex:0 0 auto;
}
.toc[open] summary::after{
  content:"\2212";
}
.toc ol{
  margin:.9rem 0 0;
  padding-left:1.25rem;
}
.toc a{
  text-decoration:none;
  color:var(--text-light);
}
.toc a:hover{
  color:var(--purple);
  text-decoration:underline;
}

/* FAQ accordion */
article details{
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:.85rem 1.1rem;
  margin-bottom:.85rem;
  background:var(--surface);
}
article details summary{
  cursor:pointer;
  list-style:none;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:1rem;
}
article details summary::-webkit-details-marker{
  display:none;
}
article details summary::after{
  content:"+";
  font-size:1.3rem;
  color:var(--gold);
  flex:0 0 auto;
}
article details[open] summary::after{
  content:"\2212";
}
article details p{
  margin:.75rem 0 0;
}

/* Tables */
table{
  width:100%;
  border-collapse:collapse;
  margin:0 0 1.25rem;
  font-size:.92rem;
}
table caption{
  text-align:left;
  font-weight:700;
  margin-bottom:.5rem;
  color:var(--purple-dark);
}
th,td{
  padding:.6rem .75rem;
  border:1px solid var(--border);
  text-align:left;
}
thead th{
  background:var(--surface-2);
  color:var(--purple-dark);
}
tbody tr:nth-child(even){
  background:var(--surface);
}

/* Responsive card table for mobile */
@media (max-width:700px){
  table.responsive-table{
    border:none;
  }
  table.responsive-table thead tr{
    position:absolute;
    top:-9999px;
    left:-9999px;
  }
  table.responsive-table,
  table.responsive-table tbody,
  table.responsive-table tr,
  table.responsive-table td{
    display:block;
    width:100%;
  }
  table.responsive-table tr{
    border:1px solid var(--border);
    border-radius:var(--radius);
    margin-bottom:.85rem;
    padding:.4rem .75rem;
    background:var(--surface);
  }
  table.responsive-table td{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:1rem;
    border:none;
    border-bottom:1px solid var(--border);
    padding:.5rem 0;
    text-align:right;
  }
  table.responsive-table td:last-child{
    border-bottom:none;
  }
  table.responsive-table td::before{
    content:attr(data-label);
    font-weight:700;
    color:var(--purple-dark);
    text-align:left;
    margin-right:1rem;
  }
}

aside{
  margin-top:2.5rem;
  padding:1.1rem 1.25rem;
  border-radius:var(--radius);
  background:var(--surface);
  border:1px solid var(--border);
  font-size:.92rem;
  color:var(--text-light);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer{
  background:var(--header-bg);
  color:#cfc8de;
  padding:2.25rem 0 1.5rem;
}
.footer-inner{
  display:flex;
  flex-wrap:wrap;
  gap:2rem;
  justify-content:space-between;
  padding-bottom:1.5rem;
  border-bottom:1px solid rgba(255,255,255,.12);
}
.footer-brand{
  max-width:340px;
}
.footer-brand img{
  height:52px;
  margin-bottom:.85rem;
}
.footer-brand p{
  margin:0;
  font-size:.85rem;
  color:#a89cc4;
}
.footer-nav{
  display:flex;
  flex-direction:column;
  gap:.6rem;
}
.footer-nav a{
  color:#e7e1f3;
  text-decoration:none;
  font-size:.92rem;
  font-weight:600;
}
.footer-nav a:hover{
  color:var(--gold-light);
}
.footer-legal{
  font-size:.78rem;
  color:#8d81a8;
  margin:1.25rem 0 0;
  line-height:1.6;
}

/* ==========================================================================
   Mobile navigation (burger)
   ========================================================================== */

@media (max-width:880px){
  .burger-btn{
    display:flex;
  }
  .header-panel{
    position:absolute;
    top:100%;
    left:0;
    right:0;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    background:var(--header-bg-2);
    max-height:0;
    overflow:hidden;
    transition:max-height .28s ease;
    border-radius:0 0 var(--radius) var(--radius);
    box-shadow:0 12px 24px rgba(0,0,0,.25);
  }
  .nav-toggle:checked ~ .header-panel{
    max-height:20rem;
  }
  .site-nav{
    flex-direction:column;
    gap:0;
    padding:.5rem 1.25rem;
  }
  .site-nav a{
    padding:.7rem 0;
    border-bottom:1px solid rgba(255,255,255,.08);
  }
  .header-actions{
    margin-left:0;
  }
}

/* Compact header on narrow phones so logo + both buttons + burger fit in one row */
@media (max-width:480px){
  .header-inner{
    gap:.5rem;
  }
  .logo img{
    height:38px;
  }
  .header-actions{
    gap:.4rem;
  }
  .header-actions .btn{
    padding:.5rem .7rem;
    font-size:.72rem;
  }
  .burger-btn{
    width:36px;
    height:36px;
  }
}

/* ==========================================================================
   Hero — mobile: image on top, text flows below, never cropped
   ========================================================================== */

@media (max-width:880px){
  .hero{
    padding:1.25rem 0;
  }
  .hero-media{
    position:static;
  }
  .hero-text{
    position:static;
    transform:none;
    max-width:100%;
    margin-top:1.25rem;
  }
  .hero-headline{
    font-size:1.4rem;
  }
}

/* ==========================================================================
   General responsive tweaks
   ========================================================================== */

@media (max-width:600px){
  .container{
    padding-left:1rem;
    padding-right:1rem;
  }
  article h1{
    font-size:1.55rem;
  }
  article h2{
    font-size:1.2rem;
  }
  .hero-headline{
    font-size:1.25rem;
  }
  .footer-inner{
    flex-direction:column;
    gap:1.5rem;
  }
}
