/* SculkHost.eu – clean dark panel-inspired style */
:root {
  --bg-deep: #0b0e12;
  --bg-panel: #0f1318;
  --bg-card: #151a21;
  --bg-card-hover: #1a2029;
  --bg-elevated: #1c232d;
  --border: #2a3340;
  --border-soft: #1e2630;
  --text: #e8eaed;
  --text-muted: #9aa3af;
  --text-dim: #6b7280;
  --accent: #00d4aa;
  --accent-dim: #00a88a;
  --accent-glow: rgba(0, 212, 170, 0.22);
  --accent-soft: rgba(0, 212, 170, 0.1);
  --warning: #f5a623;
  --danger: #ef4444;
  --success: #22c55e;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', ui-monospace, monospace;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.25);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 45% at 50% -15%, rgba(0, 212, 170, 0.07), transparent),
    radial-gradient(ellipse 50% 35% at 100% 100%, rgba(0, 80, 70, 0.05), transparent);
  pointer-events: none;
  z-index: 0;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s;
}
a:hover {
  color: #5eead4;
}

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

/* ========== HEADER ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 14, 18, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-soft);
  overflow: visible;
}

.header-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  overflow: visible;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.logo-text {
  height: 26px;
  width: auto;
}

.logo-icon-sm {
  width: 34px;
  height: 34px;
  border-radius: 7px;
}

.logo-text-sm {
  height: 20px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav a {
  color: var(--text-muted);
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.15s;
}

.nav a:hover {
  color: var(--text);
  background: var(--bg-elevated);
}

.nav a.active {
  color: #04140f;
  background: var(--accent);
  font-weight: 600;
  box-shadow: 0 0 0 1px rgba(0, 212, 170, 0.35), 0 4px 14px rgba(0, 212, 170, 0.25);
}
.nav a.active:hover {
  color: #04140f;
  background: #00e0b4;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Language */
.lang-switch {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
  transition: all 0.15s;
}

.lang-btn:hover {
  background: var(--bg-card-hover);
  border-color: #3a4555;
}

.lang-btn .flag-img,
.lang-flag-img {
  width: 18px;
  height: 13px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
  display: block;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08);
}

.lang-btn svg {
  opacity: 0.7;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 220px;
  max-height: 340px;
  overflow-y: auto;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.45rem 0.3rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.15s ease;
  z-index: 300;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  pointer-events: none;
}

.lang-dropdown::-webkit-scrollbar { width: 5px; }
.lang-dropdown::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

.lang-switch.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.lang-dropdown-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 0.3rem 0.8rem 0.4rem;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.12s;
  text-decoration: none;
  margin: 0 0.1rem;
}

.lang-option:hover {
  background: var(--bg-card);
  color: #fff;
}

.lang-option.active {
  color: #fff;
  background: var(--accent-soft);
}

.lang-option.active::after {
  content: "✓";
  margin-left: auto;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-xs);
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: #04140f;
  box-shadow: 0 0 16px var(--accent-glow);
}

.btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 0 24px var(--accent-glow);
  color: #04140f;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--bg-elevated);
  color: var(--text);
  border-color: #3a4555;
}

.btn-sm {
  padding: 0.38rem 0.8rem;
  font-size: 0.8rem;
}

.menu-toggle {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.35rem 0.55rem;
  border-radius: var(--radius-xs);
  line-height: 1;
  transition: background 0.15s, border-color 0.15s;
}
.menu-toggle:hover {
  background: var(--bg-elevated);
  border-color: #3a4555;
}
.menu-toggle[aria-expanded="true"] {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}

.nav.nav-open {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  margin: 0 1rem;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem;
  z-index: 250;
  min-width: 200px;
  box-shadow: var(--shadow);
  gap: 0.1rem;
  animation: menuFadeIn 0.18s ease;
}

@keyframes menuFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.nav.nav-open a {
  padding: 0.7rem 1rem;
  border-radius: 8px;
  display: block;
  font-weight: 500;
}

