.section-pad {
  padding: 70px 137px;
}

.section-head {
  text-align: center;
  margin: 0 auto;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 234px;
  height: 50px;
  padding: 16px 20px 12px;
  border: 2px solid #fff;
  color: #fff;
  font-family: Anybody;
  font-size: 14px;
  font-weight: 600;
  line-height: 16px;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background-color: #fff;
  color: #000402;
}

/* --- hero --------------------------------------------------------------- */

.hero2 {
  position: relative;
  background-color: #000402;
  background-image: url("../img/bg-graffiti.webp");
  background-size: cover;
  background-position: center top;
  overflow: hidden;
}

.hero2__inner {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  aspect-ratio: 1440 / 856;
  container-type: inline-size;
}

/* Wordmark sits behind the cut-out team photo, as in the design. */
.hero2__wordmark {
  position: absolute;
  left: 16.32%; /* 235 / 1440 */
  top: 17.06%; /* 146 / 856 — clears the nav, which sits at 34..91 */
  width: 65.35%; /* 941 / 1440 */
  margin: 0;
  z-index: 1;
}

.hero2__kicker,
.hero2__title {
  margin: 0;
  font-family: Anybody;
  font-style: italic;
  font-weight: 800;
  line-height: 0.9;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero2__kicker {
  color: #fff;
  font-size: 42px;
  font-size: 2.973cqw; /* 42.814 / 1440 */
  text-align: right;
  padding-right: 2.6%; /* right edge 916.5 within the 941 group */
}

.hero2__title {
  color: #00fd72;
  font-size: 332px;
  font-size: 23.078cqw; /* 332.333 / 1440 */
  letter-spacing: -0.01em;
}

.hero2__photo {
  position: absolute;
  left: 5.76%; /* 83 / 1440 */
  top: 20.79%; /* 178 / 856 */
  width: 88.47%; /* 1274 / 1440 */
  height: auto;
  aspect-ratio: 1274 / 666;
  object-fit: cover;
  object-position: center top;
  z-index: 2;
  pointer-events: none;
}

/* Bottom fade — replaces the mask layer used in Figma. */
.hero2__inner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 32%;
  background: linear-gradient(to top, #000402 18%, rgba(0, 4, 2, 0) 100%);
  z-index: 3;
  pointer-events: none;
}

.hero2__stats,
.hero2__social,
.hero2__scroll {
  position: absolute;
  z-index: 4;
}

/* HLTV / Valve ranking card */
.hero2__stats {
  left: 2.08%; /* 30 / 1440 */
  top: 81.42%; /* 697 / 856 */
  display: flex;
  align-items: flex-start;
  gap: 31px;
  padding: 15px 16px 13px;
  border-radius: 4px;
  background: rgba(13, 13, 13, 0.05);
  backdrop-filter: blur(6px);
}

.hero2__stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero2__stat-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 27px;
}

.hero2__stat-badge--valve {
  width: 27px;
  background: #e48616;
}

.hero2__stat-label {
  margin: 0;
  color: #fff;
  font-family: Anybody;
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.44px;
}

.hero2__stat-value {
  margin: 0;
  color: #00fd72;
  font-family: Anybody;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.72px;
}

.hero2__stat-sep {
  width: 0.5px;
  height: 66px;
  background: rgba(217, 217, 217, 0.5);
}

/* "The Basement Boys on" + socials — Figma node 4813:4213 (210 x 60).
   The export declares px-[27.059], which would need a 237px-wide frame; the
   frame on canvas is 210 with ~183 of content, so the horizontal padding is
   halved to 13.5 and the content is centred instead. */
.hero2__social {
  left: 75.76%; /* 1091 / 1440 */
  top: 85.86%; /* 735 / 856 */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 210px;
  height: 60px;
  padding: 16.235px 13.5px;
  border-radius: 4px;
  background: rgba(13, 13, 13, 0.05);
  backdrop-filter: blur(6px);
}

.hero2__social-label {
  width: 92px;
  flex: 0 0 auto;
  margin: 0;
  color: #fff;
  font-family: Anybody;
  font-size: 10.247px;
  font-style: italic;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.4099px;
  text-align: center;
}

.hero2__social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11.666px;
}

