@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900");
:root {
  --background-color: #121212;
  --text-color: #fff;
  --brand-color: #c7b9ff;
  --card-bg-color: #1c1c1c;
  --nav-bg-color: rgba(18, 18, 18, 0.5);
  --plane-rot-x: 24deg;
  --plane-rot-y: 0deg;
  --plane-rot-z: 0deg;
  --plane-ty: 0%;
  --plane-tx: 0%;
  --plane-scale: 1;
  --ball-size: 22px;
}

html, body {
  margin: 0;
  padding: 0;
  color: var(--text-color);
  font-family: "Noto Sans", sans-serif;
  background: linear-gradient(135deg, #121212 0%, #1a1525 50%, #121212 100%);
  background-attachment: fixed;
  transition: background 0.3s ease, color 0.3s ease;
}

html {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
html::-webkit-scrollbar {
  display: none;
}

section {
  height: 100vh;
  scroll-snap-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 40px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  background-color: transparent;
}

.section-content {
  max-width: 1050px;
  width: 100%;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  overflow: hidden;
}
section.active .section-content {
  opacity: 1;
  transform: translateY(0);
}
.section-content h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: 0;
  margin-bottom: 25px;
  padding-bottom: 15px;
  color: transparent;
  -webkit-text-stroke: 1px var(--brand-color);
  text-stroke: 1px var(--brand-color);
  transition: -webkit-text-stroke 0.3s ease;
}
.section-content p {
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

.text-column {
  position: relative;
  z-index: 3;
  height: auto;
}

.section-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-height: 80vh;
  object-fit: cover;
  border-radius: 12px;
}

.reveal-mask {
  overflow: hidden;
}
.reveal-mask > * {
  transform: translateY(120%);
  transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}
section#home.active .reveal-mask > * {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .layer, .court-container, .plane, .ball-overlay {
    transition: none !important;
    transform: none !important;
  }
  #ballFront, #ballBack {
    display: none;
  }
  .bounce-ring {
    display: none !important;
  }
}
.persistent-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  perspective: 1200px;
  contain: strict;
}

.court-container {
  width: 120%;
  height: 120%;
  opacity: 0;
  transform: scale(0.9);
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease-in-out;
  filter: blur(2px);
  visibility: hidden;
}

.court-lines-svg {
  width: 100%;
  height: 100%;
}

.court-drawing {
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 2px;
  fill: none;
  shape-rendering: geometricPrecision;
  vector-effect: non-scaling-stroke;
  transition: stroke 0.3s ease;
}

.court-baseline {
  stroke-width: 3px;
}

.court-center {
  stroke-width: 2px;
}

.court-lines-svg #netPattern path {
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 0.5;
  transition: stroke 0.3s ease;
}

.net-rect {
  fill: url(#netPattern);
  stroke: rgba(255, 255, 255, 0.15);
  stroke-width: 1px;
  vector-effect: non-scaling-stroke;
  transition: stroke 0.3s ease;
}

.net-3d {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 30%;
  height: 0;
  transform: translateX(-50%);
  transform-style: preserve-3d;
  z-index: 1;
}
.net-3d .net-post {
  position: absolute;
  width: 4px;
  height: 100%;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  bottom: 0;
}
.net-3d .net-post-left {
  left: -8px;
}
.net-3d .net-post-right {
  right: -8px;
}
.net-3d .net-mesh-container {
  position: absolute;
  inset: 0;
  top: auto;
  height: 100%;
}
.net-3d .net-cable {
  position: absolute;
  top: 0;
  left: -4px;
  right: -4px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 1px;
}
.net-3d .net-fabric {
  position: absolute;
  top: 3px;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0px, rgba(255, 255, 255, 0.08) 1px, transparent 1px, transparent 20px), repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.06) 0px, rgba(255, 255, 255, 0.06) 1px, transparent 1px, transparent 12px);
  border-bottom: 2px solid rgba(255, 255, 255, 0.15);
}

.net-3d-inner {
  position: absolute;
  width: 100%;
  height: 60px;
  bottom: 0;
  transform-origin: center bottom;
  transform: rotateX(-90deg);
  transform-style: preserve-3d;
}

.net-group {
  transform-origin: center;
}

.net-post {
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 4px;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  transition: stroke 0.3s ease;
}

.net-cable {
  stroke: rgba(255, 255, 255, 0.3);
  stroke-width: 2px;
  vector-effect: non-scaling-stroke;
  transition: stroke 0.3s ease;
}

.net-mesh {
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 1px;
  vector-effect: non-scaling-stroke;
  transition: stroke 0.3s ease;
}
.net-mesh.net-center {
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 2px;
}

.net-mesh-h {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1px;
  vector-effect: non-scaling-stroke;
  transition: stroke 0.3s ease;
}

.layer {
  will-change: transform;
  transform-box: fill-box;
  transform-origin: 50% 50%;
}

.court-camera {
  z-index: 0;
  position: relative;
  width: 100%;
  height: 100%;
  transform-origin: 50% 70%;
  will-change: transform;
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  transform: perspective(1200px) rotateX(var(--plane-rot-x)) rotateY(var(--plane-rot-y)) rotateZ(var(--plane-rot-z)) translateX(var(--plane-tx)) translateY(var(--plane-ty)) scale(var(--plane-scale));
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.ball-camera {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  transform-origin: 50% 70%;
  will-change: transform;
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  transform: translateX(var(--plane-tx)) translateY(var(--plane-ty)) scale(var(--plane-scale));
  perspective: none !important;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}
.ball-camera .ball-overlay {
  position: absolute;
  inset: 0;
  transform: none !important;
}

.ball-overlay {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.ball-back, .ball-front {
  stroke: #fff;
  transition: stroke 0.3s ease, opacity 0.25s ease;
}

.ball-dot {
  fill: #c7ff6b;
  stroke: currentColor;
  stroke-width: 2;
  filter: url(#ballGlow);
}

.ball-circle {
  vector-effect: non-scaling-stroke;
}

.ball-html {
  width: 22px;
  height: 22px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f6ffd0 0%, #dbff8b 35%, #7aa829 100%);
  box-shadow: 0 0 16px rgba(199, 255, 107, 0.55), 0 0 32px rgba(199, 255, 107, 0.25);
}

#ballBackFO, #ballFrontFO {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  will-change: transform;
  pointer-events: none;
  overflow: visible;
}
#ballBackFO.billboard, #ballFrontFO.billboard {
  transform: none !important;
}
#ballBackFO .ball-html, #ballFrontFO .ball-html {
  width: 22px;
  height: 22px;
  transform: translateZ(0.01px) rotateZ(calc(-1 * var(--plane-rot-z))) rotateY(calc(-1 * var(--plane-rot-y))) rotateX(calc(-1 * var(--plane-rot-x)));
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.bounce-ring {
  fill: none;
  stroke: var(--brand-color);
  stroke-width: 3;
  opacity: 0;
}
.bounce-ring.active {
  animation: bouncepulse 480ms ease-out forwards;
}

.ball-camera .ball-overlay,
#ballBackFO, #ballFrontFO,
#ballBackFO .ball-html, #ballFrontFO .ball-html {
  transform: none !important;
}

@keyframes bouncepulse {
  0% {
    r: 2px;
    opacity: 0.75;
    stroke-width: 5;
  }
  60% {
    r: 28px;
    opacity: 0.35;
    stroke-width: 3;
  }
  100% {
    r: 36px;
    opacity: 0;
    stroke-width: 1;
  }
}
.spark-ring {
  fill: none;
  stroke: #fff;
  stroke-width: 3;
  opacity: 0;
}
.spark-ring.active {
  animation: spark 0.35s ease-out forwards;
}