.nav.nav-open a:hover,
.nav.nav-open a.active {
  background: var(--bg-card);
  color: var(--accent);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  padding: 4.5rem 1.5rem 3.5rem;
  text-align: center;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent-soft);
  border: 1px solid rgba(0, 212, 170, 0.28);
  color: var(--accent);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.9rem;
  background: linear-gradient(135deg, #fff 35%, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 1.25rem;
}

.coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px dashed rgba(0, 212, 170, 0.35);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--accent-soft);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-soft);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.stat {
  text-align: center;
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 0.1rem;
}

/* ========== SECTIONS ========== */
.section {
  position: relative;
  z-index: 1;
  padding: 3.5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h1,
.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  color: #fff;
}

.section-header p {
  color: var(--text-muted);
  font-size: 0.98rem;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.5;
}

.page-hero {
  padding: 4rem 1.5rem 2rem;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
  color: #fff;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 520px;
  margin: 0 auto;
}

.cpu-badge {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.cpu-badge strong {
  color: var(--accent);
  font-weight: 600;
}

/* ========== HOME PACK LINKS (side by side) ========== */
.home-pack-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 780px;
  margin: 0 auto;
}

.home-pack-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.35rem;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  min-height: 180px;
}

.home-pack-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
}

.home-pack-card-ext::before {
  background: linear-gradient(90deg, #67e8f9, #8b5cf6);
}

.home-pack-card:hover {
  transform: translateY(-3px);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.home-pack-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.home-pack-card-ext .home-pack-tag {
  color: #a78bfa;
}

.home-pack-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 0.15rem;
}

.home-pack-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.home-pack-card .btn {
  margin-top: auto;
  align-self: flex-start;
  pointer-events: none;
}

/* ========== PACK TABS ========== */
.pack-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 1.25rem auto 0.5rem;
  max-width: 680px;
  padding: 0 1rem;
}

.pack-tab {
  flex: 1 1 220px;
  max-width: 300px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 0.95rem 1.15rem;
  text-align: left;
  color: var(--text-muted);
  transition: all 0.15s;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-decoration: none;
}

.pack-tab span {
  font-weight: 700;
  color: var(--text);
  font-size: 0.92rem;
}

.pack-tab small {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.pack-tab:hover {
  border-color: var(--border);
  background: var(--bg-card-hover);
}

.pack-tab.active {
  border-color: rgba(0, 212, 170, 0.45);
  background: var(--accent-soft);
  box-shadow: 0 0 0 1px rgba(0, 212, 170, 0.12);
}

.pack-tab.active span {
  color: var(--accent);
}

/* ========== PACKAGE CARDS GRID ========== */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.1rem;
}

.package-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

.package-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--tier-color, var(--accent));
  opacity: 0.9;
}

.package-card:hover {
  border-color: var(--border);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.package-card.featured {
  border-color: rgba(0, 212, 170, 0.35);
  box-shadow: 0 0 0 1px rgba(0, 212, 170, 0.1);
}

.package-card.featured::after {
  content: attr(data-badge);
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: #04140f;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.pkg-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.pkg-block-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-soft);
  padding: 2px;
  flex-shrink: 0;
  transition: transform 0.25s;
}

.package-card:hover .pkg-block-img {
  transform: scale(1.08);
}

.pkg-specs {
  list-style: none;
  margin: 0 0 1rem;
  flex: 1;
}

.pkg-specs li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-muted);
}

.pkg-specs li:last-child {
  border-bottom: none;
}

.pkg-specs li span:last-child {
  color: var(--text);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.pkg-price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.9rem;
}

.pkg-price .unit {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-dim);
  margin-left: 0.15rem;
}

.pkg-price.free {
  color: var(--success);
}

.package-card .btn {
  width: 100%;
}

