* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

@font-face {
  font-family: "MinecraftTen";
  src: url("./fonts/MinecraftTen-VGORe.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

:root {
  --page-bg: #080808;
  --text-main: #ffffff;
  --text-muted: #a99a9a;

  --navbar-scrolled: rgba(8, 8, 8, 0.95);

  --about-bg-1: #160b0b;
  --about-bg-2: #120909;
  --about-bg-3: #0d0808;

  --footer-bg: #0b0b0b;
  --footer-bottom-bg: #070707;
  --footer-border: #1f1f1f;

  --card-bg: #171717;
  --card-border: #262626;

  --scroll-bg: rgba(20, 20, 20, 0.85);
}

body.light-mode {
  --page-bg: #f4f5f7;
  --text-main: #171717;
  --text-muted: #666666;

  --navbar-scrolled: rgba(255, 255, 255, 0.94);

  --about-bg-1: #ffffff;
  --about-bg-2: #fafafa;
  --about-bg-3: #f3f3f3;

  --footer-bg: #ffffff;
  --footer-bottom-bg: #f5f5f5;
  --footer-border: #e5e5e5;

  --card-bg: #ffffff;
  --card-border: #dddddd;

  --scroll-bg: rgba(255, 255, 255, 0.9);
}

body {
  background: #080808;
  color: white;
  font-family: "Noto Sans Thai", sans-serif;
}

html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-track {
  background: #1d1d1d;
}

::-webkit-scrollbar-thumb {
  background: #d11f1f;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #e52b2b;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 95px;
  padding: 0 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));

  transition:
    background 0.3s ease,
    backdrop-filter 0.3s ease,
    box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(8, 8, 8, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.navbar-logo {
  display: flex;
  align-items: center;
  width: 190px;
}

.navbar-logo img {
  width: 130px;
  height: auto;
  object-fit: contain;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-left: auto;
  margin-right: 45px;
}

.navbar-links a {
  color: #f5f5f5;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  padding: 8px 17px;
  border-radius: 15px;
  white-space: nowrap;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.navbar-links a svg {
  position: relative;
  top: 2px;
  left: 2px;
}

.navbar-links a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.navbar-links a.active {
  background: rgba(255, 255, 255, 0.12);
}

.navbar-shop {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  min-width: 138px;
  height: 45px;

  padding: 0 22px;

  border-radius: 12px;

  background: #ff9d00ee;
  border-bottom: 4px solid #b36e00ee;
  color: #ffffff;

  text-decoration: none;

  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;

  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.navbar-shop:hover {
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .navbar {
    padding: 0 4%;
  }

  .navbar-links {
    gap: 3px;
    margin-right: 20px;
  }

  .navbar-links a {
    font-size: 13px;
    padding: 11px 10px;
  }

  .navbar-logo {
    width: 150px;
  }

  .navbar-logo img {
    width: 130px;
  }
}

@media (max-width: 900px) {
  .navbar-links {
    display: none;
  }

  .navbar {
    justify-content: space-between;
  }

  .navbar-shop {
    min-width: 120px;
    height: 46px;
  }
}

.theme-toggle {
  width: 45px;
  height: 45px;

  margin-left: 10px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;

  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.5;
}

.theme-toggle:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.15);
}

body.light-mode .theme-toggle {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.1);
  color: #222222;
}

body.light-mode .theme-toggle:hover {
  background: rgba(0, 0, 0, 0.1);
}

@media (max-width: 700px) {
  .theme-toggle {
    margin-left: 8px;
    width: 46px;
    height: 46px;
  }
}

.hero {
  position: relative;
  height: 850px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  background-image: url("img-all/header-bg.webp");
  background-size: cover;
  background-position: center;

  will-change: background-position;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8, 8, 8, 0.25) 0%,
    rgba(8, 8, 8, 0.35) 45%,
    #080808 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transform: translateY(-20px);
}

.hero-logo {
  width: min(500px, 75vw);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.5));

  animation: logoPulse 3s ease-in-out infinite;
  will-change: transform;
}

@keyframes logoPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.server-status {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  height: 50px;
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  backdrop-filter: blur(2px);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.server-status-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  white-space: nowrap;
  line-height: 1;
  font-size: 15px;
}

.server-status-item i {
  font-size: 17px;
  display: flex;
  align-items: center;
}

.server-divider {
  width: 1px;
  height: 24px;
  margin: 0 20px;
  background: rgba(255, 255, 255, 0.45);
}

.server-ip {
  color: #fff;
  font-size: 15px;
  white-space: nowrap;
  line-height: 1;
  display: flex;
  align-items: center;
}

.copy-ip {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  padding: 0;
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 17px;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

.copy-ip:hover {
  transform: scale(1.15);
  color: #ffb340;
}

@media (max-width: 600px) {
  .server-status {
    height: 52px;
    padding: 0 15px;
    font-size: 13px;
  }

  .server-status-item i,
  .copy-ip {
    font-size: 15px;
  }

  .server-divider {
    margin: 0 12px;
  }

  .server-ip {
    font-size: 13px;
  }

  .copy-ip {
    margin-left: 8px;
  }
}

.about-section {
  position: relative;
  width: 100%;
  padding: 0 7% 100px;
  background: #080808;

  margin-top: 250px;
}

.about-box {
  position: relative;
  min-height: 390px;
  display: flex;
  align-items: center;
  overflow: visible;

  border-radius: 24px;

  background:
    radial-gradient(
      circle at 15% 50%,
      rgba(190, 25, 25, 0.16),
      transparent 38%
    ),
    linear-gradient(110deg, #160b0b 0%, #120909 50%, #0d0808 100%);

  border: 1px solid rgba(255, 50, 50, 0.08);

  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.about-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;

  background-image: url("img-all/about-us-bg.webp");
  background-color: #d11f1f;
  background-blend-mode: multiply;

  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;

  opacity: 0.2;

  mask-image: linear-gradient(
    to left,
    transparent 35%,
    rgba(0, 0, 0, 0.2) 55%,
    #000 100%
  );

  -webkit-mask-image: linear-gradient(
    to left,
    transparent 35%,
    rgba(0, 0, 0, 0.2) 55%,
    #000 100%
  );

  pointer-events: none;
}

.about-box::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;

  border-radius: 0 0 24px 24px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(210, 35, 35, 0.35),
    transparent
  );

  pointer-events: none;
}

.about-character {
  position: relative;
  align-self: stretch;
  width: 43%;
  min-height: 390px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
  z-index: 3;
}

.about-character::before {
  content: "";
  position: absolute;

  width: 370px;
  height: 370px;
  left: 50%;
  bottom: -130px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(190, 30, 30, 0.18), transparent 68%);

  filter: blur(25px);
}

.about-character img {
  position: absolute;
  z-index: 5;

  left: 50%;
  bottom: 0;
  transform: translateX(-50%);

  width: min(360px, 100%);
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: bottom center;

  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.55));
}

.about-content {
  position: relative;
  z-index: 4;
  width: 57%;
  padding: 55px 70px 55px 20px;
}

.about-label {
  display: inline-block;
  margin-bottom: 10px;

  color: #e52b2b;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1.5px;
}

.about-content h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1px;

  text-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.about-content p {
  max-width: 650px;
  margin-top: 22px;
  color: #a99a9a;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .about-section {
    padding: 0 4% 70px;
  }

  .about-box {
    min-height: 350px;
  }

  .about-character {
    width: 40%;
    min-height: 350px;
  }

  .about-character img {
    width: 120%;
  }

  .about-content {
    width: 60%;
    padding: 40px 35px 40px 10px;
  }

  .about-content p {
    font-size: 15px;
  }
}

