@import url('https://cdn.jsdelivr.net/npm/typeface-minecraft@1.0.0/index.min.css');

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #000;
  font-family: "Rubik", sans-serif;
  text-rendering: optimizeLegibility;
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
  padding: 0;
  margin: 0;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* ─────────────────────────── HERO ─────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background-image: url("img/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(0,0,0,.24), transparent 45%), linear-gradient(to bottom, rgba(0,0,0,.60), #000000a5);
  z-index: 0;
}
.hero-video-card {
  position: absolute;
  z-index: 1;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -30%);
  width: min(100vw, 1350px);
  height: min(75vh, 690px);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(6,8,12,.25);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 32px 110px rgba(0,0,0,.45);
  backdrop-filter: blur(18px);
}
.hero-video-card-inner {
  position: relative;
  overflow: hidden;
  height: 100%;
  display: grid;
  align-items: stretch;
  justify-items: stretch;
}
.hero-video-card-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) brightness(0.82);
  will-change: transform;
}
.hero-video-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3,4,7,.2) 0%, rgba(2,3,5,.6) 48%, rgba(1,2,4,.86) 100%);
  z-index: 1;
}
.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 0;
  overflow: hidden;
  line-height: 0;
  transform: translateY(1px);
}
.hero-wave svg {
  display: block;
  width: 100%;
  height: 92px;
}

/* ─────────────────────────── NAVBAR ─────────────────────────── */
.navbar-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 24px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  pointer-events: none;
}
.navbar {
  background: #15181d8f;
  border-bottom: 2px solid rgb(255, 157, 0);
  backdrop-filter: blur(16px);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  padding: 14px 36px;
  display: flex;
  align-items: center;
  gap: 36px;
  box-shadow: 0 18px 40px rgba(0,0,0,.8);
  width: 100%;
  justify-content: space-between;
  pointer-events: auto;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
}
.nav-active {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  font-weight: 700;
  color: #ffc727;
  letter-spacing: .12em;
  text-transform: uppercase;
  pointer-events: none;
}
.logo {
  font-weight: 900;
  font-size: 22px;
  color: #ffc727;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.logo span {
  display: block;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: .25em;
  color: #fff;
  margin-top: -3px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 10;
}
.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.nav-btn:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.2);
}
.nav-select { position: relative; }
.nav-lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 170px;
  background: rgba(21,24,29,0.98);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 8px 0;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  backdrop-filter: blur(16px);
}
.nav-lang-menu.open { display: block; }
.nav-lang-item {
  width: 100%;
  border: none;
  background: transparent;
  color: #e0e0e0;
  text-align: left;
  padding: 10px 16px;
  font-size: 13px;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.nav-lang-item:hover,
.nav-lang-item.active {
  background: rgba(255,255,255,0.08);
  color: #ffbb00;
}
.nav-theme-toggle { min-width: 104px; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 400;
  color: #e0e0e0;
  transition: color .2s ease;
  white-space: nowrap;
  position: relative;
}
.nav-link:hover,
.nav-link.active { color: #ffbb00; }
.nav-link::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: bottom left;
  transition: transform 0.3s ease-out;
}
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link-icon {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: #ffc727;
  display: inline-block;
  position: relative;
}
.nav-link-icon.home::before,
.nav-link-icon.mission::before,
.nav-link-icon.vote::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 2px;
  background: #1a1d23;
}
.store-customclass {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 400;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
  background-color: #ffbb00;
  border-radius: 3px;
  border-bottom: 5px solid #9d7a19;
  margin-left: 12px;
  margin-right: 2px;
  padding: 6px 14px;
  color: #101216;
  will-change: transform, box-shadow;
}
.store-customclass:hover {
  color: #101216;
  background-color: #ffbf00;
  border-bottom: 5px solid #7a5f15;
  box-shadow: 0 8px 20px rgba(25,22,12,0.762);
}
.store-btn {
  background: radial-gradient(circle at center, #ffc400, #916b00);
  border-radius: 10px;
  padding: 10px 26px;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #14171c;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: 0 10px 25px rgba(0,0,0,.8);
  transition: all 0.3s ease;
  will-change: transform, box-shadow, background;
  border-bottom: 4px solid #714b00;
}
.store-btn-icon {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: #14171c;
  position: relative;
}
.store-btn-icon::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 2px;
  border: 2px solid #ffc727;
}
.store-btn:hover {
  box-shadow: 0 14px 30px rgba(0,0,0,.9);
  text-shadow: 10px 10px 10px #ffc527;
}

