:root {
  color-scheme: light;
  --header: #141618;
  --black: #13283B;
  --white: #13283B;
  --text: #151816;
  --muted: #c7cbc7;
  --green: #357038;
}

* {
  box-sizing: border-box;
  user-select: none;
  -webkit-user-select: none;
}

html,
body {
  min-height: 100%;
  scrollbar-width: none;
}

body::-webkit-scrollbar {
  display: none;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  cursor: none;
  overflow-x: hidden;
}

button {
  font: inherit;
  cursor: none;
}

.site-header {
  position: relative;
  height: 190px;
  width: 100%;
  display: grid;
  place-items: center;
  background: var(--header);
  overflow: hidden;
}

.active-date {
  position: absolute;
  left: clamp(16px, 2.5vw, 34px);
  top: clamp(14px, 2vw, 24px);
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 800;
  letter-spacing: 0;
}

.logo-stack {
  display: grid;
  justify-items: center;
  gap: 5px;
  padding-top: 4px;
}

.big-logo {
  display: block;
  width: min(520px, 66vw);
  max-height: 98px;
  object-fit: contain;
}

.mini-logo {
  display: block;
  width: min(300px, 42vw);
  max-height: 48px;
  object-fit: contain;
  animation: soft-pulse 2.2s ease-in-out infinite;
  transform-origin: center;
}

@keyframes soft-pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.045);
  }
}

.main-nav {
  width: 100%;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.7vw, 44px);
  background: var(--black);
}

.nav-item {
  min-width: clamp(86px, 10vw, 132px);
  height: 42px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.64);
  font-size: clamp(14px, 1.65vw, 19px);
  font-weight: 800;
  letter-spacing: 0;
  transition:
    color 220ms ease,
    transform 220ms ease,
    font-size 220ms ease;
}

.nav-item:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.nav-item.is-active {
  color: #ffffff;
  font-size: clamp(20px, 2.45vw, 28px);
  font-weight: 950;
}

.main-screen {
  min-height: calc(100vh - 255px);
  width: 100%;
  background: #dff3ff;
  position: relative;
  padding: clamp(34px, 5vw, 72px) clamp(22px, 6vw, 96px);
}

.why-panel {
  width: min(650px, 100%);
  transition:
    opacity 170ms ease,
    transform 170ms ease;
}

.why-panel.is-switching {
  opacity: 0;
  transform: translateY(6px);
}

.why-panel h1 {
  margin: 0 0 clamp(24px, 3vw, 38px);
  color: var(--text);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
}

.reason-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: clamp(14px, 2vw, 22px);
}

.reason-list li {
  position: relative;
  min-height: 34px;
  padding-left: clamp(34px, 4vw, 54px);
  color: #252a25;
  font-size: clamp(17px, 1.9vw, 25px);
  line-height: 1.2;
  font-weight: 850;
  display: flex;
  align-items: center;
  gap: 12px;
}

.reason-list li::before {
  content: "\2014";
  position: absolute;
  left: 0;
  top: 50%;
  color: var(--green);
  font-weight: 950;
  transform: translateY(-52%);
}


.server-ip-card {
  width: fit-content;
  max-width: 100%;
  margin-top: clamp(26px, 3.5vw, 42px);
  margin-left: -14px;
  padding: 12px 14px 10px 16px;
  border-radius: 14px;
  background: #102f66;
  box-shadow: 0 14px 30px rgba(16, 47, 102, 0.24);
  position: relative;
  display: block;
}

.server-ip-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.server-ip {
  min-height: 36px;
  color: #ffffff;
  font-size: clamp(17px, 1.8vw, 23px);
  line-height: 1;
  font-weight: 950;
  display: inline-flex;
  align-items: center;
}

.copy-ip-button {
  min-height: 34px;
  padding: 7px 16px;
  border: 0;
  border-radius: 9px;
  background: #42d66b;
  color: #0d3f1e;
  font-size: 15px;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(66, 214, 107, 0.24);
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.copy-ip-button:hover {
  background: #55e37c;
  transform: translateY(-1px);
}

.social-square {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: inline-grid;
  place-items: center;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
  transition:
    transform 180ms ease,
    filter 180ms ease;
}

.social-square:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.social-square svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.discord-square {
  background: #5865f2;
}

.discord-square svg {
  transform: translate(1.5px, 1px) scale(1.05);
}

.telegram-square {
  background: #229ed9;
}

.copy-success {
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  width: max-content;
  color: #12642b;
  font-size: 15px;
  font-weight: 950;
  opacity: 0;
  pointer-events: none;
  transform: translate(-6px, -50%);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.copy-success.is-visible {
  opacity: 1;
  transform: translate(0, -50%);
}
.online-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #42d66b;
  box-shadow: 0 0 0 4px rgba(66, 214, 107, 0.16), 0 0 18px rgba(66, 214, 107, 0.52);
  flex: 0 0 auto;
}


.pick-art {
  position: absolute;
  right: calc(clamp(34px, 8vw, 128px) + 240px);
  bottom: calc(clamp(28px, 5vw, 72px) + 120px);
  width: min(39vw, 460px);
  max-height: calc(100% - 42px);
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 18px 28px rgba(16, 47, 102, 0.18));
  pointer-events: none;
}
.pick-art.is-switching {
  opacity: 0;
  transform: translateY(8px) scale(0.985);
}



.main-screen.is-social .why-panel,
.main-screen.is-social .pick-art {
  display: none;
}

.social-panel {
  display: none;
  width: min(900px, 100%);
  margin: 0 auto;
  text-align: center;
}

.main-screen.is-social .social-panel {
  display: block;
}