@keyframes spark {
  0% {
    r: 2px;
    opacity: 0.95;
    stroke-width: 6;
  }
  100% {
    r: 22px;
    opacity: 0;
    stroke-width: 1;
  }
}
@keyframes ballBob {
  to {
    transform: translateY(-8px);
  }
}
.ball--bob {
  animation: ballBob 1.2s ease-in-out infinite alternate;
}

.plane {
  transform: none !important;
}

body.state-home .court-container, body.state-contact .court-container {
  opacity: 0;
  transform: scale(0.92);
  visibility: hidden;
}
body.state-home .net-3d, body.state-contact .net-3d {
  opacity: 0;
}
body.state-home .ball-camera {
  visibility: hidden;
}
body.state-mission .court-container, body.state-team .court-container, body.state-training .court-container, body.state-programs .court-container, body.state-clubs .court-container, body.state-partners .court-container, body.state-faqs .court-container {
  visibility: visible;
}
body.state-mission .court-container {
  opacity: 1;
  transform: scale(1);
}
body.state-team .court-container {
  opacity: 1;
  transform: scale(1.2) translateY(-5%);
}
body.state-training .court-container, body.state-programs .court-container {
  opacity: 1;
  transform: scale(1.5) translateY(-15%);
}
body.state-clubs .court-container, body.state-partners .court-container {
  opacity: 1;
  transform: scale(1.6) translateY(25%);
}
body.state-faqs .court-container {
  opacity: 1;
  transform: scale(1.55) translateY(18%);
}

body.state-home .ball-front, body.state-mission .ball-front {
  opacity: 0;
}
body.state-home .ball-back, body.state-mission .ball-back {
  opacity: 1;
}
body.state-team .ball-front, body.state-training .ball-front, body.state-clubs .ball-front, body.state-partners .ball-front, body.state-faqs .ball-front {
  opacity: 1;
}
body.state-team .ball-back, body.state-training .ball-back, body.state-clubs .ball-back, body.state-partners .ball-back, body.state-faqs .ball-back {
  opacity: 0;
}

body.state-home {
  --plane-rot-x: 72deg;
  --plane-rot-y: 0deg;
  --plane-rot-z: 0deg;
  --plane-tx: 0%;
  --plane-ty: 18%;
  --plane-scale: 1.55;
}

body.state-mission {
  --plane-rot-x: 38deg;
  --plane-rot-y: -62deg;
  --plane-rot-z: 0deg;
  --plane-tx: 10%;
  --plane-ty: -2%;
  --plane-scale: 1.35;
}

body.state-team {
  --plane-rot-x: 30deg;
  --plane-rot-y: 18deg;
  --plane-rot-z: -6deg;
  --plane-tx: -4%;
  --plane-ty: -8%;
  --plane-scale: 1.25;
}

.fixed-header-logo {
  position: fixed;
  top: 20px;
  left: 40px;
  z-index: 1001;
  width: 150px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.fixed-header-logo.visible {
  opacity: 1;
  pointer-events: auto;
}
.fixed-header-logo img {
  width: 100%;
  transition: filter 0.3s ease;
}

.fixed-logo-placeholder {
  display: none;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1001;
  width: 120px;
}
.fixed-logo-placeholder img {
  width: 100%;
}

nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background-color: var(--nav-bg-color);
  padding: 10px 25px;
  border-radius: 30px;
  backdrop-filter: blur(8px);
  transition: background-color 0.3s ease;
  white-space: nowrap;
}
nav a {
  color: var(--text-color);
  text-decoration: none;
  margin: 0 15px;
  font-weight: 500;
  font-size: 16px;
  opacity: 0.7;
  transition: opacity 0.2s ease, font-weight 0.2s ease, color 0.3s ease;
  position: relative;
  white-space: nowrap;
}
nav a:hover {
  opacity: 1;
}
nav a.active {
  opacity: 1;
  font-weight: 700;
}

.burger {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 1002;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--nav-bg-color);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.burger span, .burger span::before, .burger span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-color);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.burger span::before, .burger span::after {
  content: "";
  position: absolute;
  left: 0;
}
.burger span::before {
  top: -6px;
}
.burger span::after {
  top: 6px;
}
.burger.open span {
  background: transparent;
}
.burger.open span::before {
  transform: translateY(6px) rotate(45deg);
}
.burger.open span::after {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 900px) {
  nav {
    display: none;
  }
  .burger {
    display: inline-flex;
  }
  body.menu-open {
    overflow: hidden;
  }
  body.menu-open nav {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    position: fixed;
    top: 64px;
    left: 14px;
    right: 14px;
    transform: none;
    padding: 16px;
    background: var(--nav-bg-color);
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(199, 185, 255, 0.18);
    z-index: 1001;
  }
  body.menu-open nav a {
    display: block;
    width: 100%;
    margin: 0;
    padding: 10px 2px;
    font-size: 17px;
  }
}
.top-right-controls {
  position: fixed;
  top: 20px;
  right: 40px;
  z-index: 1001;
  display: flex;
  gap: 10px;
  align-items: center;
}

.lang-switcher, .theme-switcher {
  display: flex;
  gap: 8px;
  align-items: center;
  background-color: var(--nav-bg-color);
  padding: 8px 12px;
  border-radius: 20px;
  backdrop-filter: blur(5px);
  transition: background-color 0.3s ease;
}
.lang-switcher button, .theme-switcher button {
  background: none;
  border: none;
  color: var(--text-color);
  font-family: "Noto Sans", sans-serif;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s ease, color 0.3s ease;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lang-switcher button:hover, .theme-switcher button:hover {
  opacity: 1;
}

.lang-switcher button.active {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.theme-switcher button {
  width: 20px;
  height: 20px;
}
.theme-switcher .icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}
.theme-switcher .icon-sun {
  display: none;
}

.info-card-container {
  display: grid;
  gap: 20px;
  width: 100%;
}

.info-card {
  background: linear-gradient(145deg, rgba(199, 185, 255, 0.08), rgba(199, 185, 255, 0.02));
  border: 1px solid rgba(199, 185, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 25px;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.info-card .instagram-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}
.info-card:hover {
  border-color: rgba(199, 185, 255, 0.3);
  box-shadow: 0 8px 30px rgba(199, 185, 255, 0.1);
}
.info-card-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}
.info-card .icon {
  color: var(--brand-color);
  width: 36px;
  height: 36px;
  margin-right: 15px;
  flex-shrink: 0;
  transition: color 0.3s ease;
}
.info-card h4 {
  margin: 0;
  color: var(--text-color);
  font-size: 1.15rem;
}
.info-card p {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.6;
  margin: 0 0 10px 0;
}
.info-card p:last-child {
  margin-bottom: 0;
}

.accordion-card {
  background: linear-gradient(145deg, rgba(199, 185, 255, 0.12), rgba(199, 185, 255, 0.03));
  border: 1px solid rgba(199, 185, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  position: relative;
  z-index: 3;
}
.accordion-card.active .accordion-chevron {
  transform: rotate(90deg);
}

.accordion-header {
  background: none;
  border: none;
  width: 100%;
  padding: 20px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
}
.accordion-header h4 {
  margin: 0;
  color: var(--text-color);
  font-size: 1.1rem;
  font-family: "Noto Sans", sans-serif;
  font-weight: 600;
}
.accordion-header .icon {
  color: var(--brand-color);
  width: 32px;
  height: 32px;
  margin-right: 15px;
  flex-shrink: 0;
  transition: color 0.3s ease;
}

.accordion-title-group {
  display: flex;
  align-items: center;
}

.accordion-chevron {
  color: var(--brand-color);
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease-in-out, color 0.3s ease;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
}
.accordion-content p {
  padding: 0 25px 20px 72px;
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.6;
  margin: 0;
}

.holographic-card {
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
}
.holographic-card h2 {
  color: var(--brand-color);
  font-size: 2rem;
  position: relative;
  z-index: 2;
}
.holographic-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(0deg, transparent, transparent 30%, var(--brand-color));
  transform: rotate(-45deg);
  transition: all 0.9s ease;
  opacity: 0;
}
.holographic-card:hover {
  box-shadow: 0 0 4px var(--brand-color);
}
.holographic-card:hover::before {
  opacity: 0.1;
  transform: rotate(-45deg) translateY(100%);
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.3px;
  font-size: 1.1rem;
  background: linear-gradient(135deg, rgba(199, 185, 255, 0.2), rgba(199, 185, 255, 0.05));
  border: 1px solid rgba(199, 185, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}
.cta.secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.cta:hover {
  transform: translateY(-4px);
  background: linear-gradient(135deg, rgba(199, 185, 255, 0.3), rgba(199, 185, 255, 0.1));
  border-color: var(--brand-color);
  box-shadow: 0 15px 40px rgba(199, 185, 255, 0.2);
}
.cta-emoji {
  font-size: 1.4rem;
}

.btn-one {
  display: inline-block;
  color: var(--text-color);
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none;
  padding: 10px 20px;
  border: none;
  font-size: 1rem;
  text-align: center;
  white-space: nowrap;
}
.btn-one span {
  transition: all 0.3s ease;
}
.btn-one::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  transition: all 0.3s ease;
  border-top: 1px solid var(--brand-color);
  border-bottom: 1px solid var(--brand-color);
  transform: scale(0.1, 1);
}
.btn-one::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.1);
}
.btn-one:hover span {
  letter-spacing: 2px;
}
.btn-one:hover::before {
  opacity: 1;
  transform: scale(1, 1);
}
.btn-one:hover::after {
  opacity: 0;
  transform: scale(0.1, 1);
}

