/* styles.css - Modern Premium Dark Theme for Malatang Master */

:root {
  --bg-dark: #0d0c0c;
  --bg-panel: rgba(22, 18, 18, 0.7);
  --border-color: rgba(255, 255, 255, 0.09);
  --text-primary: #f5f5f7;
  --text-secondary: #a1a1a6;
  --accent-red: #ff3b30;
  --accent-gold: #ffcc00;
  --accent-orange: #ff9500;
  --accent-green: #34c759;
  --shadow-glow: 0 0 20px rgba(255, 59, 48, 0.35);
  --radius-lg: 20px;
  --radius-md: 12px;
  --font-main: 'Outfit', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

/* Background animated stars */
.stars-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255, 59, 48, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255, 204, 0, 0.05) 0%, transparent 45%);
}

/* Header styling */
.game-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-color);
  background: rgba(13, 12, 12, 0.85);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 90;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo-container .logo-text {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ff3b30, #ffcc00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-container .logo-sub {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  font-weight: 600;
  margin-left: 3px;
}

/* Options / Stats Bar */
.options-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.difficulty-selector {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px;
  border-radius: 30px;
  border: 1px solid var(--border-color);
}

.diff-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-main);
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.diff-btn.active {
  background: var(--accent-red);
  color: #fff;
  box-shadow: 0 0 10px rgba(255, 59, 48, 0.4);
}

.diff-btn.locked {
  opacity: 0.5;
  cursor: not-allowed;
}

