:root {
  --bg-deep: #090e16;
  --bg-surface: #101826;
  --bg-card: #152033;
  --bg-card-hover: #1a2840;
  --bg-elevated: #1e2d47;

  --emerald: #38d864;
  --emerald-dark: #1ea846;
  --emerald-glow: rgba(56, 216, 100, 0.24);

  --gold: #facc15;
  --gold-dark: #eab308;
  --gold-glow: rgba(250, 204, 21, 0.24);

  --discord: #5865f2;
  --discord-dark: #4752c4;
  --discord-glow: rgba(88, 101, 242, 0.3);

  --purpur-violet: #c084fc;

  --text-main: #f3f6fc;
  --text-muted: #98a8c3;
  --text-dim: #6c7e9c;

  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(56, 216, 100, 0.35);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --font-display: 'Chakra Petch', sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-sans);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--bg-deep);
  line-height: 1.6;
  overflow-x: hidden;
}

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.app-main-body {
  flex: 1;
}

img {
  max-width: 100%;
  display: block;
}

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

code {
  font-family: ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', monospace;
}

.text-emerald {
  color: var(--emerald);
}

.text-gold {
  color: var(--gold);
}

.container {
  width: min(1240px, 92%);
  margin-inline: auto;
}

/* Top Announcement Bar */
.top-banner {
  background: linear-gradient(90deg, #0f291e 0%, #173528 50%, #242112 100%);
  border-bottom: 1px solid rgba(56, 216, 100, 0.25);
  font-size: 0.85rem;
  padding: 0.5rem 0;
}

.top-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  text-align: center;
}

.pill-live {
  background: var(--gold);
  color: #111827;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
}

.top-banner-link {
  color: var(--emerald);
  font-weight: 700;
  white-space: nowrap;
}

.top-banner-link:hover {
  text-decoration: underline;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(9, 14, 22, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 0.85rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.brand-logo {
  width: 50px;
  height: 40px;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.5));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.03em;
}

.brand-title span {
  color: var(--emerald);
}

.brand-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 1.15rem;
}

.nav-group {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex: 1;
}

.nav-group-left {
  justify-content: flex-end;
}

.nav-group-right {
  justify-content: flex-start;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  transition: color 0.18s ease, background 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}

.nav-links a.nav-store-pill {
  flex-shrink: 0;
  background: linear-gradient(180deg, rgba(56, 216, 100, 0.24) 0%, rgba(34, 184, 76, 0.14) 100%);
  border: 1px solid rgba(56, 216, 100, 0.78);
  color: #ecfdf5;
  padding: 0.42rem 1.1rem;
  border-radius: 8px;
  font-weight: 800;
  letter-spacing: 0.03em;
  box-shadow: 0 0 18px rgba(56, 216, 100, 0.38), inset 0 0 10px rgba(56, 216, 100, 0.18);
}