/* Tier colors */
.tier-wood { --tier-color: #c4a35a; }
.tier-iron { --tier-color: #b0b0b0; }
.tier-coal { --tier-color: #555; }
.tier-lapis { --tier-color: #3b82f6; }
.tier-gold { --tier-color: #fbbf24; }
.tier-emerald { --tier-color: #10b981; }
.tier-diamond { --tier-color: #22d3ee; }
.tier-netherrack { --tier-color: #ef4444; }
.tier-glowstone { --tier-color: #fde047; }
.tier-netherite { --tier-color: #6b7280; }
.tier-beacon { --tier-color: #67e8f9; }
.tier-obsidian { --tier-color: #8b5cf6; }
.tier-endcrystal { --tier-color: #c084fc; }
.tier-bedrock { --tier-color: #94a3b8; }

/* ========== PERFORMANCE COMPARE (table-like rows) ========== */
#performance {
  max-width: 1100px;
}

.cmp-header-row {
  display: grid;
  grid-template-columns: minmax(160px, 1.5fr) 0.65fr 0.7fr 1.15fr 0.85fr 110px;
  gap: 0.6rem;
  padding: 0 1.15rem 0.65rem;
  margin-bottom: 0.25rem;
}

.cmp-h {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

.cmp-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cmp-group-label {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  flex-wrap: wrap;
  padding: 1rem 0.4rem 0.3rem;
  margin-top: 0.35rem;
}

.cmp-group-label span {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--accent);
}

.cmp-group-label small {
  color: var(--text-dim);
  font-size: 0.78rem;
}

.cmp-row {
  display: grid;
  grid-template-columns: minmax(160px, 1.5fr) 0.65fr 0.7fr 1.15fr 0.85fr 110px;
  gap: 0.6rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 0.8rem 1.1rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.cmp-row:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.cmp-row.is-popular {
  border-color: rgba(0, 212, 170, 0.35);
  box-shadow: 0 0 0 1px rgba(0, 212, 170, 0.1);
}

.cmp-plan {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.cmp-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-soft);
  padding: 3px;
  flex-shrink: 0;
}

.cmp-name {
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.cmp-badge {
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--accent);
  color: #04140f;
  padding: 0.12rem 0.35rem;
  border-radius: 4px;
}

.cmp-cell {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.cmp-k {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  font-weight: 600;
}

.cmp-v {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.cmp-cpu .cmp-v {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.cmp-price {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.cmp-price strong {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

.cmp-price span {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 500;
}

.cmp-price.free {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--success);
}

.cmp-action {
  display: flex;
  justify-content: flex-end;
}

.cmp-action .btn {
  min-width: 95px;
}

/* ========== FEATURES ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.1rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.35rem;
  transition: border-color 0.15s;
}

.feature-card:hover {
  border-color: var(--border);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 0.9rem;
  color: var(--accent);
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ========== LOCATIONS ========== */
.locations-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.35rem;
  align-items: stretch;
}

.location-map-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
}

.location-map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 280px;
}

.map-pin {
  position: absolute;
  left: 64%;
  top: 48%;
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
  animation: pinBounce 2.2s ease-in-out infinite;
}

.pin-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(0, 212, 170, 0.22), 0 0 16px var(--accent);
}

.pin-label {
  margin-top: 5px;
  background: rgba(11, 14, 18, 0.92);
  border: 1px solid var(--border);
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
}

.location-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.location-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: border-color 0.15s;
}

.location-card:hover {
  border-color: var(--border);
}

.location-card-top {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.85rem;
}

.location-flag {
  width: 44px;
  height: 30px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.location-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.location-meta {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 0.1rem;
}

.location-preview {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 0.85rem;
  border: 1px solid var(--border-soft);
}

.location-stats {
  list-style: none;
  display: grid;
  gap: 0.35rem;
}

.location-stats li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border-soft);
}

.location-stats li:last-child {
  border-bottom: none;
}

.location-stats strong {
  color: var(--text);
  font-weight: 600;
  text-align: right;
  flex-shrink: 0;
}

/* ========== FOOTER ========== */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-soft);
  padding: 1.5rem 1.5rem 1.1rem;
  margin-top: 2.5rem;
  background: var(--bg-panel);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 1.5rem 2rem;
  align-items: start;
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-top: 0.6rem;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 0.6rem;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 0.875rem;
  padding: 0.2rem 0;
  transition: color 0.12s;
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 1.1rem auto 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.console-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
  color: var(--accent);
}

/* ========== ANIMATIONS ========== */
@keyframes pinBounce {
  0%, 100% { transform: translate(-50%, -100%) scale(1); }
  50% { transform: translate(-50%, -108%) scale(1.06); }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .nav {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .cmp-header-row {
    display: none;
  }
  .cmp-row {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "plan plan"
      "ram ssd"
      "cpu price"
      "action action";
    gap: 0.55rem 1rem;
  }
  .cmp-plan { grid-area: plan; }
  .cmp-cell:nth-of-type(1) { grid-area: ram; }
  .cmp-cell:nth-of-type(2) { grid-area: ssd; }
  .cmp-cpu { grid-area: cpu; }
  .cmp-price-cell { grid-area: price; }
  .cmp-action {
    grid-area: action;
    justify-content: stretch;
  }
  .cmp-action .btn {
    width: 100%;
  }
}

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

@media (max-width: 700px) {
  .home-pack-links {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .header-inner {
    padding: 0.7rem 1rem;
  }
  .hero {
    padding: 3rem 1rem 2.5rem;
  }
  .section {
    padding: 2.5rem 1rem;
  }
  .packages-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .hero-stats {
    gap: 1.5rem;
  }
  .pack-tabs {
    flex-direction: column;
    align-items: stretch;
  }
  .pack-tab {
    max-width: none;
  }
}


/* ========== PLANS TABLE (real HTML table) ========== */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: var(--bg-card);
  -webkit-overflow-scrolling: touch;
}

.plans-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-size: 0.9rem;
}

.plans-table thead th {
  text-align: left;
  padding: 0.85rem 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border-soft);
  white-space: nowrap;
}

.plans-table thead th:last-child {
  width: 120px;
}

.plans-table tbody td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: middle;
  color: var(--text);
}

.plans-table tbody tr.plan-row:hover {
  background: var(--bg-card-hover);
}

.plans-table tbody tr.plan-row.is-popular {
  background: rgba(0, 212, 170, 0.06);
}

.plans-table tbody tr.plan-row.is-popular td {
  border-bottom-color: rgba(0, 212, 170, 0.2);
}

.plans-table tbody tr:last-child td {
  border-bottom: none;
}

/* group header row */
.plans-table tr.group-row td {
  padding: 1.1rem 1rem 0.45rem;
  border-bottom: none;
  background: transparent;
}

.group-label {
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--accent);
}

.group-meta {
  color: var(--text-dim);
  font-size: 0.78rem;
  margin-left: 0.5rem;
}

/* plan cell */
.td-plan {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  min-width: 160px;
}

.plan-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-soft);
  padding: 3px;
  flex-shrink: 0;
}

.plan-name {
  font-size: 1rem;
}

.cmp-badge {
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--accent);
  color: #04140f;
  padding: 0.12rem 0.35rem;
  border-radius: 4px;
  margin-left: 0.35rem;
}

.td-num {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.td-cpu {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.td-price {
  white-space: nowrap;
}

.price-val {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent);
}

.price-unit {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-weight: 500;
}

.price-free {
  font-size: 1rem;
  font-weight: 800;
  color: var(--success);
}

.td-action {
  text-align: right;
}

.td-action .btn {
  min-width: 95px;
}

@media (max-width: 700px) {
  .plans-table {
    min-width: 600px;
  }
}


/* ========== GATE (product chooser) ========== */
.gate-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
}

.gate {
  text-align: center;
  max-width: 720px;
  width: 100%;
}

.gate-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.gate-logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
}

.gate-logo-text {
  height: 28px;
  width: auto;
}

.gate-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.gate-sub {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.gate-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  width: 100%;
  max-width: 820px;
}

.gate-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 2.75rem 2rem;
  min-height: 280px;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}

.gate-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}