.stopwatch-container {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stopwatch-container .label {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.stopwatch-container .timer-digits {
  color: var(--accent-gold);
  font-family: monospace;
}

.utility-controls {
  display: flex;
  gap: 0.5rem;
}

.util-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.util-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.lang-btn {
  width: auto;
  padding: 0 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.8rem;
}

/* Main Layout Grid */
.game-container {
  flex: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
}

.glass-panel {
  background: var(--bg-panel);
  backdrop-filter: blur(15px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.panel-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  border-left: 4px solid var(--accent-red);
  padding-left: 10px;
  letter-spacing: -0.02em;
}

/* Left Panel: Ingredients Grid */
.tabs-container {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  overflow-x: auto;
  padding-bottom: 4px;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.tab-btn.active {
  background: rgba(255, 59, 48, 0.15);
  border-color: var(--accent-red);
  color: var(--accent-red);
}

.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.8rem;
  overflow-y: auto;
  max-height: calc(100vh - 280px);
  padding-right: 4px;
}

.ingredient-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.ingredient-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--accent-gold);
  transform: scale(1.03);
}

.ingredient-card .item-emoji {
  font-size: 2.2rem;
  margin-bottom: 6px;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
}

.ingredient-card .item-name {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2px;
  height: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ingredient-card .item-meta {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.ingredient-card .hotkey-tag {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--accent-gold);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  font-family: monospace;
}

.ingredient-card .badge-qty {
  position: absolute;
  top: -8px;
  left: -8px;
  background: var(--accent-red);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  animation: popIn 0.2s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

@keyframes popIn {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}

/* Center Panel: Bowl visualization */
.bowl-visualization {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.5rem 0;
  min-height: 280px;
}

.bowl-outer {
  width: 240px;
  height: 140px;
  background: linear-gradient(180deg, #2a2222, #181111);
  border: 6px solid #473232;
  border-top: none;
  border-bottom-left-radius: 120px 100px;
  border-bottom-right-radius: 120px 100px;
  position: relative;
  box-shadow: 0 15px 30px rgba(0,0,0,0.5), inset 0 -10px 20px rgba(0,0,0,0.3);
  overflow: hidden;
}

.bowl-outer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: #5d4040;
  border-radius: 3px;
  z-index: 10;
}

.broth-fluid {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  transition: height 0.6s cubic-bezier(0.19, 1, 0.22, 1), background-color 0.5s ease;
  z-index: 1;
}

.broth-fluid.bone {
  height: 75%;
  background-color: rgba(245, 235, 215, 0.85); /* Milky broth */
  box-shadow: inset 0 10px 15px rgba(255,255,255,0.4);
}

.broth-fluid.tomato {
  height: 75%;
  background-color: rgba(211, 47, 47, 0.8); /* Red tomato */
  box-shadow: inset 0 10px 15px rgba(255, 114, 0, 0.3);
}

.broth-fluid.mala {
  height: 75%;
  background-color: rgba(150, 0, 0, 0.9); /* Deep spicy red */
  box-shadow: inset 0 10px 20px rgba(255, 0, 0, 0.4);
  background-image: radial-gradient(circle, rgba(230, 81, 0, 0.8) 10%, transparent 70%);
  background-size: 40px 40px;
}

.bowl-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.empty-bowl-msg {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
  pointer-events: none;
}

/* Floating ingredients inside the bowl */
.floating-ingredient {
  position: absolute;
  font-size: 1.8rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
  animation: dropIntoBowl 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  pointer-events: none;
}

@keyframes dropIntoBowl {
  0% {
    transform: translateY(-80px) rotate(0deg);
    opacity: 0;
  }
  100% {
    transform: translateY(0px) rotate(var(--rot));
    opacity: 1;
  }
}

.bowl-stats {
  display: flex;
  justify-content: space-around;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  margin-bottom: 1.2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.8rem;
  margin-bottom: 4px;
}

.stat-val {
  font-size: 1.3rem;
  font-weight: 800;
}

.bowl-actions {
  display: flex;
  justify-content: center;
}

/* Right Panel: Configurations */
.broth-select-section,
.spice-select-section {
  margin-bottom: 1.5rem;
}

.broth-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.broth-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.broth-card input[type="radio"] {
  display: none;
}

.broth-card .broth-img {
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.broth-card .broth-name {
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
}

.broth-card:hover {
  background: rgba(255,255,255,0.06);
}

.broth-card.selected {
  border-color: var(--accent-red);
  background: rgba(255, 59, 48, 0.1);
  box-shadow: 0 0 10px rgba(255, 59, 48, 0.15);
}

.spice-levels {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  background: rgba(255, 255, 255, 0.02);
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.spice-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 8px 4px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.2s ease;
}

.spice-btn:hover {
  background: rgba(255, 255, 255, 0.05);
}

.spice-btn.active {
  background: var(--accent-red);
  color: #fff;
  box-shadow: 0 2px 8px rgba(255,59,48,0.4);
}

.spice-btn .num {
  font-size: 1.1rem;
  font-weight: 800;
}

.spice-btn .lbl {
  font-size: 0.65rem;
  font-weight: 600;
  margin-top: 2px;
}

.cook-action-container {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.btn-primary {
  width: 100%;
  background: linear-gradient(135deg, #ff3b30, #ff9500);
  border: none;
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-main);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 59, 48, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-main);
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-glow {
  box-shadow: var(--shadow-glow);
  animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 10px rgba(255, 59, 48, 0.25); }
  100% { box-shadow: 0 0 22px rgba(255, 59, 48, 0.55); }
}

/* Judge Hints Box */
.judge-hints-box {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px;
  font-size: 0.8rem;
}

.hint-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 6px;
}

.hint-item {
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 6px;
  display: flex;
  gap: 4px;
}

.hint-item:last-child {
  margin-bottom: 0;
}

/* Overlay & Modals */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 8, 8, 0.9);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* AI CPU Loading view */
.ai-loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90%;
  max-width: 480px;
  text-align: center;
}

.cpu-core-visual {
  width: 120px;
  height: 120px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.quantum-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-top-color: var(--accent-red);
  border-bottom-color: var(--accent-gold);
  border-radius: 50%;
  animation: spinRing 2s linear infinite;
}

.quantum-ring.inner {
  width: 80%;
  height: 80%;
  border-top-color: var(--accent-orange);
  border-bottom-color: transparent;
  animation: spinRing 1s linear infinite reverse;
}

.cpu-core-visual .chip-text {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--accent-gold);
}