.nav-links a.nav-store-pill.active,
.nav-links a.nav-store-pill:hover {
  background: var(--emerald);
  border-color: var(--emerald);
  color: #06140b;
  box-shadow: 0 0 24px rgba(56, 216, 100, 0.62), 0 0 8px rgba(56, 216, 100, 0.4);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.66rem 1.15rem;
  cursor: pointer;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.btn-sm {
  padding: 0.46rem 0.85rem;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 0.82rem 1.35rem;
  font-size: 0.95rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(180deg, #42e36f 0%, #22b84c 100%);
  color: #06140b;
  box-shadow: 0 6px 20px var(--emerald-glow);
}

.btn-primary:hover:not(:disabled) {
  background: linear-gradient(180deg, #54eb7f 0%, #28c955 100%);
  box-shadow: 0 8px 26px rgba(56, 216, 100, 0.38);
}

.btn-gold {
  background: linear-gradient(180deg, #fde047 0%, #eab308 100%);
  color: #181203;
  box-shadow: 0 6px 20px var(--gold-glow);
}

.btn-gold:hover:not(:disabled) {
  background: linear-gradient(180deg, #fef08a 0%, #facc15 100%);
}

.btn-discord {
  background: linear-gradient(180deg, #6571f5 0%, #4e5ae0 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px var(--discord-glow);
}

.btn-discord:hover:not(:disabled) {
  background: linear-gradient(180deg, #7580fa 0%, #5865f2 100%);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border-color: var(--border);
}

.btn-ghost:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-paypal {
  background: linear-gradient(180deg, #ffd166 0%, #ffc439 100%);
  color: #003087;
  width: 100%;
  padding: 0.8rem 0.95rem;
}

.btn-paypal:hover:not(:disabled) {
  background: linear-gradient(180deg, #ffdb85 0%, #f5b82e 100%);
}

.btn-qrph {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 60%, #b91c1c 100%);
  color: #ffffff;
  border: 1px solid rgba(250, 204, 21, 0.4);
  width: 100%;
  padding: 0.8rem 0.95rem;
}

.btn-qrph:hover:not(:disabled) {
  filter: brightness(1.1);
}

.cart-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.48rem 0.8rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
}

.cart-trigger:hover {
  background: var(--bg-card-hover);
}

.cart-badge {
  background: var(--emerald);
  color: #06140b;
  font-size: 0.74rem;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 38px;
  height: 38px;
  padding: 0 9px;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 100%;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
}

/* Hero Section */
.vh-100 {
  min-height: 100vh;
  min-height: 100dvh;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 4.25rem 0 4.75rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    95deg,
    rgba(9, 14, 22, 0.94) 0%,
    rgba(9, 14, 22, 0.84) 55%,
    rgba(9, 14, 22, 0.62) 100%
  );
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.8fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-content,
.hero-visual {
  min-width: 0;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.05rem;
}

.status-pill,
.version-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.34rem 0.78rem;
  border-radius: 999px;
  background: rgba(16, 24, 38, 0.88);
  border: 1px solid var(--border);
}

.status-dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
}

.version-pill {
  color: var(--gold);
  border-color: rgba(250, 204, 21, 0.3);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.8vw, 3.8rem);
  line-height: 1.06;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.hero h1 span {
  color: var(--emerald);
}

.hero-lead {
  color: #cbd7ec;
  font-size: 1.04rem;
  max-width: 620px;
  margin: 0 0 1.6rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.85rem;
}

/* IP Connection Cards */
.ip-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.ip-card {
  min-width: 0;
  background: rgba(16, 24, 38, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
}

.ip-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.edition-tag {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.5rem;
  border-radius: 5px;
}

.edition-tag.java {
  background: rgba(56, 216, 100, 0.16);
  color: var(--emerald);
}

.edition-tag.bedrock {
  background: rgba(59, 130, 246, 0.18);
  color: #60a5fa;
}

.port-label {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.ip-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  background: rgba(9, 14, 22, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
}

.ip-card-row code {
  font-size: 0.84rem;
  color: #ffffff;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.copy-btn {
  background: var(--bg-elevated);
  color: var(--emerald);
  border: 1px solid rgba(56, 216, 100, 0.3);
  border-radius: 6px;
  padding: 0.28rem 0.62rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}

.copy-btn:hover {
  background: var(--emerald);
  color: #06140b;
}

.ip-card-alt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.copy-link {
  background: none;
  border: none;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.copy-link:hover {
  text-decoration: underline;
}

/* Standalone Hero Logo (no card container) */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-standalone {
  width: min(390px, 90%);
  height: auto;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.72));
  animation: floatSlow 5s ease-in-out infinite;
}

@keyframes floatSlow {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Donation Goal Section ($100 USD) */
.donation-goal-section {
  padding: 3.25rem 0 1.5rem;
}

.donation-goal-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.05fr);
  gap: 2rem;
  align-items: center;
  background: linear-gradient(135deg, #112130 0%, #132520 55%, #1f1d13 100%);
  border: 1px solid rgba(56, 216, 100, 0.32);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4);
}

.donation-goal-left,
.donation-goal-right {
  min-width: 0;
}

.donation-goal-left h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  margin: 0.2rem 0 0.7rem;
}

.donation-context-copy {
  color: #cbd7ec;
  font-size: 0.94rem;
  margin: 0 0 1.25rem;
}

.donation-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.donation-note-tag {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.donation-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.donation-stat-box {
  background: rgba(9, 14, 22, 0.65);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 0.9rem;
}

.donation-stat-box.highlight-emerald {
  border-color: rgba(56, 216, 100, 0.35);
}

.donation-stat-box.highlight-gold {
  border-color: rgba(250, 204, 21, 0.32);
}

.stat-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.stat-val {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
}

.donation-bar-card {
  background: rgba(9, 14, 22, 0.72);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.1rem;
}

.donation-bar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.86rem;
  margin-bottom: 0.55rem;
}

.donation-bar-top strong {
  color: var(--emerald);
  font-family: var(--font-display);
  font-size: 0.96rem;
}

.goal-progress-track {
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.goal-progress-track.lg {
  height: 16px;
}

.goal-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #22c55e 0%, #38d864 60%, #facc15 100%);
  border-radius: 999px;
  box-shadow: 0 0 16px rgba(56, 216, 100, 0.55);
  transition: width 0.5s ease;
}

.goal-milestones {
  display: flex;
  justify-content: space-between;
  margin-top: 0.45rem;
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* Generic Sections */
.section {
  padding: 4.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.75rem;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--emerald);
  margin-bottom: 0.4rem;
}

.eyebrow.gold {
  color: var(--gold);
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  margin: 0 0 0.7rem;
}

.section-header p {
  color: var(--text-muted);
  margin: 0;
}

/* Features Showcase */
.features-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.85rem;
}

.features-banner-img img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.features-banner-copy {
  min-width: 0;
  padding: 2rem 2rem 2rem 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.badge-accent {
  align-self: flex-start;
  background: rgba(192, 132, 252, 0.16);
  border: 1px solid rgba(192, 132, 252, 0.35);
  color: #d8b4fe;
  font-family: var(--font-display);
  font-size: 0.73rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

.features-banner-copy h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 0 0 0.65rem;
}

.features-banner-copy p {
  color: var(--text-muted);
  margin: 0 0 1rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: #dce6f7;
}

.check-svg-wrap {
  color: var(--emerald);
  display: inline-flex;
  flex-shrink: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.05rem;
}

.feature-card {
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.3rem;
  transition: transform 0.18s ease, border-color 0.2s ease, background 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(56, 216, 100, 0.12);
  color: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.14rem;
  margin: 0 0 0.38rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 0;
}

/* Season 1 Battlepass Section */
.battlepass-section {
  background: linear-gradient(180deg, rgba(16, 24, 38, 0.4) 0%, rgba(20, 32, 24, 0.45) 50%, rgba(9, 14, 22, 0) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.battlepass-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.15fr);
  gap: 2rem;
  background: linear-gradient(135deg, #13212c 0%, #16231e 55%, #231e12 100%);
  border: 1px solid rgba(250, 204, 21, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  align-items: center;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.45);
}

.bp-art-col {
  position: relative;
  min-width: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.bp-art-col img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.bp-price-tag {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(9, 14, 22, 0.92);
  border: 1px solid var(--gold);
  border-radius: 12px;
  padding: 0.5rem 0.9rem;
  text-align: right;
  backdrop-filter: blur(8px);
}

.bp-price-label {
  display: block;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.bp-price-amount {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
}

.bp-price-amount small {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.bp-info-col {
  min-width: 0;
}

.bp-info-col h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 0.25rem 0 0.75rem;
}

.bp-info-col p {
  color: #cfd9ec;
  margin: 0 0 1.3rem;
}

.bp-highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  margin-bottom: 1.45rem;
}

.bp-stat {
  min-width: 0;
  background: rgba(9, 14, 22, 0.55);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.7rem;
}

.bp-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold);
}

.bp-stat span {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.bp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.bp-track-wrapper {
  margin-top: 1.9rem;
}

.bp-track-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.bp-track-header h3 {
  font-family: var(--font-display);
  margin: 0;
  font-size: 1.18rem;
}

.bp-track-header span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.bp-track-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(178px, 1fr));
  gap: 0.8rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
}

.bp-tier-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

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

.bp-tier-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--gold);
  background: rgba(250, 204, 21, 0.14);
  padding: 0.16rem 0.55rem;
  border-radius: 6px;
}

.bp-tier-box {
  border-radius: 8px;
  padding: 0.52rem 0.62rem;
  font-size: 0.77rem;
}

.bp-tier-box.free {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
}

.bp-tier-box.premium {
  background: rgba(56, 216, 100, 0.11);
  border: 1px solid rgba(56, 216, 100, 0.28);
  color: #e6fff0;
}

.bp-tier-box small {
  display: block;
  font-weight: 800;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.18rem;
  opacity: 0.8;
}

/* =========================================================
   REDESIGNED DEDICATED STORE PAGE (/store & /store/:category)
   ========================================================= */
.store-page-wrapper {
  padding-bottom: 4.5rem;
}

.store-hero-banner {
  background: radial-gradient(circle at 18% 30%, rgba(56, 216, 100, 0.16), transparent 52%),
    linear-gradient(180deg, #101b2b 0%, #0b111c 100%);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0 2.3rem;
  margin-bottom: 2.2rem;
}

.store-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: 2rem;
  align-items: center;
}

.store-hero-copy {
  min-width: 0;
}

.store-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.store-breadcrumb a:hover {
  color: var(--emerald);
}

.store-breadcrumb .crumb-active {
  color: var(--gold);
  font-weight: 700;
}

.store-hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  margin: 0 0 0.55rem;
  line-height: 1.1;
}

.store-hero-copy h1 span {
  color: var(--emerald);
}

.store-hero-copy p {
  color: var(--text-muted);
  margin: 0 0 1.1rem;
  max-width: 640px;
  font-size: 0.96rem;
}

.store-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.trust-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.purpur-pill {
  background: rgba(192, 132, 252, 0.14);
  color: #d8b4fe;
  border-color: rgba(192, 132, 252, 0.35);
}

.paypal-pill {
  background: rgba(255, 196, 57, 0.12);
  color: #fcd34d;
  border-color: rgba(255, 196, 57, 0.35);
}

.qrph-pill {
  background: rgba(29, 78, 216, 0.16);
  color: #93c5fd;
  border-color: rgba(59, 130, 246, 0.35);
}

.store-hero-actions {
  min-width: 0;
  display: grid;
  gap: 0.7rem;
}

.store-cart-summary-card {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.1rem;
  color: var(--text-main);
  font-family: var(--font-sans);
  cursor: pointer;
  text-align: left;
  transition: background 0.18s ease, transform 0.15s ease;
}

.store-cart-summary-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.scs-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(56, 216, 100, 0.14);
  color: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.scs-details {
  flex: 1;
  min-width: 0;
}

.scs-details span {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.scs-details strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--emerald);
}

