html {
  overflow-x: hidden;
}

:root {
  --bg: #f4f7fb;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #d7e2f0;
  --primary: #ff8a00;
  --primary-dark: #ea580c;
  --card: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -5%, #ffe7cb, transparent 70%),
    radial-gradient(1200px 500px at 100% 0%, #dbeafe, transparent 55%),
    var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("popowbee_esport.png") center / min(82vw, 980px) no-repeat;
  opacity: 0.08;
  pointer-events: none;
  z-index: -1;
}

.shell {
  width: min(1100px, 92vw);
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: 0;
  padding: 0.6rem max(1rem, 4vw);
  background: linear-gradient(90deg, #0b1220 0%, #111f36 55%, #1a2f4d 100%);
  border: 0;
  border-radius: 0;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: #e2e8f0;
  font-weight: 800;
  font-size: 1.05rem;
}

.brand img {
  width: 72px;
  height: 72px;
  border-radius: 0;
  object-fit: cover;
  border: 0;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.menu {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.menu a {
  text-decoration: none;
  color: #cbd5e1;
  font-weight: 700;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.menu a.active {
  border-color: #f59e0b;
  color: #ffffff;
  background: rgba(245, 158, 11, 0.22);
}

.hero {
  padding: 1.2rem 0 0.8rem;
}

.home-hero {
  position: relative;
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 55%, #334155 100%);
  border-radius: 20px;
  padding: 1.4rem clamp(220px, 27vw, 320px) 1.4rem 1.2rem;
  min-height: clamp(220px, 28vw, 300px);
  overflow: hidden;
  color: #f8fafc;
  border: 1px solid #334155;
}

.home-hero .tag {
  color: #fdba74;
}

.home-hero .sub {
  color: #cbd5e1;
}

.home-title-row {
  display: block;
  margin-bottom: 0.2rem;
}

.home-hero-logo {
  position: absolute;
  right: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(150px, 21vw, 240px);
  max-width: none;
  aspect-ratio: 1 / 1;
  border-radius: 0;
  object-fit: cover;
  border: 0;
}

.cta {
  margin-top: 0.9rem;
  display: inline-block;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  border-radius: 10px;
  padding: 0.62rem 0.92rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 85%);
}

.home-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.home-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  padding: 0.95rem;
}

.home-card h2 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.home-card p {
  margin: 0;
  color: #334155;
}

.team-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.team-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fff7ed 140%);
  padding: 1.05rem;
  overflow: hidden;
  text-align: center;
}

.team-card-logo-wrap {
  display: flex;
  justify-content: center;
  margin: 0.85rem 0 0.9rem;
}

.team-card-logo {
  width: min(240px, 70%);
  max-height: 190px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(15, 23, 42, 0.14));
}

.team-card h2 {
  margin: 0.25rem 0 0.45rem;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.03em;
  font-size: 2.1rem;
}

.team-card p {
  margin: 0;
  color: #334155;
}

.team-cta {
  margin-top: 0.85rem;
}

.board-section {
  margin-top: 1rem;
}

.board-section h2 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
}

.board-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.board-card {
  position: relative;
  background: transparent;
  border: none;
  border-radius: 16px;
  overflow: hidden;
  min-height: 0;
  padding: 0.85rem;
}

.board-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  outline: none;
  border: none;
  background: transparent;
}

.board-members {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
}

.board-member {
  position: relative;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
}

.board-photo-wrap {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 300px;
  padding: 0.5rem 0.6rem 0;
  background: linear-gradient(180deg, transparent 0 60%, #1e3a5f 60% 100%);
}

.board-member img {
  width: auto;
  height: 285px;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.board-meta {
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 0.5rem;
  z-index: 3;
  padding: 0.72rem 0.8rem 0.82rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.84) 0%, rgba(30, 41, 59, 0.86) 100%);
  backdrop-filter: blur(3px);
}

.board-meta h3 {
  margin: 0;
  font-size: 1rem;
  color: #f8fafc;
}