.gate-card-mc::before { background: var(--accent); }
.gate-card-web::before { background: linear-gradient(90deg, #86efac, #22c55e); }

.gate-card-mc {
  background-image:
    linear-gradient(165deg, rgba(8,12,16,0.55) 0%, rgba(8,12,16,0.88) 100%),
    url("banner-mc.jpg");
  background-size: cover;
  background-position: center;
  border-color: rgba(0, 212, 170, 0.25);
}
.gate-card-web {
  background-image:
    linear-gradient(165deg, rgba(8,12,16,0.55) 0%, rgba(8,12,16,0.88) 100%),
    url("banner-web.png");
  background-size: cover;
  background-position: center;
  border-color: rgba(74, 222, 128, 0.3);
}
.gate-card-mc:hover, .gate-card-web:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.45);
}

.gate-card:hover {
  transform: translateY(-4px);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.gate-card-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}

.gate-card h2 {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.gate-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.gate-card .btn {
  margin-top: auto;
  pointer-events: none;
}

.gate-footer {
  margin-top: 2.5rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}

@media (max-width: 560px) {
  .gate-cards { grid-template-columns: 1fr; }
}

/* ========== HERO BANNER (blur gradient) ========== */
.hero-with-banner {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-banner {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-banner-img {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,14,18,0.15) 0%, transparent 30%),
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(0, 180, 140, 0.12), transparent),
    url("banner-mc.jpg") center center / cover no-repeat,
    linear-gradient(160deg, #0d2818 0%, #0a1620 40%, #0b0e12 100%);
  transform: scale(1.02);
}

/* Blur layer: ~1% blur at top → ~80% strength at bottom via mask */
.hero-banner-blur {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  /* mask: almost clear at top (1%), heavy at bottom (80%) */
  mask-image: linear-gradient(
    to bottom,
    rgba(0,0,0,0.01) 0%,
    rgba(0,0,0,0.08) 25%,
    rgba(0,0,0,0.35) 55%,
    rgba(0,0,0,0.8) 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0,0,0,0.01) 0%,
    rgba(0,0,0,0.08) 25%,
    rgba(0,0,0,0.35) 55%,
    rgba(0,0,0,0.8) 100%
  );
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(11, 14, 18, 0.2) 40%,
    rgba(11, 14, 18, 0.75) 75%,
    rgba(11, 14, 18, 0.95) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4.5rem 1.5rem 3rem;
  text-align: center;
}