.scs-cta {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}

/* Store 2-Column Layout */
.store-main-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 1.85rem;
  align-items: start;
}

.store-sidebar {
  min-width: 0;
  display: grid;
  gap: 1.15rem;
}

.store-widget {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.15rem;
}

.player-login-widget {
  background: linear-gradient(160deg, #132235 0%, #14262c 100%);
  border-color: var(--border-strong);
}

.player-widget-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.95rem;
}

.player-avatar-box {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--bg-deep);
  border: 2px solid var(--emerald);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-avatar-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

.widget-title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  margin: 0.15rem 0 0.65rem;
}

.player-status-chip {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.12rem 0.52rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.player-status-chip.active {
  background: rgba(56, 216, 100, 0.2);
  color: var(--emerald);
}

.edition-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3px;
  margin-bottom: 0.6rem;
}

.edition-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.44rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
}

.edition-btn.active {
  background: var(--bg-elevated);
  color: var(--emerald);
}

.player-input-stack {
  display: grid;
  gap: 0.55rem;
}

.player-input-stack input {
  width: 100%;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-main);
  padding: 0.62rem 0.8rem;
  font-size: 0.9rem;
}

.player-input-stack input:focus {
  outline: none;
  border-color: var(--emerald);
}

/* Store Category Nav */
.store-cat-nav {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.35rem;
}

