:root{
  --bg:#fff8f2;
  --bg2:#f7ece6;
  --surface:#ffffff;
  --surface2:#fff1e9;
  --ink:#2b1930;
  --muted:#755f76;
  --plum:#4b204d;
  --plum2:#672c60;
  --coral:#ef6b5b;
  --coral2:#d95246;
  --teal:#148f83;
  --teal2:#0d756d;
  --line:#ead8df;
  --max:1180px;
  --radius:20px;
  --shadow:0 16px 44px rgba(74,32,77,.10);
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  background:linear-gradient(180deg,#fffaf6 0%,#fff5ef 45%,#fbefe9 100%);
  color:var(--muted);
  font-family:Inter,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  line-height:1.68;
}

a{
  color:inherit;
  text-decoration:none;
}

img{
  max-width:100%;
  display:block;
}

.container{
  width:min(var(--max),calc(100% - 32px));
  margin:auto;
}


/* =========================================
   GLOBAL HEADER
   ========================================= */

header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,250,246,.96);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(12px);
}


/* =========================================
   HOMEPAGE HEADER
   ========================================= */

header > .container.nav{
  min-height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}

.brand{
  display:flex;
  align-items:center;
  gap:11px;
  min-width:0;
}

.brand img{
  width:46px;
  height:46px;
  object-fit:contain;
  flex:0 0 46px;
}

.brand span{
  font-size:20px;
  line-height:1.1;
  font-weight:950;
  color:var(--plum);
  white-space:nowrap;
  letter-spacing:-.02em;
}

header nav{
  display:flex;
  align-items:center;
  gap:20px;
  font-size:14px;
  font-weight:850;
}

header nav a{
  color:#59435d;
  padding:10px 0;
  white-space:nowrap;
  position:relative;
}

header nav a:after{
  content:"";
  position:absolute;
  left:0;
  right:100%;
  bottom:2px;
  height:2px;
  background:var(--coral);
  transition:.2s;
}

header nav a:hover{
  color:var(--plum);
}

header nav a:hover:after{
  right:0;
}


/* =========================================
   BREADCRUMBS
   ========================================= */

.breadcrumbs{
  padding:13px 0;
  font-size:13px;
  color:#8a7189;
}

.breadcrumbs a{
  color:var(--plum);
  font-weight:700;
}


/* =========================================
   HERO
   ========================================= */