.team-card, .info-card, .accordion-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
}
.team-card:hover, .info-card:hover, .accordion-card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.h-gallery {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
  height: 80vh;
  align-items: center;
}

.gallery-img {
  height: 100%;
  width: auto;
  flex: 0 0 auto;
  border-radius: 12px;
  object-fit: contain;
  scroll-snap-align: center;
}

.g-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 4;
  backdrop-filter: blur(4px);
}
.g-arrow:hover {
  background: rgba(0, 0, 0, 0.6);
}
.g-arrow.g-left {
  left: 8px;
}
.g-arrow.g-right {
  right: 8px;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}
.gallery-nav:hover {
  background: rgba(199, 185, 255, 0.3);
  border-color: var(--brand-color);
}
.gallery-nav svg {
  width: 18px;
  height: 18px;
}
.gallery-nav-left {
  left: 10px;
}
.gallery-nav-right {
  right: 10px;
}

.view-slots-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(199, 185, 255, 0.1);
  border: 1px solid rgba(199, 185, 255, 0.3);
  border-radius: 8px;
  color: var(--brand-color);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
  margin-top: 4px;
}
.view-slots-btn svg {
  width: 16px;
  height: 16px;
}
.view-slots-btn:hover {
  background: rgba(199, 185, 255, 0.2);
  border-color: var(--brand-color);
}

.slots-accordion {
  margin-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 12px;
}
.slots-accordion.open .slots-chevron {
  transform: rotate(180deg);
}
.slots-accordion.open .slots-accordion-content {
  max-height: 300px;
}
.slots-accordion-header {
  background: none;
  border: none;
  color: var(--brand-color);
  font-family: "Noto Sans", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  width: 100%;
  text-align: left;
}
.slots-accordion-header:hover {
  opacity: 0.8;
}
.slots-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
}

.slots-chevron {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.slots-list {
  list-style: none;
  margin: 12px 0 0 0;
  padding: 0;
}
.slots-list li {
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  opacity: 0.85;
}
.slots-list li:last-child {
  border-bottom: none;
}

.slots-badge {
  display: inline-block;
  background: var(--brand-color);
  color: var(--background-color);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 8px;
}

.instagram-section {
  width: 100%;
  max-width: 1100px;
  margin-top: 24px;
}

.instagram-header {
  display: none;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 28px;
  background: rgba(199, 185, 255, 0.15);
  border: 1.5px solid rgba(199, 185, 255, 0.4);
  color: var(--brand-color);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}
.instagram-link:hover {
  background: rgba(199, 185, 255, 0.25);
  border-color: rgba(199, 185, 255, 0.7);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(199, 185, 255, 0.2);
}

.instagram-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.instagram-wrapper {
  position: relative;
  display: block;
  width: 100%;
}

.instagram-section {
  margin-bottom: 140px; /* leave breathing room for fixed footer */
}

.ig-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  transition: background 0.18s ease, transform 0.12s ease, opacity 0.12s ease;
  z-index: 6;
}

.ig-prev {
  left: 10px;
}

.ig-next {
  right: 10px;
}

.ig-nav:disabled {
  opacity: 0.45;
  cursor: default;
}

.ig-nav:hover {
  background: rgba(0, 0, 0, 0.6);
  transform: translateY(-52%);
}

.instagram-feed.instagram-hexgrid {
  --gap: 12px;
  display: flex;
  flex-direction: row;
  gap: var(--gap);
  /* allow scrolling and make room for overlayed nav buttons */
  padding: 0 64px; /* leave space for arrows */
  overflow-x: auto;
  scroll-behavior: smooth;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  -webkit-overflow-scrolling: touch;
}
.instagram-feed.instagram-hexgrid .instagram-post {
  flex: 0 0 190px;
  height: 190px;
}

.instagram-post {
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(199, 185, 255, 0.1), rgba(199, 185, 255, 0.05));
  border: 1px solid rgba(199, 185, 255, 0.2);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.instagram-post:hover {
  transform: scale(1.05);
  border-color: rgba(199, 185, 255, 0.6);
  box-shadow: 0 20px 50px rgba(199, 185, 255, 0.25), 0 0 40px rgba(199, 185, 255, 0.15);
}
.instagram-post:hover img {
  filter: brightness(0.9);
}
.instagram-post:hover .instagram-post-overlay {
  opacity: 1;
}
.instagram-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.3s ease;
}

.instagram-post {
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(199, 185, 255, 0.06), rgba(199, 185, 255, 0.03));
  border: 1px solid rgba(199, 185, 255, 0.12);
  cursor: pointer;
  transition: transform 0.28s 0.3s ease, box-shadow 0.28s 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.instagram-post:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: rgba(199, 185, 255, 0.36);
  box-shadow: 0 18px 40px rgba(199, 185, 255, 0.16);
}
.instagram-post:hover img {
  filter: brightness(0.92);
}
.instagram-post:hover .instagram-post-overlay {
  opacity: 1;
}
.instagram-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.3s ease;
}