.store-cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.62rem 0.8rem;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: all 0.16s ease;
}

.store-cat-link:hover {
  color: var(--text-main);
  background: var(--bg-card-hover);
}

.store-cat-link.active {
  background: rgba(56, 216, 100, 0.15);
  border-color: rgba(56, 216, 100, 0.42);
  color: var(--emerald);
}

.scat-left {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.scat-count {
  font-size: 0.74rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  padding: 0.1rem 0.48rem;
  border-radius: 999px;
}

/* Compact Donation Widget */
.widget-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.goal-pct-pill {
  background: rgba(56, 216, 100, 0.18);
  color: var(--emerald);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.76rem;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
}

.goal-compact-metrics {
  display: flex;
  justify-content: space-between;
  margin: 0.65rem 0 0.7rem;
  font-size: 0.8rem;
}

.goal-compact-metrics span {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.goal-compact-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Sidebar Supporters */
.sidebar-supporters-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.45rem;
}

.sidebar-supporter-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.5rem 0.65rem;
}

.sidebar-supporter-row img {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  image-rendering: pixelated;
  flex-shrink: 0;
}

.ssr-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.ssr-meta strong {
  font-size: 0.82rem;
}

.ssr-meta span {
  font-size: 0.74rem;
}

/* Right Store Catalog Panel */
.store-catalog-panel {
  min-width: 0;
}

