/* ==========================================================================
   BUCKETS & BOMBS - ARCADE GAMES & QUIZ STYLESHEET
   Styling for Basketball Shootout, Football Target Toss, Quiz, and Rookie Card
   ========================================================================== */

/* ==========================================================================
   ARCADE SECTION WRAPPER
   ========================================================================== */
.arcade-section {
  background: radial-gradient(circle at 50% 10%, #151C2C 0%, #080B10 80%);
  border-top: 2px solid rgba(255, 215, 0, 0.2);
  border-bottom: 2px solid rgba(255, 215, 0, 0.2);
}

.arcade-games-container {
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
}

/* Arcade Cabinet Unit */
.arcade-cabinet {
  background: #0A0E17;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7);
  position: relative;
}

.cabinet-hoop {
  border-color: rgba(255, 107, 0, 0.4);
  box-shadow: 0 0 40px rgba(255, 107, 0, 0.15);
}

.cabinet-qb {
  border-color: rgba(0, 242, 96, 0.4);
  box-shadow: 0 0 40px rgba(0, 242, 96, 0.15);
}

/* Cabinet Header / Marquee */
.arcade-marquee {
  background: #111722;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 1rem;
}

.marquee-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.85rem;
  letter-spacing: 1.5px;
  color: #FFF;
}

.marquee-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.1);
  color: #FFF;
}

.badge-orange {
  background: #FF6B00;
  color: #000;
}

.badge-green {
  background: #00F260;
  color: #000;
}

/* Scoreboard Strip */
.arcade-scoreboard {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: #000;
  border: 1px solid #222;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
}

.score-digit-group {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.score-digit-lbl {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #777;
  letter-spacing: 1px;
}

.score-digit-val {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: #FFF;
  line-height: 1.1;
}

/* Streak Fire Glow */
.streak-fire {
  color: #FF3E00 !important;
  text-shadow: 0 0 10px #FF3E00, 0 0 20px #FF8A00;
  animation: fireFlicker 0.6s infinite alternate;
}

@keyframes fireFlicker {
  0% { transform: scale(1); filter: brightness(1); }
  100% { transform: scale(1.15); filter: brightness(1.4); }
}

/* Arcade Canvas Arena */
.arcade-canvas-wrap {
  position: relative;
  width: 100%;
  background: #000;
  overflow: hidden;
  touch-action: none;
}

.arcade-canvas {
  width: 100%;
  height: auto;
  aspect-ratio: 800 / 550;
  display: block;
  cursor: grab;
}

.arcade-canvas:active {
  cursor: grabbing;
}

/* Arcade Controls & Commentary Footer */
.arcade-control-bar {
  background: #0F1622;
  padding: 1rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 1rem;
}

.arcade-commentary {
  font-size: 0.95rem;
  color: #FFF;
  flex: 1;
  min-height: 24px;
}

.commentary-sub {
  color: var(--text-secondary);
  font-weight: normal;
  margin-left: 0.5rem;
}

.commentary-pop {
  animation: commentaryPop 0.25s ease-out;
}

@keyframes commentaryPop {
  0% { transform: scale(0.95); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}

.btn-arcade-reset {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.btn-arcade-reset:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #FFF;
}

/* Mobile Instructions Hint */
.mobile-game-hint {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold-accent);
  padding: 0.4rem 1rem;
  background: rgba(255, 215, 0, 0.08);
  text-align: center;
  border-bottom: 1px solid rgba(255, 215, 0, 0.15);
}

@media (max-width: 768px) {
  .mobile-game-hint {
    display: block;
  }
}

/* ==========================================================================
   QUIZ APPLICATION
   ========================================================================== */
.quiz-section {
  background: var(--bg-surface);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.quiz-container-box {
  max-width: 820px;
  margin: 0 auto;
}

.quiz-card-box {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2.5rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  animation: cardFade 0.3s ease;
}

@keyframes cardFade {
  0% { opacity: 0; transform: translateY(10px); }
  100% { opacity: 1; transform: translateY(0); }
}

.quiz-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 1.5rem;
}

.quiz-step-tag {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold-accent);
}

.quiz-progress-track {
  flex: 1;
  max-width: 280px;
  height: 8px;
  background: #111;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--turf-green), var(--hoop-orange));
  transition: width 0.3s ease;
}

.quiz-question-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: 1px;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: #FFF;
}

.quiz-options-grid {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.quiz-option-btn {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  text-align: left;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  color: #FFF;
}

.quiz-option-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateX(6px);
}