@media (max-width: 650px) {
  .about-section {
    padding: 0 5% 60px;
  }

  .about-box {
    min-height: auto;
    flex-direction: column;
    overflow: visible;
  }

  .about-character {
    width: 100%;
    height: 280px;
    min-height: 280px;
    order: 1;
  }

  .about-character img {
    width: 300px;
    max-height: none;
    bottom: 0;
  }

  .about-content {
    width: 100%;
    order: 2;
    padding: 10px 30px 40px;
    text-align: center;
  }

  .about-content h2 {
    font-size: 30px;
  }

  .about-content p {
    font-size: 14px;
  }
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;

  width: 100%;
  max-width: 1250px;
  margin: 40px 0 0 0;
}

.feature-item {
  position: relative;
  width: 100%;
  border-radius: 16px;

  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease;

  z-index: 1;
}

.feature-item > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 16px;

  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-item:hover {
  transform: translateY(-5px);
  z-index: 10;
}

.feature-item:hover > img {
  transform: scale(1.035);
}

.feature-info {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;

  box-sizing: border-box;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);

  padding: 14px 5px 5px;

  transition:
    opacity 0.3s ease,
    transform 0.4s ease,
    visibility 0.3s ease;

  pointer-events: none;
}

.feature-item:hover .feature-info {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);

  pointer-events: auto;
}

.feature-info p {
  margin: 0;
  color: #b6b6b6;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  font-weight: 500;
}

@media (max-width: 768px) {
  .feature-info {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .feature-item:hover {
    transform: none;
  }

  .feature-item:hover > img {
    transform: none;
  }
}

body.light-mode .feature-info p {
  color: #292929;
}

.badge-new {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #ff6600;
  color: #582300;
  border: 4px solid #080808;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 10px;
  letter-spacing: 0.5px;
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 900px) {
  .features-grid {
    gap: 15px;
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .features-grid {
    grid-template-columns: 1fr;
    margin-top: 25px;
  }
}

.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;

  width: 48px;
  height: 48px;
  border-radius: 50%;

  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  border: 1px solid rgba(39, 39, 39, 0.2);
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);

  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: rgba(41, 41, 41, 0.85);
  border-color: rgba(43, 43, 43, 0.4);
  transform: translateY(-3px);
}

.discord-section {
  width: 100%;
  background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
  position: relative;
  margin-top: 100px;
}

.discord-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 1500px;
  height: 100%;

  opacity: 0.15;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.discord-bg-pattern img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  mask-image: linear-gradient(to right, black 30%, transparent 90%);
  -webkit-mask-image: linear-gradient(to right, black 30%, transparent 90%);
}

.discord-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px 5%;
  padding-left: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 2;
  height: 355px;

  transform: translateX(-100px);
}

.discord-content {
  flex: 1;
  color: #ffffff;
}

.discord-content h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 25px;
}

.discord-buttons {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.discord-btn-primary {
  background: #ffffff;
  color: #111111;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.discord-btn-primary:hover {
  transform: translateY(-2px);
  background: #f3f4f6;
}

.discord-online-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(5px);
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.discord-badge-icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  flex-shrink: 0;
}

.discord-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.discord-image img {
  max-width: 380px;
  height: auto;
  display: block;
  object-fit: contain;

  transform: translateY(-50px) translateX(-40px);

  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.3));

  animation: wumpusFloat 5s ease-in-out infinite;
  will-change: transform;
}

@keyframes wumpusFloat {
  0% {
    transform: translateY(-50px) translateX(-40px);
  }

  50% {
    transform: translateY(-58px) translateX(-40px);
  }

  100% {
    transform: translateY(-50px) translateX(-40px);
  }
}

.discord-features {
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: absolute;
  right: -15%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.discord-feature-box {
  border: 3px solid rgba(0, 0, 0, 0.2);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  backdrop-filter: blur(5px);
  white-space: nowrap;
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 7px;

  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.discord-feature-box:hover {
  transform: translateX(5px);
}

.discord-feature-box svg {
  color: #ffffff;
  flex-shrink: 0;
}

.discord-feature-box:nth-child(1) {
  margin-left: -40px;
}

.discord-feature-box:nth-child(2) {
  margin-left: 20px;
}

.discord-feature-box:nth-child(3) {
  margin-left: -10px;
}

@media (max-width: 900px) {
  .discord-section {
    margin-top: 60px;
  }

  .discord-container {
    flex-direction: column-reverse;
    text-align: center;
    padding: 40px 20px;
    height: auto;
  }

  .discord-buttons {
    justify-content: center;
  }

  .discord-image {
    justify-content: center;
  }

  .discord-image img {
    max-width: 250px;
    animation: wumpusFloatMobile 5s ease-in-out infinite;
  }

  @keyframes wumpusFloatMobile {
    0% {
      transform: translateY(0);
    }

    50% {
      transform: translateY(-7px);
    }

    100% {
      transform: translateY(0);
    }
  }
}

.site-footer {
  background-color: #0b0b0b;
  color: #9ca3af;
  font-family: inherit;
  padding-top: 60px;
  width: 100%;
  border-top: 1px solid #1f1f1f;

  position: relative;
  overflow: hidden;
}

.footer-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 7% 60px 7%;
  display: block;
  position: relative;
  z-index: 1;
}

.footer-col:not(:last-child) {
  border-right: none;
  padding-right: 0;
}

.footer-left-content {
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 450px;
}

.footer-right-bg {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
  pointer-events: none;
  display: flex;
  justify-content: flex-end;
  width: 60%;
}

.footer-bg-img {
  width: 100%;
  max-width: 1750px;
  height: auto;
  object-fit: contain;

  opacity: 0.03;
  filter: brightness(0.6) contrast(1.2);

  user-select: none;
}

@media (max-width: 900px) {
  .footer-right-bg {
    display: none;
  }
}

.footer-logo img {
  max-width: 180px;
  height: auto;
  margin-bottom: 20px;
  display: block;
}

.footer-text {
  font-size: 16px;
  line-height: 1.5;
  color: #888888;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 42px;
  height: 42px;
  background-color: #171717;
  border: 1px solid #262626;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.social-icon:hover {
  background-color: #222222;
  border-color: #404040;
}

.footer-bottom {
  border-top: 1px solid #171717;
  background-color: #070707;
  padding: 20px 0;
}

.footer-bottom-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 7%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #6b7280;
}

.footer-bottom-container a,
.footer-copyright a {
  text-decoration: none !important;
  color: inherit !important;
}

.footer-bottom-container a:visited,
.footer-copyright a:visited {
  color: inherit !important;
}

.footer-copyright,
.footer-legal {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-legal a {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: #ffffff;
}

.separator-line {
  width: 1px;
  height: 12px;
  background-color: #262626;
  display: inline-block;
}

#red-span {
  color: #e52b2b;
}

@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    padding: 0 20px 40px 20px;
  }

  .footer-left-content {
    max-width: 100%;
    align-items: center;
  }

  .footer-col:not(:last-child) {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px dashed #262626;
    padding-bottom: 40px;
  }

  .footer-bottom-container {
    flex-direction: column;
    gap: 15px;
    text-align: center;
    padding: 0 20px;
  }
}

body.light-mode {
  background: var(--page-bg);
  color: var(--text-main);
}

body.light-mode .navbar-links a {
  color: #ffffff;
}

body.light-mode .navbar-links a:hover,
body.light-mode .navbar-links a.active {
  background: rgba(255, 255, 255, 0.12);
}

body.light-mode .theme-toggle {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

body.light-mode .theme-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
}

