:root {
  --bg: #0c0d11;
  --header: #101115;
  --panel: #090a0e;
  --card: #101117;
  --purple: #9433f7;
  --purple-bright: #b15cff;
  --purple-hot: #972ff5;
  --text: #f4f4f6;
  --muted: #b7b6c0;
  --soft: #d5d4dc;
  --line: rgba(148, 51, 247, 0.34);
  --font: "Montserrat", sans-serif;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
}

#home,
#about,
#coaches,
#registration,
#calendar,
#prices,
#faqs,
#contact {
  scroll-margin-top: 18px;
}

.site-container {
  max-width: 1220px;
}

/* Header */
.site-header {
  background: var(--header);
  position: relative;
  z-index: 30;
}

.site-header .navbar {
  position: relative;
  min-height: 78px;
  padding: 8px 0;
}

.navbar-brand {
  padding: 0;
  margin: 0;
  line-height: 0;
  flex-shrink: 0;
}

.navbar-brand img {
  height: 62px;
  width: auto;
  display: block;
  background: transparent;
}

.site-header .navbar-toggler {
  border: 1px solid rgba(148, 51, 247, 0.65);
  padding: 8px 9px;
  box-shadow: none;
}

.site-header .navbar-toggler:focus {
  box-shadow: none;
}

.toggler-bar {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px 0;
  background: #fff;
  border-radius: 2px;
}

.site-header .navbar-nav .nav-link {
  position: relative;
  color: #f3f3f5;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 13px;
  white-space: nowrap;
}

.site-header .navbar-nav .nav-link:hover,
.site-header .navbar-nav .nav-link:focus {
  color: var(--purple-bright);
}

.site-header .navbar-nav .nav-link.active {
  color: var(--purple-hot);
}

.site-header .navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--purple-hot);
}

