/* =============================================
   KOHI DOJO CANTABALL LEAGUE - GLOBAL STYLES
   ============================================= */

/* --- CSS Variables --- */
:root {
  /* Colors */
  --bg: #0F172A;
  --blue: #1E293B;
  --red: #EA580C;
  --red-dark: #C2410C;
  --white: #F8FAFC;
  --muted: #94A3B8;
  --border: #334155;
  --border-light: #475569;
  --gold: #F59E0B;
  --silver: #94A3B8;
  --bronze: #EA580C;
  --success: #22C55E;
  --warning: #F59E0B;
  --danger: #EF4444;

  /* Glassmorphism */
  --glass: rgba(30, 41, 59, 0.72);
  --glass-hover: rgba(30, 41, 59, 0.9);
  --glass-border: rgba(148, 163, 184, 0.14);
  --blur: blur(12px);

  /* Typography */
  --font-primary: 'Poppins', system-ui, sans-serif;

  /* Spacing */
  --container-max: 1280px;
  --container-padding: 32px;
  --section-padding: 120px;
  --section-padding-mobile: 80px;
  --card-padding: 32px;
  --grid-gap: 32px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(15, 23, 42, 0.35);
  --shadow-hover: 0 8px 32px rgba(15, 23, 42, 0.48);
  --shadow-red: 0 8px 24px rgba(234, 88, 12, 0.32);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background:
    radial-gradient(circle at 50% 100%, rgba(245, 158, 11, 0.14), transparent 34%),
    linear-gradient(180deg, #0F172A 0%, #111827 58%, #1E293B 100%);
  background-attachment: fixed;
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: var(--font-primary);
  cursor: pointer;
  border: none;
  outline: none;
}

input, textarea, select {
  font-family: var(--font-primary);
  outline: none;
}

ul, ol {
  list-style: none;
}

/* --- Container --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
}

/* --- Glassmorphism Card --- */
.glass-card {
  background: var(--glass);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--card-padding);
  transition: var(--transition-base);
}

.glass-card:hover {
  background: var(--glass-hover);
  border-color: var(--border-light);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition-base);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-md {
  padding: 14px 28px;
  font-size: 16px;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 18px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
}

.btn-primary:hover {
  box-shadow: var(--shadow-red);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--red);
  color: var(--white);
}

.btn-secondary:hover {
  background: rgba(234, 88, 12, 0.14);
}

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

.btn-outline:hover {
  border-color: var(--border-light);
  background: var(--glass-hover);
}

.btn-full {
  width: 100%;
}

/* --- Form Inputs --- */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 8px;
}

.form-label .required {
  color: var(--red);
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  color: var(--white);
  font-size: 15px;
  transition: var(--transition-base);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.18);
  background: var(--glass-hover);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.form-input.valid,
.form-select.valid,
.form-textarea.valid {
  border-color: var(--success);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

.form-error {
  font-size: 12px;
  color: var(--danger);
  margin-top: 6px;
  display: none;
}

.form-input.error ~ .form-error {
  display: block;
}

/* Checkbox */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--red);
  margin-top: 2px;
  flex-shrink: 0;
}

.checkbox-group label {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.checkbox-group label a {
  color: var(--red);
  text-decoration: underline;
}

/* --- Section Title --- */
.section-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  display: inline-block;
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--muted);
  max-width: 600px;
}

/* --- Page Banner --- */
.page-banner {
  background:
    radial-gradient(circle at 50% 100%, rgba(245, 158, 11, 0.16), transparent 42%),
    linear-gradient(180deg, #0F172A 0%, #111827 54%, #1E293B 100%);
  padding: 140px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2394A3B8' fill-opacity='0.12'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.page-banner .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: var(--muted);
  transition: var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb-separator {
  color: var(--red);
}

.page-banner h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -1px;
}

.page-banner p {
  font-size: 16px;
  color: var(--muted);
  margin-top: 8px;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.3;
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
}

.cta-banner p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 16px auto 0;
}