.store-panel-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.store-panel-toolbar h2 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  margin: 0 0 0.25rem;
}

.store-panel-toolbar p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 580px;
}

.store-search-box input {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-main);
  padding: 0.6rem 0.9rem;
  font-size: 0.88rem;
  min-width: 210px;
}

.store-search-box input:focus {
  outline: none;
  border-color: var(--emerald);
}

/* Crate Tier Ribbon */
.crate-tier-ribbon {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.3rem;
}

.ribbon-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.ribbon-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.ribbon-key-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.28rem 0.62rem;
  font-size: 0.78rem;
}

.ribbon-key-chip > span:last-child {
  color: var(--text-muted);
  font-weight: 700;
}

/* Store Cards Grid */
.store-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.store-product-card {
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, border-color 0.2s ease;
}

.store-product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 216, 100, 0.4);
}

.store-product-card.is-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  background: linear-gradient(125deg, #162634 0%, #192a22 60%, #262113 100%);
  border-color: rgba(250, 204, 21, 0.42);
}

.spc-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0b111b;
}

.store-product-card.is-featured .spc-media {
  aspect-ratio: auto;
  min-height: 250px;
}

.spc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.store-product-card:hover .spc-media img {
  transform: scale(1.04);
}

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(9, 14, 22, 0.9);
  color: var(--gold);
  border: 1px solid rgba(250, 204, 21, 0.38);
  font-family: var(--font-display);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.56rem;
  border-radius: 6px;
}

.store-product-card.is-bundle-card {
  border-color: rgba(250, 204, 21, 0.32);
}

.perk-inline-icon {
  color: var(--emerald);
  display: inline-flex;
  vertical-align: middle;
  margin-right: 0.35rem;
}

.spc-price-floating {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(9, 14, 22, 0.9);
  border: 1px solid rgba(56, 216, 100, 0.4);
  color: var(--emerald);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
}

.spc-body {
  min-width: 0;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.spc-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
}

.spc-title {
  font-family: var(--font-display);
  font-size: 1.22rem;
  margin: 0;
  line-height: 1.2;
}

.spc-subtitle {
  font-size: 0.77rem;
  color: var(--text-muted);
}

.spc-price-tag {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--emerald);
  white-space: nowrap;
}

.spc-price-tag small {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.spc-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 0.3rem 0 1rem;
  flex: 1;
}

.spc-featured-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 1.1rem;
  display: grid;
  gap: 0.35rem;
  font-size: 0.84rem;
  color: #dbe7f9;
}

