:root {
  --bg: #f2f5fb;
  --surface: #ffffff;
  --text: #111827;
  --muted: #4b5563;
  --primary: #2563eb;
  --primary-soft: #e4edff;
  --secondary: #10b981;
  --secondary-soft: #d1fae5;
  --danger: #ef4444;
  --border: #d1d5db;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, sans-serif;
  background:
    radial-gradient(
      circle at top right,
      rgba(37, 99, 235, 0.08),
      transparent 32%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(16, 185, 129, 0.1),
      transparent 24%
    ),
    var(--bg);
  color: var(--text);
}

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

.container {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding-bottom: 36px;
}

.top-bar {
  background: rgba(15, 23, 42, 0.96);
  color: #f8fafc;
  font-size: 0.95rem;
}

.top-bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.site-header {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(209, 213, 219, 0.8);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

nav a:hover {
  color: var(--primary);
}

.hero-panel {
  overflow: hidden;
  padding: 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.95fr;
  gap: 32px;
  align-items: center;
}

.hero-search {
  margin-top: 28px;
  max-width: 640px;
}

.hero-search label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-weight: 600;
}

.hero-search .search-field {
  display: flex;
  gap: 12px;
}

.hero-search input {
  flex: 1;
  border-radius: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(209, 213, 219, 0.9);
}

.hero-search button {
  min-width: 140px;
  padding: 0 24px;
}

.signup-card {
  padding: 28px;
  border-radius: 24px;
  background: #eff6ff;
  border: 1px solid rgba(37, 99, 235, 0.12);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.signup-message {
  margin-top: 18px;
  font-weight: 600;
}

.search-container {
  align-self: flex-start;
  max-width: 480px;
}

.search-container input {
  width: 100%;
}

.brand {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--text);
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

nav a:hover {
  color: var(--primary);
}

.panel,
.hero-panel {
  background: var(--surface);
  border: 1px solid rgba(209, 213, 219, 0.6);
  border-radius: 26px;
  padding: 32px;
  margin-top: 28px;
  box-shadow: var(--shadow);
}

.hero-panel {
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
  align-items: center;
}

.hero-grid-center {
  align-items: stretch;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  font-size: 0.8rem;
  margin-bottom: 18px;
}

.hero-panel h1 {
  margin: 0 0 18px;
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  line-height: 1.02;
}

.hero-text,
.section-description {
  margin: 0;
  max-width: 680px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.hero-summary,
.admin-summary-card,
.feature-card,
.stat-card,
.list-item,
.table-wrapper,
.form-actions {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.hero-summary {
  border: none;
  padding: 28px;
  background: linear-gradient(
    180deg,
    rgba(37, 99, 235, 0.09),
    rgba(37, 99, 235, 0.03)
  );
}

.card-glow {
  box-shadow: 0 28px 65px rgba(37, 99, 235, 0.13);
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.search-container {
  align-self: flex-start;
  max-width: 480px;
}

.search-container input {
  width: 100%;
}

.signup-grid {
  grid-template-columns: 1fr;
}

.signup-card {
  padding: 28px;
  border-radius: 24px;
  background: #eff6ff;
  border: 1px solid rgba(37, 99, 235, 0.12);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.signup-message {
  margin-top: 18px;
  font-weight: 600;
}

.section-header h2 {
  margin: 0;
}

.features-panel {
  padding-bottom: 26px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card {
  border-radius: 22px;
  padding: 24px;
  border: 1px solid rgba(209, 213, 219, 0.75);
  background: #f8fbff;
}

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.summary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.summary-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.summary-item span {
  color: var(--muted);
  font-size: 0.95rem;
}

.summary-item strong {
  font-size: 1.35rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(209, 213, 219, 0.9);
  border-radius: 18px;
  padding: 16px;
  font-size: 1rem;
  color: var(--text);
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(37, 99, 235, 0.7);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.full-width {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

.btn.primary {
  background: var(--primary);
  color: white;
}

.btn.secondary {
  background: var(--primary-soft);
  color: var(--primary);
}

.btn.danger {
  background: var(--danger);
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.stats-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card {
  padding: 28px;
  border-radius: 24px;
  background: #eef4ff;
  border: 1px solid rgba(37, 99, 235, 0.13);
  text-align: center;
}

.stat-card strong,
.stat-value {
  font-size: 2.1rem;
  display: block;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--muted);
  font-size: 0.95rem;
}

.list {
  display: grid;
  gap: 18px;
}

.list-item {
  padding: 24px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(209, 213, 219, 0.75);
}

.list-item h3 {
  margin: 0 0 12px;
}

.list-item p {
  margin: 8px 0;
  color: var(--muted);
}

.list-item .item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
}

.sports-panel {
  text-align: center;
}

.sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.sport-item {
  padding: 20px;
  border-radius: 20px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.sport-item:hover {
  background: var(--primary);
  color: white;
}

.testimonials-panel {
  background: var(--secondary-soft);
  border-color: var(--secondary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.testimonial {
  padding: 20px;
  border-radius: 20px;
  background: white;
  box-shadow: var(--shadow);
}

.testimonial p {
  margin: 0 0 10px;
  font-style: italic;
}

.testimonial strong {
  color: var(--primary);
}

.blog-panel {
  text-align: center;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.blog-item {
  padding: 20px;
  border-radius: 20px;
  background: white;
  box-shadow: var(--shadow);
  text-align: left;
}

.blog-item h3 {
  margin-top: 0;
}

.blog-item a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.site-footer {
  background: rgba(15, 23, 42, 0.96);
  color: #f8fafc;
  padding: 40px 0;
  margin-top: 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.footer-section h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.footer-section a {
  color: #f8fafc;
  text-decoration: none;
}

.footer-section a:hover {
  text-decoration: underline;
}

.table-wrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

thead th,
tbody td {
  padding: 16px 14px;
  border-bottom: 1px solid rgba(209, 213, 219, 0.75);
}

thead th {
  background: #f8fbff;
  color: var(--muted);
  font-weight: 700;
}

tbody tr:hover {
  background: rgba(37, 99, 235, 0.04);
}

.action-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.card-glow:hover,
.feature-card:hover,
.stat-card:hover,
.list-item:hover {
  transform: translateY(-2px);
}

@media (max-width: 980px) {
  .hero-grid,
  .feature-grid,
  .stats-grid,
  .stats-grid-4 {
    grid-template-columns: 1fr;
  }

  .table-wrapper {
    min-width: 100%;
  }
}

@media (max-width: 720px) {
  .container {
    width: calc(100% - 24px);
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}
