/* ==========================================================================
   RAM LEELA CONTEST PLATFORM - UI COMPONENTS
   ========================================================================== */

/* 1. Header & Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(243, 112, 35, 0.16);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: all var(--transition-fast);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  display: block;
}

.brand-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-magenta));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 12px rgba(243, 112, 35, 0.35);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
  cursor: pointer;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-primary);
  border-radius: var(--radius-full);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Hamburger toggle — always visible (primary nav) */
.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.15s;
}
.mobile-toggle:hover {
  background: rgba(243, 112, 35, 0.1);
}

/* 2. Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-vivid) 0%, var(--saffron-bright) 100%);
  color: #0d121f;
  box-shadow: 0 4px 16px rgba(245, 176, 65, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(245, 176, 65, 0.5);
  color: #000;
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: rgba(245, 176, 65, 0.1);
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-highlight);
  color: var(--gold-primary);
}

.btn-outline:hover {
  background: rgba(245, 176, 65, 0.15);
  color: #fff;
}

.btn-vote {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: #fff;
  border-radius: var(--radius-full);
  padding: 8px 18px;
  box-shadow: 0 4px 14px rgba(231, 76, 60, 0.35);
}

.btn-vote:hover:not(:disabled) {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(231, 76, 60, 0.5);
}

.btn-vote:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  filter: grayscale(0.5);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.05rem;
}

/* 3. Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-code {
  background: rgba(245, 176, 65, 0.12);
  border: 1px solid var(--border-subtle);
  color: var(--gold-primary);
  font-family: monospace;
  font-size: 0.85rem;
}

.badge-approved {
  background: rgba(46, 204, 113, 0.15);
  border: 1px solid rgba(46, 204, 113, 0.3);
  color: #2ecc71;
}

.badge-pending {
  background: rgba(241, 196, 15, 0.15);
  border: 1px solid rgba(241, 196, 15, 0.3);
  color: #f1c40f;
}

.badge-rejected {
  background: rgba(231, 76, 60, 0.15);
  border: 1px solid rgba(231, 76, 60, 0.3);
  color: #e74c3c;
}

/* 4. Glass Cards */
.card-glass {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
}

.card-glass:hover {
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

/* Participant Card (Gallery) */
.card-participant {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(243, 112, 35, 0.18);
  box-shadow: 0 6px 20px -4px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  contain: content;
}

.card-participant:hover {
  transform: translateY(-5px);
  border-color: var(--brand-orange);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.12), 0 0 20px -2px rgba(243, 112, 35, 0.2);
}

.card-media {
  position: relative;
  width: 100%;
  height: 200px;
  background: #0f172a;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.card-participant:hover .card-media img {
  transform: scale(1.05);
}

.card-badge-floating {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.card-votes-floating {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.82rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.card-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.card-meta {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.card-footer-action {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

/* Countdown Widget */
.countdown-container {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.countdown-box {
  background: #ffffff;
  border: 1px solid rgba(243, 112, 35, 0.22);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  text-align: center;
  min-width: 72px;
}

.countdown-val {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--gold-primary);
  line-height: 1.1;
}

.countdown-lbl {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* Multi-Step Stepper */
.stepper-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  position: relative;
}

.stepper-progress-bg {
  position: absolute;
  top: 20px;
  left: 30px;
  right: 30px;
  height: 3px;
  background: var(--bg-surface);
  z-index: 1;
}

.stepper-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-vivid), var(--saffron-bright));
  transition: width var(--transition-smooth);
}

.step-node {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.step-circle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  border: 2px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.step-node.active .step-circle {
  border-color: var(--gold-primary);
  background: var(--gold-primary);
  color: #000;
  box-shadow: 0 0 18px var(--amber-glow);
}

.step-node.completed .step-circle {
  border-color: var(--emerald-accent);
  background: var(--emerald-accent);
  color: #fff;
}

.step-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.step-node.active .step-label {
  color: var(--gold-primary);
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-label .required {
  color: var(--crimson-accent);
  margin-left: 4px;
}

.form-control, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
}

.form-control:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(243, 112, 35, 0.18);
}

.file-drop-area {
  border: 2px dashed rgba(243, 112, 35, 0.35);
  border-radius: var(--radius-md);
  padding: 36px 20px;
  text-align: center;
  background: #f8fafc;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.file-drop-area:hover, .file-drop-area.dragover {
  border-color: var(--brand-orange);
  background: rgba(243, 112, 35, 0.06);
}

/* Filters & Search */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  background: #f8fafc;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-btn {
  padding: 8px 16px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pill-btn:hover, .pill-btn.active {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: #fff;
  font-weight: 600;
}

/* Podiums (Leaderboard) */
.podium-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 20px;
  align-items: flex-end;
  margin: 40px auto 50px;
  max-width: 860px;
}

