/* ── BTC Lottery — Main Stylesheet ─────────────────────────────────────── */

:root {
  --btc: #f7931a;
  --btc-dim: rgba(247,147,26,0.12);
  --btc-light: #ffb347;
  --bg: #050508;
  --bg-card: rgba(247,147,26,0.04);
}

* { font-family: 'Inter', sans-serif; }
.font-rajdhani { font-family: 'Rajdhani', sans-serif; }
.font-mono     { font-family: 'JetBrains Mono', monospace; }

body {
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(247,147,26,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247,147,26,0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  color: #fff;
  min-height: 100vh;
}

/* ── Glow blobs ── */
.blob-orange {
  position: fixed; top: -200px; right: -100px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(247,147,26,0.12), transparent 70%);
  filter: blur(80px); pointer-events: none; z-index: 0;
}
.blob-blue {
  position: fixed; bottom: -100px; left: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(79,195,247,0.06), transparent 70%);
  filter: blur(80px); pointer-events: none; z-index: 0;
}

/* ── Navbar ── */
.navbar {
  background: rgba(5,5,8,0.85) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.brand-icon { font-size: 1.5rem; color: var(--btc); filter: drop-shadow(0 0 10px rgba(247,147,26,0.5)); }
.brand-name { font-family: 'Rajdhani', sans-serif; font-weight: 900; font-size: 1.1rem; letter-spacing: 3px; color: var(--btc); line-height: 1; }
.brand-sub  { font-size: 9px; letter-spacing: 3px; color: rgba(247,147,26,0.4); font-weight: 600; }

.nav-link-custom {
  font-size: 12px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; text-decoration: none;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
}
.nav-link-custom:hover  { color: rgba(255,255,255,0.7); }
.nav-link-custom.active { color: var(--btc); border-bottom-color: var(--btc); }

.info-pill {
  border: 1px solid rgba(247,147,26,0.2);
  background: rgba(247,147,26,0.06);
  border-radius: 12px;
  overflow: hidden;
}
.info-pill-item {
  padding: 4px 14px;
  border-right: 1px solid rgba(247,147,26,0.1);
}
.info-pill-item:last-child { border-right: none; }
.info-pill-label { font-size: 9px; color: rgba(247,147,26,0.4); text-transform: uppercase; letter-spacing: 1px; }
.info-pill-value { font-family: 'Rajdhani', sans-serif; font-size: 1rem; font-weight: 800; color: var(--btc); line-height: 1; }
.info-pill-value.highlight { color: var(--btc-light); font-size: 1.1rem; }

.btn-sound {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  background: transparent;
  color: rgba(255,255,255,0.2);
}
.btn-sound.active  { color: var(--btc); background: rgba(247,147,26,0.1); }
.btn-sound:hover   { background: rgba(247,147,26,0.15); color: var(--btc); }

/* ── Hero ── */
.hero-label { font-size: 11px; letter-spacing: 4px; color: rgba(247,147,26,0.5); font-weight: 600; text-transform: uppercase; }
.hero-desc  { font-size: 13px; color: rgba(255,255,255,0.25); max-width: 360px; line-height: 1.6; }

/* ── Progress ring ── */
.ring-wrap { position: relative; width: 220px; height: 220px; }
.ring-wrap svg { position: absolute; inset: 0; }
.ring-center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.big-number {
  font-family: 'Rajdhani', sans-serif; font-weight: 900;
  font-size: 88px; line-height: 1;
  color: var(--btc);
  text-shadow: 0 0 40px rgba(247,147,26,0.6), 0 0 80px rgba(247,147,26,0.3);
  font-variant-numeric: tabular-nums;
}

@keyframes pop-in {
  0%   { transform: scale(0.7); opacity: 0; }
  60%  { transform: scale(1.1); }
  100% { transform: scale(1);   opacity: 1; }
}
.pop { animation: pop-in 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both; }

@keyframes pulse-slow {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.55; }
}
.pulse-slow { animation: pulse-slow 2s ease-in-out infinite; }

