:root {
  --duoc-navy: #001d3d;
  --duoc-navy-light: #002855;
  --duoc-navy-mid: #003366;
  --duoc-yellow: #fdb913;
  --duoc-yellow-dark: #e5a500;
  --duoc-yellow-soft: rgba(253, 185, 19, 0.15);
  --bg-deep: var(--duoc-navy);
  --bg-card: rgba(0, 40, 80, 0.88);
  --pitch: var(--duoc-navy-mid);
  --gold: var(--duoc-yellow);
  --gold-dark: var(--duoc-yellow-dark);
  --accent: var(--duoc-yellow);
  --text: #f5f7fa;
  --text-muted: #a8b8cc;
  --danger: #ef4444;
  --success: #22c55e;
  --radius: 16px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-deep);
  line-height: 1.5;
  overflow-x: hidden;
}

.main-content {
  flex: 1 0 auto;
}

.pitch-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(160deg, rgba(0, 29, 61, 0.97) 0%, rgba(0, 40, 85, 0.92) 45%, rgba(0, 29, 61, 0.98) 100%),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 60px,
      rgba(253, 185, 19, 0.04) 60px,
      rgba(253, 185, 19, 0.04) 61px
    ),
    radial-gradient(ellipse at 80% 0%, rgba(253, 185, 19, 0.08) 0%, transparent 45%),
    radial-gradient(ellipse at 10% 100%, rgba(0, 51, 102, 0.6) 0%, transparent 50%),
    var(--bg-deep);
}

.floating-balls .ball {
  position: fixed;
  font-size: 2rem;
  opacity: 0.08;
  z-index: -1;
  animation: floatBall 18s ease-in-out infinite;
}

.ball-1 { top: 15%; left: 8%; animation-delay: 0s; }
.ball-2 { top: 60%; right: 10%; animation-delay: -6s; font-size: 3rem; }
.ball-3 { bottom: 20%; left: 40%; animation-delay: -12s; }

@keyframes floatBall {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -40px) rotate(120deg); }
  66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.container.narrow {
  width: min(480px, 92vw);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(0, 29, 61, 0.94);
  border-bottom: 3px solid var(--duoc-yellow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition);
}

.brand:hover {
  transform: scale(1.02);
}

.brand-icon {
  font-size: 2rem;
  filter: drop-shadow(0 0 8px rgba(253, 185, 19, 0.5));
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  color: var(--gold);
  display: block;
  line-height: 1;
}

.brand-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem 1rem;
  flex-wrap: wrap;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.nav-link:hover,
.nav-highlight {
  color: var(--gold);
}

.nav-user {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
  font-size: 1.4rem;
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--duoc-yellow), var(--duoc-yellow-dark));
  color: var(--duoc-navy);
  box-shadow: 0 4px 20px rgba(253, 185, 19, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(253, 185, 19, 0.45);
}

.btn-gold {
  background: var(--duoc-yellow);
  color: var(--duoc-navy);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.85rem; }
.btn-lg { padding: 0.9rem 1.75rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

.pulse-hover:hover {
  animation: pulse 1s ease infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(253, 185, 19, 0.35); }
  50% { box-shadow: 0 4px 32px rgba(253, 185, 19, 0.6); }
}

/* Hero */
.hero {
  padding: 4rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: var(--duoc-yellow-soft);
  border: 1px solid rgba(253, 185, 19, 0.45);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--duoc-yellow);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 0.95;
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}

.text-gold {
  color: var(--duoc-yellow);
  text-shadow: 0 0 40px rgba(253, 185, 19, 0.3);
}

.hero-desc {
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.25rem 2rem;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: transform var(--transition), border-color var(--transition);
}

.stat-card:hover {
  transform: translateX(-6px);
  border-color: rgba(253, 185, 19, 0.3);
}

.stat-card.highlight {
  border-color: rgba(253, 185, 19, 0.5);
  background: linear-gradient(135deg, rgba(253, 185, 19, 0.12), var(--bg-card));
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--gold);
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Sections */
.section {
  padding: 2.5rem 0 3.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  color: var(--gold);
}

.page-head {
  margin-bottom: 2rem;
}

.page-head h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin: 0 0 0.5rem;
  color: var(--gold);
}

/* Fecha cards */
.fecha-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.fecha-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.fecha-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(253, 185, 19, 0.25);
}

.fecha-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.fecha-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
}

