/* === DOODLE JUMP CASINO — SHARED STYLES === */
:root {
  --paper: #f7f3e8;
  --ink: #15314b;
  --muted: rgba(21, 49, 75, .65);
  --blue: #2aa6ff;
  --green: #41d36b;
  --red: #ff4d4d;
  --shadow: 0 10px 20px rgba(0, 0, 0, .08);
  --radius: 18px;
  --stroke: 3px;
  --uiFont: ui-rounded, "Comic Sans MS", "Comic Neue", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body {
  min-height: 100%;
  font-family: var(--uiFont);
  color: var(--ink);
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
button, input, select, textarea { font: inherit; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

body {
  background:
    radial-gradient(circle at 15px 18px, rgba(255,255,255,.85) 0 2px, transparent 3px) 0 0/120px 140px,
    radial-gradient(circle at 65px 68px, rgba(255,255,255,.70) 0 2px, transparent 3px) 0 0/160px 170px,
    radial-gradient(circle at 110px 40px, rgba(255,255,255,.55) 0 1.5px, transparent 3px) 0 0/180px 190px,
    radial-gradient(circle at 18% 18%, rgba(255,255,255,.65) 0 60px, transparent 62px),
    radial-gradient(circle at 70% 20%, rgba(255,255,255,.55) 0 90px, transparent 92px),
    linear-gradient(180deg, #bfe8ff 0%, #eaf6ff 45%, #f7fffb 100%);
  background-attachment: fixed;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px;
}

/* === HEADER / NAV === */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(15,42,68,.1);
  padding: 10px 0;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.brand {
  font-weight: 900;
  font-size: clamp(16px, 4vw, 22px);
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #0f2a44;
  white-space: nowrap;
}
.brand a { color: inherit; text-decoration: none; }
nav { display: flex; gap: 6px; flex-wrap: wrap; }
nav a {
  padding: 6px 12px;
  border-radius: 12px;
  font-weight: 800;
  font-size: clamp(12px, 3vw, 14px);
  color: #0f2a44;
  background: rgba(230,245,255,.6);
  border: 2px solid rgba(15,42,68,.12);
  transition: all .2s;
  white-space: nowrap;
}
nav a:hover, nav a.active {
  background: var(--green);
  color: #0b2a19;
  text-decoration: none;
  border-color: #2cb85a;
}

/* === PANELS === */
.panel {
  background: rgba(255,255,255,.96);
  border: var(--stroke) solid rgba(15,42,68,.15);
  box-shadow: var(--shadow);
  border-radius: 24px;
  padding: 24px 20px;
  margin-bottom: 20px;
  position: relative;
}
.panel::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 18px;
  border: 2px dashed rgba(15,42,68,.12);
  pointer-events: none;
}

/* === HERO === */
.hero-section { padding: 60px 0 30px; }
h1 {
  font-size: clamp(28px, 7vw, 48px);
  font-weight: 900;
  color: #0f2a44;
  line-height: 1.1;
  margin-bottom: 12px;
}
h1 small {
  display: block;
  font-size: 0.55em;
  color: #1b5f7e;
  margin-top: 6px;
  font-weight: 800;
}
.hero-desc {
  font-size: clamp(15px, 4vw, 18px);
  color: rgba(15,42,68,.85);
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* === BUTTONS === */
.btnrow {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 22px;
  border-radius: 16px;
  border: var(--stroke) solid #0f2a44;
  background: linear-gradient(180deg, #fff, #f1fbff);
  box-shadow: 0 7px 0 rgba(15,42,68,.18), 0 12px 20px rgba(0,0,0,.08);
  color: #0f2a44;
  text-decoration: none;
  font-weight: 900;
  font-size: clamp(16px, 4.5vw, 20px);
  min-width: 160px;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 9px 0 rgba(15,42,68,.2), 0 16px 24px rgba(0,0,0,.1); text-decoration: none; }
.btn:active { transform: translateY(2px); box-shadow: 0 3px 0 rgba(15,42,68,.18); }
.btn.primary { background: linear-gradient(180deg, #55e58a, #41d36b); color: #0b2a19; }
.btn.tg { background: linear-gradient(180deg, #40c8e8, #229ed9); color: #fff; border-color: #1178a0; box-shadow: 0 7px 0 rgba(17,120,160,.25), 0 12px 20px rgba(0,0,0,.08); }
.btn.demo { background: linear-gradient(180deg, #fff5cc, #ffe066); color: #5a4200; border-color: #c9a800; box-shadow: 0 7px 0 rgba(180,150,0,.2), 0 12px 20px rgba(0,0,0,.08); }

@media (max-width: 500px) {
  .btnrow { flex-direction: column; }
  .btn { width: 100%; min-width: auto; }
}

/* === STAT LIVE === */
.stat-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-radius: 40px;
  border: 2px dashed rgba(15,42,68,.2);
  background: #fff;
  font-weight: 900;
  font-size: clamp(13px, 3.5vw, 15px);
  gap: 8px;
  margin: 16px 0;
}
.badge-green {
  background: #eafff2;
  color: #147a37;
  padding: 6px 16px;
  border-radius: 30px;
  font-weight: 900;
  border: 2px solid rgba(20,122,55,.25);
  white-space: nowrap;
}

/* === HEADINGS === */
h2 {
  font-size: clamp(22px, 5.5vw, 32px);
  color: #0f2a44;
  font-weight: 900;
  margin: 28px 0 12px;
  line-height: 1.2;
}
h3 {
  font-size: clamp(18px, 4.5vw, 24px);
  color: #0f2a44;
  font-weight: 900;
  margin: 22px 0 10px;
  line-height: 1.25;
}
p { margin-bottom: 14px; font-size: clamp(14px, 3.8vw, 16px); line-height: 1.7; }
ul, ol { margin: 12px 0 16px 20px; }
li { margin-bottom: 8px; font-size: clamp(14px, 3.8vw, 16px); line-height: 1.6; }

/* === FEATURE GRID === */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 20px 0;
}
.feature-card {
  background: rgba(230,245,255,.5);
  padding: 16px;
  border-radius: 20px;
  border-left: 6px solid var(--green);
  font-weight: 700;
  font-size: clamp(14px, 3.5vw, 15px);
}
.feature-card strong { display: block; font-size: 1.1em; margin-bottom: 4px; }

/* === INFO TABLE === */
.info-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 16px;
  overflow: hidden;
  margin: 16px 0 20px;
  border: 2px solid rgba(15,42,68,.12);
}
.info-table th, .info-table td {
  padding: 12px 16px;
  text-align: left;
  font-size: clamp(13px, 3.5vw, 15px);
}
.info-table th {
  background: #0f2a44;
  color: #fff;
  font-weight: 800;
}
.info-table tr:nth-child(even) td { background: rgba(230,245,255,.3); }
.info-table tr:nth-child(odd) td { background: #fff; }

/* === FAQ === */
.faq-item {
  border-bottom: 2px dashed rgba(15,42,68,.12);
  padding: 16px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  font-weight: 900;
  font-size: clamp(15px, 4vw, 17px);
  color: #0f2a44;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.faq-q::before { content: "▸ "; color: var(--green); font-size: 1.2em; flex-shrink: 0; }
.faq-a {
  margin-top: 8px;
  padding-left: 20px;
  color: var(--muted);
  font-size: clamp(14px, 3.5vw, 15px);
}

/* === KEYWORD CLOUD === */
.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}
.keyword-cloud span {
  padding: 6px 14px;
  background: rgba(42,166,255,.08);
  border: 2px solid rgba(42,166,255,.15);
  border-radius: 30px;
  font-weight: 700;
  font-size: clamp(12px, 3vw, 14px);
  color: #15314b;
}

/* === INTERNAL LINKS === */
.internal-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 20px 0;
}
.internal-links a {
  padding: 14px 16px;
  background: rgba(255,255,255,.9);
  border: 2px solid rgba(15,42,68,.12);
  border-radius: 16px;
  font-weight: 800;
  font-size: clamp(13px, 3.5vw, 15px);
  color: #0f2a44;
  transition: all .2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.internal-links a:hover { background: var(--green); color: #0b2a19; text-decoration: none; border-color: #2cb85a; }

/* === FOOTER === */
footer {
  margin-top: 30px;
  padding: 24px 0;
  border-top: 2px dashed rgba(15,42,68,.12);
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
footer a { color: var(--muted); }
footer nav { justify-content: center; margin-bottom: 12px; }

/* === RESPONSIVE === */
@media (max-width: 400px) {
  .panel { padding: 16px 14px; }
  nav a { padding: 5px 8px; font-size: 12px; }
}