/* ── Hash display ── */
.hash-box {
  background: rgba(247,147,26,0.04);
  border: 1px solid rgba(247,147,26,0.12);
  border-radius: 14px;
  padding: 16px 20px;
  transition: border-color 0.2s;
  max-width: 600px;
  margin: 0 auto;
}
.hash-box:hover { border-color: rgba(247,147,26,0.28); }
.hash-label-sm  { font-size: 10px; color: rgba(247,147,26,0.4); letter-spacing: 2px; text-transform: uppercase; }
.hash-text      { font-family: 'JetBrains Mono', monospace; font-size: 12px; line-height: 1.7; word-break: break-all; text-decoration: none; display: block; }
.hash-text:hover .hash-dim { color: rgba(255,255,255,0.55); }
.hash-hi  { color: var(--btc); font-weight: 600; }
.hash-dim { color: rgba(255,255,255,0.2); transition: color 0.2s; }
.hash-formula { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: rgba(255,255,255,0.3); border-top: 1px solid rgba(247,147,26,0.1); margin-top: 10px; padding-top: 10px; }

.mempool-btn {
  font-size: 10px; font-weight: 600;
  color: rgba(247,147,26,0.4);
  text-decoration: none;
  display: flex; align-items: center; gap: 4px;
  transition: color 0.2s;
}
.mempool-btn:hover { color: var(--btc); }

/* ── Countdown ── */
.countdown-big {
  font-family: 'Rajdhani', sans-serif; font-weight: 900;
  font-size: 3rem; letter-spacing: 6px;
  color: rgba(247,147,26,0.6);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.countdown-big.urgent { color: #ff6b6b; animation: pulse-slow 1s ease-in-out infinite; }

/* ── Block cards ── */
.block-card {
  background: var(--bg-card);
  border: 1px solid rgba(247,147,26,0.12);
  border-radius: 16px;
  transition: transform 0.25s ease, border-color 0.25s, box-shadow 0.25s;
  height: 100%;
}
.block-card:hover {
  transform: translateY(-4px);
  border-color: rgba(247,147,26,0.35);
  box-shadow: 0 12px 32px rgba(247,147,26,0.1);
}
.block-card.is-latest {
  border-color: rgba(247,147,26,0.35);
  background: rgba(247,147,26,0.07);
  box-shadow: 0 0 24px rgba(247,147,26,0.08);
}
.card-rank { font-size: 9px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }

.number-badge {
  width: 64px; height: 64px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Rajdhani', sans-serif; font-weight: 900;
  font-size: 2rem; color: #fff; line-height: 1;
  flex-shrink: 0;
}
.number-badge.lg { width: 80px; height: 80px; font-size: 2.5rem; border-radius: 18px; }

.hash-link-small {
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  color: rgba(255,255,255,0.25); text-decoration: none;
  display: flex; align-items: center; gap: 4px;
  transition: color 0.2s;
}
.hash-link-small:hover { color: var(--btc); }
.hash-link-small .link-icon { opacity: 0; transition: opacity 0.2s; }
.hash-link-small:hover .link-icon { opacity: 0.7; }

.meta-text { font-size: 10px; color: rgba(255,255,255,0.2); }

/* ── Shimmer ── */
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.shimmer {
  background: linear-gradient(90deg, rgba(247,147,26,0.04) 25%, rgba(247,147,26,0.12) 50%, rgba(247,147,26,0.04) 75%);
  background-size: 400px 100%; animation: shimmer 1.8s linear infinite;
  border-radius: 50%;
}

/* ── Utility ── */
.text-btc       { color: var(--btc) !important; }
.text-btc-dim   { color: rgba(247,147,26,0.5) !important; }
.text-btc-light { color: var(--btc-light) !important; }
.border-btc     { border-color: var(--btc) !important; }

section, main { position: relative; z-index: 1; }

@keyframes spin { to { transform: rotate(360deg); } }
.spin { animation: spin 0.8s linear infinite; display: inline-block; }
.min-width-0 { min-width: 0; }

