:root {
  /* Red Color Palette */
  --primary-900: #68000d;
  --primary-800: #9a031e;
  --primary-700: #c1121f;
  --primary-600: #d90429;  /* Main Brand Red */
  --primary-500: #ef233c;  /* Vibrant Accent */
  --primary-400: #ff4d6d;  /* Light Accent */
  --primary-100: #fff0f3;  /* Subtle Background */

  /* Neutrals */
  --dark: #1e1e24;
  --gray: #6c757d;
  --light: #f8f9fa;

  /* UI */
  --border-radius-lg: 12px;
  --border-radius-sm: 6px;
  --box-shadow: 0 8px 24px rgba(215, 2, 41, 0.1);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base Styles */
body {
  background-color: var(--light);
  color: var(--dark);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* Typography */
h1, h2, h3 {
  font-weight: 700;
  color: var(--primary-800);
  margin-bottom: 1.5rem;
}

h1 {
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-100);
}

/* Cards & Tables */
.card {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--box-shadow);
  border: 1px solid rgba(239, 35, 60, 0.1);
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

th {
  background: var(--primary-600);
  color: white;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

td {
  padding: 1rem;
  border-bottom: 1px solid rgba(239, 35, 60, 0.05);
}

tr:hover {
  background: var(--primary-100);
}

/* Buttons & Forms */
.button {
  display: inline-block;
  background: var(--primary-600);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.button:hover {
  background: var(--primary-800);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(239, 35, 60, 0.2);
}

input, select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
}

input:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(239, 35, 60, 0.1);
}

/* Team Rows (for zadani.html) */
.team-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: white;
  border-radius: var(--border-radius-sm);
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
/* Medal styles */
.medal-gold { background-color: rgba(255, 215, 0, 0.2); }
.medal-silver { background-color: rgba(192, 192, 192, 0.2); }
.medal-bronze { background-color: rgba(205, 127, 50, 0.2); }

/* Table enhancements */
table {
    margin-bottom: 2rem;
}

th:first-child, td:first-child {
    border-radius:

/* Responsive */
@media (max-width: 768px) {
  .team-row {
    grid-template-columns: 1fr;
  }
}
/* Medal Styles */
.medal-gold {
    background: linear-gradient(135deg, rgba(255,215,0,0.1), rgba(255,215,0,0.3));
    position: relative;
}

.medal-silver {
    background: linear-gradient(135deg, rgba(192,192,192,0.1), rgba(192,192,192,0.3));
}

.medal-bronze {
    background: linear-gradient(135deg, rgba(205,127,50,0.1), rgba(205,127,50,0.3));
}

.medal-gold::before {
    content: "🥇";
    position: absolute;
    left: 5px;
}

.medal-silver::before {
    content: "🥈";
    position: absolute;
    left: 5px;
}

.medal-bronze::before {
    content: "🥉";
    position: absolute;
    left: 5px;
}

/* Adjust table cells for medal icons */
tr[class^="medal-"] td:first-child {
    padding-left: 30px;
}