.hero-with-banner .hero-stats {
  border-top-color: rgba(42, 51, 64, 0.6);
}

/* ========== WEB HOSTING ========== */
.web-soft-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #67e8f9;
  background: rgba(103, 232, 249, 0.1);
  border: 1px solid rgba(103, 232, 249, 0.25);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
  width: fit-content;
}

.package-card.web-card-active {
  border-color: rgba(0, 212, 170, 0.5);
  box-shadow: 0 0 0 1px rgba(0, 212, 170, 0.15);
}

.ssd-panel {
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
}

.ssd-panel-head h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.ssd-panel-head p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.ssd-selected {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.25rem;
  padding: 0.6rem 0.85rem;
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 212, 170, 0.2);
}

.ssd-slider-wrap {
  margin-bottom: 1.5rem;
}

.ssd-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}

.ssd-slider {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(90deg, var(--border-soft), var(--accent));
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}

.ssd-slider:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.ssd-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 212, 170, 0.25);
  cursor: pointer;
  border: none;
}

.ssd-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 212, 170, 0.25);
  cursor: pointer;
  border: none;
}

.ssd-value-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.85rem;
}

.ssd-gb {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
}

.ssd-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
}

.ssd-summary {
  border-top: 1px solid var(--border-soft);
  padding-top: 1rem;
}

.ssd-summary-line {
  display: flex;
  justify-content: space-between;
  padding: 0.35rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.ssd-summary-line strong {
  color: var(--text);
  font-weight: 600;
}

.ssd-summary-line.total {
  margin-top: 0.35rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border-soft);
  font-size: 1.05rem;
}

