* {
  box-sizing: border-box;
}

:root {
  --bg: #050a12;
  --panel: rgba(11, 20, 35, .88);
  --panel-2: rgba(15, 29, 50, .92);
  --line: rgba(151, 214, 255, .13);
  --text: #f4f9ff;
  --muted: #91a8c2;
  --blue: #49bdff;
  --blue-2: #2076ff;
  --green: #46e6a7;
  --shadow: 0 24px 70px rgba(0,0,0,.34);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -10%, #0f3151 0%, transparent 32%),
    linear-gradient(180deg, #07111f 0%, #050912 40%, #05080d 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

button, a {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.bg-orb {
  position: fixed;
  width: 420px;
  height: 420px;
  filter: blur(110px);
  border-radius: 999px;
  opacity: .16;
  pointer-events: none;
  z-index: -1;
}

.orb-a {
  background: #00a8ff;
  top: 80px;
  left: -180px;
}

.orb-b {
  background: #5a3cff;
  right: -160px;
  top: 480px;
}

.nav {
  width: min(1180px, calc(100% - 40px));
  margin: 18px auto 0;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 14px 12px 18px;
  border: 1px solid var(--line);
  background: rgba(4, 10, 18, .72);
  backdrop-filter: blur(18px);
  border-radius: 18px;
  position: sticky;
  top: 14px;
  z-index: 20;
  box-shadow: 0 10px 40px rgba(0,0,0,.18);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.brand span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand strong {
  letter-spacing: .11em;
  font-size: 15px;
}

.brand small {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .22em;
  margin-top: 4px;
}

.logo-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-weight: 950;
  color: #04111e;
  background: linear-gradient(135deg, #89e4ff, #2c8eff);
  border-radius: 11px;
  box-shadow: 0 0 25px rgba(66, 180, 255, .34);
}

.nav-links {
  display: flex;
  gap: 26px;
  color: #bcd0e5;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover {
  color: white;
}

.cart-button, .primary-btn, .secondary-btn {
  border: 0;
  border-radius: 12px;
  font-weight: 850;
}

.cart-button {
  color: white;
  padding: 12px 16px;
  background: #0c1c2f;
  border: 1px solid var(--line);
}

.cart-button span {
  display: inline-grid;
  place-items: center;
  margin-left: 5px;
  width: 23px;
  height: 23px;
  border-radius: 999px;
  color: #00182d;
  background: var(--blue);
  font-size: 12px;
}

.hero {
  width: min(1180px, calc(100% - 40px));
  margin: 88px auto 58px;
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 58px;
  align-items: center;
}

.hero-copy {
  padding: 20px 0;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: .2em;
  font-weight: 900;
  color: #66caff;
}

.hero h1 {
  font-size: clamp(48px, 7vw, 86px);
  line-height: .97;
  letter-spacing: -.055em;
  margin: 18px 0 22px;
  max-width: 820px;
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(90deg, #85ddff, #3184ff);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-copy > p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  max-width: 680px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin: 30px 0 26px;
}

.primary-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 20px;
  color: #031220;
  background: linear-gradient(135deg, #7fe0ff, #2f8cff);
  box-shadow: 0 12px 34px rgba(39, 141, 255, .26);
  transition: .2s ease;
}

.primary-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.secondary-btn {
  min-height: 48px;
  padding: 0 20px;
  color: white;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
}

.server-pill {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 13px;
  background: rgba(8, 18, 31, .65);
  border: 1px solid var(--line);
  border-radius: 13px;
}

.server-pill div {
  display: flex;
  flex-direction: column;
}

.server-pill small {
  font-weight: 900;
  letter-spacing: .08em;
  font-size: 10px;
}

.server-pill strong {
  color: var(--muted);
  font-size: 11px;
  margin-top: 2px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(70,230,167,.11), 0 0 20px rgba(70,230,167,.6);
}

.hero-card {
  min-height: 425px;
  border-radius: 26px;
  border: 1px solid rgba(103, 198, 255, .24);
  background:
    linear-gradient(180deg, rgba(24, 54, 92, .72), rgba(7, 16, 28, .95)),
    radial-gradient(circle at 50% 20%, rgba(62,183,255,.45), transparent 30%);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.05);
  padding: 34px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, black, transparent 65%);
}

.hero-card .crown {
  position: absolute;
  top: 24px;
  right: 30px;
  font-size: 88px;
  color: rgba(113, 204, 255, .82);
  text-shadow: 0 0 50px rgba(55,163,255,.55);
  transform: rotate(8deg);
}

.hero-card > * {
  position: relative;
  z-index: 2;
}

.hero-card > span {
  color: #83d7ff;
  font-weight: 900;
  letter-spacing: .16em;
  font-size: 10px;
}

.hero-card h2 {
  margin: 7px 0 4px;
  font-size: 42px;
  letter-spacing: -.04em;
}

.hero-card p {
  color: #9fb6ce;
  line-height: 1.55;
}

.price {
  font-size: 25px;
  font-weight: 950;
  margin: 9px 0 18px;
}

.price small {
  font-size: 10px;
  color: #7994af;
  letter-spacing: .08em;
}

.wide {
  width: 100%;
}

.trust-row {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 86px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: rgba(8, 17, 29, .55);
  border-radius: 18px;
  overflow: hidden;
}

.trust-row div {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
}

.trust-row div:last-child {
  border: 0;
}

.trust-row strong {
  font-size: 13px;
}

.trust-row span {
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
}

.store-section, .faq {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 96px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: end;
  margin-bottom: 26px;
}

.section-heading h2 {
  font-size: clamp(32px, 4vw, 50px);
  letter-spacing: -.04em;
  margin: 6px 0 0;
}

.section-heading > p {
  max-width: 430px;
  color: var(--muted);
  line-height: 1.6;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.product-card {
  min-height: 450px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(13, 27, 47, .86), rgba(7, 14, 24, .96));
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 50px rgba(0,0,0,.15);
}

.product-card::after {
  content: "";
  height: 120px;
  position: absolute;
  inset: 0 0 auto 0;
  opacity: .19;
  filter: blur(20px);
  pointer-events: none;
}

.prestige::after { background: #258cff; }
.prestige-plus::after { background: #9c5bff; }
.eternal::after { background: #ffdb3c; }
.eternal-plus::after { background: #ff8b2e; }
.og-rank::after { background: #8fe8ff; }

.product-card > * {
  position: relative;
  z-index: 2;
}

.product-card.featured {
  border-color: rgba(255, 160, 76, .48);
  transform: translateY(-7px);
  box-shadow: 0 20px 60px rgba(255, 118, 37, .08);
}

.featured-label {
  position: absolute;
  right: -35px;
  top: 24px;
  transform: rotate(38deg);
  background: #ff8b2e;
  color: #1c0c00;
  font-weight: 950;
  font-size: 9px;
  letter-spacing: .12em;
  padding: 8px 40px;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-icon {
  width: 58px;
  height: 58px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-weight: 950;
  font-size: 18px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.08);
}

.badge {
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .12em;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #9edbff;
}

.product-card h3 {
  font-size: 27px;
  margin: 27px 0 8px;
}

.product-card > p {
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
  min-height: 66px;
}

.product-card ul {
  padding: 0;
  margin: 14px 0 26px;
  list-style: none;
  color: #bed0e2;
  font-size: 13px;
  line-height: 2;
}

.product-card li::before {
  content: "✓";
  color: #5fd0ff;
  margin-right: 8px;
  font-weight: 900;
}

.product-bottom {
  margin-top: auto;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.product-bottom .price {
  margin: 0;
  font-size: 22px;
}

.add-btn {
  width: 45px;
  height: 45px;
  border: 0;
  border-radius: 12px;
  font-size: 24px;
  color: #04111f;
  font-weight: 950;
  background: #6dd4ff;
}

.crate-grid {
  display: grid;
  gap: 12px;
}

.crate-card {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 118px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(9, 19, 33, .78);
}

.crate-art {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  font-size: 30px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.07);
}

.crate-card span {
  display: block;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .14em;
  color: var(--muted);
  margin-bottom: 3px;
}

.crate-card h3 {
  margin: 0;
  font-size: 21px;
}

.crate-card p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.crate-buy {
  display: flex;
  gap: 14px;
  align-items: center;
}

.crate-buy strong {
  font-size: 20px;
}

.crate-buy button {
  border: 0;
  color: white;
  font-weight: 900;
  padding: 10px 16px;
  border-radius: 10px;
  background: #132a44;
}

.common .crate-art { color: #87e8ae; }
.gold .crate-art { color: #ffd95a; }
.crimson .crate-art { color: #ff5767; }
.prime .crate-art { color: #4bbcff; }
.amethyst .crate-art { color: #b478ff; }

.cta-panel {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 96px;
  padding: 34px;
  border: 1px solid rgba(95, 198, 255, .2);
  border-radius: 24px;
  background:
    radial-gradient(circle at 85% 20%, rgba(65,159,255,.24), transparent 28%),
    linear-gradient(135deg, rgba(11, 29, 50, .95), rgba(6, 14, 24, .95));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
}

.cta-panel h2 {
  font-size: 32px;
  margin: 7px 0 7px;
}

.cta-panel p {
  color: var(--muted);
  margin: 0;
}

.faq details {
  border: 1px solid var(--line);
  background: rgba(8, 17, 29, .66);
  border-radius: 14px;
  margin: 10px 0;
  padding: 18px 20px;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.faq details p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

footer {
  width: min(1180px, calc(100% - 40px));
  border-top: 1px solid var(--line);
  margin: 0 auto;
  padding: 28px 0 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px);
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  right: 0;
  top: 0;
  height: 100vh;
  width: min(450px, 100%);
  background: #08121f;
  border-left: 1px solid var(--line);
  z-index: 60;
  transform: translateX(102%);
  transition: .25s ease;
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: -30px 0 80px rgba(0,0,0,.34);
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h2 {
  margin: 5px 0 0;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0d1c2d;
  color: white;
  font-size: 25px;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 22px 0;
}

.empty-cart {
  color: var(--muted);
  text-align: center;
  padding: 70px 20px;
  border: 1px dashed var(--line);
  border-radius: 15px;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item strong {
  font-size: 14px;
}

.cart-item small {
  color: var(--muted);
}

.remove-item {
  color: #ff8790;
  border: 0;
  background: transparent;
  font-size: 12px;
  padding: 0;
}

.cart-footer {
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.total-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.total-line strong {
  font-size: 22px;
}

.cart-footer > small {
  display: block;
  text-align: center;
  color: var(--muted);
  margin-top: 11px;
}

.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: #d8f4ff;
  color: #06101c;
  font-weight: 900;
  font-size: 13px;
  padding: 11px 15px;
  border-radius: 10px;
  opacity: 0;
  pointer-events: none;
  z-index: 100;
  transition: .2s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

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

  .hero-card {
    min-height: 360px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-row div:nth-child(2) {
    border-right: 0;
  }

  .trust-row div:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 680px) {
  .nav {
    width: calc(100% - 22px);
  }

  .nav-links {
    display: none;
  }

  .hero,
  .store-section,
  .faq,
  .cta-panel,
  .trust-row,
  footer {
    width: calc(100% - 24px);
  }

  .hero {
    margin-top: 52px;
    gap: 20px;
  }

  .hero h1 {
    font-size: 52px;
  }

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

  .product-card.featured {
    transform: none;
  }

  .section-heading,
  .cta-panel,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading > p {
    margin-bottom: 0;
  }

  .crate-card {
    grid-template-columns: 60px 1fr;
  }

  .crate-art {
    width: 54px;
    height: 54px;
  }

  .crate-buy {
    grid-column: 1 / -1;
    justify-content: space-between;
    padding-top: 4px;
  }

  .trust-row {
    grid-template-columns: 1fr 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .server-pill {
    width: 100%;
  }
}




/* Minecraft-style shulker crate icon */
.crate-art {
  position: relative;
  width: 64px;
  height: 64px;
  display: block;
  background: transparent;
  border: 0;
}

.shulker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  border: 2px solid rgba(255,255,255,.18);
  background: currentColor;
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.08);
}

.shulker-lid {
  top: 10px;
  height: 18px;
  border-radius: 8px 8px 5px 5px;
  box-shadow:
    inset 0 3px 0 rgba(255,255,255,.10),
    inset 0 -4px 0 rgba(0,0,0,.10),
    0 4px 0 rgba(0,0,0,.08);
}

.shulker-base {
  top: 28px;
  height: 22px;
  border-radius: 5px 5px 8px 8px;
  box-shadow:
    inset 0 3px 0 rgba(255,255,255,.08),
    inset 0 -5px 0 rgba(0,0,0,.16),
    0 10px 18px rgba(0,0,0,.28);
}

.shulker-lock {
  position: absolute;
  left: 50%;
  top: 24px;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: rgba(255,255,255,.48);
  border: 2px solid rgba(0,0,0,.10);
  z-index: 2;
}


/* Actual shulker-box image assets used inside the website crate cards */
.crate-card .crate-art {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.025);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  overflow: hidden;
}

.crate-card .crate-art img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 7px 8px rgba(0,0,0,.28));
}

/* Disable the previous CSS-only box pieces when image assets are present. */
.crate-card .crate-art .shulker,
.crate-card .crate-art .shulker-lock {
  display: none;
}