.cta-banner .btn {
  margin-top: 32px;
  background: var(--white);
  color: var(--red);
}

.cta-banner .btn:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* --- Stat Card --- */
.stat-card {
  text-align: center;
  padding: 32px 24px;
}

.stat-card .stat-icon {
  font-size: 24px;
  color: var(--red);
  margin-bottom: 12px;
}

.stat-card .stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  letter-spacing: -1px;
}

.stat-card .stat-label {
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
}

/* --- Progress Bar --- */
.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--glass);
  border-radius: 4px;
  overflow: hidden;
  margin: 12px 0;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--red-dark));
  border-radius: 4px;
  transition: width 1.5s ease;
}

/* --- Countdown Timer --- */
.countdown {
  display: flex;
  gap: 12px;
}

.countdown-box {
  background: var(--glass);
  border-left: 3px solid var(--red);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  min-width: 70px;
}

.countdown-box .countdown-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  display: block;
}

.countdown-box .countdown-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Badges --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}

.badge-success {
  background: rgba(34, 197, 94, 0.15);
  color: var(--success);
}

.badge-warning {
  background: rgba(245, 158, 11, 0.15);
  color: var(--warning);
}

.badge-danger {
  background: rgba(239, 68, 68, 0.15);
  color: var(--danger);
}

.badge-red {
  background: rgba(234, 88, 12, 0.16);
  color: var(--red);
}

/* --- Rank Badges --- */
.rank-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.rank-gold {
  background: var(--gold);
  color: var(--bg);
}

.rank-silver {
  background: var(--silver);
  color: var(--bg);
}

.rank-bronze {
  background: var(--bronze);
  color: var(--white);
}

/* --- Form Badges --- */
.form-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.form-w {
  background: rgba(34, 197, 94, 0.18);
  color: var(--success);
}

.form-l {
  background: rgba(239, 68, 68, 0.2);
  color: var(--danger);
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* --- Bounce Animation --- */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* --- Pulse Animation --- */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

/* --- Spinner --- */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

/* --- Modal / Lightbox --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  max-width: 90vw;
  max-height: 85vh;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--border);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: var(--red);
  border-color: var(--red);
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--border);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-nav:hover {
  background: var(--glass-hover);
}

.modal-nav.prev {
  left: -64px;
}

.modal-nav.next {
  right: -64px;
}

.modal-counter {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  color: var(--muted);
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--glass);
  backdrop-filter: var(--blur);
  border: 1px solid var(--border);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
  z-index: 99;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--red);
  border-color: var(--red);
}

/* --- Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 100;
  transition: var(--transition-base);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border-bottom-color: var(--border);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 20px;
  color: var(--white);
}

.header-logo img {
  height: 40px;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  transition: var(--transition-fast);
  position: relative;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: width 0.3s ease;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--red);
}

.header-nav a:hover::after,
.header-nav a.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 20px;
  align-items: center;
  justify-content: center;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: var(--blur);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  z-index: 99;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
}

.mobile-menu.open {
  max-height: 500px;
  opacity: 1;
}

.mobile-menu a {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
  border-bottom: 1px solid var(--border);
  transition: var(--transition-fast);
}

.mobile-menu a:hover {
  color: var(--red);
}

.mobile-menu .btn {
  margin-top: 16px;
  width: 100%;
}

/* --- Footer --- */
.footer {
  background: var(--blue);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: var(--transition-fast);
}

.footer-socials a:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.footer-links h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  font-size: 14px;
  color: var(--muted);
  padding: 6px 0;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-newsletter h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-newsletter p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form input {
  flex: 1;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--white);
  font-size: 14px;
}

.newsletter-form input::placeholder {
  color: var(--muted);
}

.newsletter-form button {
  padding: 12px 20px;
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition-fast);
}

.newsletter-form button:hover {
  background: var(--red-dark);
}

.footer-contact {
  margin-top: 24px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
}

