:root {
  --ink: #090806;
  --ink-2: #14100d;
  --surface: #1b1511;
  --cream: #f4eee4;
  --violet: #b94016;
  --electric: #ffbf48;
  --coral: #e34a16;
  --lime: #ffd36a;
  --aqua: #f3a533;
  --muted: #b9aa9e;
  --line: rgba(255, 190, 82, .16);
}

body {
  background: #090806;
  color: #fffaf3;
}

.site-header {
  height: 104px;
  background: linear-gradient(100deg, #fff 0%, #eee9e2 24%, #8b8179 48%, #211c19 70%, #050505 100%);
  border-bottom-color: rgba(255, 169, 55, .22);
  box-shadow: 0 10px 34px rgba(0, 0, 0, .34);
}
.site-header .juwa-brand { --logo-blend: #f7f4ef; }
.site-header .nav-links a {
  color: #181311;
  text-shadow: 0 1px 10px rgba(255, 255, 255, .5);
}
.site-header .nav-links a:hover { color: #8c260c; }

.juwa-brand {
  width: clamp(148px, 15vw, 215px);
  height: 78px;
  overflow: visible;
  flex: 0 0 auto;
  position: relative;
  isolation: isolate;
  --logo-blend: #0a0807;
  border-radius: 18px;
}
.juwa-brand:before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 14% 5%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(198, 57, 12, .18), transparent 70%);
  filter: blur(10px);
}
.juwa-brand img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  border-radius: 18px;
  -webkit-mask-image: radial-gradient(ellipse 69% 69% at 50% 51%, #000 45%, rgba(0, 0, 0, .92) 58%, rgba(0, 0, 0, .46) 75%, transparent 96%);
  mask-image: radial-gradient(ellipse 69% 69% at 50% 51%, #000 45%, rgba(0, 0, 0, .92) 58%, rgba(0, 0, 0, .46) 75%, transparent 96%);
  filter: contrast(1.08) saturate(.92) brightness(.98) drop-shadow(0 4px 10px rgba(255, 100, 16, .17));
}
.juwa-brand:after {
  content: '';
  position: absolute;
  z-index: 2;
  inset: -1px;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--logo-blend) 0%, transparent 25%, transparent 75%, var(--logo-blend) 100%),
    linear-gradient(180deg, var(--logo-blend) 0%, transparent 31%, transparent 69%, var(--logo-blend) 100%);
  opacity: .42;
}
.footer-top .juwa-brand { width: 225px; height: 78px; --logo-blend: #050403; }

.btn-primary {
  color: #160b04;
  background: linear-gradient(115deg, #ffd36a, #ff9a28 48%, #dd3d13);
  box-shadow: 0 9px 28px rgba(238, 92, 18, .28), inset 0 1px rgba(255, 255, 255, .42);
}
.btn-ghost {
  color: #fff1d1;
  border-color: rgba(255, 184, 74, .46);
  background: rgba(255, 151, 40, .08);
  box-shadow: 0 0 18px rgba(255, 112, 20, .12);
}
.site-header .btn-ghost {
  color: #fff4e6;
  background: rgba(15, 12, 10, .5);
  border-color: rgba(255, 199, 112, .48);
}
.trust-strip {
  color: #261207;
  background: linear-gradient(90deg, #f4e5c5, #ffd988 52%, #f4e5c5);
}

.top-game-marquee {
  border-color: rgba(255, 171, 61, .2);
  background: radial-gradient(circle at 12% 0%, rgba(226, 72, 16, .16), transparent 30%), radial-gradient(circle at 88% 100%, rgba(255, 190, 60, .08), transparent 34%), linear-gradient(125deg, #100d0b, #21130f 62%, #100c0a);
}
.top-game-tile {
  border-color: rgba(255, 190, 82, .14);
  background: rgba(255, 188, 96, .045);
}

.hero {
  background: linear-gradient(90deg, rgba(9, 8, 6, .97) 0%, rgba(14, 10, 7, .92) 39%, rgba(14, 8, 4, .68) 68%, rgba(9, 7, 5, .86) 100%), url('assets/brand/juwa777-brand-art.webp') 72% 50% / cover no-repeat;
}
.hero:after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(9, 8, 6, .08), rgba(9, 8, 6, .38));
}
.hero-copy, .signup-card { position: relative; z-index: 3; }
.hero h1 em, .why h2 em { color: #ffbd43; }
.mini-proof { color: #f0b34d; }

.signup-card {
  background: linear-gradient(145deg, rgba(31, 22, 17, .96), rgba(14, 12, 11, .97));
  border-color: rgba(255, 175, 57, .43);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .5), 0 0 34px rgba(223, 70, 13, .14);
}
.signup-card input[type=email], .signup-card input[type=text], .signup-card input[type=password] {
  background: #100d0b;
  border-color: rgba(255, 186, 77, .2);
}
.signup-card input:focus { border-color: #f3a533; box-shadow: 0 0 0 3px rgba(243, 165, 51, .13); }

.reviews { background: #f2eadf; }
.review-card.featured { background: linear-gradient(145deg, #5f1b0d, #b53c13); border-color: #d45b20; }
.avatar, .game-tag, .final-cta { background: #ffd36a; }
.games { background: #0c0908; }
.game-card, .alpha-slot-shell { border-color: rgba(255, 181, 67, .17); }
.real-portal-art {
  background:linear-gradient(145deg,#1a120d,#080706)!important;
  border:1px solid rgba(255,181,67,.16);
}
.real-portal-art:before,.real-portal-art:after{display:none}
.real-portal-art img{width:100%;height:100%;object-fit:contain;padding:13px;border-radius:14px}
.games-grid{
  display:grid;
  grid-template-columns:none;
  grid-template-rows:repeat(2,auto);
  grid-auto-flow:column;
  grid-auto-columns:minmax(225px,260px);
  gap:18px;
  overflow-x:auto;
  padding:5px 5px 24px;
  scroll-snap-type:x proximity;
  scrollbar-color:#c95018 #17100c;
  scrollbar-width:thin;
  cursor:grab;
  touch-action:pan-y;
  user-select:none;
}
.games-grid.is-dragging{cursor:grabbing;scroll-snap-type:none}
.games-grid.is-dragging .game-card{pointer-events:none}
.games-grid .game-card{scroll-snap-align:start}
.games-grid .game-card[role="link"]{cursor:pointer}
.games-grid .game-card[role="link"]:focus-visible{outline:3px solid #f3a533;outline-offset:3px}
.games-grid::-webkit-scrollbar{height:10px}
.games-grid::-webkit-scrollbar-track{background:#17100c;border-radius:999px}
.games-grid::-webkit-scrollbar-thumb{background:linear-gradient(90deg,#9f2d0f,#ef7b1b);border-radius:999px}
@media(max-width:620px){.games-grid{grid-template-columns:none;grid-auto-columns:minmax(205px,78vw);gap:13px}.games-grid .game-art{height:190px}}
.fund-banner {
  background: linear-gradient(120deg, #391008, #9f2c0f 55%, #e17118);
}
.final-cta { color: #1b0d05; }
.site-footer { background: #050403; }

.login-dialog {
  border-color: rgba(255, 177, 59, .42);
  background: linear-gradient(145deg, #201711, #0e0b09);
}
.login-brand { justify-content: center; position: relative; --logo-blend: #17100c; }
.login-brand:after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, var(--logo-blend), transparent 27%, transparent 73%, var(--logo-blend)),
    linear-gradient(180deg, var(--logo-blend), transparent 32%, transparent 68%, var(--logo-blend));
  opacity: .45;
}
.login-brand-logo {
  width: min(260px, 76vw);
  height: 84px;
  object-fit: contain;
  border-radius: 20px;
  -webkit-mask-image: radial-gradient(ellipse 69% 69% at center, #000 45%, rgba(0, 0, 0, .92) 58%, rgba(0, 0, 0, .46) 75%, transparent 96%);
  mask-image: radial-gradient(ellipse 69% 69% at center, #000 45%, rgba(0, 0, 0, .92) 58%, rgba(0, 0, 0, .46) 75%, transparent 96%);
  filter: contrast(1.08) saturate(.92) brightness(.98) drop-shadow(0 5px 14px rgba(255, 93, 15, .17));
}

body:before {
  background: radial-gradient(circle at 50% 43%, rgba(219, 66, 13, .18), transparent 26%), radial-gradient(circle at 35% 65%, rgba(255, 190, 63, .08), transparent 32%), linear-gradient(145deg, #080604, #1b0e08 58%, #090604);
}
body:after {
  content: "JUWA777\A 7   ◆   7\A Preparing your experience";
  border-color: rgba(255, 184, 66, .25);
  background: radial-gradient(circle at 50% 38%, rgba(255, 207, 93, .2) 0 4%, transparent 5%), conic-gradient(from 0deg at 50% 38%, #ffd36a, #e34a16, #8d200d, #f3a533, #ffd36a) 50% 26% / 74px 74px no-repeat, rgba(27, 17, 12, .9);
}

@media (max-width: 760px) {
  .site-header { height: 82px; }
  .juwa-brand { width: 145px; height: 64px; }
  .hero { background-position: 64% 50%; }
  .site-header .nav-links { top:82px; background:#0c0908; }
  .site-header .nav-links a { color:#fff3df; text-shadow:none; }
}