.board-meta p {
  margin: 0.25rem 0 0;
  color: #cbd5e1;
  font-size: 0.9rem;
}

.members-section {
  margin-top: 1rem;
}

.members-section h2 {
  margin: 0 0 0.7rem;
  font-size: 1.12rem;
}

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

.anggota-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
}

.anggota-photo-wrap {
  background: #f8fafc;
}

.anggota-photo-wrap img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  object-position: center;
  display: block;
}

.anggota-meta {
  padding: 0.75rem 0.85rem 0.9rem;
}

.anggota-meta h3 {
  margin: 0;
  font-size: 1rem;
}

.anggota-meta p {
  margin: 0.28rem 0 0;
  color: #475569;
  font-size: 0.88rem;
}

.partners {
  margin-top: 1rem;
}

.partners h2 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: #475569;
}

.marquee-container {
  overflow: hidden;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding: 0.35rem 0.4rem;
}

.marquee-track {
  width: 200%;
  min-width: 200%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 2.25rem;
  animation: partner-marquee 20s linear infinite;
}

.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes partner-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.partner-card {
  display: none;
}

.partner-logo {
  height: 76px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.82;
}

.tag {
  margin: 0;
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero h1 {
  margin: 0.25rem 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  letter-spacing: 0.04em;
}

.sub {
  margin: 0;
  color: var(--muted);
}

.back-link {
  display: inline-block;
  margin: 0.35rem 0 0.65rem;
  text-decoration: none;
  color: #1e3a8a;
  font-weight: 700;
}

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

.carousel-3d {
  margin: 0.9rem 0 1.1rem;
}

.carousel-stage {
  position: relative;
  min-height: 430px;
  perspective: 1100px;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.carousel-stage.is-dragging {
  cursor: grabbing;
}

.slide {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(240px, 28vw, 340px);
  min-height: clamp(360px, 40vw, 460px);
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: 0.65rem;
  padding: 0.8rem;
  border-radius: 20px;
  border: 1px solid #cbd5e1;
  background: linear-gradient(135deg, #0f172a 0%, #1f2937 55%, #334155 100%);
  color: #e2e8f0;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86) rotateY(0deg);
  transition: transform 420ms ease, opacity 420ms ease, filter 420ms ease;
  pointer-events: auto;
  filter: saturate(0.8) blur(0.4px);
  text-decoration: none;
  color: #e2e8f0;
  cursor: pointer;
}

.slide:visited,
.slide:hover,
.slide:active {
  color: #e2e8f0;
}

.slide img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  object-position: center;
}

.slide h2 {
  margin: 0.25rem 0 0.35rem;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  letter-spacing: 0.04em;
  color: #f8fafc;
}

.slide-copy p {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.8rem;
}

.slide-tag {
  color: #fdba74 !important;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
}

.slide.is-active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) rotateY(0deg);
  z-index: 3;
  pointer-events: auto;
  filter: none;
}

.slide.is-prev-1 {
  opacity: 0.72;
  transform: translate(calc(-50% - 120px), -50%) scale(0.9) rotateY(18deg);
  z-index: 2;
}

.slide.is-next-1 {
  opacity: 0.72;
  transform: translate(calc(-50% + 120px), -50%) scale(0.9) rotateY(-18deg);
  z-index: 2;
}

.slide.is-prev-2 {
  opacity: 0.5;
  transform: translate(calc(-50% - 220px), -50%) scale(0.8) rotateY(26deg);
  z-index: 1;
}

.slide.is-next-2 {
  opacity: 0.5;
  transform: translate(calc(-50% + 220px), -50%) scale(0.8) rotateY(-26deg);
  z-index: 1;
}

.slide.is-prev-3 {
  opacity: 0.32;
  transform: translate(calc(-50% - 310px), -50%) scale(0.72) rotateY(32deg);
  z-index: 0;
}

