:root {
  --field-deep: #0b2e1a;
  --field-mid: #14532d;
  --turf: #1a6b3c;
  --lime: #b8f26e;
  --cream: #f3f0e6;
  --ink: #0f1a12;
  --muted: #4a5c50;
  --line: rgba(255, 255, 255, 0.14);
  --font-display: "Bebas Neue", Impact, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
}

a {
  color: inherit;
}

img,
iframe {
  max-width: 100%;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 5vw;
  background: rgba(11, 46, 26, 0.92);
  backdrop-filter: blur(10px);
  color: var(--cream);
}

.logo {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 1.25rem;
}

.nav a,
.social-links a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  opacity: 0.9;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.nav a:hover,
.social-links a:hover {
  opacity: 1;
  color: var(--lime);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 0 5vw 12vh;
  color: var(--cream);
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background: var(--field-deep);
  overflow: hidden;
}

.hero-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  transform: none;
}

.hero-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(11, 46, 26, 0.18) 0%, rgba(11, 46, 26, 0.75) 100%),
    linear-gradient(90deg, rgba(11, 46, 26, 0.92) 0%, rgba(11, 46, 26, 0.54) 46%, rgba(11, 46, 26, 0.08) 82%, transparent 100%);
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: auto 0 18% 0;
  z-index: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 242, 110, 0.55), transparent);
  animation: line-pulse 3.5s ease-in-out infinite;
}

@keyframes field-shift {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.08);
  }
}

@keyframes line-pulse {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  animation: rise-in 0.9s ease-out both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-brand {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 11vw, 6.5rem);
  line-height: 0.9;
  letter-spacing: 0.03em;
  color: var(--lime);
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  max-width: 28rem;
  opacity: 0.92;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 2px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--lime);
  color: var(--field-deep);
}

.btn-primary:hover {
  background: #d4ff8f;
}

.btn-secondary {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(243, 240, 230, 0.45);
}

.btn-secondary:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.section {
  padding: 5.5rem 5vw;
}

.section-inner {
  max-width: 960px;
  margin: 0 auto;
}

.section-inner-wide {
  max-width: 1100px;
}

.gallery {
  background: #121a14;
  color: var(--cream);
}

.section.gallery h2 {
  color: var(--lime);
}

.gallery .section-lead {
  color: rgba(243, 240, 230, 0.72);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.85rem;
}

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  background: #0a120d;
}

.gallery-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  transition: transform 0.55s ease;
}

.gallery-feature {
  grid-row: 1 / span 2;
}

.gallery-feature img {
  aspect-ratio: auto;
  min-height: 100%;
}

.gallery-grid figure:hover img {
  transform: scale(1.04);
}

@media (max-width: 820px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-feature {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .gallery-feature img {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 520px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-feature img {
    aspect-ratio: 4 / 5;
  }
}

.section h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--field-deep);
}

.section-lead {
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
}

.highlights {
  background:
    linear-gradient(180deg, #e8efe4 0%, var(--cream) 100%);
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--field-deep);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(11, 46, 26, 0.18);
}

.featured-video {
  margin-bottom: 2.25rem;
}

