/* ========================= */
/* HOME PAGE TOKENS */
/* ========================= */
:root {
  --bg: #08090c;
  --surface: #15171c;
  --surface-strong: #0d0f13;
  --text: #f3f4f6;
  --text-soft: #c5cad2;
  --white: #ffffff;
  --accent: #ef1a23;
  --accent-soft: #ff3d3d;
  --line: rgba(255, 255, 255, 0.14);
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.36);
  --shadow-strong: 0 26px 52px rgba(0, 0, 0, 0.5);
}

body {
  margin: 0;
  background:
    radial-gradient(
      circle at 15% 12%,
      rgba(239, 26, 35, 0.22),
      transparent 34%
    ),
    radial-gradient(
      circle at 85% 30%,
      rgba(255, 255, 255, 0.08),
      transparent 30%
    ),
    linear-gradient(160deg, #06070a 0%, #0a0c10 60%, #06070a 100%);
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
}

.header-fixed {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 12, 18, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.header-fixed nav a {
  letter-spacing: 0.04em;
}

/* ========================= */
/* HOME HERO */
/* ========================= */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 118px 24px 86px;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("http://mmacasbahfight.com/wp-content/uploads/2025/06/punching-bags-rope-gym-scaled.jpg")
    center 35% / cover no-repeat;
  transform: scale(1.06);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      100deg,
      rgba(5, 8, 13, 0.88) 0%,
      rgba(7, 10, 15, 0.72) 45%,
      rgba(10, 14, 20, 0.48) 100%
    ),
    radial-gradient(circle at 18% 22%, rgba(214, 51, 39, 0.42), transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1220px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: end;
}

.hero-copy {
  max-width: 760px;
}

.hero-kicker {
  margin: 0 0 14px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  color: #ff8a8f;
}

.hero h1 {
  margin: 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(3rem, 8.7vw, 6.7rem);
  line-height: 0.96;
  letter-spacing: 0.03em;
}

.hero-copy > p:not(.hero-kicker) {
  margin: 18px 0 30px;
  max-width: 650px;
  font-size: clamp(1rem, 1.8vw, 1.26rem);
  line-height: 1.74;
  color: #e6eaf0;
  text-align: justify;
  hyphens: auto;
}

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

.btn.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--white);
  text-decoration: none;
  transition:
    transform 0.28s ease,
    background-color 0.28s ease,
    border-color 0.28s ease;
}

.btn.secondary:hover {
  transform: translateY(-2px);
  border-color: transparent;
  background: linear-gradient(112deg, var(--accent), var(--accent-soft));
}

.hero-panel {
  padding: 24px;
  border-radius: 16px;
  background: linear-gradient(
    150deg,
    rgba(20, 22, 28, 0.96),
    rgba(14, 16, 21, 0.94)
  );
  border: 1px solid rgba(239, 26, 35, 0.45);
  color: var(--text);
  box-shadow: var(--shadow-strong);
}

.hero-panel h2 {
  margin: 0 0 16px;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
}

.hero-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.hero-panel li {
  display: grid;
  gap: 2px;
}

.hero-panel li span {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ba3af;
}

.hero-panel li strong {
  font-size: 0.95rem;
}

.hero-panel-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 800;
}

.hero-panel-link:hover {
  color: #ff7078;
}

.hero-scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
  color: rgba(255, 255, 255, 0.78);
}

.hero-scroll-indicator span {
  display: block;
  width: 2px;
  height: 26px;
  margin: 0 auto 8px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.24),
    rgba(255, 255, 255, 1)
  );
  animation: scrollPulse 1.8s ease-in-out infinite;
}

.hero-scroll-indicator p {
  margin: 0;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.45;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(6px);
  }
}

.section-kicker {
  margin: 0 0 12px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #ff8a8f;
}

/* ========================= */
/* CLUB PRESENTATION */
/* ========================= */
.tmt-section {
  padding: 80px 24px 44px;
  background:
    linear-gradient(165deg, rgba(10, 12, 16, 0.96), rgba(11, 14, 18, 0.98)),
    url("http://mmacasbahfight.com/wp-content/uploads/2025/06/110809.jpg")
      center / cover no-repeat;
}