.slide.is-next-3 {
  opacity: 0.32;
  transform: translate(calc(-50% + 310px), -50%) scale(0.72) rotateY(-32deg);
  z-index: 0;
}

.slide.is-hidden {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.65);
  z-index: -1;
  pointer-events: none;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.65rem;
  margin-top: 2.4rem;
}

.carousel-nav button {
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 85%);
  color: #fff;
  font-weight: 800;
  padding: 0.52rem 0.8rem;
  min-width: 76px;
  cursor: pointer;
}

.dots {
  display: inline-flex;
  gap: 0.4rem;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #94a3b8;
  opacity: 0.45;
}

.dot.is-active {
  background: #f97316;
  opacity: 1;
}

.category-controls {
  margin: 1.1rem 0 0.9rem;
}

.controls {
  display: grid;
  grid-template-columns: 1fr 190px;
  gap: 0.9rem;
  margin: 1.1rem 0;
}

.tab-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.tab-group {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.65rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.tab-group-label {
  margin: 0;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  width: 100%;
}

.tab-btn {
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
}

.tab-btn.is-active {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 85%);
  color: #fff;
  border-color: transparent;
}

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

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem;
}

.contact-card h2 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}

.contact-card p {
  margin: 0.22rem 0;
  color: #334155;
}

.map-wrap {
  margin-top: 0.8rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem;
}

.map-wrap h2 {
  margin: 0 0 0.6rem;
  font-size: 1rem;
}

.map-wrap iframe {
  width: 100%;
  height: 340px;
  border: 0;
  border-radius: 10px;
}

.media-section {
  margin-top: 1rem;
}

.shop-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.shop-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.shop-thumb {
  width: 100%;
  height: 320px;
  object-fit: contain;
  background: #f8fafc;
  padding: 0.45rem;
  display: block;
  cursor: zoom-in;
}

.shop-info {
  padding: 0.75rem 0.85rem 0.9rem;
}

.shop-info h3 {
  margin: 0;
  font-size: 1rem;
}

.shop-info h3 a {
  color: inherit;
  text-decoration: none;
}

.shop-info h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.shop-info p {
  margin: 0.3rem 0 0;
  color: #475569;
  font-size: 0.88rem;
}

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

  .shop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

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

  .team-card-logo {
    width: min(210px, 72%);
    max-height: 170px;
  }

  .anggota-grid {
    grid-template-columns: 1fr;
  }

  .shop-grid {
    grid-template-columns: 1fr;
  }
}

.media-section h2 {
  margin: 0 0 0.65rem;
  font-size: 1.1rem;
}

.media-slider {
  position: relative;
  width: calc(100% + 6.5rem);
  margin-left: -3.25rem;
}

.media-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 42px;
  width: 42px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 85%);
  color: #fff;
  font-weight: 800;
  font-size: 1.3rem;
  cursor: pointer;
  z-index: 2;
}

.media-slider-btn[data-dir="-1"] {
  left: 0.45rem;
}

.media-slider-btn[data-dir="1"] {
  right: 0.45rem;
}

.media-slider-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.media-viewport {
  overflow: hidden;
  width: calc(100% - 6.5rem);
  margin: 0 auto;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.media-viewport.is-dragging {
  cursor: grabbing;
}

.media-track {
  display: flex;
  transition: transform 280ms ease;
  will-change: transform;
}

.media-slide {
  flex: 0 0 calc(100% / 3);
  min-width: calc(100% / 3);
  padding: 0 0.25rem;
}

.photo-grid {
  display: none;
}

.media-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.media-card img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  display: block;
}

.zoomable-photo {
  cursor: zoom-in;
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.video-card iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

.news-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem;
  height: 520px;
  display: flex;
  flex-direction: column;
}

.news-grid {
  display: none;
}

.news-thumb {
  width: 100%;
  height: 240px;
  object-fit: contain;
  background: #f8fafc;
  border-radius: 10px;
  margin-bottom: 0.7rem;
}

.news-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.02rem;
}