.spc-featured-perks li span {
  color: var(--emerald);
  font-weight: 800;
  margin-right: 0.3rem;
}

.spc-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.spc-buy-btn {
  flex: 1;
  min-width: 130px;
}

.qty-picker-inline {
  display: inline-flex;
  align-items: center;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.qty-picker-inline button {
  background: transparent;
  border: none;
  color: var(--text-main);
  width: 34px;
  height: 38px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.qty-picker-inline button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.qty-picker-inline span {
  min-width: 26px;
  text-align: center;
  font-size: 0.86rem;
  font-weight: 700;
}

.qty-picker-inline.sm button {
  width: 28px;
  height: 33px;
}

.qty-picker-inline.sm span {
  min-width: 22px;
  font-size: 0.82rem;
}

.store-empty-state {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
}

/* Live World Map Section */
.map-section {
  padding-top: 1rem;
}

.map-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  align-items: center;
}

.map-card-content,
.map-card-preview {
  min-width: 0;
}

.map-card-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  margin: 0.25rem 0 0.75rem;
}

.map-card-content p {
  color: var(--text-muted);
  margin: 0 0 1.2rem;
}

.map-meta-list {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.45rem;
}

.map-meta-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
  display: flex;
  flex-direction: column;
  overflow-wrap: anywhere;
}

.meta-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.map-card-preview {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  min-height: 300px;
  background: #0a1019;
}

.map-card-preview img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.map-preview-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 14, 22, 0.1) 0%, rgba(9, 14, 22, 0.72) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.15rem;
}

.map-play-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(9, 14, 22, 0.92);
  border: 1px solid var(--emerald);
  color: var(--emerald);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.52rem 1rem;
  border-radius: 999px;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.map-play-pill:hover {
  background: var(--emerald);
  color: #06140b;
}

.map-iframe-wrap {
  display: flex;
  flex-direction: column;
  height: 360px;
}

.map-iframe-wrap iframe {
  width: 100%;
  flex: 1;
  border: 0;
  background: #090e16;
}

.map-iframe-note {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  background: var(--bg-card);
  font-size: 0.77rem;
  color: var(--text-muted);
}

.map-iframe-note a {
  color: var(--emerald);
  font-weight: 700;
}

/* Contact & Discord Section */
.contact-section {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(16, 24, 38, 0.45) 0%, rgba(9, 14, 22, 1) 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 2.3rem;
  align-items: start;
}

.contact-info,
.contact-form-card {
  min-width: 0;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.25rem);
  margin: 0.25rem 0 0.7rem;
}

.contact-info > p {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

/* Discord Card inside Contact Section */
.discord-community-card {
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.2) 0%, rgba(21, 32, 51, 0.95) 100%);
  border: 1px solid rgba(88, 101, 242, 0.45);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  margin-bottom: 1rem;
}

.dcc-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.9rem;
}

.dcc-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--discord);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dcc-header strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.dcc-header span {
  font-size: 0.82rem;
  color: #cbd5e1;
}

.info-cards-stack {
  display: grid;
  gap: 0.7rem;
}

.mini-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1.05rem;
  overflow-wrap: anywhere;
}

.mini-info-card strong {
  display: block;
  font-size: 0.86rem;
  margin-bottom: 0.18rem;
  color: var(--emerald);
}