.video-label {
  margin: 0 0 0.65rem;
  color: var(--field-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.video-label-match {
  margin-top: 0;
}

.video-player {
  display: block;
  width: 100%;
  max-height: 70vh;
  background: var(--field-deep);
  box-shadow: 0 24px 60px rgba(11, 46, 26, 0.18);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-note {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.taka-card {
  margin-top: 2.25rem;
  padding: 1.4rem 1.5rem;
  background: #fbfaf5;
  border: 1px solid rgba(11, 46, 26, 0.12);
  border-left: 4px solid var(--field-mid);
  box-shadow: 0 12px 30px rgba(11, 46, 26, 0.08);
}

.taka-text {
  margin: 0 0 1.1rem;
  color: var(--ink);
}

.taka-card .btn {
  color: var(--field-deep);
  border: 1px solid rgba(11, 46, 26, 0.28);
}

.taka-card .btn:hover {
  border-color: var(--field-mid);
  color: var(--field-mid);
}

.taka-card .btn:focus-visible {
  outline: 2px solid var(--field-mid);
  outline-offset: 2px;
}

@media (max-width: 520px) {
  .taka-card .btn {
    display: flex;
    width: 100%;
  }
}

.video-note a {
  color: var(--field-mid);
  font-weight: 600;
}

.clip-panel:not(:has(video, iframe)),
.clip-group:not(:has(video, iframe)),
.clip-game:not(:has(video, iframe)) {
  display: none;
}

.clip-library:not(.is-tabbed) .clip-panel + .clip-panel {
  margin-top: 3rem;
}

.is-tabbed .clip-panel-title {
  display: none;
}

.clip-panel .section-lead {
  margin-bottom: 1.25rem;
}

.clip-tabs {
  display: flex;
  gap: 1rem;
  margin: 0 0 1.25rem;
  overflow-x: auto;
  overflow-y: hidden;
  border-bottom: 1px solid rgba(11, 46, 26, 0.12);
  scrollbar-width: thin;
}

.clip-tab {
  flex: 0 0 auto;
  margin: 0;
  padding: 0.65rem 0.4rem 0.55rem;
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--muted);
  cursor: pointer;
}

.clip-tab:hover {
  color: var(--field-deep);
}

.clip-tab[aria-selected="true"] {
  color: var(--field-deep);
  border-bottom-color: var(--field-mid);
}

.clip-tab:focus-visible {
  outline: 2px solid var(--field-mid);
  outline-offset: -3px;
}

.clip-group + .clip-group {
  margin-top: 2.25rem;
}

.clip-game + .clip-game {
  margin-top: 1.5rem;
}

.clip-game-label {
  margin: 0 0 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.clip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 1.25rem;
}

.clip-card {
  margin: 0;
}

.clip-frame {
  aspect-ratio: 16 / 9;
  background: var(--field-deep);
  overflow: hidden;
}

.clip-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.clip-card figcaption {
  padding-top: 0.55rem;
}

.clip-card figcaption p {
  margin: 0;
}

.clip-title {
  font-weight: 700;
  color: var(--field-deep);
}

.clip-meta,
.clip-id {
  font-size: 0.88rem;
  color: var(--muted);
}

.clip-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.45rem 0 0;
  padding: 0;
  list-style: none;
}

.clip-tags li {
  padding: 0.15rem 0.5rem;
  border: 1px solid rgba(11, 46, 26, 0.2);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--field-deep);
}

.match-film {
  margin-top: 3.5rem;
}

.match-film .video-frame:not(:last-of-type) {
  margin-bottom: 2.25rem;
}

@media (max-width: 820px) {
  .clip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .clip-grid {
    grid-template-columns: 1fr;
  }
}

.profile {
  background: var(--cream);
}

.section h3 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--field-deep);
}

.profile-block {
  margin-top: 3.5rem;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 1.75rem;
  margin: 0;
}

.profile-grid > div {
  padding-top: 0.85rem;
  border-top: 2px solid rgba(11, 46, 26, 0.12);
}

.profile-grid > div:has(> dd:empty) {
  display: none;
}

.profile-grid dt {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.profile-grid dd {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--field-deep);
  overflow-wrap: break-word;
}

.profile-grid-text dd {
  font-size: 1rem;
  line-height: 1.45;
}

.ref-note {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}

.style-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.style-list li {
  padding-top: 0.85rem;
  border-top: 2px solid rgba(11, 46, 26, 0.12);
  color: var(--ink);
}

.style-list strong {
  color: var(--field-deep);
}

.style-intro {
  margin: 0 0 1.5rem;
  max-width: 44rem;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--field-deep);
}

.style-list li {
  scroll-margin-top: 5.5rem;
}

.clip-link {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--field-mid);
  text-decoration: none;
  white-space: nowrap;
}

.clip-link:hover {
  text-decoration: underline;
}

.clip-link:focus-visible {
  outline: 2px solid var(--field-mid);
  outline-offset: 2px;
}