.badge {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  background: var(--duoc-yellow-soft);
  color: var(--accent);
  border-radius: 999px;
}

.mini-fixture {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.mini-fixture li {
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mini-fixture .more {
  color: var(--gold);
  font-style: italic;
}

/* Rules */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.rule-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  border: 1px solid rgba(253, 185, 19, 0.15);
  transition: transform var(--transition);
}

.rule-card:hover {
  transform: scale(1.03);
}

.rule-pts {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.5rem;
}

/* Match cards */
.fecha-block {
  margin-bottom: 2.5rem;
}

.fecha-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.match-list {
  display: grid;
  gap: 1rem;
}

.match-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition);
  animation: cardIn 0.5s ease backwards;
  animation-delay: calc(var(--delay, 0) * 0.08s);
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

.match-card:hover {
  border-color: rgba(253, 185, 19, 0.2);
}

.match-card.match-saved {
  border-left: 4px solid var(--accent);
}

.match-card.match-closed {
  opacity: 0.7;
}

.match-meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.tag {
  background: rgba(253, 185, 19, 0.15);
  color: var(--gold);
  padding: 0.1rem 0.5rem;
  border-radius: 4px;
}

.tag-closed {
  background: rgba(239, 68, 68, 0.2);
  color: var(--danger);
  font-size: 0.75rem;
}

.tag-open {
  background: var(--duoc-yellow-soft);
  color: var(--accent);
  font-size: 0.75rem;
}

.prediction-readonly {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.prediction-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.prediction-score {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--gold);
  letter-spacing: 0.08em;
}

.match-locked {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: italic;
  margin: 0.25rem 0 0;
}

.match-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.match-teams.compact {
  grid-template-columns: 1fr auto 1fr auto;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.team-with-flag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}

.team-local.team-with-flag {
  flex-direction: row-reverse;
  justify-content: flex-start;
}

.team-visitante.team-with-flag {
  flex-direction: row;
  justify-content: flex-start;
}

.team-flag {
  width: 32px;
  height: 24px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.team-with-flag:hover .team-flag {
  transform: scale(1.08);
}

.team-flag-fallback {
  font-size: 1.25rem;
  width: 32px;
  text-align: center;
  line-height: 24px;
  opacity: 0.5;
}

.team-name {
  line-height: 1.2;
}

.team-local { text-align: right; font-weight: 700; }
.team-away { text-align: left; font-weight: 700; }

.mini-match {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
}

.mini-match .team-with-flag {
  font-size: 0.85rem;
  font-weight: 600;
}

.mini-match .team-flag {
  width: 22px;
  height: 16px;
}

.mini-vs {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.match-teams.compact .team-with-flag {
  font-size: 0.9rem;
}

.match-teams.compact .team-flag {
  width: 26px;
  height: 19px;
}

.vs {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 1.1rem;
}

.prediction-form,
.admin-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.score-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.score-input {
  width: 3.5rem;
  padding: 0.5rem;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-display);
  background: rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(253, 185, 19, 0.3);
  border-radius: 10px;
  color: var(--gold);
  transition: border-color var(--transition), transform var(--transition);
}

.score-input:focus {
  outline: none;
  border-color: var(--gold);
  transform: scale(1.05);
}

.score-sep {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-muted);
}

.match-official {
  font-size: 0.9rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.match-points .pts {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
}

.pts-max { background: rgba(34, 197, 94, 0.25); color: var(--success); }
.pts-partial { background: rgba(253, 185, 19, 0.2); color: var(--gold); }
.pts-zero { background: rgba(148, 163, 184, 0.2); color: var(--text-muted); }

.check-close {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Form */
.form-card {
  background: var(--bg-card);
  border-radius: calc(var(--radius) + 4px);
  padding: 2.5rem;
  border: 1px solid rgba(253, 185, 19, 0.2);
  box-shadow: var(--shadow);
  text-align: center;
}

.form-card-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.form-card h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  margin: 0 0 0.5rem;
}

.form-lead {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.field {
  text-align: left;
  margin-bottom: 1.25rem;
}

.field label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--gold);
}

.field-error {
  color: var(--danger);
  font-size: 0.8rem;
  margin-top: 0.25rem;
  display: block;
}

.form-foot {
  margin-top: 1.25rem;
  text-align: center;
}