.mini-info-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.mini-info-card a {
  color: var(--gold);
  text-decoration: underline;
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.contact-form-card h3 {
  font-family: var(--font-display);
  font-size: 1.38rem;
  margin: 0 0 1.15rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.form-group {
  margin-bottom: 0.95rem;
  min-width: 0;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #d0dcf0;
  margin-bottom: 0.36rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.91rem;
  padding: 0.66rem 0.82rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--emerald);
}

.form-feedback {
  margin-top: 0.9rem;
  padding: 0.72rem 0.9rem;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 600;
}

.form-feedback.success {
  background: rgba(56, 216, 100, 0.14);
  border: 1px solid rgba(56, 216, 100, 0.4);
  color: #86efac;
}

.form-feedback.error {
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  background: #070b11;
  padding: 3.2rem 0 1.7rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.footer-disclaimer {
  color: var(--text-dim);
  font-size: 0.83rem;
  margin: 0.85rem 0 0;
  max-width: 450px;
}

.footer-col h4 {
  font-family: var(--font-display);
  margin: 0 0 0.8rem;
  font-size: 1rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.46rem;
  font-size: 0.87rem;
  color: var(--text-muted);
}

.footer-col a:hover {
  color: var(--emerald);
}

.footer-ips li {
  overflow-wrap: anywhere;
}

.footer-ips span {
  color: var(--text-dim);
  display: inline-block;
  min-width: 68px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1.2rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Cart Drawer & Modals */
.drawer-backdrop,
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(4, 8, 14, 0.78);
  backdrop-filter: blur(5px);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(430px, 100%);
  z-index: 95;
  background: var(--bg-surface);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  box-shadow: -16px 0 48px rgba(0, 0, 0, 0.6);
}

.drawer-header {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.drawer-header h3 {
  font-family: var(--font-display);
  margin: 0;
  font-size: 1.22rem;
}

.drawer-sub {
  font-size: 0.78rem;
  color: var(--emerald);
}

.icon-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text-main);
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 8px;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.drawer-body {
  padding: 1.1rem 1.25rem;
  overflow-y: auto;
  flex: 1;
}

.drawer-username-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.88rem;
  margin-bottom: 1rem;
}

.drawer-username-box label {
  display: block;
  font-size: 0.77rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.42rem;
}

.drawer-user-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.45rem;
}

.drawer-user-row input,
.drawer-user-row select,
.drawer-email-input {
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-main);
  padding: 0.54rem 0.72rem;
  font-size: 0.87rem;
  width: 100%;
}

.drawer-email-input {
  margin-top: 0.5rem;
}

.cart-items-list {
  display: grid;
  gap: 0.65rem;
}

.empty-cart-box {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.6rem;
}

.cart-item img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
}

.cart-item-info {
  min-width: 0;
}

.cart-item-title {
  font-weight: 700;
  font-size: 0.88rem;
  overflow-wrap: anywhere;
}

.cart-item-price {
  font-size: 0.78rem;
  color: var(--emerald);
  font-weight: 700;
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.qty-btn,
.qty-remove-btn {
  width: 25px;
  height: 25px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-deep);
  color: var(--text-main);
  font-weight: 700;
  cursor: pointer;
}

.qty-remove-btn {
  color: #f87171;
}

.drawer-footer {
  padding: 1.1rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
}

.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.cart-total-row strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--emerald);
}

.payment-method-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.48rem;
}

.checkout-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.checkout-footnote {
  font-size: 0.73rem;
  color: var(--text-dim);
  text-align: center;
  margin: 0.6rem 0 0;
}

/* Modals */
.modal-backdrop {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 100;
}

.modal-card {
  position: relative;
  width: min(540px, 100%);
  max-height: 90dvh;
  overflow-y: auto;
  background: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.7);
}

.payment-modal-card {
  width: min(480px, 100%);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
}

.modal-product-heading {
  font-family: var(--font-display);
  font-size: 1.48rem;
  margin: 0.15rem 2.2rem 0.35rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.6rem;
}

.modal-price-tag {
  color: var(--emerald);
  font-size: 1.15rem;
}

.modal-product-desc {
  color: var(--text-muted);
  font-size: 0.91rem;
  margin: 0 0 1rem;
}

.modal-perks-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
}

.modal-perk-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 1.35rem;
  display: grid;
  gap: 0.48rem;
}

.modal-perk-list li {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.55rem 0.8rem;
  font-size: 0.87rem;
}

.perk-check {
  color: var(--emerald);
  font-weight: 800;
  margin-right: 0.45rem;
}

.modal-action-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.payment-modal-title {
  font-family: var(--font-display);
  font-size: 1.42rem;
  margin: 0.15rem 2rem 0.45rem 0;
}

.qrph-sheet .payment-modal-title {
  margin-right: 0;
}