.profile-body {
  margin: 0;
  max-width: 44rem;
  font-size: 1.05rem;
  color: var(--ink);
}

.profile-note {
  margin: 1.75rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.profile-note a {
  color: var(--field-mid);
  font-weight: 600;
}

.fest-card {
  margin: 0 0 2.75rem;
  padding: 1.6rem 1.75rem;
  background: var(--field-deep);
  color: var(--cream);
  border-left: 4px solid var(--lime);
}

.fest-card h3 {
  margin-bottom: 0.35rem;
  color: var(--lime);
}

.fest-event {
  margin: 0 0 1.1rem;
  font-weight: 600;
}

.fest-games {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fest-games li {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr) auto;
  gap: 0.2rem 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
}

.fest-date {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
}

.fest-opponent {
  font-weight: 700;
}

.fest-meta {
  color: rgba(243, 240, 230, 0.8);
}

.fest-note {
  margin: 0.9rem 0 0;
  font-weight: 700;
}

@media (max-width: 820px) {
  .profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fest-games li {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .profile-grid,
  .style-list {
    grid-template-columns: 1fr;
  }

  .fest-card {
    padding: 1.35rem 1.25rem;
  }
}

.pathway {
  background: var(--field-deep);
  color: var(--cream);
}

.pathway h2 {
  color: var(--lime);
}

.pathway .section-lead {
  color: rgba(243, 240, 230, 0.72);
}

.pathway h3 {
  color: var(--cream);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.2rem 1.5rem;
  padding: 0 0 1.75rem 2rem;
  animation: rise-in 0.7s ease-out both;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: var(--lime);
}

.timeline li::after {
  content: "";
  position: absolute;
  left: calc(0.4rem - 1px);
  top: 1.45rem;
  bottom: 0.25rem;
  width: 2px;
  background: rgba(184, 242, 110, 0.35);
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li:last-child::after {
  display: none;
}

.timeline li:nth-child(1) { animation-delay: 0.05s; }
.timeline li:nth-child(2) { animation-delay: 0.1s; }
.timeline li:nth-child(3) { animation-delay: 0.15s; }
.timeline li:nth-child(4) { animation-delay: 0.2s; }
.timeline li:nth-child(5) { animation-delay: 0.25s; }
.timeline li:nth-child(6) { animation-delay: 0.3s; }
.timeline li:nth-child(7) { animation-delay: 0.35s; }
.timeline li:nth-child(8) { animation-delay: 0.4s; }
.timeline li:nth-child(9) { animation-delay: 0.45s; }

.timeline-club {
  font-weight: 700;
  font-size: 1.08rem;
}

.timeline-team {
  grid-column: 1;
  color: rgba(243, 240, 230, 0.75);
  font-size: 0.95rem;
}

.timeline-years {
  grid-column: 2;
  grid-row: 1;
  color: var(--lime);
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
}

.timeline-futsal {
  margin: 2rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-weight: 600;
}

.timeline-futsal span {
  margin-right: 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
}

.contact {
  background: #e8efe4;
}

.contact-email {
  margin: 0 0 1.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.contact-email a {
  color: var(--field-deep);
  text-decoration: none;
  border-bottom: 2px solid var(--lime);
}

.contact-hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
}

.contact-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact .btn-secondary {
  color: var(--field-deep);
  border-color: rgba(11, 46, 26, 0.28);
}

.contact .btn-secondary:hover {
  border-color: var(--field-mid);
  color: var(--field-mid);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 5vw;
  background: var(--ink);
  color: rgba(243, 240, 230, 0.8);
  font-size: 0.92rem;
}

.site-footer .social-links a:hover {
  color: var(--lime);
}

@media (max-width: 820px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.15rem;
  }

  .hero {
    min-height: 85vh;
    align-items: center;
    padding-bottom: 8vh;
  }
}

@media (max-width: 520px) {
  .social-links {
    gap: 0.75rem;
  }

  .timeline li {
    grid-template-columns: 1fr;
  }

  .timeline-years {
    grid-column: 1;
    grid-row: auto;
  }
}