.podium-card {
  background: #ffffff;
  border: 1px solid rgba(243, 112, 35, 0.18);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.podium-card.first {
  order: 2;
  border-color: var(--brand-orange);
  box-shadow: 0 16px 40px rgba(243, 112, 35, 0.2);
  transform: translateY(-16px);
}

.podium-card.second {
  order: 1;
  border-color: #bdc3c7;
}

.podium-card.third {
  order: 3;
  border-color: #cd7f32;
}

.podium-avatar {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-full);
  object-fit: cover;
  margin: 0 auto 12px;
  border: 3px solid var(--brand-orange);
}

.podium-rank-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease-out;
}

.modal-card {
  background: #ffffff;
  border: 1px solid rgba(243, 112, 35, 0.25);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.2);
  position: relative;
  color: var(--text-primary);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}
.modal-close:hover {
  color: #0f172a;
}

/* Toast System */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--gold-primary);
  color: var(--text-primary);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  animation: fadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 280px;
}

.toast.toast-success { border-left-color: var(--emerald-accent); }
.toast.toast-error { border-left-color: var(--crimson-accent); }
.toast.toast-info { border-left-color: var(--gold-primary); }

/* Udayan Kidz Logo Styles */
.nav-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-img {
  height: 52px;
  max-width: 175px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

.brand-title-box {
  display: flex;
  flex-direction: column;
}

.brand-contest-title {
  font-family: 'Cinzel', var(--font-heading);
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.3px;
  color: #8b1a00;
  line-height: 1.15;
  text-transform: uppercase;
}

.brand-contest-sub {
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  color: #b07d00;
  font-weight: 700;
  font-family: 'Cinzel', var(--font-heading);
}

/* Comments Component Styles */
.comments-section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.comments-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 380px;
  overflow-y: auto;
  padding-right: 6px;
  margin-bottom: 22px;
}

.comment-card {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  animation: fadeIn 0.3s ease;
}

.comment-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-magenta));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.comment-body {
  flex: 1;
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.comment-author {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.comment-badge {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(243, 112, 35, 0.15);
  color: var(--brand-orange-light);
  border: 1px solid rgba(243, 112, 35, 0.3);
  font-weight: 600;
}

.comment-time {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.comment-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.comment-form {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 16px;
}

/* Active OTP Simulation Banner */
.sms-sim-banner {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--brand-orange);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12), 0 0 25px rgba(243, 112, 35, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  width: 90%;
  max-width: 500px;
  color: #0f172a;
  animation: slideDownToast 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideDownToast {
  from { opacity: 0; transform: translate(-50%, -30px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.sms-sim-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.sms-sim-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--brand-orange);
}

.sms-sim-otp-box {
  background: rgba(243, 112, 35, 0.1);
  border: 1px dashed var(--brand-orange);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

/* Score Breakdown Pill */
.score-breakdown-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: var(--text-secondary);
}

/* Winners Section Styling */
.winners-hero-card {
  background: radial-gradient(circle at 50% 0%, rgba(243, 112, 35, 0.08) 0%, #ffffff 80%);
  border: 1px solid rgba(243, 112, 35, 0.25);
  border-radius: var(--radius-lg);
  padding: 50px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.05);
}

.winners-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 24px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-magenta));
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(230, 0, 126, 0.3);
}

.tba-pulse-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: 2px;
  color: #0f172a;
  text-shadow: 0 0 20px rgba(243, 112, 35, 0.25);
  margin: 12px 0 18px;
  animation: pulseGold 2.5s infinite;
}