.ssd-summary-line.total strong {
  color: var(--accent);
  font-weight: 800;
  font-size: 1.2rem;
}


/* ========== LOCATIONS LIST + MODAL ========== */
.loc-list {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.loc-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  color: var(--text);
  font-family: inherit;
  transition: border-color 0.15s, background 0.15s, transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.loc-item:hover {
  border-color: rgba(0, 212, 170, 0.35);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.35), 0 0 0 1px rgba(0, 212, 170, 0.12);
}

.loc-item-flag {
  width: 48px;
  height: 32px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1);
  flex-shrink: 0;
}

.loc-item-text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  flex: 1;
  min-width: 0;
}

.loc-item-name {
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.loc-item-meta {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.loc-item-slots {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
}

.loc-item-arrow {
  font-size: 1.35rem;
  color: var(--text-dim);
  font-weight: 300;
  margin-left: 0.25rem;
}

.loc-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.loc-modal[hidden] {
  display: none !important;
}

.loc-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
}

.loc-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  animation: locPop 0.2s ease;
}

@keyframes locPop {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.loc-modal-x {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
}

.loc-modal-x:hover {
  color: var(--text);
}

.loc-modal-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.15rem;
  padding-right: 1.5rem;
}

.loc-modal-flag {
  width: 56px;
  height: 37px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1);
}

.loc-modal-head h2 {
  font-size: 1.2rem;
  font-weight: 700;
}

.loc-modal-head p {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 0.15rem;
}

.loc-modal-map {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-deep);
  margin-bottom: 1.15rem;
}

.eu-map {
  width: 100%;
  aspect-ratio: 400 / 320;
}

.eu-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.eu-pin-ring {
  animation: pinPulse 2s ease-in-out infinite; transform-origin: center;
}

@keyframes pinPulse {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50% { opacity: 0.15; transform: scale(1.6); }
}
.eu-pin-ring {
  transform-box: fill-box;
  transform-origin: center;
}

.loc-modal-stats {
  margin: 0;
}

.loc-modal-stats li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border-soft);
}

.loc-modal-stats li:last-child {
  border-bottom: none;
}

.loc-modal-stats strong {
  color: var(--text);
  font-weight: 600;
}


/* Germany location card – match provided style */
.loc-item-primary {
  max-width: 420px;
  padding: 0.85rem 1.1rem;
  border-radius: 14px;
  background: #151a22;
  border: 1px solid #252c38;
}
.loc-item-flag {
  width: 28px;
  height: 20px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08);
}
.loc-slots-green {
  color: #22c55e !important;
  font-weight: 600;
  font-size: 0.9rem;
  margin-left: auto;
  white-space: nowrap;
}
.loc-item-primary .loc-item-name {
  font-size: 1rem;
  font-weight: 600;
  color: #f1f5f9;
}
.loc-item-primary .loc-item-meta {
  font-size: 0.8rem;
  color: #94a3b8;
}


/* Real Europe map in location modal */
.eu-map {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #0a1018;
  border: 1px solid var(--border-soft);
}
.eu-map-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: cover;
  object-position: center;
}
.eu-map-caption {
  position: absolute;
  bottom: 10px;
  left: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(8,12,16,0.75);
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
}
.loc-modal-map {
  margin: 1rem 0 1.25rem;
}


/* Sticky footer – content grows, footer stays at bottom */
body > .header,
body > header { flex-shrink: 0; }
body > .page-hero,
body > .section,
body > .hero,
body > .hero-with-banner,
body > main { flex: 1 0 auto; }
body > .footer,
body > footer {
  flex-shrink: 0;
  margin-top: auto;
  width: 100%;
}

/* body is a flex column and .section has margin:0 auto, so without an explicit width it shrinks to its content
   (a single card column). Full width up to the section's max-width lets .packages-grid etc. lay out side by side. */
body > .section { width: 100%; }