.section-intro,
.tmt-block,
.news-head,
.news-carousel,
.partners-content {
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
}

.section-intro h2 {
  margin: 0;
  max-width: 720px;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(2.2rem, 5.6vw, 4.1rem);
  line-height: 0.98;
  letter-spacing: 0.04em;
}

.tmt-block {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.8vw, 34px);
  margin-top: 28px;
  margin-bottom: 46px;
  align-items: stretch;
}

.tmt-block.reverse .tmt-text {
  order: 1;
}

.tmt-block.reverse .tmt-img {
  order: 2;
}

.tmt-img {
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  transition:
    transform 280ms cubic-bezier(0.22, 0.61, 0.36, 1),
    border-color 280ms ease,
    box-shadow 280ms ease;
}

.tmt-img img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  transition:
    transform 420ms cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 280ms ease;
}

.tmt-img:hover {
  border-color: rgba(239, 26, 35, 0.62);
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.48);
  transform: translateY(-7px);
}

.tmt-img:hover img {
  filter: brightness(1.08) contrast(1.03);
  transform: scale(1.045);
}

.tmt-text {
  padding: clamp(20px, 2.5vw, 30px);
  border-radius: 14px;
  background: linear-gradient(
    160deg,
    rgba(21, 23, 28, 0.96),
    rgba(15, 17, 22, 0.96)
  );
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  transition:
    transform 280ms cubic-bezier(0.22, 0.61, 0.36, 1),
    border-color 280ms ease,
    background 280ms ease,
    box-shadow 280ms ease;
}

.tmt-text:hover {
  border-color: rgba(239, 26, 35, 0.62);
  background: linear-gradient(
    160deg,
    rgba(27, 29, 35, 0.98),
    rgba(18, 20, 26, 0.98)
  );
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.48);
  transform: translateY(-7px);
}

.tmt-text h3 {
  margin: 0 0 14px;
  font-size: clamp(1.34rem, 2.2vw, 1.85rem);
  line-height: 1.2;
}

.tmt-text p {
  margin: 0 0 12px;
  color: var(--text-soft);
  line-height: 1.72;
}

.highlight {
  color: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  .tmt-img,
  .tmt-img img,
  .tmt-text {
    transition: none;
  }

  .tmt-img:hover,
  .tmt-img:hover img,
  .tmt-text:hover {
    transform: none;
  }
}

/* ========================= */
/* HOME NEWS */
/* ========================= */
.news-section {
  position: relative;
  padding: 78px 24px 58px;
  color: var(--white);
  overflow: hidden;
}

.video-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35);
}

.news-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 10, 16, 0.8), rgba(7, 10, 16, 0.9)),
    radial-gradient(circle at 88% 14%, rgba(239, 26, 35, 0.34), transparent 38%);
  z-index: 1;
  pointer-events: none;
}

.news-section > *:not(.video-background) {
  position: relative;
  z-index: 2;
}

.news-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  justify-items: center;
  margin-bottom: 26px;
  text-align: center;
}

.news-head > div {
  max-width: 900px;
}

.news-head p {
  text-align: center;
  hyphens: none;
}

.news-title {
  margin: 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(2.1rem, 6.5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0.04em;
}

.news-subtitle {
  margin: 8px auto 0;
  max-width: 680px;
  color: #dbe2ed;
  line-height: 1.68;
}

.news-carousel {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 30px;
  margin-top: 8px;
}

.mySwiper {
  position: relative;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: auto;
  min-height: 0;
  overflow: hidden;
  padding: 8px 0 44px;
}

.mySwiper .swiper-wrapper {
  height: auto;
  align-items: flex-start;
}

.swiper-slide {
  display: flex;
  height: auto;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.1);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.swiper-slide:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.28);
}

.swiper-slide:has(.news-card-coming-soon) {
  background: rgba(180, 186, 196, 0.16);
  border-color: rgba(255, 255, 255, 0.12);
}

.swiper-slide:has(.news-card-coming-soon):hover {
  transform: none;
  box-shadow: none;
}

.news-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.news-card-coming-soon {
  position: relative;
  cursor: default;
}