.quiz-option-btn.selected {
  background: rgba(255, 215, 0, 0.15);
  border-color: var(--gold-accent);
}

.quiz-option-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
}

.quiz-option-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.quiz-option-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--gold-accent);
  text-transform: uppercase;
}

.quiz-option-text {
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--text-primary);
}

/* ==========================================================================
   QUIZ RESULTS CARD
   ========================================================================== */
.quiz-result-box {
  background: var(--bg-card);
  border: 2px solid #FFF;
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
  animation: cardFade 0.4s ease;
}

.quiz-result-badge-top {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.quiz-result-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
}

.quiz-result-subtitle {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 1.25rem;
}

.quiz-result-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 650px;
  margin: 0 auto 2rem;
}

.quiz-stat-ratings {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.stat-pill {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.stat-lbl {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.stat-num {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-accent);
}

.quiz-superpower-card {
  background: rgba(255, 215, 0, 0.08);
  border: 1px dashed rgba(255, 215, 0, 0.4);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
  max-width: 620px;
  margin: 0 auto 2.5rem;
}

.super-icon {
  font-size: 2.2rem;
}

.quiz-superpower-card strong {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gold-accent);
  letter-spacing: 1px;
}

.quiz-superpower-card p {
  color: #FFF;
  font-size: 0.95rem;
}

/* ==========================================================================
   HOLOGRAPHIC ROOKIE TRADING CARD BUILDER
   ========================================================================== */
.rookie-card-builder-section {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2.5rem;
  margin-top: 2rem;
}

.builder-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.builder-sub {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.builder-inputs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.builder-inputs input {
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFF;
  font-family: var(--font-mono);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  outline: none;
}

.builder-inputs input:focus {
  border-color: var(--gold-accent);
}

.btn-builder-action {
  background: var(--gold-accent);
  color: #000;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  transition: transform 0.15s ease;
}

.btn-builder-action:hover {
  transform: scale(1.05);
}

.rookie-card-preview-wrap {
  display: flex;
  justify-content: center;
  perspective: 1000px;
  margin-bottom: 2.5rem;
}

/* 3D Holographic Foil Card */
.holographic-card {
  width: 300px;
  height: 440px;
  background: #0B0E14;
  border: 3px solid var(--card-accent, #FFD700);
  border-radius: 18px;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(255, 215, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

.holographic-card:hover {
  transform: rotateY(8deg) rotateX(-5deg) translateY(-8px);
}

.card-foil-sheen {
  position: absolute;
  top: 0;
  left: -150%;
  width: 250%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent 20%,
    rgba(255, 255, 255, 0.25) 45%,
    rgba(0, 242, 96, 0.25) 50%,
    rgba(255, 107, 0, 0.25) 55%,
    transparent 80%
  );
  pointer-events: none;
  animation: foilShine 4.5s infinite;
}

@keyframes foilShine {
  0% { left: -150%; }
  35%, 100% { left: 150%; }
}

.card-top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.card-brand-tag {
  color: #FFF;
  font-weight: 700;
}

.card-jersey-display {
  font-family: var(--font-display);
  font-size: 5.5rem;
  line-height: 0.9;
  text-align: center;
  color: rgba(255, 255, 255, 0.12);
  position: absolute;
  top: 25%;
  left: 0;
  width: 100%;
  pointer-events: none;
}

.card-sport-symbol {
  font-size: 4.5rem;
  text-align: center;
  margin: 1.5rem 0;
  position: relative;
  z-index: 1;
}

.card-player-info {
  text-align: center;
  position: relative;
  z-index: 1;
}

.card-player-role {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--card-accent, #FFD700);
  letter-spacing: 1.5px;
  display: block;
}

.card-player-name {
  font-family: var(--font-display);
  font-size: 2.2rem;
  letter-spacing: 1px;
  line-height: 1;
  color: #FFF;
}

.card-footer-stats {
  display: flex;
  justify-content: space-around;
  background: rgba(0, 0, 0, 0.45);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-footer-stats span {
  color: var(--text-muted);
  font-weight: normal;
  margin-right: 0.25rem;
}

/* Quiz Actions */
.quiz-actions-bar {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.btn-retake {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFF;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-md);
  transition: all 0.2s;
}

.btn-retake:hover {
  background: rgba(255, 255, 255, 0.18);
}

.btn-play-arcade {
  background: linear-gradient(135deg, #0575E6, #00F260);
  color: #FFF;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-md);
  transition: transform 0.2s;
}

.btn-play-arcade:hover {
  transform: scale(1.04);
}