.instagram-post-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(199, 185, 255, 0), rgba(199, 185, 255, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.instagram-post-icon {
  font-size: 3rem;
  color: white;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.instagram-post {
  animation: fadeInUp 0.6s ease-out backwards;
}
.instagram-post:nth-child(1) {
  animation-delay: 0.1s;
}
.instagram-post:nth-child(2) {
  animation-delay: 0.2s;
}
.instagram-post:nth-child(3) {
  animation-delay: 0.3s;
}
.instagram-post:nth-child(4) {
  animation-delay: 0.25s;
}
.instagram-post:nth-child(5) {
  animation-delay: 0.35s;
}
.instagram-post:nth-child(6) {
  animation-delay: 0.4s;
}

/* prevent the left-most post from being clipped when scrolled */
#instafeed {
  box-sizing: border-box;
  padding-left: 8%;
  padding-right: 8%;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.footer {
  position: static;
  padding: 16px 20px 24px;
  text-align: center;
  margin-top: 22px;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 100;
}
.footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer .footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.18s ease;
}
.footer .footer-links a:hover {
  color: #c7b9ff;
}
.footer .footer-copyright {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  margin: 0;
}

.contact-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.contact-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.contact-modal-overlay.active .contact-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.contact-modal {
  background: linear-gradient(145deg, rgba(30, 28, 50, 0.98), rgba(20, 18, 35, 0.99));
  border: 1px solid rgba(199, 185, 255, 0.2);
  border-radius: 24px;
  padding: 40px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(199, 185, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.contact-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.contact-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: rotate(90deg);
}

.contact-modal-header {
  text-align: center;
  margin-bottom: 30px;
}
.contact-modal-header h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0 0 10px;
  background: linear-gradient(135deg, #fff 0%, #c7b9ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.contact-modal-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.5;
}

.contact-modal-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-group input, .form-group select, .form-group textarea {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(199, 185, 255, 0.2);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 1rem;
  color: #fff;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.form-group input::placeholder, .form-group select::placeholder, .form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: #c7b9ff;
  background: rgba(199, 185, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(199, 185, 255, 0.15);
}
.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23c7b9ff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-group select option {
  background: #1a1830;
  color: #fff;
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  background: linear-gradient(135deg, #c7b9ff 0%, rgb(137.8, 108.5, 255) 100%);
  color: #1a1830;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  margin-top: 10px;
}
.contact-submit-btn .send-icon {
  width: 18px;
  height: 18px;
}
.contact-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(199, 185, 255, 0.35);
}
.contact-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.contact-modal-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
}
.contact-modal-success .success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(76, 217, 100, 0.2), rgba(76, 217, 100, 0.1));
  border: 2px solid rgba(76, 217, 100, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #4cd964;
  margin-bottom: 20px;
  animation: successPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.contact-modal-success h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 10px;
  color: #fff;
}
.contact-modal-success p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

@keyframes successPop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.slots-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  width: 100%;
  margin-top: 16px;
  padding: 12px 20px;
  background: linear-gradient(135deg, rgba(199, 185, 255, 0.15), rgba(199, 185, 255, 0.08));
  border: 1px solid rgba(199, 185, 255, 0.3);
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}
.slots-contact-btn .cta-emoji {
  font-size: 16px;
}
.slots-contact-btn:hover {
  background: linear-gradient(135deg, rgba(199, 185, 255, 0.25), rgba(199, 185, 255, 0.15));
  border-color: rgba(199, 185, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(199, 185, 255, 0.2);
}

.contact-modal-btn {
  background: transparent;
  cursor: pointer;
}
.contact-modal-btn:hover {
  transform: translateY(-2px);
}

#mission, #training, #programs, #clubs, #partners, #team {
  height: auto;
  min-height: 100vh;
  padding: 60px 0;
}

#training {
  align-items: flex-start;
}

#home, #partners {
  overflow: hidden;
}

#home {
  justify-content: flex-start;
  padding: 80px 8% 80px 8%;
  height: 100vh;
  max-height: 100vh;
  position: relative;
  contain: paint;
}
#home .section-content {
  overflow: visible;
}

.home-background {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(18, 18, 18, 0.45) 0%, rgba(18, 18, 18, 0.1) 100%), url("img/contact_us.webp");
  background-size: cover;
  background-position: center top;
  will-change: transform;
  z-index: 0;
  transform-origin: center top;
}

.home-content-wrapper {
  max-width: 550px;
  position: relative;
  z-index: 1;
}

.home-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}

.initial-logo-container {
  margin-left: 30px;
  margin-right: auto;
  margin-bottom: 25px;
  max-width: 450px;
}
.initial-logo-container img {
  width: 100%;
  transition: filter 0.3s ease;
}

.home-text p {
  font-size: 1.1rem;
  line-height: 1.6;
}

#mission .section-content.mission-experimental {
  display: block !important;
  max-width: 1050px;
  padding: 0 28px;
}

.mission-split-layout {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mission-big-text {
  display: none;
}

.mission-word {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 0.9;
  margin: 0 0 18px 0;
  letter-spacing: -2px;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--brand-color);
  text-stroke: 1.5px var(--brand-color);
  text-transform: uppercase;
  padding-top: 0;
  border-top: none;
}

.mission-content-area {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 28px;
  align-items: stretch;
}

.mission-image-float {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  height: 100%;
  max-height: 520px;
  min-height: 0;
}

.mission-float-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mission-stat-overlay {
  display: none;
}

.mission-stat-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
}

.stat-big {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  color: var(--brand-color);
}

.stat-small {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  opacity: 0.8;
  margin-top: 5px;
}

.mission-text-flow {
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding-top: 20px;
}
.mission-text-flow p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.8;
}

.mission-lead {
  font-size: 1.3rem !important;
  font-weight: 500;
  color: var(--brand-color);
  border-left: 4px solid var(--brand-color);
  padding-left: 20px;
}

#team .section-content.team-layout {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 1100px;
  gap: 0;
  overflow: visible;
}
#team .section-content.team-layout h3 {
  margin-bottom: 20px;
}

.team-main {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  min-height: 380px;
  overflow: visible;
}
.team-main h3 {
  align-self: flex-start;
  margin-left: 48px;
}

.team-photos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  height: auto;
  overflow: visible;
  padding: 20px 10px 28px 10px;
}

.team-photo {
  width: 300px;
  height: 480px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  filter: none;
  opacity: 1;
  transition: filter 0.5s ease, opacity 0.5s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s ease;
  border: 3px solid rgba(199, 185, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}
.team-photo.active, .team-photo:hover {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
  transform: scale(1.15);
  border-color: var(--brand-color);
  box-shadow: 0 16px 60px rgba(199, 185, 255, 0.4);
  z-index: 10;
}

#luca-photo {
  background-image: url("img/luca.webp");
  background-position: center 30%;
}

#brigitte-photo {
  background-image: url("img/brigitte.webp");
  background-position: center 35%;
}

#rodrigo-photo {
  background-image: url("img/rodrigo.webp");
  background-position: center 20%;
}

.team-bio {
  margin-top: 40px;
  position: relative;
  height: 200px;
  width: 100%;
  max-width: 900px;
  align-self: center;
}

.team-bio-content {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 25px 30px;
  background: linear-gradient(145deg, rgba(199, 185, 255, 0.1), rgba(199, 185, 255, 0.025));
  border: 1px solid rgba(199, 185, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border-radius: 16px;
}
.team-bio-content.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.team-bio-content h4 {
  margin: 0 0 15px 0;
  color: var(--brand-color);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.team-bio-content p {
  margin: 0;
  color: var(--text-color);
  font-size: 1.1rem;
  line-height: 1.7;
  opacity: 0.9;
}

.team-cards-container, .team-card, .team-card-photo,
.team-card-text, .team-card-content, .team-card-bio {
  display: none;
}

#training .section-content.training-scrollable {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 3%;
  align-items: start;
  max-width: 1200px;
  width: 100%;
  padding: 0;
}
#training .section-content.training-bold {
  display: flex !important;
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1100px;
  width: 100%;
  padding: 0 32px;
}
#training .gallery-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 80vh;
}
#training .h-gallery {
  height: 100%;
  display: flex;
  gap: 16px;
  overflow-x: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
  align-items: stretch;
}
#training .gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  flex: 0 0 100%;
  scroll-snap-align: center;
}

.training-hero-title {
  text-align: center;
  margin-bottom: 20px;
}