/* Ranking */
.winner-banner {
  position: relative;
  text-align: center;
  padding: 2.5rem 2rem;
  margin-bottom: 2rem;
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(135deg, rgba(253, 185, 19, 0.2), rgba(0, 29, 61, 0.95));
  border: 2px solid var(--duoc-yellow);
  overflow: hidden;
}

.winner-glow {
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle, rgba(253, 185, 19, 0.15) 0%, transparent 60%);
  animation: glowRotate 8s linear infinite;
}

@keyframes glowRotate {
  to { transform: rotate(360deg); }
}

.winner-trophy {
  font-size: 4rem;
  display: block;
  animation: bounce 2s ease infinite;
  position: relative;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.winner-banner h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  margin: 0.5rem 0;
  position: relative;
}

.winner-name {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  position: relative;
}

.winner-score {
  color: var(--text-muted);
  position: relative;
}

.winner-names {
  list-style: none;
  padding: 0;
  position: relative;
}

.winner-names li {
  font-size: 1.25rem;
  padding: 0.25rem;
}

.ranking-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ranking-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
}

.ranking-table th,
.ranking-table td {
  padding: 0.85rem 1rem;
  text-align: left;
}

.ranking-table th {
  background: rgba(253, 185, 19, 0.1);
  color: var(--gold);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ranking-table tbody tr {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  transition: background var(--transition);
}

.ranking-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.04);
}

.rank-row.top-1 { background: rgba(253, 185, 19, 0.08); }
.rank-row.top-2 { background: rgba(192, 192, 192, 0.06); }
.rank-row.top-3 { background: rgba(205, 127, 50, 0.06); }
.rank-row.is-me {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.pts-cell {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
}

.muted { color: var(--text-muted); }

/* Progress */
.progress-bar-wrap {
  height: 8px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 999px;
  overflow: hidden;
  margin: 1rem 0 0.35rem;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  border-radius: 999px;
  transition: width 0.8s ease;
}

.progress-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.admin-cta {
  text-align: center;
  margin-top: 2rem;
}

.fechas-control-panel {
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid rgba(253, 185, 19, 0.25);
}

.fechas-control-panel .form-lead {
  color: var(--text-muted);
  margin: -0.5rem 0 1.25rem;
}

.fechas-control-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.fecha-toggle-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius);
  border: 2px solid rgba(255, 255, 255, 0.08);
  transition: border-color var(--transition), transform var(--transition);
}

.fecha-toggle-card.is-active {
  border-color: var(--duoc-yellow);
  background: linear-gradient(135deg, rgba(253, 185, 19, 0.1), rgba(0, 0, 0, 0.2));
}

.fecha-toggle-card:hover {
  transform: translateY(-2px);
}

.fecha-toggle-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.fecha-toggle-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--duoc-yellow);
}

.fecha-toggle-status {
  margin: 0;
}

.fecha-block-off {
  opacity: 0.75;
}

/* Messages */
.messages-wrap {
  padding-top: 1rem;
}

.alert {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.alert-success {
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid var(--success);
  color: #86efac;
}

.alert-error {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid var(--danger);
}

.alert-warning {
  background: rgba(253, 185, 19, 0.15);
  border: 1px solid var(--gold);
}

.alert-info {
  background: var(--duoc-yellow-soft);
  border: 1px solid var(--accent);
}

.empty-state {
  color: var(--text-muted);
  text-align: center;
  padding: 2rem;
}

.empty-state code {
  background: rgba(0, 0, 0, 0.3);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  color: var(--gold);
}

/* Footer */
.site-footer {
  flex-shrink: 0;
  margin-top: auto;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 3px solid var(--duoc-yellow);
  background: rgba(0, 20, 45, 0.6);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

/* Animations */
.fade-in-down {
  animation: fadeInDown 0.6s ease;
}

.fade-in-up {
  animation: fadeInUp 0.6s ease backwards;
}

.fade-in-up.delay-1 { animation-delay: 0.15s; }

.stagger-in {
  animation: fadeInUp 0.5s ease backwards;
  animation-delay: calc(var(--i, 0) * 0.1s);
}

.scale-in {
  animation: scaleIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.slide-in {
  animation: slideIn 0.4s ease;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-12px); }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .stat-card {
    flex: 1;
    min-width: 100px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1rem;
    background: rgba(0, 29, 61, 0.98);
    border-bottom: 3px solid var(--duoc-yellow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .match-teams {
    font-size: 0.9rem;
  }
}
