/* ===== WhamBible Global Styles ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #c9a227;
  --gold-light: #f5d87a;
  --gold-dark: #a07818;
  --amber: #e07b20;
  --bg-dark: #0d0800;
  --bg-mid: #1a0f02;
  --bg-card: rgba(40,25,5,0.95);
  --text-warm: #f0e4c0;
  --red-donate: rgba(180,50,20,0.85);
}

html, body {
  min-height: 100vh;
  background: linear-gradient(180deg, #0d0800 0%, #1a0f02 30%, #2a1a05 60%, #1a0f02 100%);
  color: var(--text-warm);
  font-family: 'Crimson Text', Georgia, serif;
  overflow-x: hidden;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201,162,39,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 50%, rgba(180,100,20,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(180,100,20,0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* ===== Language Bar ===== */
.lang-bar {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  padding: 12px 16px 8px;
}

.lang-btn {
  background: rgba(201,162,39,0.1);
  border: 1px solid rgba(201,162,39,0.25);
  border-radius: 20px;
  padding: 4px 10px;
  color: rgba(201,162,39,0.6);
  font-size: 11px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}

.lang-btn.active,
.lang-btn:hover {
  background: rgba(201,162,39,0.25);
  border-color: rgba(201,162,39,0.7);
  color: var(--gold-light);
}

/* ===== Content ===== */
.content {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 auto;
  padding: 0 16px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ===== Logo ===== */
.logo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 12px;
  margin-bottom: 8px;
}

.logo-img {
  width: 260px;
  height: 260px;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(201,162,39,0.5));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.tagline {
  color: rgba(201,162,39,0.8);
  font-family: 'Cinzel', serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  margin-top: 4px;
}

/* ===== Divider ===== */
.divider {
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,162,39,0.5), transparent);
  margin: 16px 0;
}

/* ===== Verse Card ===== */
.verse-card {
  width: 100%;
  background: linear-gradient(135deg, rgba(40,25,5,0.97) 0%, rgba(25,15,3,0.97) 100%);
  border: 1px solid rgba(201,162,39,0.4);
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.5), inset 0 1px 0 rgba(201,162,39,0.15);
  margin-bottom: 20px;
}

.verse-label {
  color: rgba(201,162,39,0.6);
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.verse-text {
  color: var(--text-warm);
  font-size: 16px;
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 12px;
}

.verse-ref {
  color: rgba(201,162,39,0.8);
  font-family: 'Cinzel', serif;
  font-size: 12px;
  text-align: right;
  letter-spacing: 1px;
}

/* ===== Level Selector ===== */
.level-section {
  width: 100%;
  margin-bottom: 20px;
}

.level-title {
  color: rgba(201,162,39,0.6);
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 10px;
}

.level-row {
  display: flex;
  gap: 8px;
}

.level-card {
  flex: 1;
  background: rgba(201,162,39,0.07);
  border: 1px solid rgba(201,162,39,0.2);
  border-radius: 10px;
  padding: 12px 4px;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: all 0.2s;
}

.level-card:hover {
  background: rgba(201,162,39,0.18);
  border-color: rgba(201,162,39,0.55);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.level-icon { font-size: 18px; }
.level-points { color: var(--gold); font-size: 20px; font-weight: bold; font-family: 'Cinzel', serif; }
.level-pt-label { color: rgba(201,162,39,0.5); font-size: 9px; letter-spacing: 1px; text-transform: uppercase; }
.level-name { color: rgba(201,162,39,0.6); font-size: 9px; margin-top: 2px; font-family: 'Cinzel', serif; }

/* ===== Buttons ===== */
.btn-row {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.btn-primary {
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, #c9a227 0%, #a07818 50%, #c9a227 100%);
  background-size: 200% 100%;
  border: none;
  border-radius: 8px;
  color: #1a0f02;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Cinzel', serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(201,162,39,0.4), inset 0 1px 0 rgba(255,255,255,0.2);
  transition: all 0.2s;
}

.btn-primary:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,162,39,0.55);
}

.btn-secondary {
  width: 100%;
  padding: 14px 24px;
  background: transparent;
  border: 2px solid rgba(201,162,39,0.6);
  border-radius: 8px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  font-family: 'Cinzel', serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: rgba(201,162,39,0.1);
  transform: translateY(-2px);
}

.btn-ghost {
  width: 100%;
  padding: 12px 24px;
  background: rgba(201,162,39,0.07);
  border: 1px solid rgba(201,162,39,0.22);
  border-radius: 8px;
  color: rgba(201,162,39,0.7);
  font-size: 13px;
  font-family: 'Cinzel', serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-ghost:hover {
  background: rgba(201,162,39,0.12);
  transform: translateY(-1px);
}

.btn-donate {
  display: block;
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, rgba(180,50,20,0.85) 0%, rgba(140,30,10,0.95) 100%);
  border: 1px solid rgba(220,80,40,0.5);
  border-radius: 8px;
  color: #ffd0b0;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Cinzel', serif;
  letter-spacing: 1px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 2px 15px rgba(180,50,20,0.3);
  margin-bottom: 24px;
  transition: all 0.2s;
}

.btn-donate:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(180,50,20,0.5);
}

/* ===== Footer ===== */
.footer {
  color: rgba(201,162,39,0.3);
  font-size: 10px;
  letter-spacing: 1px;
  text-align: center;
  line-height: 1.8;
  font-family: 'Cinzel', serif;
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(201,162,39,0.95);
  color: #1a0f02;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  z-index: 999;
  transition: transform 0.3s ease;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 360px) {
  .logo-img { width: 200px; height: 200px; }
  .level-points { font-size: 16px; }
  .lang-btn { font-size: 10px; padding: 3px 7px; }
}