.news-card p {
  margin: 0.25rem 0 0.65rem;
  color: #334155;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-right: 0.2rem;
}

.news-card a {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 85%);
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  font-weight: 800;
  margin-top: auto;
}

.event-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem;
  min-height: 206px;
  height: 100%;
}

.event-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.event-thumb {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.65rem;
  background: #f8fafc;
}

.event-status {
  margin: 0 0 0.5rem;
  display: inline-block;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.event-status.upcoming {
  color: #0c4a6e;
  background: #dbeafe;
}

.event-status.done {
  color: #475569;
  background: #e2e8f0;
}

.event-card h3 {
  margin: 0;
  font-size: 1.02rem;
}

.event-date {
  margin: 0.35rem 0 0.45rem;
  color: #0f172a;
  font-weight: 700;
  font-size: 0.86rem;
}

.event-card p {
  margin-top: 0.35rem;
  color: #334155;
}

.event-detail {
  margin-top: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.event-detail-image {
  width: 100%;
  height: 390px;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #f8fafc;
  cursor: zoom-in;
}

.event-detail-body {
  padding: 1rem;
}

.event-detail-title {
  margin: 0.1rem 0 0.35rem;
  font-size: 1.45rem;
}

.event-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.8rem;
  margin: 0.2rem 0 0.7rem;
}

.event-meta-chip {
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  font-size: 0.8rem;
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.9);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.photo-lightbox.open {
  display: flex;
}

.photo-lightbox img {
  max-width: min(92vw, 1400px);
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.45);
}

.photo-lightbox-close {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #f97316;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.map-actions {
  margin: 0.65rem 0 0;
}

.map-actions a {
  display: inline-block;
  text-decoration: none;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 85%);
  color: #fff;
  font-weight: 800;
  border-radius: 10px;
  padding: 0.55rem 0.9rem;
}

.controls label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.controls input,
.controls select {
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 0.9rem;
  font: inherit;
  background: var(--card);
  color: var(--ink);
}

.controls input:focus,
.controls select:focus {
  outline: 2px solid #ffbe75;
  outline-offset: 1px;
}

.table-wrap {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%);
  color: #e2e8f0;
}

th, td {
  padding: 0.84rem 0.9rem;
  text-align: left;
  font-size: 0.9rem;
  border-bottom: 1px solid #edf2f9;
}

tbody tr:hover {
  background: #f8fbff;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.player {
  font-weight: 800;
}

.player-link {
  color: #0f172a;
  text-decoration: none;
}

.player-link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.team-chip {
  display: inline-block;
  border: 1px solid #ffc98d;
  color: #9a3412;
  background: #fff4e6;
  padding: 0.18rem 0.46rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.pager {
  margin-top: 0.9rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.65rem;
}

.pager button {
  min-width: 76px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 85%);
  color: #fff;
  padding: 0.56rem 0.75rem;
  font-weight: 800;
  cursor: pointer;
}

.pager button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

#pageInfo {
  margin: 0;
  color: var(--muted);
  min-width: 120px;
  text-align: center;
  font-weight: 700;
}

.footer-spacer {
  margin-top: auto;
  height: 2rem;
  flex-shrink: 0;
}

.site-footer {
  box-sizing: border-box;
  margin-top: 0;
  padding: 0.6rem max(1rem, 4vw);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: 0;
  border: 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 70%);
  color: #e2e8f0;
  display: grid;
  grid-template-columns: auto repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}


.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.35rem;
}

.footer-brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.site-footer h3 {
  margin: 0 0 0.4rem;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  color: #fdba74;
}

.site-footer p {
  margin: 0.18rem 0;
  font-size: 0.84rem;
  color: #cbd5e1;
}

.social-line {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  line-height: 1;
}

.social-youtube-line {
  margin-top: 0.24rem;
}

.ig-icon {
  width: 0.72rem;
  height: 0.72rem;
  color: #f472b6;
  flex-shrink: 0;
}

