:root {
  --bg-color: #050505;
  --primary-color: #00AFFF;
  --accent-color: #00FF9F;
  --gold-color: #FFD700;
  --card-bg: rgba(17, 17, 17, 0.85);
  --text-main: #FFFFFF;
  --text-muted: #A0A0A0;
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
  --transition-speed: 0.3s;
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--text-main);
  transition: color var(--transition-speed);
}

ul {
  list-style: none;
}

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

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 3.5rem; margin-bottom: 1rem; }
h2 { font-size: 2.5rem; margin-bottom: 2rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }

.text-primary { color: var(--primary-color); }
.text-accent { color: var(--accent-color); }
.text-gold { color: var(--gold-color); }
.text-muted { color: var(--text-muted); }

/* Header & Nav */
.glass-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 175, 255, 0.2);
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 24px;
  background: var(--primary-color);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary-color);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links a:hover {
  color: var(--primary-color);
  text-shadow: 0 0 8px rgba(0, 175, 255, 0.5);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  border: none;
  text-align: center;
}

.btn-primary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: 0 0 10px rgba(0, 175, 255, 0.2);
}

.btn-primary:hover {
  background: var(--primary-color);
  color: var(--bg-color);
  box-shadow: 0 0 20px rgba(0, 175, 255, 0.6);
}

.btn-accent {
  background: var(--accent-color);
  color: var(--bg-color);
  border: 2px solid var(--accent-color);
  box-shadow: 0 0 15px rgba(0, 255, 159, 0.4);
}

.btn-accent:hover {
  background: transparent;
  color: var(--accent-color);
  box-shadow: 0 0 25px rgba(0, 255, 159, 0.6);
}

/* Hero Section */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(rgba(5, 5, 5, 0.8), rgba(5, 5, 5, 0.9)), url('images/photo-1518605368461-1fc4cb465ea4.png') center/cover;
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 2;
  animation: slideUp 1s ease forwards;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

/* Glass Cards */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem;
  transition: transform var(--transition-speed), box-shadow var(--transition-speed), border-color var(--transition-speed);
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 175, 255, 0.5);
  box-shadow: 0 10px 30px rgba(0, 175, 255, 0.15);
}

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

/* Sections */
.section { padding: 6rem 0; }
.section-header { text-align: center; margin-bottom: 4rem; }

/* Quick Stats */
.stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: -4rem;
  position: relative;
  z-index: 10;
}

.stat-box {
  text-align: center;
  padding: 2rem;
  background: var(--card-bg);
  border-radius: 12px;
  border: 1px solid rgba(0, 255, 159, 0.2);
  box-shadow: 0 0 20px rgba(0, 255, 159, 0.05);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 10px rgba(0, 255, 159, 0.4);
}

/* Team Cards */
.team-card {
  text-align: center;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.team-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.2));
}

.team-card h3 { margin: 0; }
.team-card .league { color: var(--gold-color); font-size: 0.9rem; font-weight: 600; text-transform: uppercase; }

/* Player Cards */
.player-card {
  padding: 0;
  overflow: hidden;
}
.player-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 2px solid rgba(0, 175, 255, 0.3);
}
.player-info {
  padding: 1.5rem;
}
.player-info h4 { margin-bottom: 0.5rem; font-size: 1.2rem; }
.player-stats {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Tables */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}
.data-table th, .data-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.data-table th {
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
}
.data-table tr:hover td {
  background: rgba(0, 175, 255, 0.05);
}

/* Footer */
.glass-footer {
  background: var(--card-bg);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-links h4 { color: var(--primary-color); margin-bottom: 1rem; }
.footer-links ul li { margin-bottom: 0.5rem; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--accent-color); }
.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Forms */
.form-group { margin-bottom: 1.5rem; }
.form-control {
  width: 100%;
  padding: 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: var(--text-main);
  font-family: var(--font-family);
}
.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(0, 175, 255, 0.2);
}

/* Animations */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-container { grid-template-columns: repeat(2, 1fr); margin-top: 2rem; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero h1 { font-size: 2.5rem; }
  .grid-4, .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .stats-container { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
}