@keyframes spinRing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-title {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.computation-terminal {
  width: 100%;
  background: #000;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 12px;
  font-family: monospace;
  text-align: left;
  font-size: 0.75rem;
  color: #34c759;
}

.term-line {
  margin-bottom: 4px;
  overflow: hidden;
  white-space: nowrap;
}

.term-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  margin: 10px 0;
  overflow: hidden;
}

.progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-red), var(--accent-gold));
  transition: width 0.1s linear;
}

.term-stats {
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
}

/* Evaluation Report Card */
.review-card {
  width: 90%;
  max-width: 780px;
  background: rgba(24, 20, 20, 0.95);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 15px 40px rgba(0,0,0,0.6);
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.overlay.show .review-card {
  transform: translateY(0);
}

.review-title {
  text-align: center;
  font-size: 1.7rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff, #aaa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.judges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.judge-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.judge-avatar {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.judge-name {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.judge-stars {
  color: var(--accent-gold);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.judge-comment {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.4;
  font-style: italic;
  flex: 1;
}

.final-score-box {
  text-align: center;
  margin-bottom: 1.2rem;
}

.final-score-box .score-num {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--accent-gold);
  text-shadow: 0 0 15px rgba(255, 204, 0, 0.3);
}

.final-score-box .score-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.result-outcome-msg {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  min-height: 24px;
}

.result-outcome-msg .success-txt {
  color: var(--accent-green);
}

.result-outcome-msg .fail-txt {
  color: var(--accent-red);
}

/* Save score layout */
.score-save-flow {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.entry-congrats {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.entry-input-group {
  display: flex;
  gap: 8px;
}

.entry-input-group input {
  flex: 1;
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--border-color);
  padding: 10px;
  border-radius: 8px;
  color: #fff;
  font-family: var(--font-main);
  outline: none;
}

.entry-input-group input:focus {
  border-color: var(--accent-gold);
}

.entry-input-group button {
  width: 100px;
  padding: 10px;
}

.no-entry-msg {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 6px;
}

/* Leaderboard Sidebar */
.leaderboard-sidebar {
  position: fixed;
  top: 0;
  right: -400px; /* Hidden initially */
  width: 360px;
  height: 100%;
  background: rgba(18, 14, 14, 0.98);
  backdrop-filter: blur(20px);
  border-left: 1px solid var(--border-color);
  box-shadow: -10px 0 30px rgba(0,0,0,0.6);
  z-index: 110; /* Above overlay (100) */
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.leaderboard-sidebar.show {
  right: 0;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

.sidebar-header h2 {
  font-size: 1.15rem;
  font-weight: 800;
}

.close-sidebar-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

.close-sidebar-btn:hover {
  color: #fff;
}

.sidebar-content {
  flex: 1;
  overflow-y: auto;
}

.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.leaderboard-table th {
  text-align: left;
  color: var(--text-secondary);
  font-weight: 600;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border-color);
}

.leaderboard-table td {
  padding: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.leaderboard-table tr:hover {
  background: rgba(255,255,255,0.02);
}

.leaderboard-table .rank-col {
  font-weight: 800;
  color: var(--accent-gold);
}

.loading-ranks {
  text-align: center;
  color: var(--text-secondary);
  padding: 2rem 0;
}

/* Footer styling */
.game-footer {
  padding: 1rem 2rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
  background: rgba(13, 12, 12, 0.9);
  color: var(--text-secondary);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  margin-top: auto;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .game-container {
    grid-template-columns: 1fr 1fr;
  }
  .config-panel {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .game-container {
    grid-template-columns: 1fr;
    padding: 1rem;
    gap: 1rem;
  }
  .config-panel {
    grid-column: span 1;
  }
  .game-header {
    padding: 1rem;
  }
  .logo-container .logo-text {
    font-size: 1.8rem;
  }
  .options-bar {
    width: 100%;
    justify-content: space-between;
  }
  .leaderboard-sidebar {
    width: 100%;
    right: -100%;
  }
}

@media (max-width: 480px) {
  .options-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .difficulty-selector {
    justify-content: space-around;
  }
  .stopwatch-container {
    justify-content: center;
  }
  .judges-grid {
    grid-template-columns: 1fr;
  }
  .btn-primary {
    font-size: 0.95rem;
  }
}