.yt-icon {
  width: 0.96rem;
  height: 0.96rem;
  color: #ef4444;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .table-wrap {
    overflow-x: auto;
  }

  table {
    min-width: 840px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 0.9rem;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }

  .top-nav {
    flex-wrap: wrap;
    padding-top: 0.5rem;
    padding-bottom: 0.55rem;
    gap: 0.55rem;
  }

  .brand {
    font-size: 0.96rem;
  }

  .brand img {
    width: 56px;
    height: 56px;
  }

  .menu {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 0.35rem;
    column-gap: 0.25rem;
  }

  .menu a {
    padding: 0.34rem 0.62rem;
    font-size: 0.84rem;
  }

  .controls {
    grid-template-columns: 1fr;
  }

  .tab-filters {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .map-wrap iframe {
    height: 260px;
  }

  .photo-grid {
    display: none;
  }

  .media-card img {
    height: 220px;
  }

  .video-card iframe {
    height: 250px;
  }

  .news-thumb {
    height: 180px;
  }

  .news-grid {
    display: none;
  }

  .media-slider-btn {
    height: 36px;
    width: 36px;
    font-size: 1.05rem;
  }

  .media-slider {
    width: 100%;
    margin-left: 0;
    padding: 0 2.2rem;
  }

  .media-viewport {
    width: 100%;
  }

  .media-slide {
    flex: 0 0 100%;
    min-width: 100%;
    padding: 0;
  }

  .media-slider-btn[data-dir="-1"] {
    left: 0;
  }

  .media-slider-btn[data-dir="1"] {
    right: 0;
  }

  .carousel-stage {
    min-height: 390px;
  }

  .slide {
    width: min(88vw, 320px);
    min-height: 360px;
    gap: 0.5rem;
    text-align: center;
    padding: 0.75rem;
  }

  .slide img {
    height: 250px;
  }

  .slide.is-prev-1 {
    transform: translate(calc(-50% - 68px), -50%) scale(0.9) rotateY(14deg);
  }

  .slide.is-next-1 {
    transform: translate(calc(-50% + 68px), -50%) scale(0.9) rotateY(-14deg);
  }

  .slide.is-prev-2 {
    transform: translate(calc(-50% - 126px), -50%) scale(0.78) rotateY(20deg);
  }

  .slide.is-next-2 {
    transform: translate(calc(-50% + 126px), -50%) scale(0.78) rotateY(-20deg);
  }

  .slide.is-prev-3 {
    transform: translate(calc(-50% - 178px), -50%) scale(0.66) rotateY(24deg);
  }

  .slide.is-next-3 {
    transform: translate(calc(-50% + 178px), -50%) scale(0.66) rotateY(-24deg);
  }

  .home-grid {
    grid-template-columns: 1fr;
  }

  .board-grid {
    grid-template-columns: 1fr;
  }

  .board-members {
    grid-template-columns: 1fr;
  }

  .board-photo-wrap {
    min-height: 245px;
  }

  .board-member img {
    height: 230px;
  }

  .partner-logo {
    height: 64px;
  }

  .site-footer {
    box-sizing: border-box;
    grid-template-columns: 1fr;
    gap: 0.65rem;
    padding-top: 0.85rem;
    padding-bottom: 0.9rem;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-brand img {
    width: 58px;
    height: 58px;
  }

  .site-footer h3 {
    font-size: 0.88rem;
  }

  .site-footer p {
    font-size: 0.8rem;
  }

  .pager {
    justify-content: center;
    flex-wrap: wrap;
  }

  .home-hero {
    padding-right: 1.2rem;
    min-height: 0;
    overflow: visible;
  }

  .home-title-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: flex-start;
    gap: 0.7rem;
  }

  .home-hero-logo {
    position: static;
    transform: none;
    width: 92px;
  }

  .event-thumb {
    height: 150px;
  }

  .event-detail-image {
    height: 240px;
  }

  .event-detail-title {
    font-size: 1.2rem;
  }

  .shop-thumb {
    height: 240px;
  }

}