/* Locations – center the CZ card */
.loc-list {
  display: flex !important;
  flex-direction: column;
  align-items: center !important;
  justify-content: center;
  gap: 1rem;
  max-width: 480px;
  margin: 0 auto 3rem !important;
  width: 100%;
  padding: 0 1rem;
}
.loc-item-primary {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}
#locations.section {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 40vh;
}

.hero-banner-web {
  background:
    linear-gradient(180deg, rgba(11,14,18,0.2) 0%, transparent 35%),
    url("banner-web.png") center center / cover no-repeat,
    linear-gradient(160deg, #0d2818 0%, #0a1620 50%, #0b0e12 100%) !important;
}
.hero-web .hero-content h1 {
  background: linear-gradient(135deg, #fff 30%, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Locations page vertical centering of card */
body[data-page="locations"] {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
body[data-page="locations"] .page-hero {
  flex: 0 0 auto;
  padding-bottom: 1rem;
}
body[data-page="locations"] #locations {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 1rem;
  padding-bottom: 3rem;
}
body[data-page="locations"] .footer {
  margin-top: auto;
}


/* ========== PACKS PAGE – banner hero + product switch ========== */
.packs-hero {
  position: relative;
  max-width: none;
  margin: 0;
  padding: 3.25rem 1.5rem 3.25rem;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--border-soft);
}
.packs-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}
.packs-hero h1 { text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55); }
.packs-hero p { color: #b8c2d0; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6); }

.packs-hero[data-product="minecraft"] .hero-banner-img {
  background:
    linear-gradient(180deg, rgba(8,12,16,0.30) 0%, rgba(8,12,16,0.55) 100%),
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(0, 180, 140, 0.14), transparent),
    url("banner-mc.jpg") center center / cover no-repeat,
    linear-gradient(160deg, #0d2818 0%, #0a1620 40%, #0b0e12 100%);
}
.packs-hero[data-product="websites"] .hero-banner-img {
  background:
    linear-gradient(180deg, rgba(8,12,16,0.40) 0%, rgba(8,12,16,0.62) 100%),
    url("banner-web.png") center center / cover no-repeat,
    linear-gradient(160deg, #0d2818 0%, #0a1620 50%, #0b0e12 100%);
}
.packs-hero[data-product="websites"] h1 {
  background: linear-gradient(135deg, #fff 30%, #4ade80);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.55));
}

.product-switch {
  display: inline-flex;
  gap: 0.3rem;
  padding: 0.3rem;
  margin-bottom: 1.6rem;
  border-radius: 999px;
  background: rgba(11, 14, 18, 0.72);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}
.product-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.product-tab:hover { color: #fff; background: rgba(255, 255, 255, 0.07); }
.product-tab.active {
  color: #04140f;
  background: var(--accent);
  box-shadow: 0 6px 20px rgba(0, 212, 170, 0.32);
}
.product-tab[data-product="websites"].active {
  background: linear-gradient(135deg, #86efac, #22c55e);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.32);
}
.product-tab-icon { font-size: 1.05rem; line-height: 1; }

.hero-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 1.35rem 0 0;
  padding: 0;
}
.hero-chips li {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  color: var(--text);
  background: rgba(11, 14, 18, 0.55);
  border: 1px solid var(--border);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.packs-hero[data-product="minecraft"] .hero-chips li { border-color: rgba(0, 212, 170, 0.32); }
.packs-hero[data-product="websites"] .hero-chips li { border-color: rgba(74, 222, 128, 0.38); }

body > .packs-hero { flex: 0 0 auto; } /* keep the banner compact even on short pages */
#tierTabs { margin-top: 1.75rem; }

@media (max-width: 480px) {
  .packs-hero { padding: 2.25rem 1rem 2.5rem; }
  .product-tab { padding: 0.55rem 1.05rem; font-size: 0.88rem; }
}

/* The hidden attribute must always win (e.g. .pack-tabs sets display:flex) */
[hidden] { display: none !important; }