@media (min-width: 992px) {
  .site-header .navbar-collapse {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: auto;
  }

  .site-nav {
    gap: 4px;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .site-header .navbar-nav .nav-link {
    font-size: 10.5px;
    letter-spacing: 0.06em;
    padding: 8px 7px;
  }

  .site-header .navbar-nav .nav-link.active::after {
    left: 7px;
    right: 7px;
  }
}

@media (max-width: 991.98px) {
  .site-header .navbar-collapse {
    position: static;
    transform: none;
    background: var(--header);
    padding: 6px 0 14px;
  }

  .site-header .navbar-nav .nav-link {
    padding: 12px 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .site-header .navbar-nav .nav-link.active::after {
    display: none;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  background-color: #07080d;
  background-image:
    linear-gradient(90deg, rgba(7, 7, 12, 0.88) 0%, rgba(7, 7, 12, 0.62) 26%, rgba(7, 7, 12, 0.12) 48%, rgba(7, 7, 12, 0) 68%),
    url("../images/hero-bg.jpg");
  background-repeat: no-repeat;
  background-size: 142%;
  background-position: 84% 28%;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  background: linear-gradient(180deg, rgba(12, 13, 17, 0), var(--bg));
  z-index: 1;
  pointer-events: none;
}

.hero-accents {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.shard {
  position: absolute;
  display: block;
}

.shard-a {
  left: 0;
  top: 0;
  width: 86px;
  height: 210px;
  background: linear-gradient(180deg, #8d35ee 0%, #6418c4 100%);
  clip-path: polygon(0 0, 100% 0, 48% 42%, 92% 100%, 0 68%);
}

.shard-b {
  left: 0;
  top: 150px;
  width: 42px;
  height: 240px;
  background: linear-gradient(180deg, rgba(151, 47, 245, 0.2), #7c28e4 46%, rgba(90, 20, 170, 0.15));
  clip-path: polygon(0 0, 100% 22%, 55% 100%, 0 78%);
}

.shard-c {
  right: 0;
  bottom: 64px;
  width: 58px;
  height: 78px;
  background: linear-gradient(160deg, #a855f7, #6d28d9);
  clip-path: polygon(40% 0, 100% 22%, 100% 100%, 0 58%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 58px;
  padding-bottom: 90px;
}

.hero-logo {
  width: 252px;
  height: auto;
  display: block;
  background: transparent;
}

.hero h1 {
  margin: 18px 0 26px;
  font-size: clamp(40px, 4.7vw, 64px);
  font-weight: 800;
  font-style: italic;
  line-height: 0.92;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  max-width: 720px;
}

.hero h1 span {
  display: block;
}

.line-white {
  color: #fff;
}

.line-purple {
  color: var(--purple-hot);
}

.btn-register {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--purple-hot);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 13px 26px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  box-shadow: none;
}

.btn-register:hover,
.btn-register:focus {
  background: #a64bff;
  color: #fff;
}

.link-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.text-link:hover .link-arrow,
.panel-link:hover .link-arrow,
.btn-register:hover .link-arrow {
  transform: translateX(3px);
}

/* Feature cards */
.features {
  padding: 22px 0 8px;
  background: var(--bg);
}

.cards-row {
  --bs-gutter-x: 14px;
  --bs-gutter-y: 14px;
}

.feature-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid rgba(148, 51, 247, 0.32);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
}

.card-media {
  width: 100%;
  height: 168px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.card-media-jersey {
  object-position: center 45%;
}

.feature-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 16px 18px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  margin: 2px auto 10px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--purple-bright);
  border: 1px solid rgba(148, 51, 247, 0.45);
  background: rgba(148, 51, 247, 0.08);
  font-size: 16px;
}

.feature-body h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.3;
}

.feature-body p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
  font-weight: 500;
}

.text-link {
  margin-top: auto;
  color: var(--purple-bright);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.text-link:hover {
  color: #d7b4ff;
}

/* Lower panels */
.lower {
  padding: 20px 0 46px;
  background: var(--bg);
}

.panels-row {
  --bs-gutter-x: 16px;
  --bs-gutter-y: 16px;
}

.panel {
  height: 100%;
  background: var(--panel);
  border: 1px solid rgba(148, 51, 247, 0.3);
  border-radius: 12px;
  padding: 18px 16px 16px;
  display: flex;
  flex-direction: column;
}

.panel-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.panel-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--purple-bright);
  border: 1px solid rgba(148, 51, 247, 0.4);
  background: rgba(148, 51, 247, 0.08);
  font-size: 15px;
  margin-top: 1px;
}

.panel-head h2 {
  margin: 0 0 3px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.25;
}

.panel-head .example {
  font-size: 0.72em;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #dddce4;
}

.panel-head p {
  margin: 0;
  color: #a9a8b2;
  font-size: 13px;
  font-weight: 500;
}

.practice-list {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.practice-row {
  display: grid;
  grid-template-columns: 72px max-content minmax(0, 1fr) 12px;
  align-items: center;
  column-gap: 16px;
  padding: 11px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.practice-row:hover {
  background: rgba(148, 51, 247, 0.06);
  color: #fff;
}

.practice-date {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.practice-date .dow,
.practice-date .dom {
  text-transform: uppercase;
}

.practice-date .dow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #d9d8e0;
}

.practice-date .dom {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}

.practice-time {
  font-size: 13px;
  font-weight: 600;
  color: #e7e6ec;
}

.practice-place {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #eeeef2;
  text-align: right;
  white-space: nowrap;
}

.practice-place i {
  color: var(--purple-bright);
  font-size: 12px;
}

.practice-chevron {
  color: #8f8e98;
  font-size: 12px;
  justify-self: end;
}

.panel-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--purple-bright);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-link:hover {
  color: #d7b4ff;
}

.price-row {
  --bs-gutter-x: 10px;
  --bs-gutter-y: 10px;
}

.price-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
  background: #101018;
  border: 1px solid rgba(151, 47, 245, 0.55);
  border-radius: 8px;
  padding: 16px 12px 14px;
}

.price-card h3 {
  margin: 0;
  color: var(--purple-bright);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ages {
  margin: 4px 0 0;
  color: #a3a2ac;
  font-size: 12px;
  font-weight: 500;
}

.price {
  margin: 8px 0 12px;
  color: #fff;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.price small {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  color: #c4b0dc;
  margin-left: 2px;
}

.price-features {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  text-align: left;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #e4e3e9;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 7px;
}

.price-features i {
  color: var(--purple-bright);
  font-size: 14px;
  line-height: 1.2;
  flex-shrink: 0;
}

.btn-price {
  margin-top: auto;
  width: 100%;
  display: inline-block;
  background: transparent;
  color: #fff;
  border: 1.5px solid var(--purple);
  border-radius: 6px;
  padding: 8px 10px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.2;
}

.btn-price:hover,
.btn-price:focus {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
}

/* FAQ and contact */
.section-heading {
  text-align: center;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading p {
  margin: 0 auto;
  max-width: 560px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.faq-section {
  padding: 18px 0 10px;
}

.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
}

.faq-accordion .accordion-item {
  background: var(--card);
  border: 1px solid rgba(148, 51, 247, 0.32);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
}

.faq-accordion .accordion-item:last-child {
  margin-bottom: 0;
}

.faq-accordion .accordion-header {
  margin: 0;
}

.faq-accordion .accordion-button {
  background: var(--card);
  color: #fff;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 16px 18px;
  box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: #161222;
  color: #fff;
}

.faq-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: transparent;
}

.faq-accordion .accordion-button::after {
  filter: invert(1) brightness(2);
}

.faq-accordion .accordion-body {
  background: #0e0f14;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.6;
  padding: 4px 18px 18px;
}

.faq-accordion .accordion-body a {
  color: var(--purple-bright);
}

.contact-section {
  padding: 36px 0 54px;
}

.contact-row {
  --bs-gutter-x: 22px;
  --bs-gutter-y: 22px;
  align-items: stretch;
}

.contact-form,
.contact-card {
  height: 100%;
  background: var(--panel);
  border: 1px solid rgba(148, 51, 247, 0.32);
  border-radius: 12px;
  padding: 22px 20px 20px;
}

.contact-form .form-label {
  margin-bottom: 6px;
  color: #e7e6ec;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-form .form-control {
  background: #0c0d12;
  border: 1px solid rgba(148, 51, 247, 0.35);
  border-radius: 6px;
  color: #fff;
  font-family: var(--font);
  font-size: 14px;
  padding: 12px 14px;
}

.contact-form .form-control::placeholder {
  color: #8d8c96;
}

.contact-form .form-control:focus {
  background: #0c0d12;
  color: #fff;
  border-color: var(--purple-hot);
  box-shadow: 0 0 0 3px rgba(151, 47, 245, 0.22);
}

.contact-form textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.contact-form .invalid-feedback {
  color: #e7b4ff;
  font-size: 12px;
}

.contact-form .btn-register {
  margin-top: 4px;
}

.form-status {
  margin: 12px 0 0;
  color: #d7c4f3;
  font-size: 13px;
  font-weight: 500;
}

.contact-card h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-card > p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--purple-bright);
  border: 1px solid rgba(148, 51, 247, 0.45);
  background: rgba(148, 51, 247, 0.08);
  font-size: 15px;
}

.contact-label {
  display: block;
  margin-bottom: 2px;
  color: #9d9ca6;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-list strong,
.contact-list a {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  word-break: break-word;
}

.contact-list a:hover {
  color: var(--purple-bright);
}

/* Footer */
.site-footer {
  position: relative;
  background-color: #07080c;
  padding: 48px 0 36px;
  overflow: hidden;
  text-align: center;
}

.footer-scene {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
  z-index: 0;
}

.footer-inner {
  position: relative;
  z-index: 1;
  padding-bottom: 132px;
}

.footer-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.footer-title-row .rule {
  width: min(160px, 16vw);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--purple-hot), transparent);
}