.hero{
  padding:54px 0 42px;
  background:linear-gradient(135deg,#4b204d 0%,#5d2858 58%,#7b3a65 100%);
  position:relative;
  overflow:hidden;
}

.hero:before{
  content:"";
  position:absolute;
  width:380px;
  height:380px;
  border-radius:50%;
  right:-110px;
  top:-180px;
  background:rgba(239,107,91,.22);
}

.hero:after{
  content:"";
  position:absolute;
  width:260px;
  height:260px;
  border-radius:50%;
  right:180px;
  bottom:-190px;
  background:rgba(255,255,255,.06);
}

.hero .container{
  position:relative;
  z-index:1;
}

.eyebrow{
  display:inline-block;
  color:#ffd7ca;
  background:rgba(255,255,255,.09);
  border:1px solid rgba(255,255,255,.15);
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.hero h1{
  color:#fff;
  font-size:clamp(38px,6vw,66px);
  line-height:1.03;
  letter-spacing:-.045em;
  margin:14px 0 16px;
  max-width:1050px;
}

.hero-copy{
  font-size:18px;
  max-width:900px;
  color:#f5e8f4;
}

.author{
  font-size:14px;
  margin-top:18px;
  color:#ead8e8;
}

.author strong{
  color:#fff!important;
}


/* =========================================
   INTRO
   ========================================= */

.intro-toggle{
  margin-top:16px;
  border:0;
  border-radius:13px;
  background:var(--coral);
  color:#fff;
  padding:13px 19px;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 10px 22px rgba(0,0,0,.16);
}

.intro-toggle:hover{
  background:var(--coral2);
  transform:translateY(-1px);
}

.intro{
  display:none;
  max-width:1000px;
  margin-top:18px;
  color:#f7edf5;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.12);
  border-radius:16px;
  padding:16px 18px;
}

.intro.open{
  display:block;
}


/* =========================================
   GENERAL SECTIONS
   ========================================= */

.section{
  padding:46px 0;
}

.section.alt{
  background:linear-gradient(180deg,#fff7f1,#f8ebe7);
  border-top:1px solid #f0dedb;
  border-bottom:1px solid #f0dedb;
}

h2,
h3{
  color:var(--ink);
  line-height:1.2;
}

h2{
  font-size:clamp(28px,4vw,40px);
  margin:0 0 20px;
  letter-spacing:-.025em;
}

h3{
  font-size:21px;
  margin:1.55rem 0 .55rem;
}

.lead{
  font-size:17px;
  max-width:980px;
}


/* =========================================
   CASINO LIST
   ========================================= */

.casino-list{
  display:grid;
  gap:14px;
}

.casino-card{
  display:grid;
  grid-template-columns:
    48px
    96px
    minmax(150px,.9fr)
    minmax(220px,1.25fr)
    95px
    minmax(180px,1fr)
    138px;
  gap:14px;
  align-items:center;
  background:var(--surface);
  border:1px solid #ead5df;
  border-radius:18px;
  padding:15px 16px;
  box-shadow:var(--shadow);
  position:relative;
  overflow:hidden;
}

.casino-card:before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:5px;
  background:linear-gradient(180deg,var(--coral),#f0a15d);
}

.rank{
  width:42px;
  height:42px;
  border-radius:12px;
  background:var(--plum);
  color:#fff;
  display:grid;
  place-items:center;
  font-weight:950;
  box-shadow:0 8px 16px rgba(75,32,77,.16);
}

.casino-logo{
  width:92px;
  height:58px;
  border-radius:12px;
  border:1px solid #6b4a68;
  background:linear-gradient(145deg,#493449,#352637);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:8px;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.04),
    0 5px 14px rgba(43,25,48,.10);
}

.casino-logo img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  filter:drop-shadow(0 1px 2px rgba(0,0,0,.30));
}

.casino-name{
  min-width:0;
}

.casino-name strong{
  display:block;
  color:var(--ink);
  font-weight:950;
  font-size:17px;
}

.casino-name small,
.bonus small,
.payments small{
  display:block;
  color:#9a8197;
  text-transform:uppercase;
  font-weight:850;
  font-size:10px;
  letter-spacing:.05em;
}

.bonus strong{
  display:block;
  color:var(--plum2);
  font-size:15px;
  line-height:1.35;
}

.score{
  color:var(--coral2);
  font-weight:950;
  white-space:nowrap;
}

.payments{
  font-size:13px;
  line-height:1.5;
  color:#6f5a70;
}

.visit{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  border-radius:11px;
  background:linear-gradient(180deg,var(--teal),var(--teal2));
  color:#fff;
  font-weight:900;
  text-align:center;
  padding:10px 14px;
  box-shadow:0 8px 18px rgba(20,143,131,.18);
  transition:.18s;
}

.visit:hover{
  filter:brightness(1.04);
  transform:translateY(-2px);
}


/* =========================================
   CONTENT
   ========================================= */

.prose{
  max-width:1030px;
}

.prose h2{
  margin-top:2.8rem;
}

.prose h2:first-child{
  margin-top:0;
}

.prose p{
  margin:.78rem 0 1rem;
  color:#6d596c;
}

.prose ul,
.prose ol{
  padding-left:1.35rem;
}

.prose li{
  margin:.45rem 0;
}

.prose a{
  color:var(--plum2);
  font-weight:750;
  text-decoration:underline;
  text-decoration-color:#efb8ad;
  text-underline-offset:4px;
}

.prose strong{
  color:var(--ink);
}


/* =========================================
   INNER PAGE CARD
   ========================================= */

.simple-page .card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:28px;
  box-shadow:var(--shadow);
}

.simple-page .content{
  max-width:1030px;
}

.simple-page .content h2{
  margin-top:2.2rem;
}

.simple-page .content h2:first-child{
  margin-top:0;
}

.simple-page .content p{
  color:#6d596c;
}


/* =========================================
   TABLES
   ========================================= */

.table-wrap{
  overflow:auto;
  margin:18px 0;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

table{
  width:100%;
  border-collapse:collapse;
  min-width:700px;
}

th,
td{
  padding:13px 14px;
  border-bottom:1px solid #f0e1e6;
  text-align:left;
  vertical-align:top;
}

th{
  background:var(--plum);
  color:#fff;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.03em;
}

tbody tr:nth-child(even){
  background:#fffaf7;
}

tbody tr:hover{
  background:#fff1ec;
}


/* =========================================
   FOOTER MAIN PAGE
   ========================================= */

footer{
  border-top:1px solid #e6d1da;
  background:#321535;
  padding:38px 0;
  color:#d9c7d8;
}

footer strong{
  display:block;
  color:#fff;
  font-size:20px;
  margin-bottom:6px;
}

.footer-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px 20px;
  margin-top:18px;
}

.footer-links a{
  color:#f1e3ef;
  font-size:14px;
}

.footer-links a:hover{
  color:#ffb0a5;
}


/* =========================================
   FOOTER INNER PAGES
   ========================================= */

.footer{
  border-top:1px solid #e6d1da;
  background:#321535;
  padding:38px 0 20px;
  color:#d9c7d8;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr;
  gap:40px;
}

.footer-grid img{
  width:150px;
  max-height:60px;
  object-fit:contain;
  margin-bottom:14px;
}

.footer-grid h3{
  color:#fff;
  margin:0 0 12px;
  font-size:17px;
}

.footer-grid a{
  display:block;
  color:#f1e3ef;
  font-size:14px;
  margin:6px 0;
}

.footer-grid a:hover{
  color:#ffb0a5;
}

.legal{
  margin-top:28px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.12);
  font-size:13px;
  color:#bdaabd;
}


/* =========================================
   INNER PAGES HEADER
   ========================================= */

.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,250,246,.96);
  border-bottom:1px solid var(--line);
  backdrop-filter:blur(12px);
}