.hero2__social-links a {
  display: flex;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.hero2__social-links a:hover,
.hero2__social-links a:focus-visible {
  opacity: 0.8;
  transform: translateY(-1px);
}

.hero2__icon {
  display: block;
  object-fit: contain;
}

.hero2__icon--x {
  width: 28.798px;
  height: 25.791px;
}

.hero2__icon--ig {
  width: 27.925px;
  height: 26.745px;
}

/* Scroll-down pill */
.hero2__scroll {
  left: 48.47%; /* 698 / 1440 */
  top: 92.87%; /* 795 / 856 */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.hero2__scroll:hover,
.hero2__scroll:focus-visible {
  border-color: #00fd72;
  background: rgba(0, 253, 114, 0.12);
}

/* --- who we are --------------------------------------------------------- */

.who {
  background: #000402;
}

.who__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.who__media {
  position: relative;
  width: 100%;
  max-width: 773px;
  aspect-ratio: 773.312 / 432.262;
  border: 1px solid #00fd72;
  border-radius: 7.723px;
  background: #101010;
  overflow: hidden;
  margin-bottom: 55px;
}

.who__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.who__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.who__play span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: rgba(0, 4, 2, 0.7); /* Figma: #000402 @ 70% */
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.who__play:hover span,
.who__play:focus-visible span {
  transform: scale(1.06);
  background: rgba(0, 4, 2, 0.88);
}

.who__play img {
  width: 41px;
  height: 47px;
  object-fit: contain;
  margin-left: 4px; /* Figma nudges the glyph +3.5px off centre */
}

/* --- roster ------------------------------------------------------------- */

.roster {
  position: relative;

  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.roster__intro {
  max-width: 1160px;
  margin: 0 auto 39px;
  color: #fff;
  font-family: Inter;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
}

.roster__intro b {
  font-weight: 700;
}

.roster__list {
  display: flex;
  justify-content: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.roster-card {
  position: relative;
  width: 224px;
  height: 336px;
  flex: 0 0 auto;
  background: #d9d9d9;
  overflow: hidden;
}

.roster-card > a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

/* Watermark logo behind the portrait */
.roster-card__mark {
  position: absolute;
  left: 50%;
  top: 35px;
  width: 193px;
  transform: translateX(-50%);
  opacity: 0.9;
}

.roster-card__photo {
  position: absolute;
  left: 14px;
  top: 6px;
  width: 196px;
  height: 294px;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.35s ease;
}

.roster-card:hover .roster-card__photo {
  transform: scale(1.04);
}

.roster-card__info {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 17px 20px;
  background: #191919;
}

.roster-card__nick {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: #fff;
  font-family: Inter;
  font-size: 18px;
  font-weight: 700;
  line-height: 25.92px;
}

.roster-card__nick img {
  width: 16px;
  height: 12px;
  object-fit: cover;
}

.roster-card__name,
.roster-card__age {
  margin: 0;
  font-family: Inter;
  font-size: 13px;
  font-weight: 700;
  line-height: 14.04px;
  text-align: center;
}

.roster-card__name {
  color: #fff;
}

.roster-card__age {
  color: #00fd72;
}

/* The bundled swiper.min.css is an older release that styles `.swiper-container`
   while the page loads Swiper 11 JS (which expects `.swiper`), so the container
   never gets its `position: relative`. Set it here or the absolute arrows
   escape to the section. */
.roster__slider {
  position: relative;
}

/* Swiper shell is only used below the mobile breakpoint — on desktop the
   roster is a plain flex row, so its controls must not show. */
.roster__slider .swiper-button-prev,
.roster__slider .swiper-button-next,
.roster__slider .swiper-pagination {
  display: none;
}

.roster__slider .swiper-pagination {
  position: static;
  margin-top: 18px;
}

/* --- longread (SEO copy) ------------------------------------------------ */

.longread {
  background: #000402;
}

.longread__inner {
  max-width: 1247px;
  margin: 0 auto;
  color: #fff;
}

.longread h2 {
  margin: 0 0 20px;
  color: #00fd72;
  font-family: Anybody;
  font-size: 32px;
  font-style: italic;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.longread h2:not(:first-child) {
  margin-top: 48px;
}

.longread p {
  margin: 0 0 18px;
  font-family: Inter;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
}

.longread ul {
  margin: 0 0 18px;
  padding-left: 20px;
}

.longread li {
  margin-bottom: 10px;
  font-family: Inter;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
}

.longread li b {
  color: #fff;
}

/* --- footer ------------------------------------------------------------- */

.footer2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 137px;
  background: #030000;
}

.footer2__logo img {
  width: 137px;
  height: auto;
  display: block;
}

.footer2__nav ul {
  display: flex;
  align-items: center;
  gap: 50px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer2__nav a {
  color: #fff;
  font-family: Inter;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer2__nav a:hover,
.footer2__nav a:focus-visible {
  color: #00fd72;
}

.footer2__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 8px 16px;
  border-radius: 4px;
  background: #1c1c1c;
}

.footer2__social a {
  display: flex;
  opacity: 0.9;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.footer2__social a:hover,
.footer2__social a:focus-visible {
  opacity: 1;
  transform: translateY(-2px);
}

.footer2__social img {
  width: 22px;
  height: 21px;
  object-fit: contain;
}

/* --- player page -------------------------------------------------------- */

.player2 {
  background: #000402;
  padding-top: 140px; /* the header is absolutely positioned over the page */
}

.player2__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
  gap: 60px;
  max-width: 1166px;
  margin: 0 auto;
}

.player2__nick {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px;
}

.player2__nick h1 {
  margin: 0;
  color: #fff;
  font-family: Inter;
  font-size: 30px;
  font-weight: 700;
  line-height: 37.44px;
  text-align: left;
  text-transform: none;
  font-style: normal;
  letter-spacing: normal;
}

.player2__nick img {
  width: 26px;
  height: 20px;
  object-fit: cover;
}

.player2__realname {
  margin: 0 0 24px;
  color: #00fd72;
  font-family: Inter;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.player2__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 32px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.player2__meta div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.player2__meta dt {
  color: rgba(255, 255, 255, 0.5);
  font-family: Anybody;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.44px;
  text-transform: uppercase;
}

.player2__meta dd {
  margin: 0;
  color: #fff;
  font-family: Inter;
  font-size: 16px;
  font-weight: 700;
}

.player2__bio {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.85);
  font-family: Inter;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
}

.player2__photo {
  position: relative;
  width: 420px;
  height: 560px;
  background: #d9d9d9;
  overflow: hidden;
}

.player2__photo img.player2__mark {
  position: absolute;
  left: 50%;
  top: 60px;
  width: 300px;
  transform: translateX(-50%);
}

.player2__photo img.player2__portrait {
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 97%;
  width: auto;
  max-width: none;
  transform: translateX(-50%);
  object-fit: contain;
  object-position: bottom center;
}

/* ==========================================================================
   Mobile — Figma 4799:78 (361px artboard). Matches the site's 735px cutoff.
   ========================================================================== */

@media screen and (max-width: 735px) {
  .section-pad {
    padding: 44px 16px;
  }

  /* hero (artboard 361 x 474): a plain stack, not the desktop's absolute
     canvas — that collided with the burger and left dead space. */
  .hero2__inner {
    aspect-ratio: auto;
    display: block;
    padding: 58px 0 20px;
  }

  .hero2__wordmark {
    position: static;
    width: 100%;
    padding: 0 10px;
  }

  .hero2__kicker {
    font-size: 14px;
    font-size: 4.1cqw;
    padding-right: 6px;
  }

  .hero2__title {
    font-size: 120px;
    font-size: 31.5cqw;
    text-align: center;
    margin-top: -2px;
  }

  /* pulled up so the heads overlap the wordmark, as in the artboard */
  .hero2__photo {
    position: static;
    width: 100%;
    margin-top: -6%;
    aspect-ratio: 361 / 250;
    object-position: center 20%;
  }

  .hero2__stats {
    position: static;
    width: max-content;
    max-width: calc(100% - 32px);
    margin: 14px auto 0;
    gap: 18px;
    padding: 10px 14px;
    background: rgba(13, 13, 13, 0.55);
  }

  .hero2__stat-sep {
    height: 52px;
  }

  .hero2__social,
  .hero2__scroll {
    display: none;
  }

  /* the desktop bottom fade would sit over the stats in a flow layout */
  .hero2__inner::after {
    display: none;
  }

  /* who we are */
  .who__grid {
    gap: 28px;
  }

  .who__play span {
    width: 64px;
    height: 64px;
  }

  .who__play img {
    width: 24px;
    height: 28px;
  }

  /* roster becomes a one-card slider */
  .roster__intro {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .roster__list {
    gap: 0;
  }

  .roster-card {
    margin: 0 auto;
  }

  .roster__slider .swiper-button-prev,
  .roster__slider .swiper-button-next,
  .roster__slider .swiper-pagination {
    display: flex;
  }

  /* style.css positions the legacy team-slider arrows; override so these sit
     on the card, not on the paragraph above it. */
  .roster__slider .swiper-button-prev,
  .roster__slider .swiper-button-next {
    width: 28px;
    height: 28px;
    top: 168px; /* half of the 336px card */
    margin-top: -14px;
    bottom: auto;
    transform: none;
  }

  .roster__slider .swiper-button-prev {
    left: 4px;
    right: auto;
  }

  .roster__slider .swiper-button-next {
    right: 4px;
    left: auto;
  }

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

  /* longread */
  .longread h2 {
    font-size: 24px;
  }

  .longread p,
  .longread li {
    font-size: 15px;
  }

  /* footer stacks: logo, menu (2 rows), socials */
  .footer2 {
    flex-direction: column;
    gap: 22px;
    padding: 32px 16px;
    text-align: center;
  }

  .footer2__nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 28px;
  }

  /* player page stacks */
  .player2__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .player2 {
    padding-top: 120px;
  }

  .player2__grid {
    display: flex;
    flex-direction: column;
  }

  .player2__photo {
    width: 100%;
    max-width: 320px;
    height: 428px;
    margin: 0 auto;
    order: -1;
  }

  .player2__photo img.player2__mark {
    width: 230px;
    top: 40px;
  }

  .player2__nick h1 {
    font-size: 24px;
    line-height: 1.3;
  }
}

/* Tablet: keep the 5-up roster from overflowing before the mobile slider. */
@media screen and (min-width: 736px) and (max-width: 1279px) {
  .section-pad {
    padding: 56px 40px;
  }

  .roster__list {
    flex-wrap: wrap;
  }

  .player2__grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 32px;
  }

  .player2__photo {
    width: 340px;
    height: 454px;
  }
}