body.light-mode .navbar.scrolled {
  background: rgba(255, 255, 255, 0.94);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

body.light-mode .navbar.scrolled .navbar-links a {
  color: #222222;
}

body.light-mode .navbar.scrolled .navbar-links a:hover,
body.light-mode .navbar.scrolled .navbar-links a.active {
  background: rgba(0, 0, 0, 0.07);
}

body.light-mode .navbar.scrolled .theme-toggle {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.1);
  color: #222222;
}

body.light-mode .navbar.scrolled .theme-toggle:hover {
  background: rgba(0, 0, 0, 0.1);
}

body.light-mode .about-section {
  background: var(--page-bg);
}

body.light-mode .about-box {
  background:
    radial-gradient(
      circle at 15% 50%,
      rgba(210, 30, 30, 0.08),
      transparent 38%
    ),
    linear-gradient(
      110deg,
      var(--about-bg-1) 0%,
      var(--about-bg-2) 50%,
      var(--about-bg-3) 100%
    );

  border-color: rgba(210, 35, 35, 0.12);

  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body.light-mode .about-content h2 {
  color: #171717;
  text-shadow: none;
}

body.light-mode .about-content p {
  color: #666666;
}

body.light-mode .badge-new {
  border-color: #f4f5f7;
}

body.light-mode .scroll-to-top {
  background: var(--scroll-bg);
  border-color: rgba(0, 0, 0, 0.1);
  color: #222222;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

body.light-mode .scroll-to-top:hover {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.18);
}

body.light-mode .site-footer {
  background-color: var(--footer-bg);
  color: #666666;
  border-top-color: var(--footer-border);
}

body.light-mode .footer-text {
  color: #666666;
}

body.light-mode .social-icon {
  background-color: #f1f1f1;
  border-color: #dddddd;
  color: #222222;
}

body.light-mode .social-icon:hover {
  background-color: #e8e8e8;
  border-color: #cccccc;
}

body.light-mode .footer-bottom {
  background-color: var(--footer-bottom-bg);
  border-top-color: #e2e2e2;
}

body.light-mode .footer-bottom-container {
  color: #777777;
}

body.light-mode .footer-legal a:hover {
  color: #222222;
}

body.light-mode .separator-line {
  background-color: #d6d6d6;
}

.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 0.8s ease,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 0.8s ease,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

.reveal-delay-4 {
  transition-delay: 0.32s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.copy-toast {
  position: fixed;
  right: 30px;
  bottom: 30px;

  z-index: 1000;

  display: flex;
  align-items: center;
  gap: 10px;

  padding: 13px 18px;

  background: rgba(20, 20, 20, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;

  color: #ffffff;

  font-size: 14px;
  font-weight: 600;

  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45);

  opacity: 0;
  visibility: hidden;

  transform: translateY(15px) scale(0.96);

  transition:
    opacity 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.35s ease;
}

.copy-toast i {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 22px;
  height: 22px;

  color: #4ade80;

  font-size: 15px;
}

.copy-toast.show {
  opacity: 1;
  visibility: visible;

  transform: translateY(0) scale(1);
}

.copy-ip.copied {
  color: #4ade80;
}

.copy-ip.copied:hover {
  color: #4ade80;
}

@media (max-width: 600px) {
  .copy-toast {
    right: 20px;
    bottom: 20px;

    padding: 12px 16px;

    font-size: 13px;
  }
}

.team-hero {
  position: relative;

  min-height: 470px;

  display: flex;
  align-items: center;

  padding: 150px 7% 90px;

  overflow: hidden;

  background:
    linear-gradient(
      90deg,
      rgba(8, 8, 8, 0.95) 0%,
      rgba(8, 8, 8, 0.78) 45%,
      rgba(8, 8, 8, 0.45) 100%
    ),
    url("img-all/summer.webp");

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

.team-hero::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: 0;

  height: 180px;

  background: linear-gradient(to bottom, transparent, #080808);

  pointer-events: none;
}

.team-hero-content {
  position: relative;
  z-index: 2;

  max-width: 750px;
}

.team-hero h1 {
  font-size: clamp(50px, 7vw, 95px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -3px;
  color: #ffffff;

  white-space: nowrap;
}

.team-hero h1 span {
  color: #e52b2b;
  display: inline;
}

.team-hero p {
  max-width: 600px;

  margin-top: 25px;

  color: #a8a8a8;

  font-size: 18px;

  line-height: 1.7;
}

.team-section {
  padding: 40px 7% 130px;

  background: #080808;

  min-height: 600px;
}

.team-group {
  margin-top: 75px;
}

.team-group:first-child {
  margin-top: 0;
}

.team-group-title {
  display: flex;
  align-items: center;

  gap: 20px;

  margin-bottom: 28px;
}

.team-group-title h3 {
  margin: 0;

  color: #ffffff;

  font-size: 25px;

  font-weight: 800;

  letter-spacing: 1px;

  text-transform: uppercase;

  white-space: nowrap;
}

.team-group-title h3 span {
  color: #e52b2b;
}

.team-group-line {
  flex: 1;

  height: 1.5px;

  background: linear-gradient(
    to right,
    rgba(229, 43, 43, 0.55),
    rgba(255, 255, 255, 0.04)
  );
}

.team-grid {
  display: grid;

  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));

  gap: 20px;
}

.team-card {
  position: relative;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  overflow: visible;

  padding: 28px 15px 18px;
  border-radius: 16px;
  background: linear-gradient(145deg, #141414 0%, #0e0e0e 100%);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
  margin-top: 20px;
}

.team-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--rank-color, #e52b2b) 60%, #272727);
}

.team-card::before {
  display: none;
}

.team-rank {
  position: absolute;
  z-index: 5;

  top: -16px;
  left: 50%;
  transform: translateX(-50%);

  width: max-content;
  max-width: calc(100% - 10px);

  padding: 6px 14px;

  border-radius: 12px;

  background: var(--rank-color, #e52b2b);
  color: #ffffff;

  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;

  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;

  text-align: center;
  line-height: 1.15;

  border: none;

  box-shadow: 0 4px 0
    color-mix(in srgb, var(--rank-color, #e52b2b) 50%, #000000);
}

.team-skin-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;

  height: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  margin-bottom: 6px;
}

.team-skin {
  display: block;
  height: 80px;
  width: auto;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.5));
  transition: transform 0.25s ease;
}

.team-card:hover .team-skin {
  transform: translateY(-3px) scale(1.05);
}

.team-name {
  position: relative;
  z-index: 3;
  margin-top: 4px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  word-break: break-word;

  text-shadow: 0px 2px 5px rgba(0, 191, 255, 0.6);
}

body.light-mode .team-section {
  background: #f4f5f7;
}

body.light-mode .team-hero::after {
  background: linear-gradient(to bottom, transparent, #f4f5f7);
}

body.light-mode .team-group-title h3 {
  color: #171717;
}

body.light-mode .team-card {
  background: linear-gradient(145deg, #ffffff, #f4f4f4);

  border-color: #e1e1e1;
}

body.light-mode .team-card:hover {
  border-color: color-mix(in srgb, var(--rank-color, #e52b2b) 50%, #dddddd);
}

body.light-mode .team-name {
  color: #171717;
}

body.light-mode .team-group-line {
  background: linear-gradient(
    to right,
    rgba(229, 43, 43, 0.45),
    rgba(0, 0, 0, 0.08)
  );
}

body.light-mode .team-rank {
  background: color-mix(in srgb, var(--rank-color, #e52b2b) 10%, #ffffff);
}

@media (max-width: 700px) {
  .team-hero {
    min-height: 420px;
    padding: 130px 6% 70px;
    text-align: center;
    background-position: center;
  }

  .team-hero-content {
    margin: 0 auto;
  }

  .team-hero h1 {
    letter-spacing: -2px;
  }

  .team-hero p {
    font-size: 15px;
  }

  .team-section {
    padding: 30px 5% 90px;
  }

  .team-group {
    margin-top: 60px;
  }

  .team-group-title {
    gap: 12px;
  }

  .team-group-title h3 {
    font-size: 19px;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .team-card {
    width: 100%;
    max-width: none;
  }
}

body.light-mode .team-rank,
.light-mode .team-rank,
[data-theme="light"] .team-rank {
  color: #ffffff !important;

  background: var(--rank-color, #e52b2b) !important;
  background-color: var(--rank-color, #e52b2b) !important;

  box-shadow: 0 4px 0
    color-mix(in srgb, var(--rank-color, #e52b2b) 70%, #000000) !important;
  border: none !important;
}

body.light-mode .team-rank *,
.light-mode .team-rank * {
  color: #ffffff !important;
}

body.light-mode .team-name,
.light-mode .team-name,
[data-theme="light"] .team-name {
  color: #171717 !important;
  text-shadow: none !important;
}

body.light-mode .team-skin,
.light-mode .team-skin,
[data-theme="light"] .team-skin {
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2)) !important;
}

.team-card {
  background: #111111 !important;
}

body.light-mode .team-card,
.light-mode .team-card,
[data-theme="light"] .team-card {
  background: #ffffff !important;
}

body.light-mode .team-hero::after,
.light-mode .team-hero::after,
[data-theme="light"] .team-hero::after {
  background: linear-gradient(to bottom, transparent, #080808) !important;
}

.team-card.reveal {
  transition-delay: var(--reveal-delay, 0s);
}

.team-group.reveal {
  transition-delay: 0s;
}

.team-group-title.reveal {
  transition-delay: 0s;
}

.team-card.reveal {
  opacity: 0;
  transform: none;
  transition: opacity 0.7s ease;
}

.team-card.reveal.visible {
  opacity: 1;
}

.team-card.reveal.visible:hover .team-skin {
  transform: translateY(-3px) scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
  .team-card.reveal .team-skin {
    transform: none;
    opacity: 1;
    transition: none;
  }
}

.connect-section {
  padding: 80px 7%;
  background: var(--page-bg);
}

.connect-container {
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr 1fr 0.35fr;
  gap: 20px;
  align-items: stretch;
}

.connect-video {
  width: 100%;
  display: flex;
}

.video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.connect-box {
  background: var(--card-bg);
  border-radius: 24px;
  padding: 35px 30px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.box-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 20px;
}

.header-icon {
  width: 55px;
  height: 55px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
}

.header-icon svg {
  width: 28px;
  height: 28px;
}

.header-titles h2 {
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.header-titles p {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.box-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.step {
  display: flex;
  align-items: center;
  gap: 15px;
}

.step-num {
  width: 32px;
  height: 32px;
  background: #3b3131;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 0;
}

.step-text {
  font-size: 15px;
  line-height: 1.45;
  color: #d1d1d1;
  font-weight: 500;
}

.step-text strong {
  color: var(--text-main);
}

.connect-gallery {
  display: grid;
  grid-template-rows: repeat(5, 1fr);
  gap: 10px;
  height: 100%;
}

.gallery-item {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: var(--card-bg);
  transition:
    transform 0.25 ease,
    border-color 0.25s ease;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 1;
  pointer-events: none;
}

.gallery-item::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  width: 26px;
  height: 26px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3Cline x1='11' y1='8' x2='11' y2='14'/%3E%3Cline x1='8' y1='11' x2='14' y2='11'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0;
  transition:
    opacity 0.25s ease,
    transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 2;
  pointer-events: none;
}

.gallery-item:hover {
  transform: scale(1.04);
}

.gallery-item:hover::before {
  opacity: 1;
}

.gallery-item:hover::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

@media (max-width: 1100px) {
  .connect-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .connect-gallery {
    grid-template-rows: none;
    grid-template-columns: repeat(5, 1fr);
    height: 90px;
  }
}

@media (max-width: 900px) {
  .connect-box {
    padding: 30px 20px;
  }
}

.gallery-item {
  cursor: pointer;
}

.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.image-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.image-modal-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-modal-wrapper img {
  width: 60vw !important;
  height: auto !important;
  max-height: 70vh !important;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
  object-fit: contain;
}

.image-modal-close {
  position: absolute;
  top: -48px;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.image-modal-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

.section-header {
  margin-bottom: 35px;
}

.section-header h2 {
  font-size: 30px;
  font-weight: 900;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.section-header h2 .highlight {
  color: #e63946;
}

.discord-callout {
  margin-top: 35px;
  padding: 20px 20px;
  background: rgba(88, 101, 242, 0.08);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  transition: all 0.25s ease;
}

.discord-callout:hover {
  background: rgba(88, 101, 242, 0.14);
}

.discord-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ip-callout {
  margin-top: 25px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  transition: all 0.25s ease;
}

.ip-callout:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
}

.ip-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ip-icon {
  width: 42px;
  height: 42px;
  background: #e63946;
  color: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ip-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ip-text span {
  color: #a0a0a0;
  font-size: 13px;
}

.ip-text strong {
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.ip-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  box-sizing: border-box;
  background: #e63946;
  border: none;
  border-bottom: 4px solid #ad232e;
  color: #ffffff;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
  margin: 0;
  line-height: 1;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
}

.ip-copy-btn:hover {
  background: #f04855;
  transform: translateY(-2px);
}

.ip-copy-btn.copied {
  background: #2a9d8f;
  border-bottom-color: #1f7369;
}

.discord-callout {
  margin-top: 12px !important;
}

.discord-icon {
  width: 42px;
  height: 42px;
  background: #5865f2;
  color: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.discord-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.discord-text strong {
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
}

.discord-text span {
  color: #a0a0a0;
  font-size: 13px;
}

.discord-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  box-sizing: border-box;
  background: #5865f2;
  border: none;
  border-bottom: 4px solid #353fb3;
  color: #ffffff;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
  margin: 0;
  line-height: 1;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
}

.discord-btn:hover {
  background: #4752c4;
  transform: translateY(-2px);
}

.creators-section {
  padding: 20px 7% 80px 7%;
  background: var(--page-bg);
}

.creators-container {
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.creator-box {
  background: var(--card-bg);
  border-radius: 24px;
  padding: 35px 30px;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.creator-box:hover {
  transform: translateY(-5px);
}

.bg-icon {
  position: absolute;
  top: -20px;
  right: -30px;
  font-size: 200px;
  color: rgba(255, 255, 255, 0.01);
  z-index: 0;
  transform: rotate(-10deg);
  pointer-events: none;
}

.creator-header {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 25px;
  position: relative;
  z-index: 1;
}

.creator-rank-title {
  margin: 0;

  font-size: 28px;
  font-weight: 900;
  letter-spacing: 1.5px;
  line-height: 1;

  color: #ffffff;
  text-transform: uppercase;
}

.youtuber-title {
  color: #fa2027;
}

.tiktoker-title {
  color: #f13d54;
}

.streamer-title {
  color: #8e53fe;
}

@media (max-width: 600px) {
  .creator-rank-title {
    font-size: 24px;
  }
}

.creator-title-rank {
  height: 38px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  margin-left: 5px;
  image-rendering: pixelated;
}

.creator-rank-img {
  height: 38px;
  width: auto;
  display: block;
  image-rendering: pixelated;
}

.creator-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.creator-list li {
  display: block;
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.45;
  color: #d1d1d1;
  font-weight: 500;
}

.creator-list li strong {
  color: var(--text-main);
}

.creator-list li i {
  position: absolute;
  left: 0;
  top: 0px;
  color: #3b3b3b;
  font-size: 16px;
}

@media (max-width: 1100px) {
  .creators-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

@media (max-width: 900px) {
  .creator-box {
    padding: 30px 20px;
  }
}

.streamer-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.creator-box.streamer-info-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 30px;
  gap: 17px;
  overflow: visible;
}

.streamer-info-box h3 {
  font-size: 16px;
  color: #ffffff;
  margin: 0;
  font-weight: 700;
}

.streamer-info-box p {
  font-size: 14px;
  line-height: 1.5;
  color: #b0b0b0;
  margin: 0;
  text-align: left;
}

.streamer-info-box strong {
  color: #ffffff;
}

.badge-info {
  position: absolute;
  top: -12px;
  right: 20px;
  background-color: #0084ff;
  border: 4px solid var(--page-bg);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 10px;
  z-index: 10;
}

.streamer-info-box a {
  color: #ffffff;
  text-decoration: none;
}

.creators-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 15px;
}

.creator-toggle-btn {
  height: 42px;
  background: #e63946;
  border: none;
  border-bottom: 4px solid #ad232e;
  color: #ffffff;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.creator-toggle-btn:hover {
  background: #c22f3b;
}

.creator-toggle-btn i {
  color: #ffcc00;
  font-size: 15px;
}

.creator-toggle-btn:hover i {
  color: #ffffff;
}

.creator-hidden {
  display: none !important;
}

.creator-benefits-container {
  width: 100%;
}

.benefits-box {
  width: 100%;
  box-sizing: border-box;
}

.benefits-box h3 {
  font-size: 20px;
  color: #ffffff;
  margin: 0;
  font-weight: 800;
}

.info-header {
  background:
    linear-gradient(
      90deg,
      rgba(8, 8, 8, 0.95) 0%,
      rgba(8, 8, 8, 0.78) 45%,
      rgba(8, 8, 8, 0.45) 100%
    ),
    url("img-all/winter.webp");

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

.vote-section {
  padding: 20px 7% 80px 7%;
  background: var(--page-bg);
  width: 100%;
  box-sizing: border-box;
}

.vote-container {
  max-width: 820px;
  margin: 0;
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.vote-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  padding: 18px;
  text-decoration: none;
  overflow: hidden;
  min-height: 145px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.vote-card:hover {
  transform: translateY(-6px);
}

.vote-card.vote-large {
  background-color: #2b68e8;
}

.vote-container .vote-card:nth-child(2) {
  background-color: #a85200;
}

.vote-container .vote-card:nth-child(3) {
  background-color: #0084ff;
}

.vote-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  gap: 10px;
}

.vote-large .vote-logo {
  max-width: 85%;
  max-height: 110px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.vote-small .vote-logo {
  max-width: 75%;
  max-height: 75px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.vote-card:hover .vote-logo {
  transform: scale(1.06);
}

.vote-title {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 992px) {
  .vote-container {
    grid-template-columns: 1fr;
  }
}

.benefits-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  color: #ffffff;
  margin: 0;
  font-weight: 800;
}

.inline-rank {
  height: 32px;
  width: auto;
  display: inline-block;
  image-rendering: pixelated;
}

body.light-mode .creator-list li {
  color: #2b2b2b;
}

body.light-mode .creator-list li i {
  color: #e63946;
}

body.light-mode .streamer-info-box p {
  color: #2b2b2b;
}

body.light-mode .streamer-info-box a {
  color: #e63946;
  font-weight: 700;
}

body.light-mode .creator-disclaimer {
  color: #4a4a4a;
}

body.light-mode .streamer-info-box h3 {
  color: #1a1a1a;
}

body.light-mode .step-text {
  color: #2b2b2b;
}

body.light-mode .discord-text strong {
  color: #1a1a1a;
}

body.light-mode .discord-text span {
  color: #555555;
}

body.light-mode .ip-text span {
  color: #555555;
}

body.light-mode .ip-text strong {
  color: #1a1a1a;
}

body.light-mode .ip-callout {
  background: rgba(0, 0, 0, 0.04);
}

body.light-mode .ip-callout:hover {
  background: rgba(0, 0, 0, 0.07);
}

body.light-mode .connect-box .ip-icon,
body.light-mode .header-icon {
  background: rgba(0, 0, 0, 0.05);
  color: #1a1a1a;
}

body.light-mode .benefits-box h3 {
  color: #1a1a1a !important;
}

body.light-mode .creator-disclaimer i {
  color: #ff8800;
}

body.light-mode .bg-icon {
  color: rgba(0, 0, 0, 0.03);
}

body.light-mode .creator-disclaimer {
  color: #666666 !important;
}

.rules-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.rules-banner {
  position: relative;
  width: 100%;
  padding: 35px 20px;
  text-align: center;
  border-radius: 10px;
  margin: 50px 0 20px 0;
  color: #ffffff;
  font-size: 50px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  text-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
  font-family: "MinecraftTen", sans-serif;

  line-height: 1;
}

.rules-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.rules-banner > * {
  position: relative;
  z-index: 2;
  margin: 0;
  transform: translateY(-6px);
}

.minecraft-banner {
  background-image: url("img-all/summer.webp");
}
.minecraft-banner::before {
  background-color: rgba(82, 219, 88, 0.75);
}

.discord-banner {
  background-image: url("img-all/summer.webp");
}
.discord-banner::before {
  background-color: rgba(88, 101, 242, 0.75);
}

.accordion-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 50px;
}

.accordion-item {
  background-color: #121212;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #2a2a2a;
}

.accordion-header {
  width: 100%;
  padding: 20px 25px;
  background: transparent;
  border: none;
  color: #ffffff;
  text-align: left;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s ease;
}

.accordion-header:hover {
  background-color: #1a1a1a;
}

.accordion-header i {
  transition: transform 0.3s ease;
  color: #888;
  font-size: 1rem;
}

.accordion-item.active .accordion-header i {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background-color: #0a0a0a;
}

.accordion-inner {
  padding: 20px 25px;
  color: #cccccc;
  line-height: 1.7;
  font-size: 1rem;
  border-top: 1px solid #1f1f1f;
}

.accordion-inner ul {
  list-style-type: disc;
  padding-left: 20px;
  margin: 0;
}

.accordion-inner li {
  margin-bottom: 12px;
}

.accordion-inner li:last-child {
  margin-bottom: 0;
}

.banner-notice {
  color: #a0a0a0;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 15px 0 25px 0;
  padding: 0 5px;
  text-align: left;
}

@media (max-width: 768px) {
  .rules-banner {
    font-size: 1.5rem;
    padding: 30px 15px;
  }

  .accordion-header {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .accordion-inner {
    padding: 15px 20px;
  }
}

body.light-mode .banner-notice {
  color: #4a5568;
}

body.light-mode .accordion-item {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
}

body.light-mode .accordion-header {
  background-color: #ffffff;
  color: #1a202c;
}

body.light-mode .accordion-header:hover {
  background-color: #f7fafc;
}

body.light-mode .accordion-header::after {
  filter: invert(1);
}

body.light-mode .accordion-content {
  background-color: #ffffff;
  color: #2d3748;
  border-top: 1px solid #edf2f7;
}

body.light-mode .accordion-content,
body.light-mode .accordion-content p,
body.light-mode .accordion-content ul,
body.light-mode .accordion-content li {
  color: #2d3748 !important;
}

body.light-mode .accordion-content {
  border-top: 1px solid #e2e8f0;
}

body.light-mode .accordion-inner {
  border-top: 1px solid #dddddd;
}

.rules-header {
  background:
    linear-gradient(
      90deg,
      rgba(8, 8, 8, 0.95) 0%,
      rgba(8, 8, 8, 0.78) 45%,
      rgba(8, 8, 8, 0.45) 100%
    ),
    url("img-all/autumn.webp");

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

.accordion-inner a {
  color: #e62424 !important;
  text-decoration: none !important;
  transition: opacity 0.2s ease;
}

.accordion-inner a:hover {
  opacity: 0.8;
  text-decoration: none !important;
}

.faq-section {
  width: 100%;
  padding: 0 7% 120px;
  background: #080808;
}

.faq-layout {
  width: 100%;
  max-width: 1650px;
  margin: 140px auto 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 2.8fr) minmax(280px, 350px);
  gap: 48px;
  align-items: start;
}

.faq-layout .accordion-wrapper {
  width: 100%;
  margin: 0;
}

.faq-discord-card {
  position: relative;
  min-height: 410px;
  padding: 125px 32px 32px;
  border-radius: 18px;

  background-color: #4d5af0;

  color: #ffffff;
  text-decoration: none;

  overflow: visible;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.faq-discord-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;

  background: radial-gradient(
    circle at 20% 80%,
    rgba(255, 255, 255, 0.08),
    transparent 35%
  );

  pointer-events: none;
}

.faq-discord-wumpus {
  position: absolute;

  top: -92px;
  left: 50%;

  width: 240px;
  height: 190px;

  transform: translateX(-50%);

  display: flex;
  justify-content: center;
  align-items: flex-end;

  z-index: 5;

  pointer-events: none;
}

.faq-discord-wumpus img {
  width: 240px;
  max-width: none;
  height: auto;
  display: block;
  object-fit: contain;

  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, 0.35));

  animation: faqWumpusFloat 4.5s ease-in-out infinite;
}

@keyframes faqWumpusFloat {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }

  100% {
    transform: translateY(0);
  }
}

.faq-discord-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.faq-discord-content h2 {
  margin: 0;
  font-size: clamp(26px, 2.5vw, 34px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -1px;
  color: #ffffff;
}

.faq-discord-content p {
  margin: 18px 0 25px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  line-height: 1.65;
  font-weight: 500;
}

.faq-discord-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 17px;
  border-radius: 10px;
  background: #ffffff;
  color: #404eed;
  font-size: 13px;
  font-weight: 700;

  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.faq-discord-button i {
  transition: transform 0.2s ease;
}

.faq-discord-card:hover {
  transform: translateY(-5px);

  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.45),
    0 0 30px rgba(88, 101, 242, 0.12);
}

.faq-discord-card:hover .faq-discord-button {
  background: #f5f5f5;
}

.faq-discord-card:hover .faq-discord-button i {
  transform: translateX(4px);
}

body.light-mode .faq-section {
  background: var(--page-bg);
}

body.light-mode .faq-discord-card {
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

@media (max-width: 950px) {
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-discord-card {
    min-height: 300px;
    padding-top: 105px;
  }

  .faq-discord-wumpus {
    top: -80px;
  }
}

@media (max-width: 768px) {
  .faq-section {
    padding: 0 5% 80px;
  }

  .faq-layout {
    margin-top: 80px;
  }

  .faq-discord-card {
    min-height: 330px;
  }
}

@media (max-width: 500px) {
  .faq-section {
    padding: 0 5% 60px;
  }

  .faq-layout {
    margin-top: 60px;
  }

  .faq-discord-card {
    padding: 105px 24px 28px;
  }

  .faq-discord-wumpus {
    width: 200px;
    height: 160px;
    top: -70px;
  }

  .faq-discord-wumpus img {
    width: 200px;
  }

  .faq-discord-content h2 {
    font-size: 27px;
  }
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-color, #fff);
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav-links.active {
    display: flex;
  }
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #09090b;
  z-index: 9999;
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.mobile-menu-header img {
  height: 36px;
  width: auto;
  max-width: 65%;
  object-fit: contain;
}

.mobile-close-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #fff;
  padding: 0.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 20px;
}

.mobile-nav-list a {
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: opacity 0.2s;
}

.mobile-nav-list a:active {
  opacity: 0.7;
}

.mobile-btn.btn-outline {
  margin-top: 1rem;
  border: 1px solid #ff4800;
  background: rgba(185, 78, 16, 0.1);
  color: #ffffff;
  text-align: center;
  padding: 0.85rem;
  border-radius: 10px;
}

.mobile-btn.btn-filled {
  background: #ff9d00ee;
  border-bottom: 5px solid #aa6900ee;
  color: #ffffff;
  text-align: center;
  padding: 0.85rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.mobile-nav-list a,
.mobile-close-btn {
  transition: all 0.25s ease-in-out;
}

.mobile-nav-list a:not(.mobile-btn):hover {
  color: #ff4800;
  transform: translateX(6px);
}

.mobile-btn.btn-outline:hover {
  background: rgba(255, 72, 0, 0.25);
  border-color: #ff6a2b;
  transform: translateY(-2px);
}

.mobile-btn.btn-outline:active {
  transform: translateY(0);
}

.mobile-btn.btn-filled:hover {
  background: #ffad1f;
  transform: translateY(-2px);
}

.mobile-btn.btn-filled:active {
  transform: translateY(1px);
  border-bottom-width: 3px;
}

.mobile-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 900px) {
  .navbar {
    justify-content: flex-start !important;
    gap: 5px !important;
  }

  .navbar-shop {
    margin-left: auto !important;
  }
}

@media (min-width: 769px) and (max-width: 1280px) {
  .navbar {
    padding: 0 2% !important;
  }

  .navbar-links {
    gap: 10px !important;
    margin-right: 30px !important;
  }

  .navbar-links a {
    font-size: 17px !important;
    padding: 6px 8px !important;
  }

  .navbar-shop {
    min-width: auto !important;
    padding: 0 12px !important;
    font-size: 13px !important;
    flex-shrink: 0 !important;
  }
}

@media (min-width: 769px) and (max-width: 1150px) {
  .navbar-links {
    gap: 7px !important;
    margin-right: 10px !important;
  }

  .navbar-links a {
    font-size: 14px !important;
    padding: 6px 8px !important;
  }
}

@media (max-width: 486px) {
  .discord-text span {
    display: none;
  }
}

@media (max-width: 950px) {
  .faq-discord-card img {
    display: none;
  }

  .faq-discord-card {
    padding: 32px;
    min-height: 240px;
  }
}

@media (max-width: 768px) {
  .rules-banner {
    font-size: 37px;
  }
}

@media (max-width: 480px) {
  .rules-banner {
    font-size: 27px;
  }
}

@media (max-width: 900px) {
  .footer-bottom-container {
    flex-direction: column;
    gap: 15px;
    text-align: center;
    padding: 0 20px 50px 20px;
  }
}

@media (max-width: 900px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  .navbar {
    height: 76px !important;
    padding: 0 16px !important;
    gap: 8px !important;
    justify-content: flex-start !important;
  }

  .navbar-logo {
    width: auto !important;
    min-width: 0 !important;
    flex: 0 1 auto;
  }

  .navbar-logo img {
    width: 108px !important;
    max-width: 108px !important;
    height: auto;
  }

  .navbar-shop {
    min-width: 100px !important;
    width: auto;
    height: 42px !important;
    padding: 0 14px !important;
    border-radius: 11px;
    font-size: 12px !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
  }

  .theme-toggle {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px;
    margin-left: 0 !important;
    border-radius: 11px;
    flex-shrink: 0;
  }

  .menu-toggle {
    width: 38px;
    height: 42px;
    padding: 6px !important;
    flex-shrink: 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .menu-toggle svg {
    width: 25px;
    height: 25px;
  }

  .hero {
    height: min(820px, 100svh) !important;
    min-height: 650px !important;
    max-height: 820px;
    background-position: center 42%;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
    transform: translateY(-8px);
  }

  .hero-logo {
    width: clamp(225px, 72vw, 330px) !important;
    max-width: 88vw;
  }

  .server-status {
    width: auto;
    max-width: calc(100vw - 30px);
    margin-top: 24px;
    padding: 0 16px;
    min-height: 50px;
    height: auto;
    border-radius: 12px;
  }

  .server-status-item,
  .server-ip {
    font-size: 14px;
  }

  .server-divider {
    margin: 0 14px;
  }

  .about-section {
    margin-top: 70px !important;
    padding: 0 18px 70px !important;
  }

  .about-box {
    border-radius: 20px;
  }

  .about-character {
    height: 250px !important;
    min-height: 250px !important;
  }

  .about-character img {
    width: min(290px, 82vw) !important;
  }

  .about-content {
    padding: 8px 22px 38px !important;
  }

  .about-content h2 {
    font-size: clamp(28px, 8vw, 34px) !important;
    line-height: 1.08;
    letter-spacing: -0.7px;
  }

  .about-content p {
    margin-top: 16px;
    font-size: 15px !important;
    line-height: 1.6;
  }

  .features-grid {
    width: 100%;
    gap: 14px;
    margin-top: 28px;
  }

  .feature-item {
    border-radius: 14px;
  }

  .feature-item img {
    border-radius: 14px;
  }

  .badge-new {
    top: -7px;
    right: -5px;
    border-width: 3px;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 8px;
  }

  .discord-section {
    margin-top: 60px;
  }

  .discord-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    transform: none !important;
    flex-direction: column-reverse;
    gap: 22px;
    padding: 42px 20px 46px !important;
    height: auto !important;
    text-align: center;
  }

  .discord-content {
    width: 100%;
    flex: none;
  }

  .discord-content h2 {
    font-size: clamp(27px, 7.5vw, 36px);
    line-height: 1.12;
    margin-bottom: 20px;
  }

  .discord-buttons {
    width: 100%;
    justify-content: center;
    gap: 10px;
  }

  .discord-btn-primary,
  .discord-online-badge {
    min-height: 44px;
  }

  .discord-btn-primary {
    padding: 11px 20px;
  }

  .discord-online-badge {
    padding: 11px 15px;
  }

  .discord-image {
    width: 100%;
    flex: none;
    justify-content: center;
  }

  .discord-image img {
    width: min(245px, 68vw);
    max-width: 245px;
  }

  .discord-features {
    display: none !important;
  }

  .site-footer {
    padding-top: 48px;
  }

  .footer-container {
    padding: 0 20px 42px !important;
  }

  .footer-left-content {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    text-align: center;
    align-items: center;
  }

  .footer-logo img {
    max-width: 155px;
    margin: 0 auto 18px;
  }

  .footer-text {
    max-width: 430px;
    margin-bottom: 22px;
    font-size: 14px;
    line-height: 1.6;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-bottom {
    padding: 18px 0;
  }

  .footer-bottom-container {
    padding: 0 18px !important;
    gap: 12px;
    line-height: 1.45;
  }

  .footer-copyright,
  .footer-legal {
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
  }

  .scroll-to-top {
    width: 44px;
    height: 44px;
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 600px) {
  .navbar {
    height: 70px !important;
    padding: 0 12px !important;
    gap: 6px !important;
  }

  .navbar-logo img {
    width: 94px !important;
    max-width: 94px !important;
  }

  .navbar-shop {
    min-width: 92px !important;
    height: 40px !important;
    padding: 0 11px !important;
    font-size: 11px !important;
    border-radius: 10px;
  }

  .navbar-shop svg {
    width: 17px;
    height: 17px;
  }

  .theme-toggle {
    width: 40px !important;
    min-width: 40px;
    height: 40px !important;
  }

  .menu-toggle {
    width: 34px;
    height: 40px;
    padding: 5px !important;
  }

  .menu-toggle svg {
    width: 23px;
    height: 23px;
  }

  .hero {
    height: min(790px, 100svh) !important;
    min-height: 620px !important;
    background-position: center 40%;
  }

  .hero-content {
    padding: 0 12px;
  }

  .hero-logo {
    width: clamp(215px, 70vw, 300px) !important;
  }

  .server-status {
    max-width: calc(100vw - 24px);
    min-height: 50px;
    padding: 0 12px;
    margin-top: 21px;
  }

  .server-status-item {
    gap: 6px;
    font-size: 13px;
  }

  .server-status-item i,
  .copy-ip {
    font-size: 14px;
  }

  .server-divider {
    height: 22px;
    margin: 0 9px;
  }

  .server-ip {
    font-size: 13px;
  }

  .copy-ip {
    width: 22px;
    height: 22px;
    margin-left: 6px;
  }

  .about-section {
    margin-top: 48px !important;
    padding: 0 14px 58px !important;
  }

  .about-box {
    border-radius: 18px;
  }

  .about-character {
    height: 225px !important;
    min-height: 225px !important;
  }

  .about-character img {
    width: min(210px, 82vw) !important;
  }

  .about-content {
    padding: 4px 18px 32px !important;
  }

  .about-label {
    font-size: 13px;
    letter-spacing: 1.2px;
    margin-top: 20px;
  }

  .about-content h2 {
    font-size: clamp(26px, 8vw, 31px) !important;
  }

  .about-content p {
    font-size: 14px !important;
    line-height: 1.62;
  }

  .features-grid {
    gap: 12px;
    margin-top: 22px;
  }

  .feature-item,
  .feature-item img {
    border-radius: 12px;
  }

  .discord-section {
    margin-top: 48px;
  }

  .discord-container {
    padding: 34px 16px 38px !important;
    gap: 18px;
  }

  .discord-content h2 {
    font-size: clamp(25px, 7.5vw, 32px);
    margin-bottom: 17px;
  }

  .discord-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .discord-btn-primary,
  .discord-online-badge {
    width: 100%;
    justify-content: center;
  }

  .discord-image img {
    width: min(220px, 62vw);
    max-width: 220px;
  }

  .site-footer {
    padding-top: 42px;
  }

  .footer-container {
    padding: 0 16px 36px !important;
  }

  .footer-text {
    font-size: 13.5px;
  }

  .footer-bottom-container {
    font-size: 12px;
    padding: 0 14px !important;
  }

  .separator-line {
    display: none;
  }
}

@media (max-width: 380px) {
  .navbar {
    padding: 0 9px !important;
  }

  .navbar-logo img {
    width: 92px !important;
    max-width: 92px !important;
  }

  .navbar-shop {
    min-width: 84px !important;
    padding: 0 8px !important;
    font-size: 12px !important;
  }

  .theme-toggle {
    width: 38px !important;
    min-width: 38px;
    height: 38px !important;
  }

  .menu-toggle {
    width: 31px;
  }

  .hero-logo {
    width: min(255px, 70vw) !important;
  }

  .server-status {
    max-width: calc(100vw - 18px);
    padding: 0 9px;
  }

  .server-status-item,
  .server-ip {
    font-size: 12px;
  }

  .server-divider {
    margin: 0 7px;
  }

  .about-section {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .about-content {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
}

@media (hover: none) and (pointer: coarse) {
  .feature-item:hover,
  .discord-btn-primary:hover,
  .navbar-shop:hover,
  .theme-toggle:hover,
  .scroll-to-top:hover {
    transform: none;
  }

  .feature-item:hover img {
    transform: none;
  }
}

@supports (padding: max(0px)) {
  @media (max-width: 900px) {
    .navbar {
      padding-left: max(12px, env(safe-area-inset-left)) !important;
      padding-right: max(12px, env(safe-area-inset-right)) !important;
    }

    .site-footer {
      padding-bottom: max(0px, env(safe-area-inset-bottom));
    }
  }
}

@media (max-width: 1100px) {
  .connect-section {
    width: 100%;
    max-width: 100%;
    padding-left: 18px !important;
    padding-right: 18px !important;
    overflow-x: clip;
  }

  .connect-container {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .connect-video,
  .connect-box,
  .connect-gallery {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .connect-box {
    min-width: 0;
    overflow: hidden;
  }

  .box-header,
  .header-titles,
  .step,
  .step-text,
  .ip-callout,
  .ip-info,
  .ip-text,
  .discord-callout,
  .discord-info,
  .discord-text {
    min-width: 0;
  }

  .header-titles {
    flex: 1 1 auto;
  }

  .header-titles h2 {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .step-text {
    flex: 1 1 auto;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .ip-text strong,
  .discord-text strong,
  .discord-text span {
    overflow-wrap: anywhere;
  }

  .video-wrapper {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 600px) {
  .connect-section {
    padding: 54px 14px 65px !important;
  }

  .connect-section .section-header {
    margin-bottom: 24px;
  }

  .connect-section .section-header h2 {
    font-size: clamp(24px, 7vw, 30px);
    line-height: 1.15;
  }

  .connect-container {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .connect-video {
    order: 1;
  }

  .connect-box {
    order: 2;
    padding: 22px 16px !important;
    border-radius: 18px;
  }

  .connect-gallery {
    order: 3;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    grid-template-rows: 70px !important;
    height: 70px !important;
    gap: 7px !important;
  }

  .gallery-item {
    min-width: 0;
    border-radius: 10px;
  }

  .box-header {
    align-items: center;
    gap: 11px;
    margin-bottom: 20px;
    padding-bottom: 16px;
  }

  .header-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 12px;
  }

  .header-icon svg {
    width: 23px;
    height: 23px;
  }

  .header-titles h2 {
    font-size: 16px !important;
    line-height: 1.2;
    letter-spacing: 0.2px;
  }

  .header-titles p {
    font-size: 12px;
    line-height: 1.35;
  }

  .box-steps {
    gap: 14px;
  }

  .step {
    align-items: flex-start;
    gap: 11px;
  }

  .step-num {
    width: 30px;
    height: 30px;
    min-width: 30px;
    font-size: 13px;
    margin-top: 1px;
  }

  .step-text {
    font-size: 14px;
    line-height: 1.48;
    padding-top: 2px;
  }

  .ip-callout {
    margin-top: 20px;
    padding: 13px 12px;
    gap: 10px;
    border-radius: 12px;
  }

  .ip-info {
    gap: 10px;
    flex: 1 1 auto;
  }

  .ip-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 9px;
  }

  .ip-text span {
    font-size: 11px;
  }

  .ip-text strong {
    font-size: 14px;
  }

  .ip-copy-btn {
    height: 40px;
    padding: 0 11px;
    font-size: 11px;
  }

  .discord-callout {
    margin-top: 10px !important;
    padding: 14px 12px;
    gap: 12px;
    align-items: flex-start;
    flex-direction: column;
    border-radius: 12px;
  }

  .discord-info {
    width: 100%;
    gap: 10px;
  }

  .discord-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 9px;
  }

  .discord-text {
    flex: 1;
  }

  .discord-text strong {
    font-size: 14px;
    line-height: 1.3;
  }

  .discord-text span {
    font-size: 12px;
    line-height: 1.4;
  }

  .discord-btn {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    font-size: 12px;
  }
}

@media (max-width: 380px) {
  .connect-section {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .connect-box {
    padding-left: 13px !important;
    padding-right: 13px !important;
  }

  .header-icon {
    width: 43px;
    height: 43px;
    min-width: 43px;
  }

  .header-titles h2 {
    font-size: 15px !important;
  }

  .header-titles p {
    font-size: 11px;
  }

  .step-text {
    font-size: 13px;
  }

  .ip-copy-btn {
    padding: 0 9px;
    font-size: 10.5px;
  }

  .connect-gallery {
    grid-template-rows: 62px !important;
    height: 62px !important;
    gap: 5px !important;
  }

  .benefits-box h3 {
    font-size: 15px;
  }

  .inline-rank {
    height: 25px;
  }
}

@media (hover: none) and (pointer: coarse) {
  .gallery-item:hover {
    transform: none;
  }
}

@media (max-width: 600px) {
  .image-modal-wrapper img {
    width: 92vw !important;
    max-width: 92vw !important;
    max-height: 80vh !important;
    height: auto !important;
    object-fit: contain;
    border-radius: 12px;
  }

  .image-modal {
    padding: 15px;
  }
}

.menu-toggle {
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.menu-toggle:hover {
  transform: translateY(-1px);
}

body.light-mode .menu-toggle:hover {
  color: #000000;
}

body.light-mode .navbar.scrolled .menu-toggle {
  color: #222222;
}

.recruitment-section {
  padding: 3rem 0;
  margin-left: 7%;
  max-width: 1200px;
}

.recruitment-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.recruitment-card {
  background-color: #0e0e0e;
  border-radius: 12px;
  border: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.recruitment-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03);
}

.card-banner {
  width: 100%;
  display: block;
}

.card-banner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.designer-banner img {
  border-radius: 26px;
}

.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.conditions h4 {
  color: #ffffff;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.conditions-list {
  list-style-type: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  flex-grow: 1;
}

.conditions-list li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  color: #d1d1d1;
  line-height: 1.4;
}

.conditions-list li::before {
  content: "•";
  color: #525252;
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.btn-apply {
  display: block;
  text-align: center;
  background-color: #e52e2e;
  border-bottom: 5px solid #9c2121;
  color: white;
  text-decoration: none;
  padding: 0.85rem;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.2s ease;
  margin-top: auto;
}

.btn-apply:hover {
  background-color: #c42222;
}

@media (max-width: 480px) {
  .recruitment-section {
    padding: 2rem 1rem;
    margin-left: 0;
  }
}

body.light-mode .recruitment-card {
  background-color: #ffffff;
}

body.light-mode .conditions h4 {
  color: #111827;
}

body.light-mode .conditions-list li {
  color: #374151;
}

body.light-mode .conditions-list li::before {
  color: #e52e2e;
}

.faq-header {
  background:
    linear-gradient(
      90deg,
      rgba(8, 8, 8, 0.95) 0%,
      rgba(8, 8, 8, 0.78) 45%,
      rgba(8, 8, 8, 0.45) 100%
    ),
    url("img-all/castle.webp");

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

.nabor-header {
  background:
    linear-gradient(
      90deg,
      rgba(8, 8, 8, 0.95) 0%,
      rgba(8, 8, 8, 0.78) 45%,
      rgba(8, 8, 8, 0.45) 100%
    ),
    url("img-all/volcano.webp");

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

@media (max-width: 600px) {
  .info-header {
    min-height: 420px;
    padding: 120px 18px 70px;
    overflow: hidden;
  }

  .info-header .team-hero-content {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
  }

  .info-header h1 {
    font-size: 47px;
    line-height: 0.95;
    letter-spacing: -1.5px;
    white-space: normal;
    overflow-wrap: normal;
  }

  .info-header h1 span {
    display: block;
    margin-top: 4px;
  }

  .info-header p {
    width: 100%;
    max-width: 250px;
    margin: 18px auto 0;
    font-size: 15px;
    line-height: 1.5;
  }
}