.topbar .top-inner{
  min-height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}

.topbar .brand{
  display:flex;
  align-items:center;
  flex-shrink:0;
}

.topbar .brand img{
  width:46px;
  height:46px;
  object-fit:contain;
  flex:0 0 46px;
}

.topbar .nav{
  min-height:0;
  width:auto;
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:flex-end;
  gap:20px;
  margin-left:auto;
  padding:0;
  overflow:visible;
}

.topbar .nav a{
  display:inline-block;
  width:auto;
  color:#59435d;
  padding:10px 0;
  white-space:nowrap;
  position:relative;
  font-size:14px;
  font-weight:850;
}

.topbar .nav a:after{
  content:"";
  position:absolute;
  left:0;
  right:100%;
  bottom:2px;
  height:2px;
  background:var(--coral);
  transition:.2s;
}

.topbar .nav a:hover{
  color:var(--plum);
}

.topbar .nav a:hover:after{
  right:0;
}

.topbar .menu-btn{
  display:none;
}


/* =========================================
   1080 PX
   ========================================= */

@media(max-width:1080px){

  .casino-card{
    grid-template-columns:
      48px
      86px
      minmax(140px,.8fr)
      minmax(200px,1.2fr)
      85px
      128px;
  }

  .payments{
    grid-column:3/6;
  }

  .visit{
    grid-column:6;
  }

  .brand span{
    font-size:18px;
  }

  header nav{
    gap:14px;
    font-size:13px;
  }

  .topbar .nav{
    gap:14px;
  }

  .topbar .nav a{
    font-size:13px;
  }
}


/* =========================================
   820 PX
   ========================================= */

