/* ===== Yukon Gold Casino — shared styles ===== */

@import url('https://fonts.googleapis.com/css2?family=Bowlby+One&family=Bungee&family=Inter:wght@400;500;600;700&family=Russo+One&display=swap');

:root {
  --gold: #efb025;
  --gold-2: #ffae00;
  --gold-deep: #b37a00;
  --gold-line: #8f7743;
  --green: #01621c;
  --green-deep: #003510;
  --green-bright: #00651d;
  --navy: #29206f;
  --navy-2: #0c0e28;
  --night: #000538;
  --candy-pink: #ff4fa6;
  --candy-purple: #a85ed4;
  --purple: #500077;
  --indigo: #5c64c8;
  --cream: #fff5d6;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: #000;
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Heavy display fonts (figma uses Gilroy Black/Heavy — these substitutes match weight & rounded character) */
.display { font-family: 'Bowlby One', 'Russo One', sans-serif; font-weight: 400; letter-spacing: 0.01em; }
.heavy { font-family: 'Bowlby One', sans-serif; font-weight: 400; letter-spacing: 0.01em; }
.bungee { font-family: 'Bungee', sans-serif; font-weight: 400; letter-spacing: 0.02em; }

/* ===== Phone shell — content fills viewport on mobile, frames on desktop ===== */
.viewport-host {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
  background:
    radial-gradient(circle at 50% -10%, #2b1f73 0%, #0c0a35 60%, #050316 100%);
  padding: 0;
  position: relative;
}

@media (min-width: 720px) {
  .viewport-host {
    padding: 32px 16px;
    align-items: flex-start;
  }
}

.phone {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  position: relative;
  background: #29206f;
  overflow: hidden;
}

@media (min-width: 720px) {
  .phone {
    width: 420px;
    max-width: 420px;
    min-height: 0;
    border-radius: 44px;
    border: 12px solid #111;
    box-shadow:
      0 0 0 2px #2a2a2a,
      0 30px 80px rgba(0,0,0,0.6),
      0 10px 30px rgba(0,0,0,0.4);
    overflow: hidden;
    height: calc(100vh - 80px);
    max-height: 920px;
  }
  /* Notch */
  .phone::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 26px;
    background: #111;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    z-index: 10000;
  }
  .phone-inner-scroll {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 719px) {
  .phone-inner-scroll {
    min-height: 100vh;
  }
}

/* Hide scrollbar inside phone */
.phone-inner-scroll::-webkit-scrollbar { width: 0; display: none; }

/* ===== Themes ===== */
.theme-zeus {
  --hero-bg: url('assets/bg-lightning-temple.png');
  --hero-bg-color: #29206f;
  --hero-tint: linear-gradient(180deg, rgba(41,32,111,0.25) 0%, rgba(12,10,53,0.6) 100%);
}
.theme-candy {
  --hero-bg: url('assets/bg-candy-world.png');
  --hero-bg-color: #ffb3df;
  --hero-tint: linear-gradient(180deg, rgba(255,179,223,0.0) 0%, rgba(255,79,166,0.3) 100%);
}
.theme-chest {
  --hero-bg: url('assets/bg-temple-purple.png');
  --hero-bg-color: #2b0d4f;
  --hero-tint: linear-gradient(180deg, rgba(43,13,79,0.2) 0%, rgba(43,13,79,0.7) 100%);
}

/* ===== Buttons ===== */
.btn-claim {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 20px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(180deg, #016b1f 0%, #003510 100%);
  color: #fff;
  font-family: 'Bowlby One', sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.25),
    inset 0 -2px 0 rgba(0,0,0,0.35),
    0 4px 16px rgba(0,0,0,0.4);
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.15s ease;
  position: relative;
  overflow: hidden;
}
.btn-claim:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-claim:active { transform: translateY(1px); }
.btn-claim::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: shimmer 3.5s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 60% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ===== Common chrome ===== */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #0c0e28;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: relative;
  z-index: 5;
}

.topbar img { display: block; }

.section-title {
  font-family: 'Bowlby One', sans-serif;
  font-size: 22px;
  text-align: center;
  color: var(--gold-2);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
  text-shadow: 0 2px 0 rgba(0,0,0,0.4);
}

.scroll-banner {
  background: url('assets/jackpot-banner-scroll.png') center / 100% 100% no-repeat;
  padding: 14px 28px;
  text-align: center;
  font-family: 'Bowlby One', sans-serif;
  color: var(--gold-2);
  text-shadow: 0 2px 0 rgba(0,0,0,0.6);
}

/* ===== Lightning overlay decoration ===== */
.lightning-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url('assets/lightning-overlay.png');
  background-size: 200px;
  background-repeat: repeat;
  opacity: 0.12;
  mix-blend-mode: screen;
  z-index: 0;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background: var(--hero-bg-color, #29206f) var(--hero-bg) center / cover no-repeat;
  padding: 24px 16px 32px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hero-tint, linear-gradient(180deg, rgba(0,0,0,0.0), rgba(0,0,0,0.4)));
  pointer-events: none;
}

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

/* Trustpilot bar */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}
.trust-bar .stars {
  display: inline-flex;
  background: #00b67a;
  padding: 3px 6px;
  gap: 2px;
}
.trust-bar .star { color: #fff; font-size: 14px; line-height: 1; }

/* Welcome titles */
.welcome-title {
  font-family: 'Bowlby One', sans-serif;
  font-size: 30px;
  text-align: center;
  margin: 12px 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-shadow: 0 3px 0 rgba(0,0,0,0.45), 0 0 18px rgba(255,174,0,0.25);
  line-height: 1;
}
.welcome-sub {
  font-family: 'Bowlby One', sans-serif;
  font-size: 22px;
  text-align: center;
  color: var(--gold-2);
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-shadow: 0 3px 0 rgba(0,0,0,0.45);
  line-height: 1.05;
}

/* Cards */
.card {
  background: #0c0e28;
  border-radius: 14px;
  padding: 18px;
  position: relative;
  overflow: hidden;
}

/* utility */
.center { text-align: center; }
.muted { opacity: 0.7; }
