@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&display=swap');

body {
  background: #07070f;
  color: #e4e0ff;
  font-family: 'Inter', system-ui, sans-serif;
}

.glow-red {
  font-family: 'Syne', sans-serif;
  text-shadow: 0 0 60px #836ef9, 0 0 120px rgba(131,110,249,0.5);
  color: #fff;
}

.card-hover {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s;
}
.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 40px rgba(124,77,255,0.35);
  border-color: rgba(124,77,255,0.5) !important;
}

.how-section {
  background: radial-gradient(circle at 50% 0%, rgba(124,77,255,0.1), transparent 60%), #07070f;
  border-top: 1px solid rgba(124,77,255,0.2);
  border-bottom: 1px solid rgba(124,77,255,0.2);
}
.how-card {
  background: linear-gradient(180deg, rgba(124,77,255,0.07), rgba(10,10,20,0.95));
  border: 1px solid rgba(124,77,255,0.3);
  border-radius: 1.5rem;
  box-shadow: 0 0 60px rgba(124,77,255,0.12);
}
.how-card .accent { color: #a78bff; }

.tab-btn { transition: color 0.15s; }
.tab-btn.active { color: #a78bff; border-bottom-color: #7c4dff; }

.stat-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(124,77,255,0.15);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
}
.stat-card .label { font-size: 0.72rem; color: #6660aa; text-transform: uppercase; letter-spacing: 0.08em; }
.stat-card .value { font-size: 1.4rem; font-weight: 700; margin-top: 0.25rem; color: #fff; word-break: break-all; }

.bet-row {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(124,77,255,0.12);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  transition: border-color 0.15s;
}
.bet-row:hover { border-color: rgba(124,77,255,0.3); }
.empty-row { color: #4a4470; font-style: italic; padding: 0.75rem 0; }

.token-pill {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 12px;
  color: #7060aa;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
  font-weight: 500;
}
.token-pill:hover { border-color: rgba(124,77,255,0.4); color: #c4b0ff; }
.token-pill.active { background: rgba(124,77,255,0.2); border-color: rgba(124,77,255,0.5); color: #e0d4ff; }

.warn-box {
  background: rgba(255,171,0,0.07);
  border: 1px solid rgba(255,171,0,0.3);
  border-radius: 10px;
  padding: 14px 16px;
}

.ack-check {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,171,0,0.5);
  border-radius: 4px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0; cursor: pointer;
  transition: all 0.15s;
}
.ack-check.checked { background: #f0b429; border-color: #f0b429; color: #000; }

.bar-track { height: 5px; background: rgba(255,255,255,0.07); border-radius: 3px; overflow: hidden; }
.bar-yes { height: 100%; background: linear-gradient(90deg, #7c4dff, #a78bff); border-radius: 3px; transition: width 0.3s; }

#pauseBanner {
  background: rgba(255,171,0,0.08);
  border-top: 1px solid rgba(255,171,0,0.25);
  border-bottom: 1px solid rgba(255,171,0,0.25);
  color: #f0b429;
}

.withdraw-btn {
  background: rgba(29,158,117,0.15);
  border: 1px solid rgba(29,158,117,0.35);
  border-radius: 8px; padding: 5px 14px;
  color: #1D9E75; font-size: 12px; cursor: pointer; font-weight: 600;
  transition: all 0.15s;
}
.withdraw-btn:hover { background: rgba(29,158,117,0.28); }

#liveTicker { background: rgba(10,10,20,0.97); backdrop-filter: blur(12px); border: 1px solid rgba(124,77,255,0.3); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(124,77,255,0.3); border-radius: 3px; }

/* ========== Platform Funds & Rules ========== */
.funds-section {
  max-width: 1100px;
  margin: 56px auto;
  padding: 40px 32px 36px;
  position: relative;
}

.funds-section h2 {
  font-family: 'Syne', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
}

.card {
  background: linear-gradient(180deg, rgba(124,77,255,0.06), rgba(15,10,31,0.92));
  border: 1px solid rgba(124,77,255,0.28);
  border-radius: 1.5rem;
}

.glow-purple {
  box-shadow: 0 0 60px rgba(124,77,255,0.18), inset 0 0 40px rgba(124,77,255,0.04);
}

.funds-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.funds-grid .fund-card.big { grid-column: span 2; }

@media (min-width: 768px) {
  .funds-grid { grid-template-columns: repeat(3, 1fr); }
  .funds-grid .fund-card.big { grid-column: span 1; }
}

.fund-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(124,77,255,0.2);
  border-radius: 1.25rem;
  padding: 24px 22px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.fund-card:hover {
  border-color: rgba(124,77,255,0.5);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(124,77,255,0.18);
}

.fund-card .fund-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.fund-card h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8b7fb8;
  margin-bottom: 6px;
  font-weight: 700;
}

.fund-card h2 {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  margin: 4px 0;
  line-height: 1.1;
}

.fund-card p {
  color: #d4cdf5;
  font-size: 0.95rem;
  margin-top: 4px;
}

.fund-card small {
  display: block;
  margin-top: 10px;
  color: #6660aa;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.lose-side, .win-side {
  border-radius: 0.85rem;
  padding: 14px 10px;
  font-size: 0.85rem;
  line-height: 1.4;
}

.lose-side {
  background: rgba(226,75,74,0.1);
  border: 1px solid rgba(226,75,74,0.3);
}
.win-side {
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
}

.lose-side strong, .win-side strong {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.red   { color: #f87171; font-weight: 700; font-size: 0.72rem; letter-spacing: 0.05em; }
.green { color: #4ade80; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.05em; }