.social-panel h1 {
  margin: 0 0 clamp(24px, 4vw, 42px);
  color: #102f66;
  font-size: clamp(38px, 4.5vw, 64px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
}

.social-cards {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  flex-wrap: wrap;
}

.social-card {
  width: min(280px, 30vw);
  min-width: 220px;
  height: 108px;
  border-radius: 14px;
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 950;
  box-shadow: 0 18px 34px rgba(16, 47, 102, 0.22);
  transition:
    transform 180ms ease,
    filter 180ms ease;
}

.social-card:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
}

.social-card svg {
  width: 46px;
  height: 46px;
  fill: currentColor;
  flex: 0 0 auto;
}

.social-card-discord {
  background: #5865f2;
}

.social-card-discord svg {
  transform: translate(2px, 2px) scale(1.04);
}

.social-card-telegram {
  background: #229ed9;
}
.main-screen.is-mods .why-panel,
.main-screen.is-mods .pick-art {
  display: none;
}

.mods-panel {
  display: none;
  width: min(1060px, 100%);
  margin: 0 auto;
  text-align: center;
}

.main-screen.is-mods .mods-panel {
  display: block;
}

.mods-panel h1 {
  margin: 0 0 14px;
  color: #d71920;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
}

.mods-subtitle {
  margin: 0 0 18px;
  color: #8b1116;
  font-size: clamp(17px, 1.8vw, 23px);
  font-weight: 900;
}

.mods-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(210px, 1fr));
  justify-content: center;
  gap: 10px;
  counter-reset: banned-mods;
}

.mods-list li {
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #1565d8;
  color: #ffffff;
  font-size: clamp(14px, 1.35vw, 18px);
  line-height: 1.2;
  font-weight: 850;
  box-shadow: 0 10px 20px rgba(21, 101, 216, 0.2);
  counter-increment: banned-mods;
  display: flex;
  align-items: center;
  gap: 8px;
}


.mods-warning {
  width: min(900px, 100%);
  margin: 18px auto 0;
  color: #d71920;
  font-size: clamp(16px, 1.75vw, 22px);
  line-height: 1.25;
  font-weight: 950;
}
.mods-list li::before {
  content: counter(banned-mods) ".";
  min-width: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 950;
}

.main-screen.is-donate .why-panel,
.main-screen.is-donate .pick-art,
.main-screen.is-rules .why-panel,
.main-screen.is-rules .pick-art {
  display: none;
}

.donate-panel,
.rules-panel {
  display: none;
  width: min(1060px, 100%);
  margin: 0 auto;
}

.main-screen.is-donate .donate-panel,
.main-screen.is-rules .rules-panel {
  display: block;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.donate-cards {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: clamp(18px, 4vw, 44px);
  flex-wrap: wrap;
}

.donate-card {
  width: min(330px, 42vw);
  min-width: 250px;
  min-height: 400px;
  padding: 24px 22px 18px;
  border: 3px solid #050505;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.donate-card-title {
  margin-top: 34px;
  color: #050505;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1;
  font-weight: 950;
  text-align: center;
}

.donate-price {
  width: min(190px, 100%);
  height: 46px;
  border: 0;
  border-radius: 10px;
  background: #42d66b;
  color: #0d3f1e;
  font-size: 20px;
  font-weight: 950;
  box-shadow: 0 10px 22px rgba(66, 214, 107, 0.24);
}

.donate-price:hover {
  background: #55e37c;
}
.rules-panel h1 {
  margin: 0 0 20px;
  color: #050505;
  text-align: center;
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1;
  font-weight: 950;
}

.rules-list {
  width: min(940px, 100%);
  margin: 0 auto;
  color: #050505;
  font-size: clamp(15px, 1.45vw, 19px);
  line-height: 1.35;
  font-weight: 760;
}

.rules-list p {
  margin: 0 0 12px;
}
.sword-cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1000;
  width: 34px;
  height: 34px;
  background: url("MinecatAssets/diamond_sword.png") center / contain no-repeat;
  image-rendering: pixelated;
  pointer-events: none;
  transform: translate(-5px, -5px);
  will-change: left, top;
}

@media (max-width: 760px) {
  .pick-art {
    display: none;
  }

  .donate-card {
    width: min(330px, 100%);
  }

  .site-header {
    height: 190px;
  }

  .active-date {
    left: 14px;
    right: 14px;
    text-align: center;
  }

  .logo-stack {
    padding-top: 18px;
  }

  .main-nav {
    height: auto;
    min-height: 65px;
    padding: 8px 10px;
    gap: 5px;
    flex-wrap: wrap;
  }

  .nav-item {
    min-width: 88px;
    font-size: 15px;
  }

  .nav-item.is-active {
    font-size: 22px;
  }

  .main-screen {
    min-height: calc(100vh - 255px);
    padding: 32px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
}
.site-footer {
  width: 100%;
  padding: clamp(34px, 5vw, 58px) clamp(22px, 7vw, 92px);
  background: #141414;
  color: rgba(255, 255, 255, 0.66);
}

.footer-inner {
  width: min(1080px, 100%);
  margin: 0 auto;
}

.footer-inner h2 {
  margin: 0 0 clamp(26px, 4vw, 42px);
  color: #ffffff;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: clamp(24px, 7vw, 110px);
}

.footer-column {
  display: grid;
  gap: 18px;
  align-content: start;
}

.footer-link {
  min-height: 30px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.25;
  font-weight: 760;
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-link:hover {
  color: rgba(255, 255, 255, 0.92);
}

.footer-icon {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.76);
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
}

.footer-icon svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.footer-note {
  max-width: 520px;
}
.social-card-youtube {
  background: #ff0000;
}