.footer-contact-item i {
  color: var(--red);
  font-size: 14px;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

/* --- League Table --- */
.league-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.league-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.league-table thead th {
  background: var(--glass-hover);
  padding: 14px 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: left;
  white-space: nowrap;
}

.league-table thead th:first-child {
  border-radius: var(--radius-lg) 0 0 0;
}

.league-table thead th:last-child {
  border-radius: 0 var(--radius-lg) 0 0;
}

.league-table tbody tr {
  border-bottom: 1px solid rgba(51, 65, 85, 0.6);
  transition: var(--transition-fast);
}

.league-table tbody tr:nth-child(even) {
  background: var(--glass);
}

.league-table tbody tr:hover {
  background: var(--glass-hover);
}

.league-table tbody td {
  padding: 16px 20px;
  font-size: 14px;
  color: var(--white);
  white-space: nowrap;
}

.league-table .team-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.league-table .team-logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

.league-table .points-cell {
  font-weight: 700;
  color: var(--gold);
}

.league-table .form-cell {
  display: flex;
  gap: 4px;
}

/* --- Fixture Card --- */
.fixture-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.fixture-teams {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.fixture-team {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fixture-team.reversed {
  flex-direction: row-reverse;
}

.fixture-team .team-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.fixture-team .team-name {
  font-weight: 600;
  font-size: 15px;
}

.fixture-vs {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.fixture-meta {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.fixture-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.fixture-status {
  flex-shrink: 0;
}

/* --- Result Card --- */
.result-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.result-teams {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
}

.result-team {
  display: flex;
  align-items: center;
  gap: 12px;
}

.result-team.reversed {
  flex-direction: row-reverse;
}

.result-team.winner .team-name {
  color: var(--gold);
}

.result-team .team-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.result-team .team-name {
  font-weight: 600;
  font-size: 15px;
}

.result-score {
  display: flex;
  align-items: center;
  gap: 16px;
}

.result-score .score {
  font-size: 28px;
  font-weight: 700;
}

.result-score .score.winner {
  color: var(--white);
}

.result-score .score.loser {
  color: var(--muted);
}

.result-score .separator {
  color: var(--border);
  font-size: 20px;
}

.result-meta {
  text-align: right;
}

.result-meta .week {
  font-size: 12px;
  color: var(--muted);
}

.result-meta .badge {
  margin-top: 6px;
}

/* --- Filter Bar --- */
.filter-bar {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filter-bar .form-input,
.filter-bar .form-select {
  width: auto;
  min-width: 200px;
}

.filter-bar .search-input {
  flex: 1;
  min-width: 250px;
  position: relative;
}

.filter-bar .search-input i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}

.filter-bar .search-input input {
  padding-left: 44px;
}

/* --- File Upload --- */
.file-upload {
  position: relative;
}

.file-upload input[type="file"] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.file-upload-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  transition: var(--transition-base);
}

.file-upload:hover .file-upload-area {
  border-color: var(--red);
  background: rgba(234, 88, 12, 0.08);
}

.file-upload-area i {
  font-size: 32px;
  color: var(--muted);
  margin-bottom: 12px;
}

.file-upload-area p {
  font-size: 14px;
  color: var(--muted);
}

.file-preview {
  margin-top: 16px;
  max-width: 120px;
  border-radius: var(--radius-sm);
  display: none;
}

.file-preview.visible {
  display: block;
}

/* --- Image Upload Preview --- */
.image-preview-container {
  margin-top: 12px;
  width: 100px;
  height: 100px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  display: none;
}

.image-preview-container.visible {
  display: block;
}

.image-preview-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Utility Classes --- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-red { color: var(--red); }
.text-gold { color: var(--gold); }
.text-muted { color: var(--muted); }
.text-success { color: var(--success); }
.text-white { color: var(--white); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mr-1 { margin-right: 8px; }
.mr-2 { margin-right: 16px; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--grid-gap);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--grid-gap);
}

/* Print styles */
@media print {
  .header, .footer, .back-to-top, .cta-banner {
    display: none !important;
  }
  body {
    background: white;
    color: black;
  }
}
