/* ================================================================
   SWG VEGAS  ·  black felt, gold foil, red neon, blue beams
   Identity derived from the SWG Vegas logo artwork.
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Russo+One&family=Titillium+Web:wght@300;400;600;700&family=Share+Tech+Mono&display=swap');

:root {
  --black: #000000;
  --coal:  #0B0B0E;
  --glass: rgba(11, 11, 14, 0.78);
  --line:  #241D10;
  --line-lit: #4A3A1A;

  --gold:      #E8B84B;
  --gold-hi:   #FFF3C4;
  --gold-mid:  #FFD968;
  --gold-deep: #9A6417;

  --red:   #FF4438;
  --amber: #FFB03A;
  --blue:  #3D9BFF;

  --ink:  #E7E2D6;
  --dim:  #9AA0AC;

  --display: 'Russo One', sans-serif;
  --body: 'Titillium Web', sans-serif;
  --mono: 'Share Tech Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ----- night sky over the strip --------------------------------- */

.sky {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 500px at 50% 30%, rgba(37, 51, 89, 0.28), transparent 70%),
    radial-gradient(1200px 380px at 50% 104%, rgba(232, 184, 75, 0.10), transparent 65%),
    conic-gradient(from 195deg at 22% 110%, transparent 0deg, rgba(61, 155, 255, 0.05) 8deg, transparent 16deg),
    conic-gradient(from 150deg at 78% 110%, transparent 0deg, rgba(61, 155, 255, 0.05) 8deg, transparent 16deg),
    var(--black);
}