@media(max-width:820px){

  /* HOMEPAGE HEADER */

  header > .container.nav{
    min-height:auto;
    padding:14px 0;
    align-items:flex-start;
    flex-direction:column;
    gap:12px;
  }

  header > .container.nav nav{
    width:100%;
    display:flex;
    overflow-x:auto;
    gap:18px;
    padding-bottom:2px;
    scrollbar-width:none;
  }

  header > .container.nav nav::-webkit-scrollbar{
    display:none;
  }


  /* INNER HEADER */

  .topbar .top-inner{
    min-height:64px;
    padding:10px 0;
    display:flex;
    flex-direction:row;
    flex-wrap:wrap;
    align-items:center;
    justify-content:space-between;
    gap:10px;
  }

  .topbar .brand{
    flex:1;
  }

  .topbar .brand img{
    width:40px;
    height:40px;
    flex-basis:40px;
  }

  .topbar .menu-btn{
    display:block;
    border:1px solid #ead8df;
    background:#fff;
    color:var(--plum);
    border-radius:9px;
    padding:8px 13px;
    font-size:14px;
    font-weight:800;
    line-height:1.2;
    cursor:pointer;
  }

  .topbar .nav{
    display:none;
    width:100%;
    min-height:0;
    margin:0;
    padding:8px 0 4px;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    gap:0;
    overflow:visible;
  }

  .topbar.open .nav{
    display:flex;
  }

  .topbar .nav a{
    display:block;
    width:100%;
    padding:11px 4px;
    border-bottom:1px solid #ead8df;
  }

  .topbar .nav a:last-child{
    border-bottom:0;
  }


  /* GENERAL */

  .breadcrumbs{
    padding-top:10px;
  }

  .hero{
    padding:36px 0 28px;
  }

  .hero h1{
    font-size:clamp(36px,8.5vw,54px);
  }


  /* CASINO LIST */

  .casino-card{
    grid-template-columns:46px 76px minmax(0,1fr) 86px;
    grid-template-areas:
      "rank logo name score"
      "bonus bonus bonus bonus"
      "payments payments payments payments"
      "visit visit visit visit";
    gap:10px 12px;
    padding:14px;
  }

  .rank{
    grid-area:rank;
  }

  .casino-logo{
    grid-area:logo;
    width:76px;
    height:50px;
  }

  .casino-name{
    grid-area:name;
  }

  .score{
    grid-area:score;
    text-align:right;
    font-size:13px;
  }

  .bonus{
    grid-area:bonus;
  }

  .payments{
    grid-area:payments;
  }

  .visit{
    grid-area:visit;
    width:100%;
  }


  /* FOOTER */

  .footer-grid{
    grid-template-columns:1fr;
    gap:24px;
  }
}


/* =========================================
   560 PX
   ========================================= */

@media(max-width:560px){

  .container{
    width:min(100% - 20px,var(--max));
  }

  .brand img{
    width:38px;
    height:38px;
    flex-basis:38px;
  }

  .brand span{
    font-size:17px;
  }

  .hero{
    padding:30px 0 22px;
  }

  .hero h1{
    font-size:clamp(32px,11vw,46px);
  }

  .hero-copy{
    font-size:16px;
  }

  .section{
    padding:30px 0;
  }

  .casino-card{
    grid-template-columns:42px 64px minmax(0,1fr);
    grid-template-areas:
      "rank logo name"
      "score score score"
      "bonus bonus bonus"
      "payments payments payments"
      "visit visit visit";
    gap:9px;
  }

  .rank{
    width:38px;
    height:38px;
  }

  .casino-logo{
    width:64px;
    height:44px;
  }

  .score{
    text-align:left;
    font-size:14px;
  }

  .casino-name strong{
    font-size:16px;
  }

  .bonus strong{
    font-size:14px;
  }

  .intro-toggle{
    width:100%;
  }

  table{
    font-size:13px;
  }

  .footer-links{
    flex-direction:column;
    gap:6px;
  }

  .simple-page .card{
    padding:20px;
  }
}