.training-title-word {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -3px;
  color: transparent;
  -webkit-text-stroke: 2px var(--brand-color);
  text-stroke: 2px var(--brand-color);
  display: inline-block;
  position: relative;
}
.training-title-word::after {
  content: attr(data-key);
  position: absolute;
  left: 4px;
  top: 4px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(199, 185, 255, 0.2);
  text-stroke: 1px rgba(199, 185, 255, 0.2);
  z-index: -1;
}

.training-cards-row {
  display: flex;
  gap: 30px;
  width: 100%;
}

.training-card-bold {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: linear-gradient(145deg, rgba(199, 185, 255, 0.08), rgba(199, 185, 255, 0.02));
  border: 1px solid rgba(199, 185, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.training-card-bold:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(199, 185, 255, 0.15);
}
.training-card-bold:hover .training-card-image img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.training-card-number {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 5rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(199, 185, 255, 0.2);
  text-stroke: 1px rgba(199, 185, 255, 0.2);
  line-height: 1;
  z-index: 0;
}

.training-card-content {
  padding: 35px 30px;
  position: relative;
  z-index: 1;
  flex: 1;
}
.training-card-content h4 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 15px 0;
  color: var(--brand-color);
}
.training-card-content p {
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.85;
  margin: 0;
}

.training-card-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}
.training-card-image::before {
  content: "";
  position: absolute;
  inset: 0;
  bottom: auto;
  height: 60px;
  background: linear-gradient(to bottom, var(--background-color), transparent);
  z-index: 1;
  pointer-events: none;
}
.training-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%);
  transition: filter 0.4s ease, transform 0.4s ease;
}

.training-split-layout {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  grid-template-columns: 1fr;
  width: 100%;
  max-width: 1050px;
  padding: 0 26px;
  row-gap: 18px;
  height: auto;
  min-height: 75vh;
  align-content: center;
}
.training-split-layout > h3 {
  grid-row: 1;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: 0;
  margin-bottom: 25px;
  padding-bottom: 15px;
  color: transparent;
  -webkit-text-stroke: 1px var(--brand-color);
  text-stroke: 1px var(--brand-color);
  transition: -webkit-text-stroke 0.3s ease;
  margin: 0;
  padding-bottom: 0;
  border: none;
}

.training-columns {
  grid-row: 2;
  display: grid;
  grid-template-columns: minmax(340px, 0.9fr) minmax(400px, 1.1fr);
  gap: 24px;
  align-items: stretch;
  grid-auto-rows: auto;
  min-height: 0;
}

.training-content-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  height: auto;
}
.training-content-column h3 {
  display: none;
}

.training-gallery-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: stretch;
}

.training-gallery-bento {
  display: flex;
  gap: 0;
  width: 100%;
  height: 680px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth;
  min-height: 0;
}
.training-gallery-bento::-webkit-scrollbar {
  display: none;
}

.bento-item {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  scroll-snap-align: center;
  border-radius: 12px;
  overflow: hidden;
}
.bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}
.bento-item:hover img {
  transform: scale(1.03);
}

.bento-large, .bento-small, .bento-medium, .bento-wide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.training-card-compact {
  background: linear-gradient(145deg, rgba(199, 185, 255, 0.08), rgba(199, 185, 255, 0.02));
  border: 1px solid rgba(199, 185, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 25px 25px 14px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.training-card-compact:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(199, 185, 255, 0.1);
}
.training-card-compact.show-slots .card-main-content {
  opacity: 0;
  transform: translateX(-100%);
  pointer-events: none;
}
.training-card-compact.show-slots .card-slots-content {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.training-card-compact p {
  font-size: 0.92rem;
  line-height: 1.7;
  opacity: 0.85;
  margin: 0 0 10px 0;
}

.card-content-wrapper {
  position: relative;
  min-height: 170px;
  overflow: hidden;
}

.card-main-content, .card-slots-content {
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.card-main-content {
  opacity: 1;
  transform: translateX(0);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 10px;
}

.card-slots-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateX(100%);
  pointer-events: none;
}

.card-compact-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}
.card-compact-header h4 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--text-color);
}

.card-compact-badge {
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-color), rgba(199, 185, 255, 0.5));
  color: var(--background-color);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.card-compact-badge svg {
  width: 20px;
  height: 20px;
}

.slots-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.slots-header h4 {
  margin: 0;
  font-size: 1.08rem;
  color: var(--brand-color);
}

.slots-back-btn {
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(199, 185, 255, 0.1);
  border: 1px solid rgba(199, 185, 255, 0.3);
  border-radius: 8px;
  color: var(--brand-color);
  cursor: pointer;
  transition: all 0.3s ease;
}
.slots-back-btn svg {
  width: 18px;
  height: 18px;
}
.slots-back-btn:hover {
  background: rgba(199, 185, 255, 0.2);
}

.slots-list-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.slot-item-inline {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}
.slot-item-inline:hover {
  background: rgba(199, 185, 255, 0.08);
  border-color: rgba(199, 185, 255, 0.2);
}
.slot-item-inline.slot-highlight {
  background: rgba(199, 185, 255, 0.1);
  border-color: rgba(199, 185, 255, 0.3);
}

.slot-time {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-color);
  white-space: nowrap;
}

.slot-meta {
  font-size: 0.8rem;
  opacity: 0.7;
  text-align: right;
}

.slot-badge-inline {
  display: inline-block;
  padding: 2px 8px;
  background: var(--brand-color);
  color: var(--background-color);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 10px;
  margin-left: 8px;
}

.training-programs-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  grid-template-columns: 1fr;
}

#programs {
  scroll-snap-align: start;
}
#programs .section-content {
  overflow: visible;
}
#programs .section-content.programs-layout {
  display: flex;
  flex-direction: column;
  max-width: 1100px;
  width: 100%;
  padding: 0;
}
#programs .section-content.programs-layout > h3, #programs .section-content.programs-layout .text-column > h3 {
  margin-bottom: 30px;
}
#programs .programs-image {
  width: 100%;
  height: clamp(380px, 55vh, 520px);
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  display: block;
}

.programs-columns {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  align-items: stretch;
}

#partners .section-content {
  display: grid !important;
}
#partners .text-column {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 80vh;
  overflow: hidden;
}
#partners .text-column h3 {
  flex-shrink: 0;
}
#partners .info-card-container {
  flex-grow: 1;
  overflow-y: auto;
  overflow-x: visible;
  padding-right: 15px;
  padding-left: 10px;
  padding-top: 10px;
}
#partners .info-card-container::-webkit-scrollbar {
  width: 4px;
}
#partners .info-card-container::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 2px;
}

.partners-layout {
  display: grid !important;
  grid-template-columns: minmax(360px, 0.95fr) minmax(420px, 1.05fr);
  grid-template-rows: auto minmax(0, 1fr);
  grid-template-areas: "title title" "map cards";
  gap: 24px;
  max-width: 1050px;
  width: 100%;
  padding: 0 24px;
  align-items: stretch;
  min-height: 70vh;
  height: min(900px, 80vh);
  overflow: hidden;
}
.partners-layout > h3 {
  grid-area: title;
  display: block;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: 0;
  margin-bottom: 25px;
  padding-bottom: 15px;
  color: transparent;
  -webkit-text-stroke: 1px var(--brand-color);
  text-stroke: 1px var(--brand-color);
  transition: -webkit-text-stroke 0.3s ease;
  margin: 0;
}

.partners-columns {
  display: contents;
}

.partners-map-column {
  grid-area: map;
  display: grid;
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  height: 100%;
  min-height: 0;
}

.partners-map {
  border-radius: 12px;
  overflow: hidden;
  background: var(--card-bg-color);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 0;
}

.partners-photo-container {
  border-radius: 12px;
  overflow: hidden;
  background: var(--card-bg-color);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 0;
}

