@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@500;600;700;800&family=Oswald:wght@500;600;700&display=swap');

:root {
    --bg-color: #1a1a1a;
    /* Height of the fixed nav bar, kept in sync by initMobileNav() */
    --mobile-nav-top: 76px;
}

html {
  scroll-behavior: auto;
}

* {
    font-family: "Bebas Neue", sans-serif;
    scroll-behavior: smooth;
    box-sizing: content-box;
    padding: 0;
}

body {
    background: var(--bg-color);
    color: white;
    margin: 0;
    position: relative;
    overflow-x: hidden;
}

.bg-texture {
    background: url("./assets/textures/bg-pattern.webp") center / 280px repeat;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: .08;
    z-index: -25;
    pointer-events: none;
}

img {
    user-drag: none;
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.container-nav {
    width: min(92%, 1400px);
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
}

.nav-brand {
    justify-self: start;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

header nav .nav-links {
    justify-self: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.596);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-actions {
    justify-self: end;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
}

.nav-actions .cart-nav-wrapper {
    margin-left: 0 !important;
}

.container {
    width: 65%;
    position: relative;
}

.video-landing {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
    position: relative;
    top: 0;
    z-index: -5;
    filter: opacity(.2) blur(5px);
}


/* Full-viewport first screen — only hero visible on load */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
    background: #161616;
    isolation: isolate;
}

.hero > .relative {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    background: #161616;
}

.hero .video-landing {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 130%;
    height: 130%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
    opacity: 0.28;
    filter: blur(6px);
}

.hero .text-container-center {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    z-index: 1;
    width: min(92%, 640px);
    padding: 5.5rem 1.25rem 2.5rem;
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

header {
    z-index: 10050;
    position: relative;
    height: 0;
    overflow: visible;
}

header nav ul {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1em 0;
    justify-content: center;
    display: flex;
    z-index: 10050;
    background: rgba(22, 22, 22, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

body.nav-scrolled header nav ul,
body.nav-lb-open header nav ul {
    background: rgba(22, 22, 22, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

body.nav-open header nav ul {
    background: #13141f;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

header nav .nav-links a:hover {
    color: #f39c12;
    animation: none;
}

/* ---- Mobile menu trigger (hamburger that morphs into an X) ---- */
.nav-menu-toggle {
  display: none;
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  border: 1px solid rgba(249, 115, 22, 0.3);
  background:
    linear-gradient(180deg, rgba(249, 115, 22, 0.16), rgba(185, 73, 33, 0.06)),
    rgba(20, 16, 14, 0.92);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.25s ease, border-color 0.25s ease,
    box-shadow 0.25s ease, transform 0.14s ease, color 0.25s ease;
}

.nav-menu-toggle:active {
  transform: scale(0.94);
}

.nav-menu-toggle:focus-visible {
  outline: 2px solid rgba(249, 115, 22, 0.8);
  outline-offset: 2px;
}

.nav-toggle-bars {
  position: relative;
  display: block;
  width: 22px;
  height: 16px;
  box-sizing: border-box;
  pointer-events: none;
}

.nav-toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.16s ease, width 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-toggle-bars span:nth-child(1) {
  top: 0;
}

.nav-toggle-bars span:nth-child(2) {
  top: 7px;
  width: 72%;
}

.nav-toggle-bars span:nth-child(3) {
  top: 14px;
}

.nav-menu-toggle:hover .nav-toggle-bars span:nth-child(2) {
  width: 100%;
}

.nav-menu-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-menu-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.2);
}

.nav-menu-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-menu-toggle:hover,
.nav-menu-toggle[aria-expanded="true"] {
  border-color: rgba(249, 115, 22, 0.7);
  background:
    linear-gradient(180deg, rgba(249, 115, 22, 0.32), rgba(185, 73, 33, 0.18)),
    rgba(20, 16, 14, 0.96);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.24);
}

.nav-menu-toggle[aria-expanded="true"] {
  color: #ffd2ab;
}

/* Mobile drawer panel — always hidden on desktop; never touches header .nav-links */
.nav-mobile-panel {
  display: none;
}

.nav-mobile-auth,
.nav-mobile-cta {
  display: none;
}

.nav-mobile-steam-icon,
.nav-mobile-discord-btn svg {
  width: 22px;
  height: 22px;
  max-width: 22px;
  max-height: 22px;
  flex-shrink: 0;
}

.nav-mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 10040;
  transition: opacity 0.28s ease, visibility 0.28s linear;
}

.nav-mobile-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.nav-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .nav-toggle-bars span,
  .nav-mobile-backdrop,
  .nav-mobile-panel,
  .nav-mobile-panel a {
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}

header nav .nav-links .current-pg {
    color: #f39c12 !important;
}

.our-servers {
    background: #1a1a1a url("./assets/textures/bg-texture-2.jpg") center 42% / 180% auto no-repeat;
    padding: 80px 0 70px;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 1.35rem;
    width: 100%;
    z-index: 1;
}

.servers-page .our-servers,
.leaderboard-page .our-servers {
    padding-top: 120px;
}

/* Short leaderboard ("coming soon") — pin footer to viewport bottom */
.leaderboard-page {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.leaderboard-page > header {
    flex-shrink: 0;
}

.leaderboard-page > section {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.leaderboard-page > footer {
    margin-top: auto;
    flex-shrink: 0;
    width: 100%;
    box-sizing: border-box;
}

.server-list-heading {
    margin-bottom: 1.5rem;
    padding: 0 1.5rem;
}

.server-list-heading h1 {
    letter-spacing: 0.04em;
}

.server-list-heading p {
    color: rgba(255, 255, 255, 0.72);
    margin-top: 0.35rem;
}

.ls-switch {
    width: min(1200px, 96%);
    margin: 0 auto 1.15rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    box-sizing: border-box;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: hidden;
}

.ls-switch-btn {
    appearance: none;
    -webkit-appearance: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.18rem;
    width: 100%;
    padding: 0.95rem 1.25rem;
    background: transparent;
    border: 0;
    border-radius: 0;
    color: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    text-align: left;
    box-sizing: border-box;
}

.ls-switch-btn + .ls-switch-btn {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.ls-switch-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
}

.ls-switch-btn.is-active {
    background: rgba(148, 39, 0, 0.22);
    color: #fff;
    box-shadow: inset 0 -2px 0 #c45a1a;
}

.ls-switch-top {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.ls-switch-label {
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.55rem;
    letter-spacing: 0.06em;
    line-height: 1;
    color: inherit;
}

.ls-switch-soon {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffecd5;
    background: rgba(148, 39, 0, 0.55);
    border: 1px solid rgba(196, 90, 26, 0.55);
    border-radius: 4px;
    padding: 0.18rem 0.4rem;
}

.ls-switch-hint {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: rgba(255, 255, 255, 0.4);
}

.ls-switch-btn.is-active .ls-switch-hint {
    color: rgba(255, 200, 150, 0.72);
}

.ls-switch-note {
    width: min(1200px, 96%);
    margin: -0.45rem auto 1.35rem;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.42);
    text-align: center;
}

.ls-soon,
.shop-container[hidden],
.lb-page-card[hidden],
.ls-soon[hidden] {
    display: none !important;
}

.ls-soon:not([hidden]) {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.4rem;
    width: min(1200px, 96%);
    min-height: 220px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    box-sizing: border-box;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
}

.ls-soon-kicker {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #f39c12;
}

.ls-soon h2 {
    margin: 0;
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(2.4rem, 5vw, 3.4rem);
    letter-spacing: 0.04em;
    line-height: 0.95;
    color: #fff;
}

.ls-soon p {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
}

.ls-metrics {
    width: min(1200px, 96%);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 0.15rem 0 1.1rem;
    box-sizing: border-box;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: hidden;
}

.ls-metric {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.3rem;
    min-height: 0;
    padding: 1.15rem 1.3rem;
    text-align: left;
    box-sizing: border-box;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.ls-metric + .ls-metric {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.ls-metric-icon {
    display: none;
}

.ls-metric-value {
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1;
    color: #ececec;
}

.ls-metric-label {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.38);
}

@media only screen and (max-width: 900px) {
    .ls-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ls-metric {
        padding: 1rem 1.05rem;
    }

    .ls-metric + .ls-metric {
        border-left: 0;
    }

    .ls-metric:nth-child(2n) {
        border-left: 1px solid rgba(255, 255, 255, 0.08);
    }

    .ls-metric:nth-child(n + 3) {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
}

@media only screen and (max-width: 480px) {
    .ls-metric-value {
        font-size: 1.7rem;
    }

    .ls-metric-label {
        letter-spacing: 0.1em;
        font-size: 0.62rem;
    }
}

/* Home — banner showcase (title + art only) */
.home-servers {
    position: relative;
    padding: 0 0 2rem;
}

.home-servers-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
}

.home-servers-heading {
    margin-bottom: 0.25rem;
}

.home-server-showcase {
    width: min(1100px, 94%);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.home-server-banner {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 12px;
    isolation: isolate;
    text-decoration: none;
    color: #fff;
    aspect-ratio: 16 / 9;
    min-height: 0;
    max-height: none;
    border: 1px solid rgba(255, 140, 60, 0.28);
    box-shadow:
        0 16px 32px rgba(0, 0, 0, 0.45),
        inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    transform: translateZ(0);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, border-color 0.3s ease;
}

.home-server-banner:hover,
.home-server-banner:focus-visible {
    transform: translateY(-4px) scale(1.008);
    border-color: rgba(249, 115, 22, 0.55);
    box-shadow:
        0 32px 64px rgba(0, 0, 0, 0.62),
        0 0 0 1px rgba(249, 115, 22, 0.18);
    outline: none;
}

.home-server-banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02);
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.45s ease;
    filter: saturate(1.05) contrast(1.04);
}

.home-server-banner:hover .home-server-banner-img,
.home-server-banner:focus-visible .home-server-banner-img {
    transform: scale(1.07);
    filter: saturate(1.12) contrast(1.06) brightness(1.03);
}

.home-server-banner-shade {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(8, 6, 5, 0.82) 0%, rgba(8, 6, 5, 0.35) 42%, rgba(8, 6, 5, 0.12) 70%, rgba(8, 6, 5, 0.45) 100%),
        linear-gradient(0deg, rgba(8, 6, 5, 0.88) 0%, rgba(8, 6, 5, 0.2) 48%, rgba(8, 6, 5, 0.15) 100%);
    z-index: 1;
}

.home-server-banner-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 0.85rem 1.15rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    max-width: min(100%, 720px);
}

.home-server-banner-kicker {
    font-family: Oswald, "Bebas Neue", sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #f39c12;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
}

.home-server-banner-title {
    margin: 0;
    font-family: Oswald, "Bebas Neue", sans-serif;
    font-weight: 700;
    font-size: clamp(0.95rem, 1.7vw, 1.25rem);
    letter-spacing: 0.04em;
    line-height: 1.15;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.75);
}

/* Full-width contrasting team band (breaks from main gray with a darker gray) */
.home-team-section {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 2.75rem;
    padding: 3.25rem 0 3.75rem;
    position: relative;
    background: #121212;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.home-team-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.06;
    background: url("./assets/textures/bg-pattern.webp") center / 260px repeat;
}

.home-team-section-inner {
    position: relative;
    z-index: 1;
    width: min(1100px, 94%);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.home-team-section .home-band-heading {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto;
}

.home-team-section .home-band-heading h2 {
    color: #f4f4f5;
}

.home-team-section .home-band-heading p {
    color: rgba(228, 228, 231, 0.7);
}

@media only screen and (max-width: 720px) {
    .home-server-showcase {
        grid-template-columns: 1fr;
        width: min(520px, 92%);
    }

    .home-server-banner {
        aspect-ratio: 16 / 9;
        border-radius: 10px;
    }

    .home-server-banner-copy {
        padding: 0.75rem 0.9rem 0.85rem;
    }

    .home-team-section {
        margin-top: 2rem;
        padding: 2.4rem 0 2.8rem;
    }
}

/* Server panel */
.server-panel {
    width: min(1200px, 96%);
    display: grid;
    grid-template-columns: minmax(0, 40%) minmax(0, 60%);
    align-items: stretch;
    background: linear-gradient(120deg, #100c0a 0%, #16110e 55%, #0a0a0a 100%);
    border: 1px solid rgba(148, 39, 0, 0.55);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

.server-panel-media {
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

.server-panel-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Soft fade into the content side plus a thin orange accent line */
.server-panel-media::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(10, 8, 7, 0) 55%, rgba(12, 10, 9, 0.75) 100%);
}

.server-panel-media::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(249, 115, 22, 0.25), #b94921 50%, rgba(249, 115, 22, 0.25));
}

.server-panel-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.65rem;
    padding: 1.25rem 1.5rem;
    min-width: 0;
}

.server-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    min-width: 0;
}

.server-panel-title {
    margin: 0;
    font-size: clamp(1.15rem, 1.85vw, 1.55rem);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1.2;
    min-width: 0;
    white-space: normal;
}

.server-status-text {
    flex-shrink: 0;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-family: sans-serif;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.server-status-text.is-online {
    color: #7dff8a;
    border-color: rgba(0, 201, 13, 0.35);
    background: rgba(0, 201, 13, 0.08);
}

.server-status-text.is-offline {
    color: #ffb347;
    border-color: rgba(255, 149, 0, 0.4);
    background: rgba(255, 149, 0, 0.1);
}

.server-panel-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.server-tag {
    color: #ffecd5;
    background: linear-gradient(180deg, rgb(120, 42, 28), rgb(84, 28, 18));
    border: 1px solid rgba(255, 160, 100, 0.22);
    padding: 0.15em 0.65em;
    border-radius: 5px;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.server-panel-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    padding: 0.6rem 0.9rem;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
}

.server-stat {
    min-width: 0;
}

.server-stat + .server-stat {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    padding-left: 1rem;
}

.server-stat-label {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 236, 213, 0.55);
    font-family: sans-serif;
    margin-bottom: 0.15rem;
}

.server-stat-value {
    display: block;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.server-panel-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    min-width: 0;
}

.server-connect-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-shrink: 0;
    height: 42px;
    padding: 0 1.15rem;
    border-radius: 8px;
    background: linear-gradient(45deg, #b94921, #942700);
    border: 1px solid rgba(255, 160, 100, 0.25);
    color: #fff;
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1;
    text-decoration: none;
    box-sizing: border-box;
    white-space: nowrap;
    transition: filter 0.15s linear;
}

.server-connect-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.server-connect-btn:hover {
    filter: brightness(1.15);
}

.server-panel-ip {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-width: 0;
}

.server-ip-text {
    font-family: sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.72);
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 0.4em 0.65em;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.server-copy-btn {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.5em 0.8em;
    border-radius: 6px;
    cursor: pointer;
    font-family: "Bebas Neue", sans-serif;
    flex-shrink: 0;
}

.server-copy-btn:hover {
    background: rgba(249, 115, 22, 0.25);
    border-color: rgba(249, 115, 22, 0.55);
}

@media only screen and (max-width: 900px) {
    .server-panel {
        grid-template-columns: 1fr;
    }

    .server-panel-media {
        min-height: 0;
        height: 140px;
    }

    .server-panel-media::before {
        background: linear-gradient(180deg, rgba(10, 8, 7, 0) 55%, rgba(12, 10, 9, 0.75) 100%);
    }

    .server-panel-media::after {
        top: auto;
        bottom: 0;
        width: 100%;
        height: 3px;
        background: linear-gradient(90deg, rgba(249, 115, 22, 0.25), #b94921 50%, rgba(249, 115, 22, 0.25));
    }

    .server-panel-body {
        padding: 1.15rem;
    }

    .server-panel-stats {
        grid-template-columns: 1fr 1fr;
        row-gap: 0.6rem;
    }

    .server-stat + .server-stat {
        border-left: 0;
        padding-left: 0;
    }

    .server-panel-actions {
        justify-content: flex-start;
    }
}

@media only screen and (max-width: 480px) {
    .server-panel-stats {
        grid-template-columns: 1fr;
    }

    .server-connect-btn,
    .server-panel-ip {
        width: 100%;
        justify-content: center;
    }
}

/* Servers page insights (traffic / join status) */
.server-insights {
    width: min(1200px, 96%);
    margin-top: 0.75rem;
    padding: 1rem 1.2rem 1.1rem;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    box-shadow: none;
}

.server-insights-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.95rem;
}

.server-insights-join {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.server-insights-join-label {
    font-family: sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 236, 213, 0.55);
}

.server-join-badge {
    font-family: sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.22rem 0.5rem;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: transparent;
}

.server-join-badge.is-joinable {
    color: #7dff8a;
    border-color: rgba(0, 201, 13, 0.4);
    background: rgba(0, 201, 13, 0.1);
}

.server-join-badge.is-queued {
    color: #ffd27a;
    border-color: rgba(255, 180, 40, 0.45);
    background: rgba(255, 180, 40, 0.1);
}

.server-join-badge.is-full {
    color: #ff8f70;
    border-color: rgba(249, 115, 22, 0.5);
    background: rgba(249, 115, 22, 0.12);
}

.server-join-badge.is-offline {
    color: #b8b8b8;
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
}

.server-insights-caption {
    margin: 0;
    font-family: sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    color: rgba(255, 236, 213, 0.45);
}

.server-insights-tiles {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
    margin-bottom: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    overflow: hidden;
}

.server-insight-tile {
    min-width: 0;
    padding: 0.6rem 0.75rem;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.server-insight-tile + .server-insight-tile {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.server-insight-label {
    display: block;
    font-family: sans-serif;
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 236, 213, 0.5);
    margin-bottom: 0.2rem;
}

.server-insight-value {
    display: block;
    font-size: 1.05rem;
    letter-spacing: 0.03em;
    color: #fff;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.server-insights-chart {
    height: 80px;
    padding: 0.35rem 0.25rem 0.15rem;
    background: #141414;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    overflow: hidden;
}

.server-traffic-sparkline {
    width: 100%;
    height: 100%;
    display: block;
}

.server-traffic-sparkline .spark-area {
    fill: rgba(185, 73, 33, 0.28);
}

.server-traffic-sparkline .spark-line {
    fill: none;
    stroke: #f97316;
    stroke-width: 2;
    stroke-linejoin: round;
    stroke-linecap: round;
}

@media only screen and (max-width: 900px) {
    .server-insights-tiles {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .server-insight-tile + .server-insight-tile {
        border-left: 0;
    }

    .server-insight-tile:nth-child(3n + 2),
    .server-insight-tile:nth-child(3n + 3) {
        border-left: 1px solid rgba(255, 255, 255, 0.08);
    }

    .server-insight-tile:nth-child(n + 4) {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
}

@media only screen and (max-width: 480px) {
    .server-insights {
        padding: 1rem;
    }

    .server-insights-tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .server-insight-tile:nth-child(3n + 2),
    .server-insight-tile:nth-child(3n + 3) {
        border-left: 0;
    }

    .server-insight-tile:nth-child(2n) {
        border-left: 1px solid rgba(255, 255, 255, 0.08);
    }

    .server-insight-tile:nth-child(n + 3) {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
}

/* Main */

.text-header {
    text-transform: uppercase;
    font-weight: 400;
}

.text-container-center {
    justify-content: center;
    display: flex;
    transform: translate(-50%);
    position: absolute;
    align-items: center;
    text-align: center;
    top: 12rem;
    left: 50%;
    z-index: 1;
    filter: drop-shadow(2px 3px 5px rgba(0, 0, 0, 0.342));
}

.new-notify {
    color: rgb(238, 238, 238);
    border: 1px solid rgba(255, 166, 115, 0.233);
    border-radius: 10px;
    display: inline-block;
    padding: .2em 2em;
}

/* Contact */

input[type=text], select, textarea {
  width: 100%;
  padding: 12px;
  background: #7b7b7b1c;
  border-bottom: 2px solid #7a7a7a;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

input[type="text"]:focus{
    outline: none;
}

input[type=submit] {
  padding: 12px 20px;
  border-radius: 4px;
  cursor: pointer;
  color: white;
  background: linear-gradient(45deg, #252525, #303030, #1e1e1e);
  border: 1px solid #464646;
  width: 150px;
  height: 25px;
  font-size: 16px;
  letter-spacing: 4px;
  text-transform: uppercase;
  transition: .7s ease;
}

input[type=submit]:hover {
    box-shadow: 10px 9px 0 rgb(46 46 46);
}

select option {
    color: white;
    background: rgb(32, 32, 32);
}

footer {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 2rem 0;
    position: relative;
    z-index: 1;
}

.footer-shell {
    width: 80%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.footer-top-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem 2rem;
}

.footer-policies {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    align-self: center;
    gap: 0.75rem 1.25rem;
    margin: 0;
    padding: 0;
    line-height: 1;
}

.footer-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

.footer-brand img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    flex-shrink: 0;
}

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

.footer-brand-name {
    margin: 0;
    padding: 0;
    font-size: 1.75rem;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #fff;
}

footer .copyright {
    font-size: 13px;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-weight: 400;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.55);
    text-align: left;
}

footer .copyright p {
    margin: 0;
}

footer .copyright .footer-credit {
    margin-top: 0.2rem;
}

footer .copyright .footer-credit a {
    font-size: 13px;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.2s ease;
}

footer .copyright .footer-credit a:hover {
    color: #f97316;
}

.footer-policies a {
    font-size: 15px;
    letter-spacing: 0.04em;
    color: rgb(187, 187, 187);
    text-decoration: none;
    transition: color 0.2s ease;
    line-height: 1;
}

.footer-policies a:hover {
    color: #fff;
}

footer a {
    font-size: 24px;
    color: rgb(187, 187, 187);
}

@media only screen and (max-width: 768px) {
    .footer-shell {
        width: 90%;
    }

    .footer-top-row {
        flex-direction: column;
        align-items: flex-start;
    }

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

/* Text Clips */

.text-clip-orange {
    background: linear-gradient(180deg, #e07028, #c45a1a, #9a3c0c);
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
}

/* Steam login button (nav) */
.btn-steam-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    height: 42px;
    padding: 0 0.95rem 0 0.75rem;
    border-radius: 6px;
    background: linear-gradient(180deg, #2a475e 0%, #1b2838 55%, #171a21 100%);
    border: 1px solid rgba(102, 192, 244, 0.35);
    color: #fff;
    text-decoration: none;
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
    box-sizing: border-box;
    transition: filter 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn-steam-login:hover {
    filter: brightness(1.12);
    border-color: rgba(102, 192, 244, 0.7);
}

.btn-steam-login-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #66c0f4;
}

.nav-actions li {
    list-style: none;
}

/* Legal pages (TOS / Privacy / Refund) — full site width like servers/shop */
.legal-page {
    padding: 120px 0 70px;
    min-height: 100vh;
    background: #1a1a1a url("./assets/textures/bg-texture-2.jpg") center 42% / 180% auto no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.35rem;
    width: 100%;
    box-sizing: border-box;
}

.legal-shell {
    width: min(1200px, 96%);
    margin: 0 auto;
    padding: 1.75rem 2rem 2.25rem;
    background: linear-gradient(180deg, #1c1410 0%, #161210 100%);
    border: 1px solid rgba(148, 39, 0, 0.5);
    border-radius: 8px;
    box-shadow: inset 0 1px 0 rgba(255, 140, 50, 0.08);
    box-sizing: border-box;
}

.legal-eyebrow {
    margin: 0 0 0.35rem;
    font-family: sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(249, 115, 22, 0.85);
}

.legal-shell h1 {
    margin: 0 0 0.35rem;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.legal-updated {
    margin: 0 0 1.5rem;
    font-family: sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
}

.legal-shell h2 {
    margin: 1.75rem 0 0.55rem;
    font-size: 1.35rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #ffb27a;
}

.legal-shell p,
.legal-shell li {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    font-size: 0.98rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
}

.legal-shell p {
    margin: 0 0 0.85rem;
}

.legal-shell ul {
    margin: 0 0 1rem;
    padding-left: 1.2rem;
}

.legal-shell li {
    margin-bottom: 0.4rem;
}

.legal-shell a {
    color: #f97316;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-shell code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.88em;
    color: #ffd7a8;
    background: rgba(255, 255, 255, 0.06);
    padding: 0.1em 0.35em;
    border-radius: 4px;
}

.legal-links-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-links-row a {
    font-family: "Bebas Neue", sans-serif;
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
}

.legal-links-row a:hover {
    color: #f97316;
}

.hero-cta-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    width: 100%;
}

.hero-servers-btn {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 200px !important;
    height: 50px !important;
    padding: 0.15em 0 0 !important;
    font-size: 24px !important;
    line-height: 1 !important;
    letter-spacing: 0.08em;
    text-align: center !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    background: linear-gradient(180deg, #3a3a3a, #1f1f1f) !important;
    border-color: #464646 !important;
    color: #fff !important;
}

.btn-primary {
    color: white;
    background: linear-gradient(45deg, #252525, #303030, #1e1e1e);
    border: 1px solid #464646;
    width: 150px;
    height: 40px;
    letter-spacing: 2px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    transition: .25s ease-in;
    line-height: 1;
    box-sizing: border-box;
    padding: 0;
    text-decoration: none;
}

.hero-discord-btn {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0;
    vertical-align: middle;
    background: linear-gradient(180deg, #e07028, #c45a1a, #9a3c0c) !important;
    border-color: #7a2e0e !important;
}

@media only screen and (max-width: 768px) {
    .legal-page {
        padding: 100px 0 48px;
    }

    .legal-shell {
        width: min(1200px, 94%);
        padding: 1.35rem 1.1rem 1.6rem;
    }

    .btn-steam-login span {
        display: none;
    }

    .btn-steam-login {
        width: 42px;
        height: 42px;
        padding: 0;
        border-radius: 8px;
    }
}

.btn-primary:hover {
    background: linear-gradient(45deg, #9f6841, #a54c4c, #eb7d7d);
    border-color: #3b2a2ad4;
}

.btn-2D-shadow:hover {
    box-shadow: 10px 9px 0 rgb(46 46 46);
}

.btn-icon {
    width: fit-content;
    height: fit-content;
    padding: .5em;
    background: linear-gradient(45deg, #b94921, #942700);
    display: flex;
    border-radius: 10px;
    transition: all linear;
}

.btn-icon:hover {
    transform: scale(1.1);
}

/* Keyframes */

/* Color Transform */
@keyframes text-ct {
    0% {
        color: currentColor;
    }
    100% {
        color: white;
    }
}

/* Shop Redesign */
.shop-main {
    padding-top: 0;
    min-height: 0;
    background: transparent;
}

.shop-page .our-servers {
    padding-top: 120px;
    padding-bottom: 70px;
}

.shop-container {
    width: min(1200px, 96%);
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.75rem;
}

.shop-card {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    width: 320px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: none;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    transition: border-color 0.2s ease, background 0.2s ease;
    box-sizing: border-box;
}
.shop-card:hover {
    transform: none;
    border-color: rgba(196, 90, 26, 0.5);
    /* Keep package tint — do not flatten to gray on hover */
}
.shop-card-img-wrapper {
    padding: 16px 16px 0 16px;
}
.shop-card-img {
    border-radius: 6px;
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    filter: none;
}
.shop-card:hover .shop-card-img {
    filter: none;
    opacity: 1;
}
.shop-card-content {
    padding: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: transparent;
}
.shop-card-title {
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 1px;
    margin: 0 0 0.35rem;
}
.shop-card-price-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin: 0.5rem 0 1rem;
}
.shop-price {
    line-height: 1.2;
    min-width: 0;
}
.shop-price .price-val {
    font-size: 22px;
    font-weight: 700;
    font-family: Inter, system-ui, sans-serif;
}
.shop-price .price-term {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.45);
    font-family: Inter, system-ui, sans-serif;
}
.shop-checkout {
    margin-top: auto;
}
.checkout-title {
    font-size: 18px;
    color: #fff;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.shop-btn-subscribe {
    background-color: #8a3a12;
    color: white;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
    text-transform: none;
    letter-spacing: normal;
    border: 1px solid #c45a1a;
    font-family: Inter, system-ui, sans-serif;
    flex-shrink: 0;
    white-space: nowrap;
    box-sizing: border-box;
}
.shop-btn-subscribe:hover {
    background-color: #a34716;
    border-color: #e07028;
    box-shadow: none;
    transform: none;
}
.shop-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.shop-features li {
    font-size: 15px;
    margin-bottom: 10px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-family: Inter, system-ui, sans-serif;
}

/* Rank cards: deep colour across the whole card with a soft glow behind the art */
.shop-card-green {
    border-color: rgba(46, 140, 62, 0.55);
    box-shadow: none;
    background:
        radial-gradient(120% 55% at 50% 12%, rgba(38, 120, 58, 0.42) 0%, rgba(38, 120, 58, 0) 70%),
        linear-gradient(180deg, #102c18 0%, #0c2213 100%);
}
.shop-card-green:hover {
    box-shadow: none;
    border-color: rgba(74, 176, 96, 0.8);
    background:
        radial-gradient(120% 55% at 50% 12%, rgba(38, 120, 58, 0.42) 0%, rgba(38, 120, 58, 0) 70%),
        linear-gradient(180deg, #102c18 0%, #0c2213 100%);
}

.shop-card-blue {
    border-color: rgba(48, 110, 186, 0.55);
    box-shadow: none;
    background:
        radial-gradient(120% 55% at 50% 12%, rgba(46, 104, 190, 0.40) 0%, rgba(46, 104, 190, 0) 70%),
        linear-gradient(180deg, #0e1c40 0%, #0a1531 100%);
}
.shop-card-blue:hover {
    box-shadow: none;
    border-color: rgba(86, 150, 220, 0.8);
    background:
        radial-gradient(120% 55% at 50% 12%, rgba(46, 104, 190, 0.40) 0%, rgba(46, 104, 190, 0) 70%),
        linear-gradient(180deg, #0e1c40 0%, #0a1531 100%);
}

.shop-card-red {
    border-color: rgba(180, 50, 42, 0.55);
    box-shadow: none;
    background:
        radial-gradient(120% 55% at 50% 12%, rgba(168, 44, 40, 0.42) 0%, rgba(168, 44, 40, 0) 70%),
        linear-gradient(180deg, #300d11 0%, #24090c 100%);
}
.shop-card-red:hover {
    box-shadow: none;
    border-color: rgba(214, 74, 60, 0.8);
    background:
        radial-gradient(120% 55% at 50% 12%, rgba(168, 44, 40, 0.42) 0%, rgba(168, 44, 40, 0) 70%),
        linear-gradient(180deg, #300d11 0%, #24090c 100%);
}

/* BattleMetrics Banner & Server Status Styles */
#server-name, #logo {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#server-address {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#server-status {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 50%;
  margin-right: 5px;
}

#server-status.status-online, .status-online {
  background-color: #00c90d;
  box-shadow: 0 0 8px #00c90d;
}

#server-status.status-offline, .status-offline {
  background-color: #ff9500;
  box-shadow: 0 0 8px #ff9500;
}

#server-status.status-dead, .status-dead {
  background-color: #9b0400;
  box-shadow: 0 0 8px #9b0400;
}

#server-rank, #server-players {
  display: inline-block;
  margin-right: 10px;
}

#server-details, #chart {
  float: left;
  width: 50%;
}

/* ==========================================================================
   Shopping Cart Drawer & Component Styles
   ========================================================================== */

/* Cart Overlay */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.cart-overlay.cart-open {
  opacity: 1;
  pointer-events: auto;
}

/* Cart Drawer Panel */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 420px;
  max-width: 100vw;
  height: 100vh;
  background-color: #121318;
  border-left: 1px solid rgba(249, 115, 22, 0.3);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: 'Inter', sans-serif;
}
.cart-drawer.cart-open {
  right: 0;
}

/* Cart Header */
.cart-header {
  padding: 20px 24px;
  background: linear-gradient(180deg, #1c1e26 0%, #121318 100%);
  border-bottom: 1px solid #27272a;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-header-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  color: #fff;
  letter-spacing: 1px;
  margin: 0;
  line-height: 1;
}
.cart-header-sub {
  font-size: 12px;
  color: #a1a1aa;
  margin-top: 2px;
}
.cart-close-btn {
  background: #27272a;
  border: 1px solid #3f3f46;
  color: #a1a1aa;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.cart-close-btn:hover {
  background: #ef4444;
  color: #fff;
  border-color: #dc2626;
}

/* Steam Status Bar in Cart */
.cart-steam-section {
  padding: 12px 24px;
  background: #181920;
  border-bottom: 1px solid #27272a;
}
.cart-steam-connected {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 8px;
  padding: 10px 14px;
}
.cart-steam-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #f97316;
}
.cart-steam-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.cart-steam-id {
  font-size: 11px;
  color: #a1a1aa;
}
.cart-steam-badge {
  font-size: 11px;
  font-weight: 600;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.15);
  padding: 3px 8px;
  border-radius: 12px;
}

.cart-steam-disconnected {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 8px;
  padding: 10px 14px;
}
.cart-steam-warning-title {
  font-size: 13px;
  font-weight: 700;
  color: #fbbf24;
}
.cart-steam-warning-sub {
  font-size: 11px;
  color: #a1a1aa;
}
.cart-steam-login-btn {
  background: linear-gradient(180deg, #f97316, #ea580c);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.cart-steam-login-btn:hover {
  opacity: 0.9;
}

/* Cart Body & Items */
.cart-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cart-empty-state {
  margin: auto;
  text-align: center;
  padding: 40px 20px;
}
.cart-empty-icon {
  width: 64px;
  height: 64px;
  color: #3f3f46;
  margin: 0 auto 16px auto;
}
.cart-empty-title {
  font-size: 20px;
  font-weight: 700;
  color: #f4f4f5;
  margin-bottom: 8px;
}
.cart-empty-desc {
  font-size: 14px;
  color: #71717a;
  max-width: 280px;
  margin: 0 auto 20px auto;
  line-height: 1.4;
}
.cart-shop-now-btn {
  display: inline-block;
  background: #27272a;
  color: #f97316;
  border: 1px solid #f97316;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.cart-shop-now-btn:hover {
  background: #f97316;
  color: #fff;
}

.cart-item-row {
  background: #1c1e26;
  border: 1px solid #27272a;
  border-radius: 10px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color 0.2s ease;
}
.cart-item-row:hover {
  border-color: #3f3f46;
}
.cart-item-img {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  object-fit: cover;
  background: #090a0f;
  border: 1px solid #27272a;
}
.cart-item-details {
  flex-grow: 1;
}
.cart-item-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px 0;
  text-transform: uppercase;
}
.cart-item-price {
  font-size: 15px;
  font-weight: 700;
  color: #f97316;
}
.cart-item-term {
  font-size: 12px;
  color: #a1a1aa;
  font-weight: 400;
}
.cart-item-remove-btn {
  background: transparent;
  border: none;
  color: #71717a;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.cart-item-remove-btn:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

/* One-rank checkout limit */
.cart-rank-limit {
  padding: 0 24px 12px;
}
.cart-rank-limit-msg {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.45);
  border-radius: 8px;
  padding: 12px 14px;
  color: #fde68a;
  font-size: 13px;
  line-height: 1.4;
}
.cart-rank-limit-msg strong {
  color: #fbbf24;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.cart-checkout-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* Cart Footer */
.cart-footer {
  padding: 20px 24px;
  background: #161820;
  border-top: 1px solid #27272a;
}
.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.cart-subtotal-label {
  font-size: 14px;
  color: #a1a1aa;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.cart-subtotal-val {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}
.cart-guarantee-note {
  font-size: 12px;
  color: #a1a1aa;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cart-actions-row {
  display: flex;
  gap: 12px;
}
.cart-clear-btn {
  background: #27272a;
  color: #a1a1aa;
  border: 1px solid #3f3f46;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.cart-clear-btn:hover {
  background: #3f3f46;
  color: #fff;
}
.cart-checkout-btn {
  flex-grow: 1;
  background: linear-gradient(180deg, #f97316 0%, #c2410c 100%);
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.4);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-checkout-btn:hover {
  background: linear-gradient(180deg, #fb923c 0%, #ea580c 100%);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.6);
  transform: translateY(-1px);
}
.cart-checkout-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Cart + Discord nav links */
.nav-cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-discord-link {
  color: #7289da !important;
}

.nav-discord-link:hover {
  color: #a5b4fc !important;
}

.nav-lb-toggle {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
  line-height: inherit;
}

.nav-lb-toggle:hover,
.nav-lb-toggle.is-open {
  color: #fff;
}

.nav-lb-panel {
  position: fixed;
  top: calc(var(--mobile-nav-top, 76px) + 10px);
  left: 50%;
  width: min(560px, calc(100vw - 1.5rem));
  max-height: min(72vh, 560px);
  z-index: 10070;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: 1rem 1rem 0.85rem;
  border-radius: 18px;
  border: 1px solid rgba(243, 156, 18, 0.45);
  background: linear-gradient(160deg, rgba(16, 12, 10, 0.98), rgba(10, 10, 10, 0.98));
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s linear;
}

.nav-lb-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-lb-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.nav-lb-kicker {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f39c12;
}

.nav-lb-title {
  margin: 0.1rem 0 0;
  font-size: 1.65rem;
  letter-spacing: 0.04em;
  color: #fff;
}

.nav-lb-sub {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.5);
  text-align: right;
  max-width: 48%;
}

.nav-lb-card {
  flex: 1 1 auto;
  min-height: 0;
  max-height: min(56vh, 420px);
  overflow: auto;
  border-radius: 12px;
}

.nav-lb-card .leaderboard-head,
.nav-lb-card .leaderboard-row {
  padding: 0.7rem 0.9rem;
}

.cart-nav-trigger {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}
.cart-nav-trigger:hover {
  background: rgba(249, 115, 22, 0.15);
  border-color: #f97316;
}
.cart-badge-count {
  background: #f97316;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  border-radius: 10px;
  padding: 2px 7px;
  min-width: 18px;
  text-align: center;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Toast Message */
.cart-toast-msg {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #18181b;
  border: 1px solid #4ade80;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  z-index: 99999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.cart-toast-msg.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Full Dedicated Cart Page Styles (/cart)
   ========================================================================== */

.cart-page-body {
  background-color: #0b0c13;
  color: #f1f5f9;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Top Navbar on Cart Page */
.cart-nav-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 12, 19, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cart-top-navbar {
  padding: 14px 0;
}

.cart-nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.brand-logo {
  object-fit: contain;
  transition: transform 0.2s ease;
}
.brand-logo:hover {
  transform: scale(1.05);
}

.brand-name {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1.5px;
  font-size: 28px;
  color: #ffffff;
}

.cart-nav-menu .nav-item {
  position: relative;
}

.cart-nav-menu .nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 6px 0;
}

.cart-nav-menu .nav-link:hover,
.cart-nav-menu .nav-link.active-link {
  color: #ffffff;
}

.dropdown-chevron {
  width: 14px;
  height: 14px;
  color: #64748b;
  transition: transform 0.2s ease;
}
.nav-item:hover .dropdown-chevron {
  transform: translateY(1px);
  color: #94a3b8;
}

/* Nav Action Buttons */
.nav-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
  transition: all 0.2s ease;
}

.nav-icon-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.cart-icon-btn.active {
  background: rgba(249, 115, 22, 0.12);
  border-color: rgba(249, 115, 22, 0.35);
  color: #f97316;
}

.cart-icon-btn .cart-badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #f97316;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  min-width: 17px;
  height: 17px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.btn-discord {
  background: #5865F2;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(88, 101, 242, 0.3);
}

.btn-discord:hover {
  background: #4752c4;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(88, 101, 242, 0.45);
}

.btn-play-now {
  background: linear-gradient(180deg, #f97316 0%, #ea580c 100%);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(249, 115, 22, 0.35);
}

.btn-play-now:hover {
  background: linear-gradient(180deg, #fb923c 0%, #f97316 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.5);
}

/* Main Cart Wrapper */
.cart-main-wrapper {
  flex-grow: 1;
  padding-top: 60px;
  padding-bottom: 90px;
}

.cart-container-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.cart-heading-block {
  margin-bottom: 32px;
}

.cart-main-heading {
  font-family: 'Inter', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin: 0;
}

/* Two-Column Grid */
.cart-content-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 36px;
  align-items: start;
}

@media (max-width: 1024px) {
  .cart-nav-menu {
    display: none;
  }
  .cart-content-grid {
    grid-template-columns: 1fr 340px;
    gap: 24px;
  }
}

@media (max-width: 860px) {
  .cart-content-grid {
    grid-template-columns: 1fr;
  }
}

/* Left Column: Virtual Goods Section */
.cart-left-col {
  display: flex;
  flex-direction: column;
}

.cart-col-header {
  margin-bottom: 16px;
}

.cart-section-tag {
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.cart-items-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Cart Item Card (Matching Reference Screenshot) */
.cart-page-item-card {
  background: #12141e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.cart-page-item-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: #151724;
}

.cart-item-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-item-thumb-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  background: #090a0f;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-item-thumb {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.cart-item-meta {
  display: flex;
  flex-direction: column;
}

.cart-item-title-text {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 3px 0;
  line-height: 1.25;
}

.cart-item-sub-price {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 500;
}

.cart-item-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.cart-sub-label {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 500;
}

.cart-price-bold {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.2px;
}

.cart-item-trash-btn {
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.cart-item-trash-btn:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  transform: scale(1.05);
}

/* Empty State */
.cart-page-empty-box {
  background: #12141e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 48px 24px;
  text-align: center;
}

.cart-page-empty-icon {
  width: 56px;
  height: 56px;
  color: #475569;
  margin: 0 auto 16px auto;
}

.cart-page-empty-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.cart-page-empty-text {
  font-size: 14px;
  color: #94a3b8;
  max-width: 320px;
  margin: 0 auto 20px auto;
}

.cart-page-browse-btn {
  display: inline-block;
  background: #f97316;
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.cart-page-browse-btn:hover {
  opacity: 0.9;
}

/* Continue shopping link */
.cart-continue-wrap {
  margin-top: 24px;
}

.cart-continue-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cart-continue-btn:hover {
  color: #ffffff;
  transform: translateX(-3px);
}

/* Right Column: Virtual Goods Summary Box */
.cart-summary-box {
  background: #12141e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  position: sticky;
  top: 90px;
}

.cart-summary-header {
  margin-bottom: 20px;
}

.cart-summary-heading {
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin: 0;
}

.cart-summary-line {
  margin-bottom: 16px;
  font-size: 14px;
}

.summary-label {
  color: #94a3b8;
  font-weight: 500;
}

.summary-val {
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
}

.coupon-remove-link {
  background: transparent;
  border: none;
  color: #f87171;
  cursor: pointer;
  font-size: 11px;
  margin-left: 4px;
}
.coupon-remove-link:hover {
  color: #ef4444;
}

/* Coupon Input Group */
.cart-coupon-wrapper {
  margin: 18px 0;
}

.coupon-form-group {
  display: flex;
  gap: 8px;
}

.coupon-input {
  flex-grow: 1;
  background: #090a10;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 14px;
  color: #ffffff;
  outline: none;
  box-sizing: border-box;
  margin: 0;
  transition: border-color 0.2s ease;
}

.coupon-input:focus {
  border-color: #f97316;
}

.coupon-apply-btn {
  background: #232736;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.coupon-apply-btn:hover {
  background: #2e3348;
}

.coupon-feedback-msg {
  font-size: 12px;
  margin-top: 6px;
  line-height: 1.3;
}
.coupon-feedback-msg.success {
  color: #34d399;
}
.coupon-feedback-msg.error {
  color: #f87171;
}

.summary-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 20px 0;
}

/* Total Row */
.cart-total-line {
  margin-bottom: 20px;
}

.total-label {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.total-val {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
}

/* Steam Status in Cart Page */
.cart-steam-page-box {
  margin-bottom: 16px;
}

.cart-page-steam-connected {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-page-steam-disconnected {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

/* Main Checkout Button */
.btn-cart-checkout {
  width: 100%;
  background: linear-gradient(180deg, #f97316 0%, #ea580c 100%);
  color: #ffffff;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 20px;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.4);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-cart-checkout:hover {
  background: linear-gradient(180deg, #fb923c 0%, #f97316 100%);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.55);
  transform: translateY(-1px);
}

.btn-cart-checkout:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.cart-trust-note {
  font-size: 11px;
  color: #64748b;
  margin-top: 14px;
  line-height: 1.4;
  text-align: center;
}

/* Footer on Cart Page */
.cart-page-footer {
  background: #08090e;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 50px 0 36px 0;
  font-family: 'Inter', sans-serif;
  margin-top: auto;
}

.footer-inner-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-brand-block {
  max-width: 320px;
}

.footer-desc {
  line-height: 1.5;
}

.font-bebas {
  font-family: 'Bebas Neue', sans-serif;
}

.footer-column-title {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  margin-bottom: 4px;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav-list a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

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

/* Team (home) */
.home-band {
  width: 100%;
  padding: 72px 1.25rem 80px;
  box-sizing: border-box;
  background: #1a1a1a;
}

.our-servers > .home-band {
  width: 100%;
  padding: 1.75rem 0 0;
  background: transparent;
}

.home-band + .home-band {
  padding-top: 0;
}

.home-band-inner {
  width: min(1200px, 96%);
  margin: 0 auto;
}

.home-band-heading {
  text-align: center;
  margin-bottom: 2rem;
}

.home-band-heading h2 {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: 0.04em;
  margin: 0 0 0.45rem;
  color: #fff;
}

.home-band-heading p {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.98rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 auto;
  max-width: 520px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  background: none;
  border: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

.team-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.15rem 1.2rem;
  border-radius: 8px;
  box-sizing: border-box;
  background: #101010;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: none;
  overflow: hidden;
  isolation: isolate;
}

.team-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("./assets/textures/bg-pattern.webp") center / 280px repeat;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

.team-card > * {
  position: relative;
  z-index: 1;
}

.team-avatar-wrap {
  position: relative;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.team-avatar-well {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.5);
  background: #0c0c0c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
}

.team-avatar-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  display: block;
}

.team-discord-tag {
  display: block;
  margin-top: 0.15rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.42);
}

.team-status {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #101010;
  background: #23a55a;
  box-sizing: border-box;
}

.team-status.is-online { background: #23a55a; }
.team-status.is-idle { background: #f0b232; }
.team-status.is-dnd { background: #f23f43; }
.team-status.is-offline { background: #23a55a; }

.team-card-body {
  min-width: 0;
  flex: 1;
}

.team-name-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.team-name {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  font-weight: 650;
  color: #ececec;
  margin: 0;
  line-height: 1.2;
}

.team-role-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  flex-shrink: 0;
  text-decoration: none;
  color: #c45a1a;
  background: #0c0c0c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
}

.team-role-icon:hover {
  color: #e07028;
  border-color: rgba(196, 90, 26, 0.45);
}

.team-role-icon svg {
  width: 13px;
  height: 13px;
  display: block;
}

.team-role {
  display: block;
  margin-top: 0.2rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f39c12;
}

.team-presence {
  display: block;
  margin-top: 0.12rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.4);
}

.team-presence.is-online { color: #23a55a; }
.team-presence.is-idle { color: #f0b232; }
.team-presence.is-dnd { color: #f23f43; }
.team-presence.is-offline { color: rgba(255, 255, 255, 0.38); }

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.55rem;
}

.team-tag {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.18rem 0.45rem;
  border-radius: 3px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.5);
}

.team-tag.is-muted {
  background: transparent;
  color: rgba(255, 255, 255, 0.35);
}

.team-bio {
  margin: 0.55rem 0 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.86rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.55);
}

.leaderboard-card {
  border-radius: 8px;
  background: linear-gradient(180deg, #1c1410 0%, #161210 100%);
  border: 1px solid rgba(148, 39, 0, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 140, 50, 0.08);
  overflow: hidden;
}

.lb-page-card {
  width: min(1200px, 96%);
}

.shop-page .server-list-heading p,
.leaderboard-page .server-list-heading p,
.leaderboard-page .leaderboard-head,
.leaderboard-page .leaderboard-row,
.leaderboard-page .leaderboard-empty,
.leaderboard-page .lb-rank,
.leaderboard-page .lb-name,
.leaderboard-page .lb-server,
.leaderboard-page .lb-time {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.shop-page .server-list-heading,
.leaderboard-page .server-list-heading {
  margin-bottom: 0.4rem;
}

.shop-page .server-list-heading p,
.leaderboard-page .server-list-heading p {
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.62);
}

.leaderboard-page .leaderboard-head,
.leaderboard-page .leaderboard-row {
  grid-template-columns: 80px minmax(0, 1fr) 140px;
  gap: 1rem;
  padding: 1.15rem 1.5rem;
}

.leaderboard-page .leaderboard-head {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: rgba(255, 236, 213, 0.55);
}

.leaderboard-page .leaderboard-row {
  font-size: 1.2rem;
  line-height: 1.35;
}

.leaderboard-page .lb-rank {
  font-size: 1.25rem;
  font-weight: 800;
}

.leaderboard-page .lb-name {
  font-size: 1.25rem;
  font-weight: 650;
}

.leaderboard-page .lb-server {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.62);
}

.leaderboard-page .lb-time {
  font-size: 1.15rem;
}

.leaderboard-page .leaderboard-empty {
  font-size: 1.2rem;
  padding: 2.75rem 1.5rem;
}

.leaderboard-head,
.leaderboard-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 90px;
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 1.15rem;
  box-sizing: border-box;
}

.leaderboard-head {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.leaderboard-row {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.leaderboard-row:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.lb-rank {
  font-weight: 800;
  color: #f39c12;
}

.lb-name {
  color: #fff;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lb-server {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lb-time {
  color: rgba(255, 255, 255, 0.8);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.leaderboard-empty {
  padding: 2rem 1.15rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ========== Mobile / tablet UI ========== */
@media only screen and (max-width: 1024px) {
  .container-nav {
    width: min(94%, 1400px);
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.65rem;
  }

  .nav-menu-toggle {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: none;
  }

  .nav-menu-toggle:hover,
  .nav-menu-toggle[aria-expanded="true"] {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
    color: #fff;
  }

  /* Steam lives inside the drawer on mobile (4noobs layout) */
  #nav-auth-container,
  .nav-actions .btn-steam-login,
  .nav-actions .steam-profile-nav {
    display: none !important;
  }

  /* Hide desktop link row — mobile uses #nav-mobile-panel instead */
  header nav .nav-links {
    display: none !important;
  }

  /* Full-width mobile drawer panel */
  .nav-mobile-panel {
    display: flex;
    position: fixed;
    top: var(--mobile-nav-top, 76px);
    left: 0;
    width: 100vw;
    max-width: 100vw;
    z-index: 10055;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.85rem 1.25rem 1.5rem;
    margin: 0;
    box-sizing: border-box;
    background: #13141f;
    border-radius: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 28px 50px rgba(0, 0, 0, 0.55);
    max-height: calc(100vh - var(--mobile-nav-top, 76px));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 0.22s ease,
      visibility 0.32s linear;
  }

  .nav-mobile-panel.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-mobile-list {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    width: 100%;
  }

  .nav-mobile-list > a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 52px;
    padding: 0.85rem 1rem;
    box-sizing: border-box;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: rgba(255, 255, 255, 0.92);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.01em;
    text-transform: none;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.18s ease, color 0.18s ease;
  }

  .nav-mobile-list > a::after {
    content: "";
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    margin-left: auto;
    border-right: 2px solid rgba(255, 255, 255, 0.35);
    border-bottom: 2px solid rgba(255, 255, 255, 0.35);
    transform: rotate(45deg) translateY(-2px);
    opacity: 0.7;
  }

  .nav-mobile-list > a:hover,
  .nav-mobile-list > a:active,
  .nav-mobile-list > a:focus-visible {
    background: rgba(243, 156, 18, 0.12);
    color: #f39c12 !important;
  }

  .nav-mobile-list > a:hover::after,
  .nav-mobile-list > a:active::after {
    border-color: #f39c12;
    opacity: 1;
  }

  .nav-mobile-list > a.current-pg {
    background: rgba(185, 100, 30, 0.28);
    color: #f39c12 !important;
  }

  .nav-mobile-list > a.current-pg::after {
    border-color: #f39c12;
    opacity: 0.9;
  }

  /* Steam Login row */
  .nav-mobile-auth {
    display: block;
    margin-top: 0.35rem;
    padding-top: 0.25rem;
  }

  .nav-mobile-steam {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 52px;
    padding: 0.75rem 0.9rem;
    box-sizing: border-box;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    transition: background 0.18s ease, color 0.18s ease;
  }

  .nav-mobile-steam:hover,
  .nav-mobile-steam:active {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
  }

  .nav-mobile-steam-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: #c7d5e0;
  }

  .nav-mobile-profile {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 52px;
    padding: 0.75rem 0.9rem;
    box-sizing: border-box;
    border-radius: 10px;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  }

  .nav-mobile-profile img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid rgba(243, 156, 18, 0.55);
  }

  .nav-mobile-profile span {
    flex: 1;
    min-width: 0;
    font-size: 1.02rem;
    font-weight: 500;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-mobile-signout {
    appearance: none;
    border: none;
    background: transparent;
    color: #ef4444;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.25rem 0.4rem;
  }

  /* Bottom Discord pill */
  .nav-mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-top: 1.15rem;
    padding-top: 0.35rem;
  }

  .nav-mobile-discord-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    min-height: 50px;
    padding: 0.85rem 1.1rem;
    box-sizing: border-box;
    border-radius: 12px;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0.01em;
    line-height: 1;
    background: #5865f2;
    color: #fff;
    transition: filter 0.15s ease, transform 0.12s ease;
  }

  .nav-mobile-discord-btn:active {
    transform: scale(0.985);
  }

  .nav-mobile-discord-btn:hover {
    filter: brightness(1.06);
    color: #fff;
  }

  .nav-mobile-discord-btn svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
  }

  .nav-actions {
    gap: 0.45rem;
  }

  .cart-nav-trigger {
    padding: 6px 10px;
  }

  .cart-nav-trigger span:not(.cart-badge-count) {
    display: none;
  }

  .nav-brand h2 {
    font-size: 1.45rem !important;
    line-height: 1.1;
  }

  .nav-brand .text-sm {
    display: none;
  }

  .nav-brand img {
    width: 48px !important;
    height: auto;
  }

  .btn-primary.btn-2D-shadow.text-lg {
    width: auto;
    min-width: 0;
    height: 36px;
    padding: 0 0.85rem;
    font-size: 0.95rem;
    letter-spacing: 1px;
    box-sizing: border-box;
  }
}

@media only screen and (max-width: 768px) {
  header nav ul {
    padding: 0.65em 0;
  }

  .video-landing {
    height: min(72vh, 460px);
    filter: opacity(0.28) blur(3px);
  }

  .hero {
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
  }

  .hero .video-landing {
    width: 130%;
    height: 130%;
    opacity: 0.3;
    filter: blur(5px);
  }

  .hero .text-container-center,
  .text-container-center {
    top: auto;
    left: auto;
    transform: none;
    width: min(94vw, 520px);
    padding: 5.5rem 1rem 2rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .text-container-center > div,
  .text-container-center .flex,
  .text-container-center .flex-col {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
  }

  .text-container-center h1,
  .text-container-center .text-9xl {
    font-size: clamp(3.2rem, 16vw, 5.5rem) !important;
    line-height: 0.95;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    text-align: center;
  }

  .text-container-center .text-xl {
    font-size: 0.98rem !important;
    line-height: 1.45;
    padding: 0 0.35rem;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
    text-align: center !important;
    box-sizing: border-box;
  }

  .text-container-center .new-notify {
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
  }

  .text-container-center .flex-row,
  .text-container-center .hero-cta-row {
    flex-direction: column !important;
    width: 100%;
    align-items: center;
    justify-content: center;
  }

  .text-container-center .btn-primary,
  .text-container-center .hero-discord-btn,
  .text-container-center .hero-servers-btn {
    width: 100% !important;
    max-width: 280px;
    height: 48px !important;
    font-size: 1.15rem !important;
    letter-spacing: 0.08em;
    box-sizing: border-box !important;
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    line-height: 1 !important;
    padding: 0.15em 0 0 !important;
    margin-left: auto;
    margin-right: auto;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .leaderboard-head,
  .leaderboard-row {
    grid-template-columns: 40px minmax(0, 1fr) 80px;
  }

  .leaderboard-page .leaderboard-head,
  .leaderboard-page .leaderboard-row {
    grid-template-columns: 56px minmax(0, 1fr) 92px;
    padding: 1rem 1.1rem;
  }

  .leaderboard-page .leaderboard-row {
    font-size: 1.08rem;
  }

  .leaderboard-page .lb-name,
  .leaderboard-page .lb-rank {
    font-size: 1.12rem;
  }

  .leaderboard-page .lb-time {
    font-size: 1.05rem;
  }

  .lb-server {
    display: none;
  }

  .new-notify {
    font-size: 0.85rem;
    padding: 0.25em 1.1em;
  }

  .our-servers {
    padding: 72px 0 48px;
  }

  .servers-page .our-servers,
  .leaderboard-page .our-servers {
    padding-top: 100px;
  }

  .shop-page .our-servers {
    padding-top: 88px;
  }

  .server-list-heading {
    padding: 0 1rem;
    margin-bottom: 1.1rem;
  }

  .server-list-heading h1,
  .server-list-heading .text-6xl {
    font-size: clamp(2rem, 9vw, 3rem) !important;
  }

  .server-list-heading p,
  .server-list-heading .text-2xl {
    font-size: 1rem !important;
  }

  .server-panel-title {
    white-space: normal;
    font-size: 1.2rem;
  }

  .server-panel-header {
    align-items: flex-start;
  }

  .server-insights {
    width: min(1200px, 96%);
    padding: 0.95rem;
  }

  .server-insights-caption {
    width: 100%;
  }

  .shop-page .our-servers {
    padding-top: 88px;
    padding-bottom: 48px;
    padding-left: 0;
    padding-right: 0;
  }

  .ls-switch {
    width: min(100% - 1.5rem, 1200px);
    margin: 0 auto 0.85rem;
  }

  .ls-switch-btn {
    padding: 0.75rem 0.85rem;
    gap: 0.12rem;
    min-width: 0;
  }

  .ls-switch-btn + .ls-switch-btn {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
  }

  .ls-switch-label {
    font-size: 1.2rem;
  }

  .ls-switch-hint {
    font-size: 0.65rem;
    line-height: 1.25;
    white-space: normal;
  }

  .ls-switch-note {
    width: min(100% - 1.5rem, 1200px);
    margin: -0.2rem auto 1.1rem;
    font-size: 0.78rem;
    line-height: 1.4;
    padding: 0 0.25rem;
    box-sizing: border-box;
  }

  .shop-main {
    padding-top: 0;
    overflow-x: hidden;
  }

  .shop-header {
    margin-top: 0.75rem !important;
    margin-bottom: 1.5rem !important;
    padding: 0 1rem;
  }

  .shop-header .text-6xl {
    font-size: clamp(2.4rem, 12vw, 3.5rem) !important;
  }

  .shop-header .text-2xl {
    font-size: 1.05rem !important;
  }

  .shop-container {
    width: min(100% - 1.5rem, 1200px);
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.9rem !important;
    margin: 0 auto 2.5rem !important;
    padding: 0;
    box-sizing: border-box;
  }

  .shop-card {
    width: 100%;
    max-width: none;
    flex-direction: row;
    align-items: stretch;
    box-sizing: border-box;
  }

  .shop-card:hover {
    transform: none;
  }

  .shop-card-img-wrapper {
    flex: 0 0 38%;
    max-width: 140px;
    padding: 12px 0 12px 12px;
    display: flex;
    align-items: center;
  }

  .shop-card-img {
    width: 100%;
    height: auto;
    max-height: 120px;
    object-fit: contain;
  }

  .shop-card-content {
    flex: 1;
    min-width: 0;
    padding: 12px 14px 14px;
  }

  .shop-card-title {
    font-size: 1.35rem !important;
    margin-bottom: 0.15rem;
  }

  .shop-card-price-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    margin: 0.35rem 0 0.75rem;
  }

  .shop-price .price-val {
    font-size: 1.15rem;
  }

  .shop-price .price-term {
    font-size: 0.78rem;
  }

  .shop-btn-subscribe {
    width: 100%;
    padding: 11px 14px;
    font-size: 0.9rem;
  }

  .shop-features li {
    font-size: 0.82rem;
    margin-bottom: 0.4rem;
  }

  .cart-main-wrapper {
    padding-top: 88px;
    padding-bottom: 48px;
  }

  .cart-container-main {
    padding: 0 14px;
  }

  .cart-main-heading {
    font-size: 1.75rem;
  }

  .cart-heading-block {
    margin-bottom: 1.25rem;
  }

  .cart-page-item-card {
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    gap: 12px;
  }

  .cart-item-left,
  .cart-item-right {
    width: 100%;
    justify-content: space-between;
  }

  .cart-item-right {
    gap: 12px;
    flex-wrap: wrap;
  }

  footer {
    padding: 1.5rem 0;
    font-size: 15px;
  }

  footer a,
  .footer-policies a {
    font-size: 0.95rem !important;
  }

  .footer-brand-name {
    font-size: 1.35rem;
  }

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

  .footer-policies {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }
}

@media only screen and (max-width: 480px) {
  .nav-brand h2 {
    font-size: 1.15rem !important;
    max-width: 34vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-brand img {
    width: 40px !important;
  }

  .nav-menu-toggle {
    width: 44px;
    height: 44px;
    border-radius: 11px;
  }

  .nav-mobile-panel {
    padding: 0.85rem 1.1rem 1.35rem;
  }

  .nav-mobile-list > a {
    min-height: 52px;
    font-size: 1.08rem;
  }

  .hero .text-container-center,
  .text-container-center {
    top: auto;
    padding-top: 5rem;
  }

  .server-panel-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .server-connect-btn {
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
  }

  .server-panel-ip {
    width: 100%;
    justify-content: space-between;
  }

  .server-ip-text {
    flex: 1;
    min-width: 0;
  }

  .server-insights-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .server-insights-chart {
    height: 72px;
  }

  .ls-switch {
    width: calc(100% - 1.25rem);
  }

  .ls-switch-btn {
    padding: 0.7rem 0.7rem;
  }

  .ls-switch-label {
    font-size: 1.1rem;
  }

  .ls-switch-hint {
    font-size: 0.6rem;
  }

  .ls-switch-note {
    width: calc(100% - 1.25rem);
    font-size: 0.72rem;
  }

  .shop-container {
    width: calc(100% - 1.25rem);
    gap: 0.75rem !important;
  }

  .shop-card {
    flex-direction: column;
  }

  .shop-card-img-wrapper {
    flex: none;
    max-width: none;
    width: 100%;
    padding: 14px 14px 0;
    justify-content: center;
  }

  .shop-card-img {
    max-height: 150px;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
  }

  .shop-card-content {
    padding: 12px 14px 16px;
  }

  .shop-card-title {
    text-align: center;
    font-size: 1.55rem !important;
  }

  .shop-card-price-row {
    align-items: center;
  }

  .shop-price {
    text-align: center;
    width: 100%;
  }
}