:root {
  --bg: #050816;
  --bg-soft: #0f172a;
  --bg-muted: #020617;
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.15);
  --accent-strong: #0ea5e9;
  --text: #e5e7eb;
  --text-soft: #9ca3af;
  --border-subtle: #1f2937;
  --radius-lg: 18px;
  --radius-full: 999px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.7);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #1f2937 0, #020617 40%, #020617);
  color: var(--text);
}

body {
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.95),
    rgba(15, 23, 42, 0.8),
    transparent
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

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

.logo {
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  background: radial-gradient(circle at top left, #22c55e22, transparent 55%),
    radial-gradient(circle at top right, #38bdf822, transparent 60%),
    rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.nav {
  display: flex;
  gap: 20px;
  font-size: 0.9rem;
}

.nav a {
  color: var(--text-soft);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: color 0.18s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, #38bdf8, #22c55e);
  transition: width 0.18s ease;
}

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

.nav a:hover::after {
  width: 100%;
}

.hero {
  padding: 64px 0 40px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.1rem, 3vw, 2.6rem);
  margin: 0 0 14px;
  letter-spacing: 0.02em;
}

.hero-text p {
  margin: 0 0 22px;
  color: var(--text-soft);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  border: none;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.16s ease, box-shadow 0.16s ease,
    background-color 0.16s ease, color 0.16s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #0b1120;
  box-shadow: 0 14px 35px rgba(56, 189, 248, 0.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 45px rgba(56, 189, 248, 0.45);
}

.btn-outline {
  background: rgba(15, 23, 42, 0.7);
  color: var(--text);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.btn-outline:hover {
  background: rgba(15, 23, 42, 0.95);
  transform: translateY(-1px);
}

.hero-card {
  padding: 18px 18px 20px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, #38bdf822, transparent 55%),
    radial-gradient(circle at bottom right, #22c55e22, transparent 60%),
    linear-gradient(135deg, #020617, #020617);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: var(--shadow-soft);
}

.hero-card h2 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.hero-card p {
  margin: 0 0 10px;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-soft);
  font-size: 0.9rem;
  display: grid;
  gap: 4px;
}

.section {
  padding: 40px 0;
}

.section.muted {
  background: radial-gradient(circle at top, #020617, #020617 55%, #000 100%);
}

.section-title {
  margin: 0 0 24px;
  font-size: 1.4rem;
}

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

.card {
  padding: 16px 16px 18px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(30, 64, 175, 0.8);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.9);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 20px;
  align-items: flex-start;
}

.about-box {
  padding: 16px 18px 18px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.about-box h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.about-box ol {
  margin: 0;
  padding-left: 20px;
  color: var(--text-soft);
  font-size: 0.9rem;
  display: grid;
  gap: 4px;
}

.about-box code {
  background: rgba(15, 23, 42, 0.9);
  padding: 1px 5px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 0.78em;
}

.contact-form {
  max-width: 520px;
  padding: 20px 18px 20px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(51, 65, 85, 0.9);
  box-shadow: 0 16px 50px rgba(15, 23, 42, 0.9);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.form-row label {
  font-size: 0.86rem;
  color: var(--text-soft);
}

.form-row input,
.form-row textarea {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.9);
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease,
    background-color 0.16s ease;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.4);
  background: rgba(15, 23, 42, 0.98);
}

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

.form-tip {
  margin: 8px 0 0;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.site-footer {
  padding: 18px 0 22px;
  border-top: 1px solid rgba(15, 23, 42, 0.9);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.page-hero {
  padding: 60px 0 24px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: 1.7rem;
}

.page-hero p {
  margin: 0;
  color: var(--text-soft);
  max-width: 720px;
  line-height: 1.7;
}

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

.article-card {
  padding: 16px 16px 18px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(51, 65, 85, 0.9);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.9);
}

.article-card h2,
.article-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.article-card a {
  color: #e5e7eb;
  text-decoration: none;
}

.article-card a:hover {
  color: var(--accent);
}

.article-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.article-detail {
  max-width: 780px;
}

.article-detail p {
  margin: 0 0 12px;
  color: var(--text-soft);
  line-height: 1.8;
}

.detail-image,
.hero-image {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 16px;
  border: 1px solid rgba(30, 64, 175, 0.8);
}

.sports-layout,
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.sports-text,
.about-text {
  color: var(--text-soft);
  line-height: 1.8;
  display: grid;
  gap: 10px;
}

.sports-image-box,
.about-image-box {
  display: flex;
  justify-content: center;
}

.sports-image-box img,
.about-image-box img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(51, 65, 85, 0.9);
  max-width: 360px;
  object-fit: cover;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    order: -1;
  }

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

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

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

  .sports-layout,
  .about-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .header-inner {
    gap: 10px;
  }

  .nav {
    gap: 14px;
    font-size: 0.8rem;
  }

  .hero {
    padding-top: 44px;
  }

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

  .contact-form {
    padding-inline: 14px;
  }

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