/* join-luckydreams.com - built from Figma "Update 1 Desktop" */
:root {
  --sidebar: #1a1e31;
  --card: #141729;
  --row: #10152d;
  --navy-1: #133f6c;
  --navy-2: #131b43;
  --navy-3: #141729;
  --white: #ffffff;
  --gold-btn: linear-gradient(90deg, #ba9d64 0%, #fbe3a3 95.95%);
  --gold-text: linear-gradient(180deg, #fbe3a3 40.6%, #ba9d64 111.25%);
  --glass: linear-gradient(55deg, rgba(255,255,255,.3) 7.84%, rgba(255,255,255,0) 109.62%);
  --glass-border: 2px solid rgba(255,255,255,.3);
  --font: "New Hero", "Figtree", system-ui, -apple-system, sans-serif;
  --sidebar-w: 180px;
  --gutter: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--white);
  background: var(--navy-3);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }

.gold { background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 32px; font-weight: 700; white-space: nowrap;
  transition: transform .15s ease, filter .15s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn-gold { background: var(--gold-btn); color: #141729; }
.btn-glass {
  background: var(--glass); border: var(--glass-border);
  backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
}
.btn-glass span { background: linear-gradient(180deg, #fbe3a3, #bb9e65); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Sidebar */
.sidebar {
  position: fixed; inset: 0 auto 0 0; width: var(--sidebar-w); z-index: 40;
  background: var(--sidebar);
  display: flex; flex-direction: column; align-items: center;
  padding: 22px 16px;
}
.sidebar .logo img { width: 112px; height: auto; }
.sidebar-ctas { display: flex; flex-direction: column; gap: 12px; width: 100%; margin: 34px 0 40px; }
.sidebar-ctas .btn { height: 40px; font-size: 16px; width: 100%; }
.sidebar-ctas .btn-glass { font-size: 12px; }
.side-nav { display: flex; flex-direction: column; align-items: center; gap: 19px; }
.side-nav a { font-size: 16px; font-weight: 600; transition: color .15s; }
.side-nav a:hover { color: #fbe3a3; }

/* Mobile top bar (hidden on desktop) */
.topbar { display: none; }

/* Main */
.main {
  margin-left: var(--sidebar-w);
  background: linear-gradient(180deg, var(--navy-1) 0%, var(--navy-2) 50%, var(--navy-3) 100%);
  overflow: hidden;
}
.wrap { padding: 0 var(--gutter); }

/* Hero */
.hero { position: relative; min-height: 1024px; background: url("../img/hero.jpg") center top / cover no-repeat; }
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 535px;
  background: linear-gradient(180deg, rgba(19,63,108,0) 0%, #133f6c 100%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; padding-top: 200px; padding-bottom: 72px; }
.hero h1 {
  font-size: 72px; line-height: 80px; font-weight: 700; text-transform: uppercase;
  text-shadow: 0 4px 4px rgba(0,0,0,.25); max-width: 640px;
}
.hero h1 .gold { text-shadow: none; }
.hero-offer { margin-top: 40px; font-size: 32px; line-height: 40px; font-weight: 500; text-transform: uppercase; }
.hero-cta { display: inline-flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 40px; }
.hero-cta .btn { width: 232px; height: 63px; font-size: 24px; }
.hero-cta small { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }

.features { display: flex; justify-content: flex-end; gap: 20px; margin-top: 40px; }
.feature {
  display: flex; align-items: center; gap: 18px; width: 251px; height: 84px; padding: 0 26px;
  border-radius: 8px; background: var(--glass); border: var(--glass-border);
  backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
  font-size: 16px; line-height: 1.4;
}
.feature img { width: 32px; height: 32px; flex: none; }
.feature strong { display: block; font-weight: 700; }

.trustbar {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 32px; height: 60px; padding: 0 50px 0 53px; border-radius: 30px;
  background: #cfdbe4;
}
.trustbar .payments { width: 256px; height: 30px; }
.trustbar .tp { width: 482px; height: 34px; }

/* Section heads */
.sec { padding-top: 48px; position: relative; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; padding-right: var(--gutter); margin-bottom: 18px; }
.sec-head h2 { font-size: 24px; font-weight: 600; }
.sec-head .view-all { font-size: 16px; opacity: .9; }
.sec-head .view-all:hover { color: #fbe3a3; opacity: 1; }

/* Horizontal rows */
.row-wrap { position: relative; }
.row {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-right: var(--gutter); scrollbar-width: none;
}
.row::-webkit-scrollbar { display: none; }
.row > * { flex: none; scroll-snap-align: start; }
.row-fade {
  position: absolute; top: 0; right: 0; bottom: 0; width: 178px; pointer-events: none;
  background: linear-gradient(270deg, #141729 0%, rgba(20,23,41,0) 62.6%);
}
.row-arrows { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 8px; z-index: 2; }
.row-arrows button {
  width: 40px; height: 40px; border: 0; border-radius: 4px; cursor: pointer;
  background: linear-gradient(180deg, #fbe3a3, #ba9d64);
  display: grid; place-items: center;
}
.row-arrows button img { width: 13.5px; height: 7.7px; }
.row-arrows .prev img { transform: rotate(90deg); }
.row-arrows .next img { transform: rotate(-90deg); }

/* Game cards */
.game { width: 231px; border-radius: 10px; overflow: hidden; background: var(--card); }
.game img { width: 231px; height: 231px; object-fit: cover; }
.game-info { height: 66px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.game-info b { font-weight: 400; font-size: 14px; opacity: .9; }
.game-info span { font-size: 12px; opacity: .6; margin-top: 3px; }
.game:hover img, .live-tile:hover img, .promo:hover img { filter: brightness(1.08); }

/* Providers */
.provider img { width: 232px; height: 232px; border-radius: 50%; }
.provider:hover img { filter: brightness(1.1); }

/* Welcome package */
.package-sec { position: relative; padding-top: 88px; }
.package-sec .island { position: absolute; left: -178px; top: -256px; width: 939px; height: 1101px; max-width: none; pointer-events: none; z-index: 0; }
.package-sec .island-right { left: auto; right: 0; top: 9px; width: 906px; }
.sec { z-index: 1; }
.package {
  position: relative; margin: 0 var(--gutter) 0 66px; padding: 52px 40px 72px; border-radius: 20px;
  background: var(--glass); border: var(--glass-border);
  backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
  text-align: center;
}
.package h2 { font-size: 24px; line-height: 40px; font-weight: 700; }
.steps { display: grid; grid-template-columns: repeat(4, 280px); justify-content: center; gap: 22px; margin-top: 46px; }
.step {
  height: 400px; border-radius: 10px; padding: 34px 28px 40px;
  background: linear-gradient(180deg, #1a1e31 0%, #008eac 100%);
  display: flex; flex-direction: column; align-items: center;
}
.step.locked { opacity: .7; background: linear-gradient(180deg, #141729 0%, #008eac 100%); }
.step:nth-child(2).locked { background: linear-gradient(180deg, #1a1e31 0%, #008eac 100%); }
.step-num { width: 48px; height: 48px; border-radius: 50%; border: 2px solid #fff; display: grid; place-items: center; font-size: 24px; font-weight: 700; }
.step-title { margin-top: 8px; font-size: 16px; line-height: 40px; font-weight: 500; }
.step-amount { margin-top: 16px; font-size: 24px; line-height: 30px; font-weight: 500; max-width: 224px; min-height: 90px; }
.step-code { margin-top: 21px; font-size: 12px; line-height: 30px; font-weight: 500; }
.step .btn { margin-top: auto; width: 159px; height: 41px; font-size: 18px; }

/* Live casino */
.live-sec { position: relative; margin-top: 96px; }
.live-hero { position: relative; margin-left: 66px; height: 720px; background: url("../img/live-casino.jpg") center / cover no-repeat; }
.live-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,23,41,0) 30%, rgba(20,23,41,.55) 100%), linear-gradient(180deg, rgba(20,23,41,0) 55%, rgba(19,27,67,.9) 100%); }
.live-copy { position: absolute; z-index: 1; left: calc(66px + 833px); top: 176px; width: 483px; }
.live-copy h2 { font-size: 64px; line-height: 1; font-weight: 700; }
.live-copy p { margin-top: 32px; font-size: 16px; line-height: 1.4; }
.live-row { position: relative; margin-top: -77px; padding-left: 145px; z-index: 2; }
.live-tile { width: 231px; }
.live-tile img { width: 231px; height: 232px; border-radius: 8px; object-fit: cover; }
.live-tile span { display: block; margin-top: 16px; font-size: 16px; }

/* Jackpot + winners */
.jackpot-sec { display: grid; grid-template-columns: 734px 1fr; gap: 20px; align-items: center; padding: 96px var(--gutter) 0 20px; }
.jackpot img { width: 734px; height: auto; }
.winners-head { display: flex; justify-content: space-between; padding: 0 35px 0 71px; font-size: 16px; opacity: .6; margin-bottom: 18px; }
.winner { display: flex; align-items: center; gap: 20px; height: 81px; padding: 0 18px 0 10px; border-radius: 8px; }
.winner img { width: 50px; height: 50px; border-radius: 4px; }
.winner p { flex: 1; font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.winner p b { font-weight: 600; color: #fbe3a3; background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.winner .amt { font-size: 18px; font-weight: 700; }
.winner.hl { background: #3b87d6; box-shadow: 0 10px 30px rgba(59,135,214,.35); }
.winner.hl p b { background: none; color: #fbe3a3; }

/* Promotions */
.promo { width: 357px; height: 304px; padding: 24px 24px 0; border-radius: 10px; background: #14182f; border: 2px solid rgba(255,255,255,.12); }
.promo small { display: block; font-size: 14px; font-weight: 700; color: #fbe3a3; }
.promo h3 { margin-top: 4px; font-size: 24px; font-weight: 700; }
.promo img { margin-top: 16px; width: 309px; height: 184px; border-radius: 8px; object-fit: cover; }

/* VIP */
.vip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-right: var(--gutter); }
.vip { position: relative; height: 336px; border-radius: 8px; padding: 37px 22px 24px; display: flex; flex-direction: column; }
.vip:nth-child(1) { background: #008eac; }
.vip:nth-child(2) { background: #46397e; }
.vip:nth-child(3) { background: #445bb9; }
.vip:nth-child(4) { background: #152c60; }
.vip .badge { position: absolute; top: 0; right: 20px; width: 42px; height: 56px; }
.vip .icon { height: 94px; width: auto; align-self: flex-start; margin-left: -4px; }
.vip h3 { margin-top: auto; font-size: 24px; line-height: 30px; font-weight: 700; }
.vip p { margin-top: 18px; font-size: 14px; line-height: 20px; opacity: .6; min-height: 60px; }

/* Tournaments */
.tournament img { width: 474px; height: 320px; border-radius: 8px; }

/* FAQs */
.faqs { padding-right: var(--gutter); }
.faqs h2 { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.faq { display: block; background: var(--row); border-radius: 8px; padding: 28px 36px 28px 26px; margin-bottom: 12px; position: relative; }
.faq h3 { font-size: 24px; font-weight: 600; padding-right: 40px; }
.faq p { margin-top: 50px; font-size: 16px; line-height: 1.5; opacity: .6; }
.faq .ic { position: absolute; right: 36px; top: 29px; width: 24px; height: 24px; }
.faq:hover h3 { color: #fbe3a3; }

/* Discover */
.discover { text-align: center; padding: 48px var(--gutter) 76px; }
.discover h2 { font-size: 24px; font-weight: 600; }
.discover p { margin-top: 24px; font-size: 14px; line-height: 28px; opacity: .6; }
.discover .more { display: inline-block; margin-top: 24px; font-size: 16px; color: #fbe3a3; }

/* Footer */
.footer { background: linear-gradient(180deg, #14233c 0%, #151a2c 100%); padding: 72px var(--gutter) 56px; text-align: center; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; font-size: 14px; }
.foot-links.foot-main a { font-weight: 600; }
.foot-links.sub { margin-top: 14px; opacity: .65; }
.foot-links a:hover { color: #fbe3a3; opacity: 1; }
.foot-title { margin-top: 52px; font-size: 12px; font-weight: 700; color: #fbe3a3; }
.foot-img { margin: 12px auto 0; }
.foot-pay { width: 416px; }
.foot-studios { width: 1058px; }
.foot-showall { display: inline-block; margin-top: 4px; font-size: 10px; opacity: .6; }
.seal { margin: 48px auto 0; width: 61px; }
.legal { max-width: 1060px; margin: 20px auto 0; font-size: 14px; line-height: 24px; opacity: .6; }
.rg { margin-top: 18px; font-size: 14px; line-height: 24px; }
.rg strong { color: #fbe3a3; font-weight: 700; }
.rg span { opacity: .6; }

/* ---------- Responsive ---------- */
@media (max-width: 1400px) {
  :root { --gutter: 40px; }
  .live-copy { left: auto; right: var(--gutter); }
  .steps { grid-template-columns: repeat(2, 280px); }
  .jackpot-sec { grid-template-columns: 1fr; padding-left: var(--gutter); }
  .jackpot img { width: 100%; max-width: 734px; margin: 0 auto; }
}
@media (max-width: 1100px) {
  .vip-grid { grid-template-columns: repeat(2, 1fr); }
  .features { justify-content: flex-start; flex-wrap: wrap; }
  .trustbar { height: auto; padding: 14px 24px; flex-wrap: wrap; justify-content: center; border-radius: 20px; }
  .foot-studios { width: 100%; }
  .live-copy h2 { font-size: 48px; }
}
@media (max-width: 900px) {
  :root { --gutter: 20px; }
  .sidebar { display: none; }
  .sidebar.open { display: flex; top: 64px; width: 100%; padding-top: 24px; }
  .sidebar.open .logo { display: none; }
  .topbar {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    position: sticky; top: 0; z-index: 50; height: 64px; padding: 0 16px; background: var(--sidebar);
  }
  .topbar .logo img { height: 40px; width: auto; }
  .topbar-ctas { display: flex; gap: 8px; margin-left: auto; }
  .topbar-ctas .btn { height: 36px; padding: 0 16px; font-size: 14px; }
  .menu-btn { width: 40px; height: 40px; border: 0; background: none; cursor: pointer; padding: 9px; }
  .menu-btn span { display: block; height: 3px; border-radius: 1px; background: #fff; margin: 4px 0; }
  .main { margin-left: 0; }
  .hero { min-height: 0; background-position: 70% top; }
  .hero .wrap { padding-top: 64px; }
  .hero h1 { font-size: 44px; line-height: 50px; }
  .hero-offer { font-size: 22px; line-height: 30px; margin-top: 24px; }
  .hero-cta { margin-top: 28px; }
  .feature { width: 100%; }
  .trustbar .tp { width: 100%; max-width: 482px; height: auto; }
  .package { margin: 0 var(--gutter); padding: 36px 16px 40px; }
  .package-sec .island, .package-sec .island-right { display: none; }
  .steps { grid-template-columns: minmax(0, 320px); }
  .step { height: auto; min-height: 360px; }
  .live-sec { margin-top: 64px; }
  .live-hero { margin-left: 0; height: 520px; background-position: 30% center; }
  .live-copy { left: var(--gutter); right: var(--gutter); top: auto; bottom: 120px; width: auto; }
  .live-copy h2 { font-size: 36px; }
  .live-row { padding-left: var(--gutter); margin-top: -60px; }
  .winners-head { padding-left: 64px; }
  .winner { gap: 12px; }
  .winner p, .winner .amt { font-size: 15px; }
  .promo { width: 300px; height: auto; padding-bottom: 20px; }
  .promo img { width: 100%; height: auto; }
  .tournament img { width: 320px; height: auto; }
  .row-fade, .row-arrows { display: none; }
  .faq { padding: 20px 52px 20px 18px; }
  .faq h3 { font-size: 18px; padding-right: 0; }
  .faq p { margin-top: 18px; }
  .faq .ic { right: 18px; top: 22px; }
  .foot-pay { width: 100%; max-width: 416px; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 36px; line-height: 42px; }
  .vip-grid { grid-template-columns: 1fr; }
  .game { width: 160px; } .game img { width: 160px; height: 160px; }
  .provider img { width: 150px; height: 150px; }
  .live-tile, .live-tile img { width: 160px; } .live-tile img { height: 160px; }
  .topbar-ctas .btn-glass { display: none; }
}

/* Mobile refinements */
.winner p { min-width: 0; }
@media (max-width: 900px) {
  .hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,30,60,.82) 0%, rgba(10,30,60,.55) 60%, rgba(10,30,60,.2) 100%); }
  .hero h1, .hero-offer { text-shadow: 0 2px 8px rgba(0,0,0,.45); }
  .live-hero { height: 420px; }
  .live-copy { top: 210px; bottom: auto; }
  .live-copy h2 { font-size: 32px; }
  .live-copy p { margin-top: 14px; font-size: 14px; }
  .live-row { margin-top: 24px; }
  .jackpot-sec { padding-right: var(--gutter); padding-top: 64px; }
  .winners-head { padding: 0 8px 0 72px; }
  .winner { padding: 0 8px; }
  .winner .amt { flex: none; }
  .sec-head h2 { font-size: 20px; }
  .sec-head .view-all { flex: none; margin-left: 12px; font-size: 14px; }
}
.jackpot-sec > * { min-width: 0; }

/* Centered rows (providers, live casino, promotions, tournaments) */
.sec.centered { padding-right: var(--gutter); }
.sec.centered .sec-head { padding-right: 0; }
.centered .row { padding-right: 0; }
.row { justify-content: center; }
.row.is-overflowing { justify-content: flex-start; }
.row-wrap:not(.has-overflow) .row-arrows, .row-wrap:not(.has-overflow) .row-fade { display: none; }
.live-row.centered { padding: 0 var(--gutter); }

/* FAQ accordion */
.faq summary { list-style: none; cursor: pointer; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq .ic { position: absolute; right: 0; top: 4px; width: 24px; height: 24px; background: url("../img/faq-link.svg") center / 24px no-repeat; }
.faq[open] .ic { background-image: url("../img/faq-open.svg"); }
.faq summary:hover h3 { color: #fbe3a3; }
.faq p { margin-top: 28px; }
@media (max-width: 900px) { .faq .ic { right: 0; top: 0; } .faq p { margin-top: 16px; } }
.faq summary h3 { padding-right: 44px; }
@media (max-width: 900px) { .faq summary h3 { padding-right: 36px; } .faq { padding-right: 18px; } }

/* Games row centered like the others */
.sec.games-sec { padding-right: var(--gutter); }
.games-sec .sec-head { padding-right: 0; }
.games-sec .row { padding-right: 0; }