/* ─────────────────────────── HERO CONTENT ─────────────────────────── */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 960px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px 32px;
  row-gap: 10px;
}
.hero-logo {
  width: 300px;
  max-width: 55vw;
  max-height: 45vh;
  object-fit: contain;
  filter: drop-shadow(0 18px 50px rgba(0,0,0,.95));
}
.hero-title {
  font-size: 20px;
  max-width: 760px;
  font-weight: 800;
  letter-spacing: .03em;
  line-height: 1.35;
  text-shadow: 0 8px 32px rgba(0,0,0,1);
  margin-top: 10px;
}
.hero-title span { color: #ffc727; font-weight: 900; }
.hero-subtitle {
  font-size: 15px;
  color: #e6e6e6;
  text-shadow: 0 6px 24px rgba(0,0,0,1);
  margin-top: 4px;
}
.hero-players { font-weight: 800; color: #ffc727; }
.hero-btn {
  margin-top: 14px;
  padding: 13px 46px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #1a1300;
  background: linear-gradient(180deg, #ffd95a 0%, #ffc727 40%, #e29c00 100%);
  box-shadow: 0 8px 0 #b67800;
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
  border: 4px solid #b67800;
  position: relative;
  overflow: hidden;
}
.hero-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,.7), rgba(255,255,255,0) 40%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.hero-btn:hover {
  transform: translateY(2px);
  box-shadow: 0 4px 0 #a86d00;
}

/* ─────────────────────────── SECTION JOIN ─────────────────────────── */
.section-join {
  background: linear-gradient(180deg, #040507 10%, #070604 90%);
  padding: 104px 24px 110px;
  display: flex;
  justify-content: center;
}
.section-join-wrap {
  width: 100%;
  max-width: 1160px;
}
.section-join-heading { text-align: center; }
.join-label {
  font-size: 50px;
  font-family: "Satisfy", cursive;
  font-weight: 800;
  letter-spacing: .22em;
  font-style: normal;
  text-transform: uppercase;
  color: #ffc727;
  margin-bottom: 14px;
}
.join-main-title {
  font-size: clamp(34px, 4.8vw, 58px);
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
  line-height: 1.02;
  color: #ffffff;
  margin-bottom: 30px;
}
.join-main-title span { color: #ffc727; }
.join-panel {
  width: 100%;
  min-height: 356px;
  border-radius: 26px;
  background: radial-gradient(circle at left, #82640023, #080a10f5 56%, #090a0e 100%);
  border: 1px solid rgba(255,255,255,.05);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03), 0 26px 60px rgba(0,0,0,.72);
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  gap: 30px;
  padding: 30px;
}
.join-panel-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 18px;
}
.join-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.join-switch-btn {
  border: none;
  border-radius: 10px;
  padding: 11px 20px;
  background: rgba(255,255,255,.08);
  color: #d9d9d9;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}
.join-switch-btn.active {
  background: #ffc727;
  color: #171717;
  box-shadow: 0 10px 22px rgba(255,199,39,.22);
}
.join-text {
  font-size: 17px;
  color: #f0f0f0;
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 24px;
  font-weight: 500;
}
.join-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 15px;
  color: #f2f2f2;
  margin-bottom: 30px;
}
.join-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.55;
}
.join-step strong { font-weight: 800; }
.join-step-bullet {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 999px;
  background: #ffc727;
  position: relative;
  margin-top: 1px;
  box-shadow: 0 4px 10px rgba(255,199,39,.22);
}
.join-step-bullet::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  width: 5px;
  height: 8px;
  border-right: 2px solid #131313;
  border-bottom: 2px solid #131313;
  transform: rotate(45deg);
}
.join-ip-box {
  width: 100%;
  max-width: 548px;
  min-height: 88px;
  background: rgba(0,0,0,.58);
  border: 1px solid rgba(255,255,255,.04);
  border-radius: 18px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02);
}
.join-ip-left strong {
  font-size: clamp(25px, 3vw, 30px);
  line-height: 1;
  color: #ffffff;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .01em;
}
.join-ip-copy {
  border: none;
  background: transparent;
  color: #ffc727;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .2s ease, color .2s ease, text-shadow .2s ease;
  position: relative;
}
.join-ip-copy.copied {
  transform: scale(1.05);
  text-shadow: 0 0 12px rgba(255,255,255,.35);
  animation: copyPop 0.28s ease;
}
.join-panel-right {
  display: flex;
  align-items: center;
  justify-content: center;
}
.join-minecraft-window {
  width: 100%;
  max-width: 420px;
  min-height: 236px;
  position: relative;
  border-radius: 12px;
  background: radial-gradient(circle at left, #00148223, #080a10f5 56%, #090a0e 100%);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 22px 50px rgba(0,0,0,.72), inset 0 1px 0 rgba(255,255,255,.03);
  padding: 22px 20px 20px;
}
.join-window-tag {
  position: absolute;
  top: 16px;
  left: 18px;
  padding: 8px 18px;
  border-radius: 12px;
  background: #ffc727;
  color: #0f1116;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  box-shadow: 0 10px 18px rgba(0,0,0,.45);
  transform: rotate(-4deg);
  z-index: 3;
  user-select: none;
}
.join-window-title {
  text-align: left;
  color: #ffffff;
  font-weight: 900;
  font-size: 22px;
  margin-bottom: 18px;
  margin-top: 44px;
}
.join-card-body {
  position: relative;
  z-index: 2;
  margin-top: 2px;
  min-height: 208px;
  width: 100%;
}
.join-card-fields {
  width: calc(100% - 138px);
  min-width: 0;
  position: relative;
  z-index: 3;
}
.join-field {
  margin-bottom: 14px;
  max-width: 100%;
  position: relative;
  z-index: 2;
}
.join-field label {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 7px;
  font-weight: 700;
}
.join-field-box {
  width: 100%;
  min-height: 42px;
  background: rgba(0,0,0,.72);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12);
  font-family: 'Minecraft', 'MinecraftIA', sans-serif;
  font-smooth: never;
  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-size: 15px;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02);
}
.join-field-box.ip {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-right: 8px;
}
.join-field-box-ip-text {
  font-family: 'Minecraft', 'MinecraftIA', sans-serif;
  font-size: 13px;
  font-smooth: never;
  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.join-field-copy-btn {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #ffc727;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  flex: 0 0 34px;
  transition: all .2s ease;
  position: relative;
  overflow: hidden;
  user-select: none;
}
.join-field-copy-btn:hover {
  background: #ffe066;
  transform: translateY(-1px);
}
.join-field-copy-btn span {
  width: 13px;
  height: 13px;
  border-radius: 3px;
  border: 2px solid #07131f;
  box-shadow: 2px 2px 0 #07131f;
  transition: all .15s ease;
  position: relative;
  z-index: 1;
}
.join-field-copy-btn.copied {
  background: #27ff7c;
  animation: copyPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.join-field-copy-btn.copied span {
  border-color: #07131f;
  box-shadow: none;
  transform: rotate(45deg);
}
@keyframes copyPop {
  0% { transform: scale(0.9); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
.copy-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 18px);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: min(92vw, 360px);
  width: 100%;
  background: rgba(11,14,23,0.98);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 14px 16px;
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
  opacity: 0;
  pointer-events: none;
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 99999;
}
.copy-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.copy-toast-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffc727;
  color: #101216;
  font-weight: 900;
  flex-shrink: 0;
}
.copy-toast-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  line-height: 1.35;
  color: rgba(255,255,255,0.7);
}
.copy-toast-content strong {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
}
.join-skin {
  position: absolute;
  right: -20px;
  bottom: -12px;
  width: 160px;
  height: auto;
  object-fit: contain;
  image-rendering: pixelated;
  display: block;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.6));
  pointer-events: none;
  z-index: 1;
  transition: transform 0.3s ease;
}
.join-minecraft-window:hover .join-skin {
  transform: translateY(-4px) scale(1.02);
}