.news-card-coming-soon img {
  filter: grayscale(1) brightness(0.7);
}

.news-card-coming-soon .news-content {
  color: rgba(243, 244, 246, 0.88);
}

.news-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.news-date {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(115deg, var(--accent), var(--accent-soft));
}

.news-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #eef1f4;
  background: rgba(19, 23, 29, 0.88);
}

.news-content {
  padding: 17px;
}

.news-content h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.58;
}

.swiper-button-prev,
.swiper-button-next {
  position: static;
  margin: 0;
  transform: none;
  width: 42px;
  height: 42px;
  z-index: 4;
  cursor: pointer;
  pointer-events: auto;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  color: var(--white);
  background: rgba(8, 12, 18, 0.5);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
  transition:
    background-color 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    transform 0.24s ease,
    color 0.24s ease;
}

.swiper-button-prev {
  grid-column: 1;
}

.swiper-button-next {
  grid-column: 3;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 0.95rem;
  font-weight: 800;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: linear-gradient(120deg, var(--accent), var(--accent-soft));
  border-color: transparent;
  box-shadow: 0 14px 24px rgba(239, 26, 35, 0.34);
  transform: translateY(-2px);
}

.swiper-button-prev:focus-visible,
.swiper-button-next:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.92);
  outline-offset: 2px;
  background: linear-gradient(120deg, var(--accent), var(--accent-soft));
  border-color: transparent;
}

.swiper-button-prev:active,
.swiper-button-next:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(239, 26, 35, 0.25);
}

.swiper-button-disabled,
.swiper-button-lock {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

.swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  margin: 0 !important;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.42);
  opacity: 1;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.swiper-pagination-bullet-active {
  border-color: var(--accent-soft);
  background: var(--accent-soft);
  transform: scale(1.15);
}

.swiper-pagination {
  bottom: 10px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ========================= */
/* PARTNERS SECTION */
/* ========================= */
.partners-section {
  padding: 80px 24px;
  background:
    radial-gradient(circle at 82% 22%, rgba(239, 26, 35, 0.2), transparent 30%),
    linear-gradient(180deg, #0a0c10 0%, #0d1014 100%);
}

.partners-content {
  text-align: center;
}

.partners-content p {
  text-align: center;
  hyphens: none;
}

.partners-title {
  margin: 0;
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0.04em;
}

.partners-subtitle {
  margin: 14px auto 30px;
  max-width: 860px;
  color: var(--text-soft);
  line-height: 1.7;
}

.partners-logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 820px;
  margin: 0 auto;
  gap: clamp(24px, 4vw, 54px);
}

.partners-logos img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease;
}

.partners-logos img:hover {
  transform: translateY(-5px);
}

/* ========================= */
/* LOCATION SECTION */
/* ========================= */
.location-section {
  background: var(--surface-strong);
}

.map-container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.map-container iframe {
  display: block;
  width: 100%;
  min-height: clamp(380px, 42vw, 520px);
  border: 0;
  border-radius: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ========================= */
/* RESPONSIVE OVERRIDES */
/* ========================= */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-panel {
    max-width: 420px;
  }

  .tmt-block,
  .tmt-block.reverse {
    grid-template-columns: 1fr;
  }

  .tmt-block.reverse .tmt-text,
  .tmt-block.reverse .tmt-img {
    order: initial;
  }

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

@media (max-width: 768px) {
  .hero {
    min-height: 84vh;
    padding: 102px 16px 70px;
  }

  .hero-scroll-indicator {
    display: none;
  }

  .hero-buttons,
  .hero-buttons .btn.secondary {
    width: 100%;
  }

  .btn.secondary {
    text-align: center;
  }

  .tmt-section,
  .news-section,
  .partners-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section-intro h2,
  .news-title,
  .partners-title {
    letter-spacing: 0.02em;
  }

  .news-card img {
    height: 200px;
  }

  .news-carousel {
    display: block;
  }

  .mySwiper {
    padding: 8px 0 34px;
  }

  .swiper-button-prev,
  .swiper-button-next {
    display: none;
  }

  .partners-logos {
    grid-template-columns: 1fr;
  }

  .map-container iframe {
    min-height: 360px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