.partners-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.partners-cards-column {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}
.partners-cards-column h3 {
  display: none;
}

.partners-cards-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 8px;
  padding-bottom: 32px;
  overflow: visible;
  scrollbar-width: thin;
  min-height: 0;
  height: 100%;
}
.partners-cards-list::-webkit-scrollbar {
  width: 4px;
}
.partners-cards-list::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 2px;
}

.partner-card {
  background: linear-gradient(145deg, rgba(199, 185, 255, 0.08), rgba(199, 185, 255, 0.02));
  border: 1px solid rgba(199, 185, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  box-sizing: border-box;
  min-height: 81px;
  display: flex;
  flex-direction: column;
}
.partner-card:hover, .partner-card.active {
  border-color: var(--brand-color);
  box-shadow: 0 0 20px rgba(199, 185, 255, 0.2);
}
.partner-card.active {
  background: rgba(199, 185, 255, 0.1);
}
.partner-card.active .partner-card-details {
  max-height: 360px;
  padding: 12px 18px 18px 18px;
}

.partner-card-header {
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  min-height: 84px;
  box-sizing: border-box;
}
.partner-card-header h4 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--text-color);
  flex: 1;
}

.partner-card-icon {
  display: none;
}

.partner-district {
  font-size: 0.95rem;
  color: var(--brand-color);
  background: rgba(199, 185, 255, 0.15);
  padding: 6px 12px;
  border-radius: 20px;
}

.partner-card-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.3s ease;
  padding: 0 18px;
}

.partner-detail {
  font-size: 1.02rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-color);
  opacity: 0.9;
}
.partner-detail:last-child {
  border-bottom: none;
}
.partner-detail a {
  color: var(--text-color);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.partner-detail a:hover {
  color: var(--brand-color);
}

.detail-label {
  font-weight: 600;
  color: var(--brand-color);
}

.partner-marker {
  width: 18px;
  height: 18px;
  background: var(--brand-color);
  border: 3px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, background-color 0.2s ease, width 0.2s ease, height 0.2s ease;
}
.partner-marker:hover {
  transform: scale(1.15);
}
.partner-marker.active {
  background: #ff4d4f;
  border-color: #fff;
  width: 24px;
  height: 24px;
  transform: scale(1.2);
}

#clubs .section-content {
  display: grid;
  align-items: center;
  gap: 3%;
  grid-template-columns: 1.3fr 1fr;
}

#contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  contain: paint;
  min-height: 100vh;
  padding: 140px 0 80px;
}
#contact .section-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 26px 6% 0 6%;
  max-width: 840px;
  margin: 0 auto;
  font-size: 18px;
  width: 100%;
  gap: 12px;
  position: relative;
  z-index: 1;
  overflow: visible;
  box-sizing: border-box;
}
#contact h3 {
  border: none;
  font-size: clamp(1.6rem, 4vw, 2.8rem) !important;
  font-weight: 900 !important;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 2px var(--brand-color);
  text-stroke: 2px var(--brand-color);
  line-height: 1;
  margin-bottom: 0 !important;
  padding: 0 !important;
}

.contact-background {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(135deg, rgba(18, 18, 18, 0.7) 0%, rgba(26, 21, 37, 0.6) 50%, rgba(18, 18, 18, 0.8) 100%), url("img/gallery5.jpg");
  background-size: cover;
  background-position: center;
  will-change: transform;
  z-index: 0;
  transform-origin: center top;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin: 10px 0;
  font-size: 1.1rem;
  color: var(--text-color);
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.3s ease;
}
.contact-link:hover {
  opacity: 0.8;
}

.contact-card {
  color: #fff;
  max-width: 800px;
  width: 100%;
  padding: 34px 28px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(199, 185, 255, 0.2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
}

.contact-head h3 {
  font-size: clamp(0.9rem, 1.5vw, 1.2rem) !important;
  margin: 0 0 10px 0;
  color: transparent;
  -webkit-text-stroke: 1px var(--brand-color);
  text-stroke: 1px var(--brand-color);
  border: none;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 800;
}

.contact-tagline {
  margin: 0 0 25px 0;
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  opacity: 1;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.5;
  font-weight: 500;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  justify-content: center;
  align-items: stretch;
  margin-top: 12px;
}
.contact-actions .btn-one {
  width: 100%;
  justify-content: center;
  transition: none;
  padding: 12px 14px;
  gap: 8px;
}
.contact-actions .btn-one svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.contact-actions .btn-one::before, .contact-actions .btn-one::after {
  display: none;
}
.contact-actions .btn-one:hover {
  transform: none;
  box-shadow: none;
  background: inherit;
  border-color: inherit;
}

.contact-logo {
  margin-top: 20px;
}
.contact-logo img {
  max-width: 200px;
  display: block;
}

#faqs .section-content {
  overflow: visible;
  z-index: 3;
  padding-bottom: 140px;
}

#faqs .faq-section-title {
  margin: 0 0 25px 0;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px var(--brand-color);
  text-stroke: 1px var(--brand-color);
  color: transparent;
}