/* ─────────────────────────── GAMEMODES ─────────────────────────── */
.section-gamemodes {
  background: #070604;
  padding: 0 24px 110px;
  display: flex;
  justify-content: center;
}
.section-gamemodes-wrap {
  width: 100%;
  max-width: 1160px;
}
.section-gamemodes-heading {
  text-align: center;
  margin-bottom: 26px;
}
.gamemodes-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #ffc727;
  margin-bottom: 14px;
}
.gamemodes-main-title {
  font-size: clamp(34px, 4.8vw, 58px);
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
  line-height: 1.02;
  color: #ffffff;
}
.gamemodes-main-title span { color: #ffc727; }
.gamemodes-showcase {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  perspective: 1800px;
}
.gamemodes-track {
  display: flex;
  gap: 18px;
  align-items: stretch;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
  scrollbar-width: none;
}
.gamemodes-track::-webkit-scrollbar { display: none; }
.gamemode-panel {
  position: relative;
  width: 100%;
  min-height: 380px;
  flex: 0 0 calc(50% - 9px);
  scroll-snap-align: center;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform-style: preserve-3d;
  transform: rotateX(7deg) rotateY(0deg);
  transition: transform .5s cubic-bezier(.22,1,.36,1), box-shadow .35s ease, background-image .35s ease, opacity .18s ease;
}
.gamemode-panel:hover { border: 1px solid #ffc52757; }
.gamemode-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.38) 38%, rgba(0,0,0,.82) 100%);
  z-index: 1;
}
.gamemode-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,0) 18%, rgba(255,255,255,0) 82%, rgba(255,255,255,.06) 100%);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 2;
}
.gamemode-panel-inner {
  position: relative;
  z-index: 3;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 42px;
}
.gamemode-panel--image-only {
  background-size: cover;
  background-position: center center;
  min-height: 300px;
  display: block;
}
.gamemode-panel--image-only .gamemode-panel-inner {
  padding: 0;
  min-height: 300px;
}
.gamemode-panel--image-only .gamemode-panel-content { display: none !important; }
.gamemode-panel--image-only::before {
  background: linear-gradient(180deg, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0.36) 40%, rgba(0,0,0,0.6) 100%);
}
.gamemode-panel-content {
  width: 100%;
  max-width: 760px;
  padding: 26px 28px;
  border-radius: 24px;
  background: rgba(4,6,10,.48);
  border: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
}
.gamemode-panel-kicker {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: #ffc727;
  margin-bottom: 14px;
}
.gamemode-panel-title {
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 16px;
  text-shadow: 0 10px 28px rgba(0,0,0,.7);
}
.gamemode-panel-text {
  font-size: 17px;
  line-height: 1.75;
  color: #f0f0f0;
  max-width: 680px;
  margin: 0 auto;
}
.gamemodes-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
  user-select: none;
}
.gamemodes-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: rgba(255,199,39,.4);
  cursor: pointer;
  transition: width .22s ease, transform .22s ease, background .22s ease, opacity .22s ease;
  outline: none;
}
.gamemodes-dot:hover { background: rgba(255,199,39,.72); }
.gamemodes-dot.is-active { width: 34px; background: #ffc727; transform: translateY(-1px); }

/* ─────────────────────────── DISCORD ─────────────────────────── */
.section-discord {
  background-color: transparent;
  border-top: 20px solid #004386;
  border-bottom: 20px solid #004386;
  background-image: radial-gradient(#00a6ff 1px, #006eff 1px);
  background-size: 30px 30px;
  width: 100%;
  height: 100%;
  padding: 24px 110px;
  display: flex;
  justify-content: center;
}
.section-discord-wrap {
  width: 100%;
  max-width: 1160px;
}
.discord-panel {
  position: relative;
  width: 100%;
  min-height: 430px;
  border-radius: 28px;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  border: none;
  isolation: isolate;
}
.discord-wave-top,
.discord-wave-bottom { display: none; }
.discord-inner {
  position: relative;
  z-index: 2;
  min-height: 430px;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 24px;
  align-items: center;
  padding: 0;
}
.discord-content {
  max-width: 560px;
  order: 1;
}
.discord-heading-row {
  display: block;
  margin-bottom: 18px;
}
.discord-title {
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 900;
  line-height: 1.02;
  color: #ffffff;
}
.discord-text {
  font-size: 17px;
  line-height: 1.85;
  color: rgba(255,255,255,.92);
  max-width: 560px;
  margin-bottom: 34px;
}
.discord-cta {
  width: 100%;
  max-width: 590px;
  min-height: 92px;
  border-radius: 14px;
  border: 6px solid #b67800;
  border-bottom: 15px solid #b67800;
  background: linear-gradient(180deg, #ffd94f 0%, #ffc727 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #14171c;
  font-size: clamp(24px, 2vw, 34px);
  font-weight: 900;
  padding: 18px 24px;
  transition: transform .14s ease, box-shadow .14s ease, filter .14s ease;
}
.discord-cta:hover {
  transform: translateY(2px);
  filter: brightness(1.03);
}
.discord-cta svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
  flex: 0 0 34px;
}
.discord-figure {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  order: 2;
}
.discord-character {
  width: min(100%, 390px);
  height: auto;
  object-fit: contain;
  image-rendering: auto;
  transform: rotate(-8deg);
}

/* ─────────────────────────── FOOTER ─────────────────────────── */
.site-footer {
  background: #000000;
  border-top: 1px solid rgba(255,255,255,.04);
  padding: 38px 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer-wrap {
  width: 100%;
  max-width: 1240px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(180px, .55fr) minmax(180px, .55fr);
  gap: 56px;
  align-items: start;
}
.footer-brand-block {
  display: flex;
  align-items: flex-start;
  gap: 26px;
}
.footer-brand { flex: 0 0 auto; display: flex; align-items: flex-start; }
.footer-brand-logo {
  width: 118px;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.5));
}
.footer-brand-copy { max-width: 560px; padding-top: 4px; }
.footer-brand-text { color: #d1d1d1; font-size: 15px; line-height: 1.55; font-weight: 700; }
.footer-socials { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.footer-social {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #f3f3f3;
  opacity: .92;
  transition: transform .16s ease, opacity .16s ease, color .16s ease;
}
.footer-social:hover { transform: translateY(-2px); color: #ffc727; opacity: 1; }
.footer-social svg { width: 100%; height: 100%; display: block; fill: currentColor; }
.footer-col-title { font-size: 18px; font-weight: 900; color: #ffc727; margin-bottom: 16px; line-height: 1.1; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a,
.footer-links span { color: #e3e3e3; font-size: 15px; font-weight: 700; line-height: 1.3; }
.footer-links a:hover { color: #ffc727; }
.footer-divider {
  width: 100%;
  max-width: 1240px;
  height: 1px;
  background: rgba(255,255,255,.08);
  margin-top: 30px;
}
.footer-bottom {
  width: 100%;
  max-width: 1240px;
  padding-top: 20px;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  gap: 12px !important;
}
.footer-bottom-left {
  text-align: center !important;
  color: #d7d7d7;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 700;
  max-width: 100% !important;
}
.footer-signature { font-size: 14px; letter-spacing: 0.05em; text-transform: uppercase; }
.footer-signature .madeby { color: #888888 !important; font-weight: 600 !important; }
.footer-signature .madebylink {
  color: #ffbb00 !important;
  font-weight: 800 !important;
  margin-left: 4px !important;
  text-decoration: none !important;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}
.footer-signature .madebylink:hover { color: #ffd700 !important; }
.footer-note,
.footer-contact-row,
.footer-contact,
.footer-store-btn,
.footer-social-dot { display: none !important; }


/* ═══════════════════════════════════════════════════════════════
   TABLET  ≤ 980px
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 980px) {

  /* Navbar */
  .navbar { padding: 12px 20px; gap: 0; }
  .nav-links { display: none; }
  .nav-btn-label { display: none; }
  .store-customclass { display: none; }
  .store-btn { padding: 10px 14px; }
  .store-btn span { display: none; }

  /* Hero video card */
  .hero-video-card {
    top: 46%;
    height: min(60vh, 560px);
  }
  .hero-wave svg { height: 72px; }

  /* Section Join */
  .section-join { padding: 70px 20px 80px; }
  .join-label { font-size: 34px; letter-spacing: .14em; }
  .join-main-title { font-size: 34px; }
  .join-panel {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: auto;
    padding: 24px 20px;
    border-radius: 20px;
  }
  .join-panel-left { padding-right: 0; }
  .join-panel-right { order: -1; }
  .join-text, .join-ip-box { max-width: 100%; }
  .join-minecraft-window { max-width: 100%; }
  .join-skin { width: 130px; right: -10px; }

  /* Gamemodes */
  .section-gamemodes { padding: 0 20px 80px; }
  .gamemodes-main-title { font-size: 34px; }
  .gamemode-panel { flex: 0 0 calc(50% - 9px); min-height: 340px; }
  .gamemode-panel-inner { min-height: 340px; padding: 28px; }

  /* Discord */
  .section-discord { padding: 24px 20px; }
  .discord-inner {
    grid-template-columns: 1fr;
    gap: 10px;
    min-height: auto;
    padding: 24px 0;
  }
  .discord-content { order: 2; max-width: 100%; }
  .discord-figure { min-height: 200px; order: 1; }
  .discord-character { width: 240px; }
  .discord-cta { font-size: 22px; min-height: 78px; }

  /* Footer */
  .footer-wrap { grid-template-columns: 1fr; gap: 30px; }
  .footer-brand-block { flex-direction: column; gap: 18px; }
  .footer-brand-logo { width: 100px; }
  .footer-brand-copy { max-width: 100%; padding-top: 0; }
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE  ≤ 720px
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 720px) {

  /* Navbar */
  .navbar { padding: 10px 16px; }
  .logo { font-size: 18px; }
  .store-btn { padding: 8px 12px; }

  /* Hero */
  .hero-content { padding: 80px 16px 28px; }
  .hero-logo { width: 220px; max-width: 65vw; max-height: 36vh; }
  .hero-title { font-size: 16px; }
  .hero-subtitle { font-size: 13px; }
  .hero-btn { padding: 11px 32px; font-size: 13px; }
  .hero-video-card {
    top: 48%;
    height: min(55vh, 460px);
    border-radius: 8px;
  }
  .hero-wave svg { height: 56px; }

  /* Join */
  .section-join { padding: 56px 16px 64px; }
  .join-label { font-size: 26px; }
  .join-main-title { font-size: 28px; margin-bottom: 20px; }
  .join-panel { padding: 18px 16px; gap: 20px; border-radius: 16px; }
  .join-switch-btn { padding: 9px 14px; font-size: 11px; }
  .join-text { font-size: 15px; margin-bottom: 18px; }
  .join-steps { font-size: 14px; gap: 12px; }
  .join-ip-box { padding: 14px 16px; min-height: 72px; border-radius: 14px; }
  .join-ip-left strong { font-size: 18px; }
  .join-window-title { font-size: 18px; }
  .join-skin { width: 110px; right: -8px; bottom: -8px; }
  .join-card-fields { width: calc(100% - 118px); }

  /* Gamemodes */
  .section-gamemodes { padding: 0 16px 64px; }
  .gamemodes-main-title { font-size: 28px; }
  .gamemodes-track { gap: 12px; padding: 0 2px 10px; }
  .gamemode-panel {
    flex: 0 0 88%;
    min-height: 300px;
    border-radius: 22px;
    transform: none;
  }
  .gamemode-panel-inner { min-height: 300px; padding: 20px; }
  .gamemode-panel--image-only { min-height: 230px; }
  .gamemode-panel--image-only .gamemode-panel-inner { min-height: 230px; }
  .gamemode-panel-content { padding: 18px 16px; border-radius: 16px; }
  .gamemode-panel-title { font-size: 28px; margin-bottom: 10px; }
  .gamemode-panel-text { font-size: 14px; }

  /* Discord */
  .section-discord { padding: 20px 16px; border-top-width: 14px; border-bottom-width: 14px; }
  .discord-title { font-size: 26px; }
  .discord-text { font-size: 15px; margin-bottom: 22px; }
  .discord-cta { font-size: 19px; min-height: 68px; padding: 14px 18px; gap: 12px; border-width: 4px; border-bottom-width: 10px; }
  .discord-cta svg { width: 26px; height: 26px; }
  .discord-character { width: 190px; transform: rotate(-6deg); }
  .discord-figure { min-height: 160px; }

  /* Footer */
  .site-footer { padding: 30px 16px 16px; }
  .footer-wrap { gap: 24px; }
  .footer-brand-logo { width: 88px; }
  .footer-brand-text { font-size: 14px; }
  .footer-col-title { font-size: 16px; }
  .footer-links a,
  .footer-links span { font-size: 14px; }
  .footer-bottom-left { font-size: 13px; }
  .footer-socials { flex-wrap: wrap; gap: 12px; }
}

/* ═══════════════════════════════════════════════════════════════
   SMALL MOBILE  ≤ 420px
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 420px) {

  /* Navbar */
  .navbar { padding: 9px 12px; }
  .logo img { height: 36px !important; width: 36px !important; }

  /* Hero */
  .hero-content { padding: 72px 12px 24px; row-gap: 8px; }
  .hero-logo { width: 170px; }
  .hero-title { font-size: 14px; }
  .hero-btn { padding: 10px 26px; font-size: 12px; letter-spacing: .08em; }
  .hero-video-card { top: 50%; height: min(48vh, 380px); }

  /* Join */
  .section-join { padding: 44px 12px 52px; }
  .join-label { font-size: 22px; }
  .join-main-title { font-size: 24px; }
  .join-panel { padding: 16px 12px; }
  .join-ip-left strong { font-size: 15px; }
  .join-field-box { font-size: 12px; min-height: 38px; }
  .join-skin { width: 90px; }
  .join-card-fields { width: calc(100% - 98px); }

  /* Gamemodes */
  .section-gamemodes { padding: 0 12px 52px; }
  .gamemodes-main-title { font-size: 24px; }
  .gamemode-panel { flex: 0 0 94%; min-height: 270px; border-radius: 18px; }
  .gamemode-panel-inner { min-height: 270px; padding: 16px; }
  .gamemode-panel-title { font-size: 24px; }
  .gamemode-panel-text { font-size: 13px; }

  /* Discord */
  .section-discord { padding: 16px 12px; border-top-width: 10px; border-bottom-width: 10px; }
  .discord-title { font-size: 22px; }
  .discord-text { font-size: 14px; }
  .discord-cta { font-size: 16px; min-height: 60px; }
  .discord-character { width: 150px; }

  /* Footer */
  .footer-brand-logo { width: 72px; }
  .footer-col-title { font-size: 15px; }
}