:root {
  --bg-primary: #0a0e1a;
  --bg-secondary: #141824;
  --bg-card: #1a1f32;
  --accent-primary: #ff6b35;
  --accent-secondary: #f7931e;
  --accent-glow: rgba(255, 107, 53, 0.3);
  --winner: #4ecdc4;
  --loser: #ff6b6b;
  --kratzer: #9b59b6;
  --text-primary: #ffffff;
  --text-secondary: #b8bfcc;
  --text-muted: #6b7280;
  --border: rgba(255, 255, 255, 0.1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px var(--accent-glow);
}

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

body {
  font-family: 'Outfit', system-ui, sans-serif;
  background: linear-gradient(135deg, #0a0e1a 0%, #1a1424 50%, #0f1420 100%);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Animated background */
body::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(78, 205, 196, 0.06) 0%, transparent 50%);
  animation: rotate 30s linear infinite;
  pointer-events: none;
  z-index: 0;
}

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

/* Header */
header {
  position: relative;
  z-index: 10;
  padding: 2rem 2rem 1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(20, 24, 36, 0.8);
  backdrop-filter: blur(10px);
}

h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.5rem;
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 40px var(--accent-glow);
  margin-bottom: 0.5rem;
  animation: slideInDown 0.6s ease-out;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Menu */
.menu {
  position: relative;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: rgba(20, 24, 36, 0.6);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  animation: fadeIn 0.8s ease-out 0.2s both;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 2rem;
  margin-top: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  min-width: 250px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  z-index: 1000;
}

.dropdown-item {
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background: rgba(255, 107, 53, 0.1);
  padding-left: 1.5rem;
}

.dropdown-arrow {
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* Submenu */
.submenu {
  position: fixed;
  top: 50%;
  left: 50%;
  /*ERBER transform: translate(-50%, -50%);*/
  transform: translate(-50%, -90px);

  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 90%;
  max-width: 600px;
  max-height: 85vh;
  box-shadow: var(--shadow-lg), 0 0 0 2000px rgba(0, 0, 0, 0.5);
  z-index: 2000;
  overflow: hidden;
  animation: popIn 0.3s ease-out;
  display: flex;
  flex-direction: column;
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.submenu-header {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(78, 205, 196, 0.1));
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.submenu-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
}

.btn-back {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-back:hover {
  background: rgba(255, 255, 255, 0.1);
}

.submenu-content {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
}

/* Player Form */
.player-form {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-row:last-of-type {
  margin-bottom: 0;
}

.form-row-single {
  display: block;
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group select {
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group input::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.form-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.form-actions button {
  flex: 1;
}

/* Player List in Submenu */
.player-list-scroll {
  max-height: 300px;
  overflow-y: auto;
  margin-bottom: 1rem;
  padding-right: 0.5rem;
}

.player-list-scroll::-webkit-scrollbar {
  width: 6px;
}

.player-list-scroll::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

.player-list-scroll::-webkit-scrollbar-thumb {
  background: var(--accent-primary);
  border-radius: 3px;
}

.player-item-mini {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 0.75rem;
  transition: all 0.2s ease;
}

.player-item-mini:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 107, 53, 0.3);
  transform: translateX(4px);
}

.player-item-mini-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.player-item-mini-name {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.player-item-mini-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.player-item-mini-fullname {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
}

.player-item-mini-details {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 2.5rem;
}

.player-detail {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.player-detail-icon {
  font-size: 0.75rem;
}

.btn-remove-small {
  background: transparent;
  border: 1px solid var(--loser);
  color: var(--loser);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-remove-small:hover {
  background: var(--loser);
  color: white;
}

.btn-edit-small {
  background: transparent;
  border: 1px solid var(--accent-secondary);
  color: var(--accent-secondary);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-edit-small:hover {
  background: var(--accent-secondary);
  color: white;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .submenu {
    max-width: 95%;
  }
}

.info-text-small {
  text-align: center;
  color: var(--text-secondary);
  margin: 1rem 0;
  font-size: 0.9rem;
}

.info-text-small strong {
  color: var(--accent-secondary);
  font-weight: 700;
}

.btn-block {
  width: 100%;
  margin-bottom: 0.75rem;
}

/* Mode Options */
.mode-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.mode-option {
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.mode-option:hover {
  background: rgba(255, 107, 53, 0.1);
  border-color: var(--accent-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.mode-option.active {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(78, 205, 196, 0.2));
  border-color: var(--accent-primary);
}

.mode-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.mode-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.mode-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Info Box */
.info-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
}

/* Buttons */
button, select {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
}

button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

button:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: white;
  box-shadow: var(--shadow-md), var(--shadow-glow);
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 107, 53, 0.5);
}

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

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

.btn-success {
  background: linear-gradient(135deg, var(--winner), #3ab5ad);
  color: white;
  font-weight: 600;
}

.btn-danger {
  background: linear-gradient(135deg, var(--loser), #ff4757);
  color: white;
}

select {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
  padding: 0.7rem 1rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23b8bfcc' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
}

select option {
  background: #1a1f32;
  color: #ffffff;
}

/* Main App Layout */
.app {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 2rem;
  max-width: 1800px;
  margin: 0 auto;
}

@media (max-width: 1400px) {
  .app {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .app {
    grid-template-columns: 1fr;
  }
}

/* Cards */
.card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  animation: fadeInUp 0.6s ease-out both;
  transition: all 0.3s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-lg);
}

.card h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 0.08em;
  color: var(--accent-secondary);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
}

/* Bracket specific cards */
.bracket-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.round-card {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid var(--border);
}

/* Match Cards */
.match {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.match::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.match:hover::before {
  opacity: 1;
}

.match:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border-color: rgba(255, 107, 53, 0.3);
  transform: translateX(4px);
}

.match-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.players {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.player {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.8rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.player:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border);
}

.player-name {
  font-weight: 500;
  color: var(--text-primary);
}

.player-score {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  color: var(--accent-secondary);
}

.winner-badge {
  padding: 0.25rem 0.75rem;
  background: linear-gradient(135deg, var(--winner), #3ab5ad);
  color: white;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  min-width: 90px;
  text-align: center;
}

.loser-badge {
  padding: 0.25rem 0.75rem;
  background: rgba(255, 107, 107, 0.2);
  color: var(--loser);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  min-width: 90px;
  text-align: center;
}

.kratzer-badge {
  padding: 0.25rem 0.75rem;
  background: rgba(155, 89, 182, 0.2);
  color: var(--kratzer);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  min-width: 90px;
  text-align: center;
}

.eliminated-badge {
  padding: 0.25rem 0.75rem;
  background: rgba(100, 100, 100, 0.3);
  color: #999;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  min-width: 90px;
  text-align: center;
}

/* Score Input */
.score-input {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  margin-top: 0.5rem;
}

.score-input input {
  width: 60px;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-primary);
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: 'Bebas Neue', sans-serif;
  transition: all 0.2s ease;
}

.score-input input:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.score-separator {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* Placeholder */
.placeholder {
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
  padding: 1rem;
}

/* Utility Classes */
.hidden {
  display: none !important;
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* Center content */
.center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Finals special styling */
#finaleCard {
  grid-column: 4;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(78, 205, 196, 0.1));
  border: 2px solid var(--accent-primary);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

#finaleCard h2 {
  background: linear-gradient(135deg, var(--accent-primary), var(--winner));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Matches Only View */
.matches-only-container {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 2rem;
}

.matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 1.5rem;
}

/* Kratzer Tournament Specific */
.kratzer-container {
  position: relative;
  z-index: 5;
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.kratzer-boards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.board-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

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

.board-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--accent-secondary);
  text-transform: uppercase;
}

.board-status {
  padding: 0.5rem 1rem;
  background: rgba(78, 205, 196, 0.2);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--winner);
}

.kratzer-standings {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  margin-top: 2rem;
}

.standings-table {
  width: 100%;
  border-collapse: collapse;
}

.standings-table th,
.standings-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.standings-table th {
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.standings-table td {
  color: var(--text-primary);
}

.standings-table tr:last-child td {
  border-bottom: none;
}

.standings-table tr.eliminated {
  opacity: 0.5;
}

.standings-table tr.eliminated td {
  text-decoration: line-through;
}

/* Loading State */
.loading {
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
}

.loading::after {
  content: '...';
  animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
  0%, 20% { content: '.'; }
  40% { content: '..'; }
  60%, 100% { content: '...'; }
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  .menu {
    padding: 1rem;
  }
  
  .app {
    padding: 1rem;
  }
  
  .matches-grid {
    grid-template-columns: 1fr;
  }
  
  .kratzer-boards {
    grid-template-columns: 1fr;
  }
}

.btn-kratzer {
  background: linear-gradient(135deg, var(--kratzer), #8e44ad);
  color: white;
  font-weight: 600;
}

.kratzer-match-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.kratzer-match-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  transition: all 0.2s ease;
}

.kratzer-match-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 107, 53, 0.3);
}

.kratzer-match-players {
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-align: center;
  color: var(--text-primary);
}

/* Kratzer Game Section Styles */
.kratzer-game-section {
  margin-top: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.game-instruction {
  text-align: center;
}

.btn-kratzer-select {
  transition: all 0.2s ease;
}

.game-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  background: rgba(78, 205, 196, 0.08);
  border-radius: 12px;
  border: 2px solid var(--winner);
}

.game-result-icon {
  font-size: 3rem;
}

.game-result-text {
  text-align: center;
}

.winner-announcement {
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(78, 205, 196, 0.15), rgba(255, 107, 53, 0.15));
  border-radius: 16px;
  border: 2px solid var(--winner);
  box-shadow: 0 0 40px rgba(78, 205, 196, 0.3);
}

/* Bye Match Styles */
.bye-match {
  opacity: 0.7;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.bye-match .player {
  font-style: italic;
  color: var(--text-muted);
}

/* Bye Position Configuration */
.bye-position-btn {
  font-family: 'Outfit', sans-serif;
}

.bye-position-btn.is-bye {
  font-weight: bold;
}

.bye-position-btn.is-player {
  cursor: not-allowed;
  opacity: 0.6;
}

/* Match Score Display */
.match-score {
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--accent-primary);
  padding: 0.5rem 0;
  letter-spacing: 0.1em;
}