.light-mode {
  --background-color: #f5f5f7;
  --text-color: #1d1d1f;
  --brand-color: #5835d0;
  --card-bg-color: #ffffff;
  --nav-bg-color: rgba(255, 255, 255, 0.6);
  background: linear-gradient(135deg, #f5f5f7 0%, #ebe8f4 50%, #f5f5f7 100%);
  background-attachment: fixed;
}
.light-mode .logo-solid,
.light-mode .fixed-header-logo img,
.light-mode .fixed-logo-placeholder img {
  filter: none !important;
}
.light-mode .theme-switcher .icon-sun {
  display: block;
}
.light-mode .theme-switcher .icon-moon {
  display: none;
}
.light-mode .court-drawing {
  stroke: rgba(0, 0, 0, 0.15);
}
.light-mode .court-lines-svg #netPattern path {
  stroke: rgba(0, 0, 0, 0.1);
}
.light-mode .net-rect {
  stroke: rgba(0, 0, 0, 0.15);
}
.light-mode .net-post {
  stroke: rgba(0, 0, 0, 0.35);
}
.light-mode .net-cable {
  stroke: rgba(0, 0, 0, 0.3);
}
.light-mode .net-mesh {
  stroke: rgba(0, 0, 0, 0.12);
}
.light-mode .net-mesh.net-center {
  stroke: rgba(0, 0, 0, 0.2);
}
.light-mode .net-mesh-h {
  stroke: rgba(0, 0, 0, 0.08);
}
.light-mode .net-3d .net-post {
  background: rgba(0, 0, 0, 0.35);
}
.light-mode .net-3d .net-cable {
  background: rgba(0, 0, 0, 0.3);
}
.light-mode .net-3d .net-fabric {
  background: repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.08) 0px, rgba(0, 0, 0, 0.08) 1px, transparent 1px, transparent 20px), repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.06) 0px, rgba(0, 0, 0, 0.06) 1px, transparent 1px, transparent 12px);
  border-bottom-color: rgba(0, 0, 0, 0.15);
}
.light-mode .ball-back, .light-mode .ball-front {
  stroke: #333;
}
.light-mode .ball-dot {
  stroke: #333;
}
.light-mode #home {
  color: #fff;
}
.light-mode .info-card, .light-mode .accordion-card {
  background: linear-gradient(145deg, rgba(88, 53, 208, 0.06), rgba(88, 53, 208, 0.0198));
  border-color: rgba(88, 53, 208, 0.12);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.light-mode .info-card:hover {
  border-color: rgba(88, 53, 208, 0.25);
  box-shadow: 0 8px 30px rgba(88, 53, 208, 0.08);
}
.light-mode .section-content h3 {
  -webkit-text-stroke: 1px var(--brand-color);
  text-stroke: 1px var(--brand-color);
}
.light-mode .team-card-bio {
  background-color: rgba(245, 245, 247, 0.95);
  color: var(--text-color);
}
.light-mode #partners .info-card-container::-webkit-scrollbar-thumb {
  background: #ccc;
}
.light-mode .partners-map,
.light-mode .partners-photo-container {
  border-color: rgba(0, 0, 0, 0.1);
}
.light-mode .partner-card {
  background: linear-gradient(145deg, rgba(88, 53, 208, 0.06), rgba(88, 53, 208, 0.0198));
  border-color: rgba(88, 53, 208, 0.12);
}
.light-mode .partner-card:hover, .light-mode .partner-card.active {
  box-shadow: 0 0 20px rgba(88, 53, 208, 0.15);
}
.light-mode .partner-detail {
  border-bottom-color: rgba(0, 0, 0, 0.05);
}
.light-mode .partners-cards-list::-webkit-scrollbar-thumb {
  background: #ccc;
}
.light-mode #contact .section-content,
.light-mode #contact .contact-link {
  color: #fff;
}
.light-mode .training-title-word {
  -webkit-text-stroke-color: var(--brand-color);
  text-stroke-color: var(--brand-color);
}
.light-mode .training-title-word::after {
  -webkit-text-stroke-color: rgba(88, 53, 208, 0.15);
  text-stroke-color: rgba(88, 53, 208, 0.15);
}
.light-mode .training-card-bold {
  background: linear-gradient(145deg, rgba(88, 53, 208, 0.06), rgba(88, 53, 208, 0.0198));
  border-color: rgba(88, 53, 208, 0.12);
}
.light-mode .training-card-bold:hover {
  box-shadow: 0 20px 60px rgba(88, 53, 208, 0.1);
}
.light-mode .training-card-number {
  -webkit-text-stroke-color: rgba(88, 53, 208, 0.15);
  text-stroke-color: rgba(88, 53, 208, 0.15);
}
.light-mode .training-card-image::before {
  background: linear-gradient(to bottom, var(--background-color), transparent);
}
.light-mode .training-card-compact {
  background: linear-gradient(145deg, rgba(88, 53, 208, 0.06), rgba(88, 53, 208, 0.0198));
  border-color: rgba(88, 53, 208, 0.12);
}
.light-mode .training-card-compact:hover {
  box-shadow: 0 10px 40px rgba(88, 53, 208, 0.08);
}
.light-mode .card-compact-badge {
  background: linear-gradient(135deg, var(--brand-color), rgba(88, 53, 208, 0.6));
  color: white;
}
.light-mode .view-slots-btn {
  background: rgba(88, 53, 208, 0.08);
  border-color: rgba(88, 53, 208, 0.3);
}
.light-mode .view-slots-btn:hover {
  background: rgba(88, 53, 208, 0.15);
}
.light-mode .slots-back-btn {
  background: rgba(88, 53, 208, 0.08);
  border-color: rgba(88, 53, 208, 0.3);
}
.light-mode .slot-item-inline {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.05);
}
.light-mode .slot-item-inline:hover {
  background: rgba(88, 53, 208, 0.06);
  border-color: rgba(88, 53, 208, 0.15);
}
.light-mode .slot-item-inline.slot-highlight {
  background: rgba(88, 53, 208, 0.08);
  border-color: rgba(88, 53, 208, 0.25);
}
.light-mode .slots-accordion {
  border-top-color: rgba(0, 0, 0, 0.1);
}
.light-mode .slots-list li {
  border-bottom-color: rgba(0, 0, 0, 0.05);
}
.light-mode .team-card:hover,
.light-mode .info-card:hover,
.light-mode .accordion-card:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