.footer-name {
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-tagline {
  margin: 8px 0 0;
  color: #c9c8d0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.social-link {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
}

.social-link:hover {
  border-color: var(--purple-bright);
  color: var(--purple-bright);
}

@media (max-width: 767.98px) {
  .section-heading h2 {
    font-size: 22px;
  }

  .contact-form,
  .contact-card {
    padding: 18px 16px 16px;
  }

  .footer-inner {
    padding-bottom: 110px;
  }
}

/* Responsive */
@media (max-width: 991.98px) {
  .hero {
    min-height: 560px;
    background-position: 80% center;
  }

  .hero-logo {
    width: 210px;
  }

  .shard-a {
    width: 90px;
    height: 180px;
  }

  .shard-b {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .hero {
    min-height: 520px;
    background-image:
      linear-gradient(180deg, rgba(7, 7, 12, 0.78) 0%, rgba(7, 7, 12, 0.55) 42%, rgba(7, 7, 12, 0.2) 100%),
      url("../images/hero-bg.jpg");
  }

  .hero-content {
    padding-top: 36px;
    padding-bottom: 64px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .card-media {
    height: 200px;
  }

  .practice-row {
    grid-template-columns: 70px 1fr 14px;
    row-gap: 4px;
  }

  .practice-place {
    grid-column: 1 / -1;
    justify-self: start;
    text-align: left;
  }

  .footer-name {
    font-size: 12px;
    letter-spacing: 0.1em;
  }

  .footer-title-row .rule {
    width: 28px;
  }

  .footer-tagline {
    letter-spacing: 0.12em;
  }
}

@media (max-width: 399.98px) {
  .hero h1 {
    font-size: 32px;
  }

  .hero-logo {
    width: 180px;
  }

  .practice-time {
    font-size: 12px;
  }
}
