/* LUCKY777 — neon casino theme: deep purple, gold and red-7 neon. */
:root {
  --bg: #12051f;
  --bg-deep: #0b0214;
  --panel: #22103a;
  --panel-2: #1a0b2e;
  --line: #ffd34d33;
  --line-soft: #b26bff2e;
  --gold: #ffd34d;
  --gold-light: #ffe98a;
  --gold-deep: #c9930a;
  --red: #ff2d55;
  --red-glow: #ff2d5599;
  --violet: #b26bff;
  --ivory: #fdf6e3;
  --body: #e9def7;
  --muted: #b7a6d6;
  --dark-on-gold: #2a1400;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(900px 480px at 50% -120px, #ff2d5533, transparent 60%),
    radial-gradient(1100px 620px at 85% 240px, #7b2ff733, transparent 60%),
    radial-gradient(800px 500px at 8% 700px, #ffd34d14, transparent 55%),
    var(--bg);
  color: var(--body);
  font-family: "Rubik", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
a { color: var(--gold-light); }
.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .86em; word-break: break-all; }
.muted { color: var(--muted); }
h1, h2, h3 { color: var(--ivory); line-height: 1.2; }
h2 { font-size: 1.7rem; margin: 0 0 14px; }
section { padding: 56px 0 8px; }

/* ---------- header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 2, 20, .88); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.header-in { display: flex; align-items: center; gap: 22px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.seal {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px;
  background: radial-gradient(circle at 35% 30%, #3a0d24, #1c0512);
  border: 2px solid var(--red);
  color: var(--red); font-family: "Bungee", "Noto Sans SC", sans-serif; font-size: 26px;
  box-shadow: 0 0 14px var(--red-glow), inset 0 0 10px #ff2d5544;
  text-shadow: 0 0 8px var(--red), 0 0 20px var(--red-glow);
}
.wordmark { color: var(--ivory); font-family: "Bungee", "Noto Sans SC", sans-serif; font-size: 20px; letter-spacing: .5px; line-height: 1.1; }
.wordmark .n7 { color: var(--gold); text-shadow: 0 0 10px #ffd34d88; }
.wordmark small { display: block; font-family: "Rubik", sans-serif; font-size: 10px; letter-spacing: 3px; color: var(--muted); font-weight: 600; }
nav.main { display: flex; gap: 18px; margin-left: auto; flex-wrap: wrap; }
nav.main a { color: var(--body); text-decoration: none; font-size: 14.5px; font-weight: 500; }
nav.main a:hover { color: var(--gold-light); }
.btn {
  display: inline-block; padding: 11px 22px; border-radius: 999px; text-decoration: none;
  font-weight: 700; font-size: 15px; border: 1px solid transparent; cursor: pointer;
}
.btn-gold {
  background: linear-gradient(180deg, var(--gold-light), var(--gold) 55%, var(--gold-deep));
  color: var(--dark-on-gold); box-shadow: 0 0 18px #ffd34d55, 0 4px 14px #00000066;
}
.btn-gold:hover { filter: brightness(1.07); }
.btn-ghost { border-color: var(--line); color: var(--gold-light); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); }
.lang-toggle { display: inline-flex; border: 1px solid var(--line-soft); border-radius: 999px; overflow: hidden; }
.lang-toggle a { padding: 6px 12px; color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 600; }
.lang-toggle a.on { background: var(--gold); color: var(--dark-on-gold); }

/* ---------- hero ---------- */
.hero { padding: 64px 0 10px; text-align: center; }
.chip {
  display: inline-block; padding: 5px 14px; border-radius: 999px; font-size: 12px; font-weight: 700;
  letter-spacing: 2.5px; color: var(--gold-light); border: 1px solid var(--line);
  background: #ffd34d0f; box-shadow: inset 0 0 12px #ffd34d14;
}
.hero h1 {
  font-family: "Bungee", "Noto Sans SC", sans-serif; font-size: clamp(44px, 9vw, 84px);
  margin: 22px 0 6px; color: var(--ivory); letter-spacing: 1px;
}
.hero h1 .n7 { color: var(--gold); text-shadow: 0 0 12px #ffd34daa, 0 0 42px #ffd34d55; }
.hero h1 .seven-red { color: var(--red); text-shadow: 0 0 12px var(--red), 0 0 46px var(--red-glow); }
.tagline { font-size: clamp(19px, 3vw, 25px); color: var(--gold-light); font-weight: 600; margin: 8px 0 4px; }
.hero .sub { max-width: 640px; margin: 10px auto 0; color: var(--muted); }
.hero-cta { display: flex; gap: 14px; justify-content: center; margin: 26px 0 8px; flex-wrap: wrap; }
.status-pill {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 16px; padding: 7px 16px;
  border-radius: 999px; border: 1px solid var(--line-soft); background: var(--panel-2);
  font-size: 14px; font-weight: 600; color: var(--body);
}
.status-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.status-pill.live .dot { background: #3dff7a; box-shadow: 0 0 10px #3dff7a; }
.status-pill.done .dot { background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.stat-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 34px 0 6px; }
.stat-strip .cell, .stat-grid .cell {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line-soft); border-radius: 14px; padding: 14px 10px; text-align: center;
}
.stat-strip .num, .stat-grid .num { font-size: 21px; font-weight: 800; color: var(--ivory); }
.stat-strip .num small, .stat-grid .num small { font-size: 12px; color: var(--muted); font-weight: 600; }
.stat-strip .lbl, .stat-grid .lbl { font-size: 11.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat-grid .num.hl { color: var(--gold); text-shadow: 0 0 12px #ffd34d55; }

/* ---------- cards / board ---------- */
.card {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line-soft); border-radius: 20px; padding: 26px;
  box-shadow: 0 18px 44px #00000055;
}
.board-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.board-head .pct { font-size: 26px; font-weight: 800; color: var(--gold); text-shadow: 0 0 14px #ffd34d55; }
.progress { height: 16px; border-radius: 999px; background: #0b0214; border: 1px solid var(--line-soft); overflow: hidden; margin: 14px 0 20px; }
.progress .fill {
  height: 100%; width: 0%;
  background: repeating-linear-gradient(45deg, var(--gold) 0 14px, var(--gold-deep) 14px 28px);
  box-shadow: 0 0 16px #ffd34d88; transition: width .8s ease;
}
.note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
.step { background: var(--panel-2); border: 1px solid var(--line-soft); border-radius: 14px; padding: 16px; }
.step h3 { margin: 0 0 6px; font-size: 15.5px; }
.step p { margin: 0; font-size: 13.5px; color: var(--muted); }
.step .k { color: var(--red); font-family: "Bungee", sans-serif; font-size: 13px; text-shadow: 0 0 8px var(--red-glow); }
.row-btns { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }

/* ---------- slot machine ---------- */
.machine {
  max-width: 560px; margin: 22px auto 0; padding: 26px 22px 22px; text-align: center;
  background: linear-gradient(180deg, #2c1250, #170829);
  border: 2px solid var(--gold-deep); border-radius: 26px;
  box-shadow: 0 0 0 4px #0b0214, 0 0 34px #ffd34d33, 0 24px 50px #00000077;
  position: relative;
}
.machine::before {
  content: ""; position: absolute; inset: 8px; border-radius: 20px;
  border: 1px dashed #ffd34d3d; pointer-events: none;
}
.machine .marquee {
  font-family: "Bungee", "Noto Sans SC", sans-serif; font-size: 24px; color: var(--gold);
  text-shadow: 0 0 10px #ffd34daa, 0 0 30px #ffd34d55; letter-spacing: 2px;
}
.jackpot-line { margin-top: 8px; font-size: 15px; color: var(--body); }
.jackpot-line b { color: var(--red); font-size: 21px; text-shadow: 0 0 10px var(--red-glow); }
.reels { display: flex; gap: 12px; justify-content: center; margin: 20px 0 6px; }
.reel {
  width: 104px; height: 118px; border-radius: 14px; overflow: hidden; position: relative;
  background: linear-gradient(180deg, #fffbe9, #f3e6bd 60%, #e6d194);
  border: 3px solid var(--gold-deep); box-shadow: inset 0 10px 18px #00000033, inset 0 -10px 18px #00000033;
  display: flex; align-items: center; justify-content: center;
}
.reel .sym { font-size: 62px; line-height: 1; user-select: none; }
.reel .sym.seven { font-family: "Bungee", sans-serif; color: var(--red); text-shadow: 0 0 6px #ff2d5577, 2px 2px 0 #7a0c22; }
.reel.spinning .sym { animation: reelblur .12s linear infinite; }
@keyframes reelblur { 0% { transform: translateY(-7px); filter: blur(2px); } 50% { transform: translateY(7px); filter: blur(3px); } 100% { transform: translateY(-7px); filter: blur(2px); } }
.reel.win { border-color: var(--red); box-shadow: 0 0 22px var(--red-glow), inset 0 0 14px #ff2d5533; }
.lever-row { display: flex; gap: 14px; justify-content: center; align-items: center; margin-top: 16px; flex-wrap: wrap; }
.spin-btn {
  font-family: "Bungee", "Noto Sans SC", sans-serif; font-size: 20px; letter-spacing: 1px;
  padding: 13px 38px; border-radius: 999px; border: 2px solid #7a0c22; cursor: pointer;
  background: radial-gradient(circle at 35% 30%, #ff7d97, var(--red) 60%, #c40f35);
  color: #fff; text-shadow: 0 1px 2px #00000088; box-shadow: 0 0 20px var(--red-glow), 0 6px 16px #00000066;
}
.spin-btn:hover:not(:disabled) { filter: brightness(1.1); }
.spin-btn:disabled { opacity: .55; cursor: wait; }
.slot-msg { min-height: 28px; margin-top: 14px; font-weight: 700; font-size: 17px; color: var(--gold-light); }
.slot-msg.win { color: var(--gold); text-shadow: 0 0 14px #ffd34daa; font-size: 20px; }
.slot-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.mode-tag { font-size: 12px; letter-spacing: 1.5px; font-weight: 700; color: var(--violet); text-transform: uppercase; }

/* ---------- paytable ---------- */
table.pay, table.rank, .paper-body table { width: 100%; border-collapse: collapse; margin: 8px 0 4px; }
table.pay th, table.pay td, table.rank th, table.rank td, .paper-body th, .paper-body td {
  padding: 10px 12px; border-bottom: 1px solid var(--line-soft); text-align: left; font-size: 15px;
}
table.pay th, table.rank th, .paper-body th { color: var(--gold-light); font-size: 12.5px; letter-spacing: 1.2px; text-transform: uppercase; }
table.pay td.syms { font-size: 20px; letter-spacing: 4px; white-space: nowrap; }
table.pay td.syms .seven, table.rank td .seven { color: var(--red); font-family: "Bungee", sans-serif; text-shadow: 0 0 8px var(--red-glow); }
table.pay td.prize { font-weight: 800; color: var(--gold); white-space: nowrap; }
table.rank td.rk { color: var(--gold); font-weight: 800; width: 52px; }
table.rank td.sh { text-align: right; font-weight: 700; color: var(--ivory); }
table.rank th:last-child { text-align: right; }
.rank-empty { color: var(--muted); text-align: center !important; padding: 18px 12px !important; }

/* ---------- contracts / faq ---------- */
.contract-row { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); flex-wrap: wrap; }
.contract-row .role { min-width: 170px; font-weight: 700; color: var(--ivory); }
.contract-row .mono { flex: 1; color: var(--body); }
.copy-btn {
  border: 1px solid var(--line); background: transparent; color: var(--gold-light);
  border-radius: 8px; padding: 5px 11px; cursor: pointer; font-size: 13px;
}
.copy-btn:hover { border-color: var(--gold); }
details.faq { border: 1px solid var(--line-soft); border-radius: 14px; padding: 15px 18px; margin: 10px 0; background: var(--panel-2); }
details.faq summary { cursor: pointer; font-weight: 700; color: var(--ivory); }
details.faq p { color: var(--muted); margin: 9px 0 2px; }

/* ---------- paper ---------- */
.paper-body { padding: 46px 20px 10px; max-width: 820px; }
.paper-body h1 { font-family: "Bungee", "Noto Sans SC", sans-serif; font-size: 34px; }
.paper-body h2 { margin-top: 34px; font-size: 1.3rem; color: var(--gold-light); }
.paper-body p, .paper-body li { color: var(--body); }
.paper-body .structural {
  border-left: 3px solid var(--gold); padding: 10px 16px; background: #ffd34d0d; border-radius: 0 10px 10px 0;
}

/* ---------- footer ---------- */
footer.site { margin-top: 70px; border-top: 1px solid var(--line-soft); background: var(--bg-deep); }
.footer-in { padding: 28px 20px 34px; display: flex; flex-direction: column; gap: 14px; }
footer.site nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer.site nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
footer.site nav a:hover { color: var(--gold-light); }
.disclaimer { color: var(--muted); font-size: 13px; margin: 0; }

@media (max-width: 860px) {
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .slot-stats { grid-template-columns: 1fr; }
  nav.main { margin-left: 0; }
  .reel { width: 88px; height: 102px; }
  .reel .sym { font-size: 52px; }
}