.qrph-sheet {
  text-align: center;
}

.qrph-brand-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(90deg, #1d4ed8, #dc2626);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 0.28rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  margin-bottom: 0.55rem;
}

.qrph-subtitle {
  color: var(--text-muted);
  font-size: 0.84rem;
  margin: 0;
}

.qr-frame {
  background: #ffffff;
  padding: 0.8rem;
  border-radius: 16px;
  width: min(235px, 78%);
  margin: 0.85rem auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.qr-frame img {
  width: 100%;
  height: auto;
}

.wallet-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.38rem;
  margin: 0.7rem 0 0.95rem;
}

.wallet-badges span {
  font-size: 0.71rem;
  font-weight: 700;
  padding: 0.2rem 0.52rem;
  border-radius: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: #cbd5e1;
}

.order-summary-mini {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  text-align: left;
  font-size: 0.83rem;
  margin-bottom: 0.95rem;
}

.order-summary-mini > div {
  display: flex;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.18rem 0;
}

.order-summary-mini > div > strong {
  text-align: right;
  overflow-wrap: anywhere;
}

.receipt-total-divider {
  border-top: 1px solid var(--border);
  margin-top: 0.35rem;
  padding-top: 0.45rem !important;
}

.qrph-action-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0.6rem;
}

.sandbox-note {
  background: rgba(250, 204, 21, 0.1);
  border: 1px solid rgba(250, 204, 21, 0.3);
  color: #fde68a;
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  font-size: 0.76rem;
  margin-bottom: 0.9rem;
  text-align: left;
}

.receipt-box {
  text-align: center;
}

.receipt-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(56, 216, 100, 0.18);
  border: 2px solid var(--emerald);
  color: var(--emerald);
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.8rem;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  left: auto;
  max-width: min(380px, calc(100vw - 32px));
  z-index: 120;
  display: grid;
  gap: 0.5rem;
}

.toast {
  background: #132334;
  border: 1px solid var(--emerald);
  color: var(--text-main);
  padding: 0.7rem 1rem;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  animation: slideInUp 0.2s ease;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   RESPONSIVE BREAKPOINTS (Desktop -> Tablet -> Mobile)
   ========================================================= */

@media (max-width: 1060px) {
  .hide-tablet {
    display: none;
  }

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

  .store-main-layout {
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 1.35rem;
  }
}

@media (max-width: 920px) {
  .hero-grid,
  .donation-goal-banner,
  .features-banner,
  .battlepass-hero-card,
  .map-card,
  .contact-grid,
  .store-hero-inner,
  .store-main-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .hero-logo-standalone {
    width: min(270px, 68%);
  }

  .features-banner-copy {
    padding: 1.5rem;
  }

  .store-cat-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-product-card.is-featured {
    grid-template-columns: 1fr;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .mobile-menu-btn {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 4%;
    gap: 0.45rem;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.55);
  }

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

  .nav-group {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .nav-links a {
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
  }

  .nav-links a.nav-store-pill {
    text-align: center;
  }
}

@media (max-width: 680px) {
  .hero {
    padding: 2.8rem 0 3.2rem;
  }

  .section {
    padding: 3.4rem 0;
  }

  .ip-cards,
  .features-grid,
  .bp-highlights,
  .store-cards-grid,
  .store-cat-nav,
  .form-row,
  .checkout-buttons,
  .qrph-action-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .donation-stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta-row .btn,
  .bp-actions .btn,
  .map-actions .btn {
    width: 100%;
  }

  .donation-goal-banner,
  .battlepass-hero-card,
  .map-card,
  .contact-form-card {
    padding: 1.3rem;
  }

  .store-search-box,
  .store-search-box input {
    width: 100%;
  }

  .map-card-preview img {
    height: 240px;
  }
}

@media (max-width: 420px) {
  .brand-title {
    font-size: 1.05rem;
  }

  .cart-trigger-label {
    display: none;
  }

  .hero-logo-standalone {
    width: min(220px, 72%);
  }

  .modal-card {
    padding: 1.25rem;
  }
}