/* Admin Passcode Lock Modal */
.admin-lock-card {
  max-width: 440px;
  margin: 60px auto;
  background: #ffffff;
  border: 1px solid rgba(243, 112, 35, 0.25);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   PRIZE SHOWCASE & CURIOSITY ANIMATIONS (UP TO 20,000 RS)
   ========================================================================== */
@keyframes prizeShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes prizeGlowPulse {
  0% { box-shadow: 0 0 18px rgba(243, 112, 35, 0.45), 0 0 32px rgba(255, 215, 0, 0.3); transform: translateY(0); }
  50% { box-shadow: 0 0 32px rgba(243, 112, 35, 0.85), 0 0 55px rgba(255, 215, 0, 0.6); transform: translateY(-3px); }
  100% { box-shadow: 0 0 18px rgba(243, 112, 35, 0.45), 0 0 32px rgba(255, 215, 0, 0.3); transform: translateY(0); }
}

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

@keyframes mysteryPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 4px 14px rgba(255, 180, 0, 0.4)); }
  50% { transform: scale(1.08); filter: drop-shadow(0 0 22px rgba(255, 215, 0, 0.9)); }
}

@keyframes badgeShine {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.prize-showcase-section {
  padding: 36px 0 28px;
  background: radial-gradient(circle at 50% 30%, #fffbf2 0%, #fff4e3 60%, #faecd5 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(243, 112, 35, 0.2);
  border-bottom: 1px solid rgba(243, 112, 35, 0.2);
}

.prize-mega-banner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 28px;
  background: linear-gradient(135deg, #1f0400 0%, #3d0c02 50%, #1f0400 100%);
  color: #fff;
  border-radius: 9999px;
  border: 2px solid #ffd700;
  animation: prizeGlowPulse 2.8s infinite ease-in-out;
  margin-bottom: 12px;
}

.prize-amount-highlight {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.1rem, 3.2vw, 1.65rem);
  font-weight: 900;
  background: linear-gradient(90deg, #ffe066, #ff7a00, #ff1a8c, #ffd700);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: prizeShimmer 4s ease infinite;
  letter-spacing: 0.5px;
}

.prize-cards-container {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 20px;
  margin-top: 26px;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 16px;
}

.prize-card-box {
  flex: 1;
  min-width: 250px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 24px 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.prize-card-box:hover {
  transform: translateY(-6px);
}

.prize-card-first {
  flex: 1.25;
  background: linear-gradient(180deg, #ffffff 0%, #fff9ec 100%);
  border: 2.5px solid #f37023;
  box-shadow: 0 12px 35px rgba(243, 112, 35, 0.28), 0 0 0 1px rgba(255, 215, 0, 0.5);
}

.prize-card-second {
  border: 2px solid #e6007e;
  box-shadow: 0 8px 24px rgba(230, 0, 126, 0.18);
}

.prize-card-third {
  border: 2px solid #ca8a04;
  box-shadow: 0 8px 24px rgba(202, 138, 4, 0.18);
}

.prize-cycle-avatar {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, #ffffff 30%, #fff0da 100%);
  border-radius: 50%;
  border: 4px solid #f37023;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(243, 112, 35, 0.45);
  overflow: hidden;
  padding: 10px;
  animation: mysteryFloat 4s ease-in-out infinite;
}

.prize-cycle-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.prize-card-box:hover .prize-cycle-img {
  transform: scale(1.1) rotate(-2deg);
}

.prize-mystery-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: mysteryFloat 3.8s ease-in-out infinite alternate;
}

.mystery-glow-second {
  background: radial-gradient(circle, #fff0f7 20%, #fcd6e7 70%, #f9a8d4 100%);
  border: 4px dashed #e6007e;
  box-shadow: 0 0 22px rgba(230, 0, 126, 0.35);
}

.mystery-glow-third {
  background: radial-gradient(circle, #fefce8 20%, #fef08a 70%, #fde047 100%);
  border: 4px dashed #ca8a04;
  box-shadow: 0 0 22px rgba(202, 138, 4, 0.35);
}

@media (max-width: 820px) {
  .prize-cards-container {
    flex-direction: column;
    align-items: center;
    gap: 22px;
  }
  .prize-card-box {
    width: 100%;
    max-width: 380px;
  }
  .prize-card-first {
    order: -1;
  }
}