.stars, .stars::after {
  position: fixed;
  inset: -50% 0 0 0;
  z-index: -1;
  content: '';
  background-image:
    radial-gradient(1px 1px at 12% 22%, #fff 60%, transparent),
    radial-gradient(1px 1px at 31% 8%,  #bcd7ff 60%, transparent),
    radial-gradient(1.4px 1.4px at 47% 31%, #fff 60%, transparent),
    radial-gradient(1px 1px at 63% 14%, #ffe4b0 60%, transparent),
    radial-gradient(1px 1px at 78% 27%, #fff 60%, transparent),
    radial-gradient(1.4px 1.4px at 89% 9%,  #bcd7ff 60%, transparent),
    radial-gradient(1px 1px at 6% 44%,  #fff 60%, transparent),
    radial-gradient(1px 1px at 55% 47%, #ffe4b0 60%, transparent),
    radial-gradient(1.2px 1.2px at 71% 39%, #fff 60%, transparent),
    radial-gradient(1px 1px at 24% 36%, #bcd7ff 60%, transparent);
  background-repeat: repeat;
  background-size: 950px 540px;
  opacity: 0.55;
  animation: drift 260s linear infinite;
}

.stars::after {
  background-size: 1500px 860px;
  opacity: 0.3;
  animation-duration: 440s;
}

@keyframes drift { to { transform: translateY(270px); } }

/* ----- layout ---------------------------------------------------- */

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

section { padding: 92px 0; }

/* gold foil display text */
.goldtext {
  font-family: var(--display);
  background: linear-gradient(178deg,
    var(--gold-hi) 0%, var(--gold-mid) 30%, var(--gold) 48%,
    var(--gold-deep) 62%, #6E4610 72%, var(--gold-mid) 88%, var(--gold-hi) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 0 rgba(0,0,0,0.9)) drop-shadow(0 0 22px rgba(232,184,75,0.28));
}

/* thin gold hairline used between sections */
.rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, var(--line-lit) 20%, var(--gold) 50%, var(--line-lit) 80%, transparent);
  opacity: 0.7;
}

/* ----- nav ------------------------------------------------------- */

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

.nav .wrap { display: flex; align-items: center; gap: 26px; height: 66px; }

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 19px;
  letter-spacing: 0.12em;
}

.nav-brand img {
  height: 44px; width: 44px;
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(232, 184, 75, 0.35);
}

.nav-links { display: flex; gap: 24px; margin-left: auto; align-items: center; }

.nav-links a {
  color: var(--dim);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s, text-shadow 0.2s;
}

.nav-links a:hover, .nav-links a:focus-visible {
  color: var(--amber);
  text-shadow: 0 0 12px rgba(255, 176, 58, 0.6);
}

/* ----- buttons --------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: var(--body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 34px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, filter 0.2s;
}

.btn-gold {
  background: linear-gradient(178deg,
    var(--gold-hi) 0%, var(--gold-mid) 28%, var(--gold) 52%, var(--gold-deep) 100%);
  color: #1C1104;
  border-color: rgba(255, 243, 196, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    inset 0 -6px 12px rgba(110, 70, 16, 0.55),
    0 6px 22px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(232, 184, 75, 0.3);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-gold:hover, .btn-gold:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    inset 0 -6px 12px rgba(110, 70, 16, 0.55),
    0 10px 28px rgba(0, 0, 0, 0.65),
    0 0 44px rgba(232, 184, 75, 0.45);
}

.btn-neon {
  background: rgba(255, 68, 56, 0.06);
  color: #FF6A5F;
  border-color: rgba(255, 68, 56, 0.55);
  box-shadow: 0 0 18px rgba(255, 68, 56, 0.22), inset 0 0 16px rgba(255, 68, 56, 0.08);
  text-shadow: 0 0 10px rgba(255, 68, 56, 0.6);
}

.btn-neon:hover, .btn-neon:focus-visible {
  border-color: var(--red);
  box-shadow: 0 0 30px rgba(255, 68, 56, 0.4), inset 0 0 20px rgba(255, 68, 56, 0.12);
}

.btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* ----- hero ------------------------------------------------------ */

.hero {
  min-height: calc(100vh - 66px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 26px 0 84px;
  position: relative;
}

.hero-logo {
  width: min(640px, 94vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 0 60px rgba(232, 184, 75, 0.18));
  animation: heroIn 1.2s ease-out both;
}

@keyframes heroIn {
  from { opacity: 0; transform: scale(0.965); }
  to   { opacity: 1; transform: scale(1); }
}

.hero-tag {
  font-family: var(--mono);
  color: var(--amber);
  font-size: 15px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin: 6px 0 36px;
  text-shadow: 0 0 16px rgba(255, 176, 58, 0.55);
}

.hero-ctas { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }

/* ----- section headers ------------------------------------------ */

.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
  text-shadow: 0 0 14px rgba(255, 68, 56, 0.55);
}

h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(26px, 4.2vw, 40px);
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

h2.goldtext { line-height: 1.25; }

.lede { max-width: 660px; color: var(--dim); font-size: 18px; }

/* ----- status board: lit marquee -------------------------------- */

.board {
  position: relative;
  border: 2px solid var(--line-lit);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(20, 16, 8, 0.9), rgba(0, 0, 0, 0.94));
  padding: 34px 40px;
  display: flex;
  align-items: center;
  gap: 44px;
  flex-wrap: wrap;
  box-shadow: 0 0 40px rgba(232, 184, 75, 0.08), inset 0 0 60px rgba(0, 0, 0, 0.8);
}

/* marquee bulbs around the board */
.board::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 20px;
  padding: 4px;
  background-image: radial-gradient(circle 3px, var(--amber) 55%, transparent 60%);
  background-size: 26px 26px;
  background-position: 6px 6px;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.75;
  animation: bulbs 1.4s steps(2) infinite;
  pointer-events: none;
}

@keyframes bulbs { 50% { background-position: 19px 6px; } }

.board-cell { font-family: var(--mono); }

.board-label {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 8px;
}

.board-value { font-size: 31px; color: var(--ink); letter-spacing: 0.06em; }
.board-value.gold { color: var(--gold-mid); text-shadow: 0 0 18px rgba(255, 217, 104, 0.5); }
.board-value.on  { color: #57E67F; text-shadow: 0 0 18px rgba(87, 230, 127, 0.6); }
.board-value.off { color: var(--red); text-shadow: 0 0 18px rgba(255, 68, 56, 0.6); }

.lamp {
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 50%;
  margin-right: 10px;
  background: currentColor;
  box-shadow: 0 0 14px currentColor;
  vertical-align: 2px;
}

/* ----- playing-card steps ---------------------------------------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
  margin-top: 46px;
}

.card {
  position: relative;
  border-radius: 16px;
  padding: 2px; /* gold foil frame */
  background: linear-gradient(160deg, var(--gold-hi), var(--gold-deep) 40%, #3A2708 60%, var(--gold-mid));
  transition: transform 0.22s, box-shadow 0.25s;
}

.card-inner {
  border-radius: 14px;
  background: linear-gradient(170deg, #121016, #050507);
  padding: 30px 26px 26px;
  height: 100%;
}

.card:hover {
  transform: translateY(-7px) rotate(-0.5deg);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.7), 0 0 34px rgba(232, 184, 75, 0.22);
}

.card-pip {
  font-family: var(--display);
  font-size: 25px;
  margin-bottom: 14px;
}

.card-pip .suit.red { color: var(--red); text-shadow: 0 0 12px rgba(255, 68, 56, 0.55); }
.card-pip .suit.blk { color: var(--ink); }

.card h3 {
  font-family: var(--body);
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  margin-bottom: 8px;
}

.card p { color: var(--dim); font-size: 15.5px; }

.card a { color: var(--blue); text-decoration: none; }
.card a:hover { text-decoration: underline; text-shadow: 0 0 10px rgba(61, 155, 255, 0.6); }

/* ----- feature rows ---------------------------------------------- */

.rows { margin-top: 40px; display: grid; }

.row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 27px 4px;
  border-top: 1px solid var(--line);
}

.row:last-child { border-bottom: 1px solid var(--line); }

.row-key {
  font-family: var(--mono);
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-top: 3px;
  text-shadow: 0 0 12px rgba(232, 184, 75, 0.3);
}

.row-val { color: var(--ink); }
.row-val small { color: var(--dim); display: block; margin-top: 4px; font-size: 14.5px; }

/* ----- forms (players club) -------------------------------------- */

.club {
  max-width: 470px;
  margin: 72px auto;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(165deg, var(--gold-hi), var(--gold-deep) 35%, #2A1C06 65%, var(--gold-mid));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.8), 0 0 60px rgba(232, 184, 75, 0.12);
}

.club-inner {
  border-radius: 18px;
  background: linear-gradient(178deg, #100E12, #040405);
  overflow: hidden;
}

.club-head {
  padding: 32px 34px 26px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(360px 130px at 50% 0%, rgba(232, 184, 75, 0.12), transparent 70%);
}

.club-head img {
  width: 92px; height: 92px;
  border-radius: 50%;
  margin-bottom: 14px;
  box-shadow: 0 0 26px rgba(232, 184, 75, 0.4);
}

.club-head .eyebrow { margin-bottom: 8px; }

.club-head h1 {
  font-size: 28px;
  letter-spacing: 0.12em;
}

.club-head p { color: var(--dim); font-size: 14.5px; margin-top: 10px; }

.club form, .club .club-body { padding: 30px 34px 34px; display: grid; gap: 18px; }

label {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 7px;
}

input[type="text"], input[type="email"], input[type="password"] {
  width: 100%;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid var(--line-lit);
  border-radius: 8px;
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  padding: 13px 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(232, 184, 75, 0.18);
}

.hint { font-size: 13px; color: var(--dim); margin-top: 6px; }

.msg { border-radius: 8px; padding: 13px 16px; font-size: 15px; display: none; }
.msg.show { display: block; }
.msg.ok  { background: rgba(87, 230, 127, 0.08); border: 1px solid rgba(87, 230, 127, 0.4); color: #57E67F; }
.msg.err { background: rgba(255, 68, 56, 0.08); border: 1px solid rgba(255, 68, 56, 0.45); color: #FF6A5F; }

/* ----- footer ---------------------------------------------------- */

footer {
  border-top: 1px solid var(--line);
  padding: 46px 0 62px;
  color: var(--dim);
  font-size: 13.5px;
}

footer .wrap { display: grid; gap: 10px; }

footer a { color: var(--amber); text-decoration: none; }
footer a:hover { text-shadow: 0 0 10px rgba(255, 176, 58, 0.5); }

/* ----- responsive + a11y ----------------------------------------- */

@media (max-width: 640px) {
  section { padding: 64px 0; }
  .row { grid-template-columns: 1fr; gap: 6px; }
  .nav-links a.hide-sm { display: none; }
  .board { gap: 24px; padding: 26px; }
  .board::before { inset: -9px; background-size: 22px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .stars, .stars::after { animation: none; }
  .board::before { animation: none; }
  .hero-logo { animation: none; }
  .card, .btn { transition: none; }
  html { scroll-behavior: auto; }
}