@media (max-width: 900px) {
  .h-gallery {
    height: 65vh;
  }
  .h-gallery img {
    flex-basis: 90%;
  }
  #training .gallery-wrap {
    max-height: 65vh;
  }
}
@media (max-width: 1024px) and (min-width: 601px) {
  html, body {
    overflow-x: hidden;
    max-width: 100%;
  }
  .team-main {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
  }
  .team-names {
    gap: 30px;
  }
  .team-name {
    font-size: clamp(2rem, 4vw, 3rem);
  }
  .team-photos {
    padding: 0;
    gap: 16px;
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }
  .team-photo {
    width: 100%;
    height: 320px;
    border-radius: 18px;
    position: relative;
    overflow: hidden;
  }
  .team-photo.active, .team-photo:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  }
  .team-bio {
    display: none;
  }
  .team-photo .team-bio-content {
    position: absolute;
    left: 12px;
    right: 12px;
    top: auto;
    bottom: 12px;
    padding: 14px 16px;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    background: linear-gradient(160deg, rgba(6, 4, 26, 0.8), rgba(41, 34, 82, 0.75));
    border: 1px solid rgba(199, 185, 255, 0.2);
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
  }
  .team-photo .team-bio-content h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
  }
  .team-photo .team-bio-content p {
    font-size: 0.95rem;
    line-height: 1.55;
  }
  .team-photo .team-bio-content.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  #faqs .section-content {
    padding: 0 40px;
    box-sizing: border-box;
  }
  #training .training-gallery-wrapper {
    height: min(520px, 80vw);
    max-height: none;
    aspect-ratio: 1/1;
  }
  #training .training-gallery-bento {
    height: 100%;
  }
  #training .bento-item {
    height: 100%;
    min-height: 0;
  }
  #training .bento-item img {
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
  }
}
@media (min-width: 640px) and (max-width: 900px) {
  #partners {
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
  }
  .partners-layout {
    gap: 12px !important;
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
  }
  .partners-layout > h3 {
    margin-bottom: 8px !important;
  }
  .partners-cards-column {
    height: auto !important;
    min-height: auto !important;
  }
  .partners-cards-list {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
  #mission .section-content h3 {
    text-align: center;
  }
  .training-card-image {
    height: 220px;
  }
  #faqs .section-content {
    padding: 0 28px;
  }
}
@media (min-width: 901px) and (max-width: 1024px) {
  #faqs .section-content {
    padding: 0 36px;
  }
}
@media (max-width: 900px) {
  html, body {
    scroll-snap-type: none;
    overflow-x: hidden;
    max-width: 100%;
  }
  section {
    height: auto;
    min-height: auto;
    padding: 60px 0;
    overflow: visible;
    box-sizing: border-box;
  }
  .section-content {
    opacity: 1;
    transform: none;
    transition: none;
  }
  #mission, #training, #programs, #clubs, #partners, #team {
    min-height: auto;
  }
  .section-content h3 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    -webkit-text-stroke: 2px var(--brand-color);
    text-stroke: 2px var(--brand-color);
    padding: 0 20px;
  }
  #mission .section-content,
  #training .section-content,
  #clubs .section-content,
  #partners .section-content {
    grid-template-columns: 1fr;
  }
  .fixed-header-logo {
    display: none;
  }
  .fixed-logo-placeholder {
    display: block;
  }
  nav {
    display: none;
  }
  .top-right-controls {
    right: 20px;
  }
  #home {
    justify-content: center;
    padding: 80px 16px;
    width: 100%;
    margin-left: 0;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
  }
  #home .home-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
  }
  #home .home-content-wrapper {
    position: relative;
    z-index: 1;
  }
  .home-col {
    align-items: center;
    text-align: center;
  }
  .initial-logo-container {
    margin-left: 0;
    margin-right: 0;
  }
  .section-image {
    order: -1;
    margin-bottom: 30px;
  }
  #partners {
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
  }
  #partners .text-column {
    max-height: none;
  }
  .partners-layout {
    padding: 0 20px !important;
    height: auto !important;
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .partners-layout > h3 {
    font-size: clamp(1.8rem, 6vw, 2.5rem) !important;
    -webkit-text-stroke: 2px var(--brand-color) !important;
    text-stroke: 2px var(--brand-color) !important;
    padding: 0 !important;
    margin-bottom: 4px;
  }
  .partners-columns {
    grid-template-columns: 1fr;
    gap: 16px;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
  }
  .partners-map-column {
    height: auto !important;
    min-height: 0;
    grid-template-rows: auto auto;
  }
  .partners-map {
    height: 220px;
  }
  .partners-photo-container {
    height: 180px;
  }
  .partners-cards-column {
    height: auto !important;
    max-height: none !important;
  }
  .partners-cards-list {
    max-height: none !important;
    overflow-y: visible !important;
    height: auto !important;
  }
  .partner-card-details {
    overflow: visible;
  }
  .partner-card.active .partner-card-details {
    max-height: none;
    padding-bottom: 18px;
  }
  #faqs .section-content {
    padding: 0 18px;
  }
  .footer {
    padding: 24px 18px 36px;
    margin-top: 30px;
    gap: 12px;
  }
  .footer .footer-links {
    gap: 16px;
  }
  .footer .footer-copyright {
    font-size: 12px;
  }
  .partner-media-slot {
    margin-top: 12px;
    display: grid;
    gap: 10px;
    width: 100%;
  }
  .partner-media-slot .partners-map,
  .partner-media-slot .partners-photo-container {
    height: 230px !important;
    min-height: 230px !important;
    width: 100% !important;
    display: block !important;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
  }
  .partner-media-slot .partners-map {
    display: none !important;
  }
  .partner-media-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .partner-media-slot .partners-map {
    visibility: visible !important;
    opacity: 1 !important;
  }
  .partner-card {
    width: 100%;
    box-sizing: border-box;
  }
  #contact {
    width: 100%;
    margin-left: 0;
    padding: 110px 16px 70px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
  }
  #contact .contact-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
  }
  #contact .section-content {
    position: relative;
    z-index: 1;
    justify-content: center;
    text-align: center;
    padding: 0 24px;
  }
  .contact-card {
    padding: 22px;
  }
  .contact-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
  .cta {
    width: 100%;
    justify-content: center;
  }
  .team-cards-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .team-card {
    display: none;
  }
  #team .section-content.team-layout {
    padding: 0 20px;
  }
  .team-main {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .team-names {
    display: none;
  }
  .team-photos {
    order: 1;
    padding: 0;
    gap: 16px;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    align-self: stretch;
  }
  .team-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    min-height: 420px;
    max-height: 520px;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .team-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(6, 4, 26, 0.85) 100%);
    z-index: 1;
    pointer-events: none;
  }
  .team-photo.active, .team-photo:hover {
    transform: scale(1.01);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  }
  .team-bio {
    display: none !important;
  }
  .team-photo .team-bio-content {
    position: absolute;
    left: 12px;
    right: 12px;
    top: auto;
    bottom: 12px;
    padding: 14px 16px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    background: linear-gradient(160deg, rgba(6, 4, 26, 0.9), rgba(41, 34, 82, 0.85));
    border: 1px solid rgba(199, 185, 255, 0.2);
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    z-index: 2;
  }
  .team-photo .team-bio-content h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
  .team-photo .team-bio-content p {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  #training {
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
  }
  .training-split-layout {
    padding: 0 20px !important;
    height: auto !important;
    min-height: auto !important;
    grid-template-columns: 1fr;
    gap: 16px;
    overflow: hidden;
  }
  .training-columns {
    grid-template-columns: 1fr;
    gap: 10px;
    height: auto !important;
    min-height: auto !important;
    grid-auto-rows: unset;
  }
  .training-gallery-wrapper {
    min-height: 280px;
    max-height: 360px;
    order: -1;
    margin: 0;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    height: 320px;
  }
  .training-gallery-bento {
    width: 100%;
    height: 100%;
    gap: 8px;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
  }
  .bento-item {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    min-height: 280px;
    overflow: hidden;
  }
  .bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    min-width: 100%;
    min-height: 100%;
    transform: scale(1.1);
  }
  .bento-item:hover img {
    transform: scale(1.15);
  }
  .bento-large,
  .bento-small,
  .bento-medium,
  .bento-wide {
    width: 100%;
    height: 100%;
    min-height: 280px;
  }
  .training-content-column {
    width: 100%;
    height: auto !important;
    gap: 12px;
  }
  .info-card {
    width: 100%;
    box-sizing: border-box;
  }
  .training-cards-row {
    flex-direction: column;
  }
  .training-title-word {
    font-size: clamp(2rem, 12vw, 4rem);
    letter-spacing: -2px;
  }
  .training-card-number {
    font-size: 3rem;
  }
  .training-card-content {
    padding: 25px 20px;
  }
  .training-card-content h4 {
    font-size: 1.4rem;
  }
  .training-card-image {
    height: 180px;
  }
  #programs .section-content.programs-layout {
    padding: 0 20px;
  }
  #programs .programs-image {
    order: -1;
    max-height: 250px;
    width: 100%;
    margin-bottom: 10px;
    margin-top: 0;
  }
  .programs-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .training-programs-grid {
    margin-top: 0;
    width: 100%;
  }
  .training-programs-grid .info-card {
    width: 100%;
    box-sizing: border-box;
  }
  .mission-experimental {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  .mission-word {
    font-size: clamp(2.5rem, 10vw, 5rem);
    letter-spacing: -2px;
    order: -1;
  }
  .mission-content-area {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .mission-text-flow {
    display: flex;
    flex-direction: column;
  }
  .mission-image-float {
    aspect-ratio: 16/9;
    order: -2;
  }
  .mission-lead {
    font-size: 1.1rem !important;
  }
  .training-sub-section {
    grid-template-columns: 1fr !important;
    padding: 40px 20px;
  }
  .training-programs-section .text-column,
  .training-programs-section .training-programs-image {
    order: unset;
  }
  .plane {
    transition-duration: 500ms;
  }
}
@media (max-width: 480px) {
  #team .section-content.team-layout {
    padding: 0 15px;
  }
  .team-names {
    gap: 15px;
  }
  .team-name {
    font-size: clamp(1.1rem, 6vw, 1.5rem);
  }
  .team-photos {
    padding: 0;
    gap: 12px;
  }
  .team-photo {
    height: auto;
    aspect-ratio: 4/5;
    min-height: 360px;
    max-height: 460px;
    border-radius: 14px;
    border-width: 2px;
  }
  .team-photo .team-bio-content {
    padding: 12px 14px;
  }
  .team-photo .team-bio-content h4 {
    font-size: 1rem;
    margin-bottom: 6px;
  }
  .team-photo .team-bio-content p {
    font-size: 0.85rem;
    line-height: 1.45;
  }
  .training-split-layout {
    padding: 0 15px !important;
  }
  #programs .section-content.programs-layout {
    padding: 0 15px;
  }
  .partners-layout {
    padding: 0 15px !important;
  }
  .partners-map-column {
    grid-template-columns: 1fr;
    height: auto;
    gap: 10px;
  }
  .partners-map {
    height: 150px;
  }
  .partners-photo-container {
    height: 150px;
  }
}
@media (max-width: 900px) and (orientation: landscape) {
  .team-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .team-names {
    display: none;
  }
  .team-photos {
    order: 1;
    gap: 14px;
  }
  .team-photo {
    width: 100%;
    height: 280px;
  }
}
@media (max-width: 1100px) {
  .training-programs-grid {
    grid-template-columns: 1fr;
  }
}

/*# sourceMappingURL=style.css.map */
