﻿/* ==========================================================================
   SwedoSMP - Authentic Minecraft Theme, Font & Design
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');
@import url('https://fonts.cdnfonts.com/css/minecraft-4');

:root {
  /* Palette */
  --bg-top-blue: #0b1f3f;
  --bg-mid-blue: #071224;
  --bg-bottom-black: #030508;

  --bg-card: rgba(18, 24, 38, 0.88);
  --bg-card-hover: rgba(26, 34, 52, 0.96);
  --bg-input: #080c14;
  --border-color: rgba(255, 255, 255, 0.12);
  --border-hover: rgba(59, 130, 246, 0.6);
  --border-subtle: rgba(255, 255, 255, 0.07);

  /* Primary Blue Button Gradient */
  --btn-blue-grad: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
  --btn-blue-hover: linear-gradient(180deg, #60a5fa 0%, #2563eb 100%);
  --btn-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);

  --accent-gold: #fbbf24;
  --accent-silver: #cbd5e1;
  --accent-bronze: #d97706;
  --accent-green: #22c55e;
  --accent-red: #ef4444;
  --accent-purple: #c084fc;
  --accent-discord: #5865f2;
  --accent-youtube: #ff0000;
  --accent-blue: #3b82f6;

  --text-main: #f8fafc;
  --text-sub: #cbd5e1;
  --text-muted: #94a3b8;

  /* Official Clean Minecraft Font (Thin, un-bolded pixel font) */
  --font-main: 'Minecraft', 'Minecraftia', 'VT323', monospace;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-main);
  font-weight: 400 !important;
  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: unset;
  text-rendering: pixelated;
}

button, input, select, textarea, a, h1, h2, h3, h4, h5, h6, span, p, div, label, li {
  font-family: var(--font-main) !important;
  font-weight: 400 !important;
}

html, body {
  background: linear-gradient(180deg, var(--bg-top-blue) 0%, var(--bg-mid-blue) 35%, var(--bg-bottom-black) 85%);
  background-attachment: fixed;
  background-size: cover;
  color: var(--text-main);
  font-family: var(--font-main);
  font-weight: 400;
  line-height: 1.6;
  font-size: 14px;
  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: unset;
  text-rendering: pixelated;
  min-height: 100vh;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   LANDING HUB SCREEN (Only 4 Bubbles, Centered, No Scroll)
   ========================================================================== */
.hub-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.hub-container {
  max-width: 860px;
  width: 100%;
  text-align: center;
  margin: auto;
}

.hub-brand {
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hub-logo-wrap {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hub-logo-img {
  max-width: 220px;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.8));
  transition: transform 0.25s ease;
}

.hub-logo-img:hover {
  transform: scale(1.04);
}

.hub-brand h1 {
  font-size: 2.6rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: -0.5px;
}

.hub-brand p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 6px;
}

/* 4 Bubbles Grid */
.hub-bubbles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.hub-bubble {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 26px 20px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  outline: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hub-bubble:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.hub-bubble.bubble-ip:hover { border-color: var(--accent-green); }
.hub-bubble.bubble-discord:hover { border-color: var(--accent-discord); }
.hub-bubble.bubble-youtube:hover { border-color: var(--accent-youtube); }
.hub-bubble.bubble-store:hover { border-color: #60a5fa; }

.bubble-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 14px;
  overflow: hidden;
}

.bubble-img-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.bubble-title {
  font-size: 1.25rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 4px;
}

.bubble-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.bubble-badge {
  font-size: 0.82rem;
  font-weight: 400;
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
  color: var(--text-sub);
  transition: background 0.15s;
}

.hub-bubble:hover .bubble-badge {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.status-dot-green {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
  display: inline-block;
}

.hub-footer {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ==========================================================================
   STORE PAGE
   ========================================================================== */
.store-page-header {
  background: rgba(11, 20, 36, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.store-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.store-brand-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.store-brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.store-nav-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}

.store-brand-text {
  color: #fff;
  font-weight: 400;
  font-size: 1.15rem;
  letter-spacing: -0.2px;
}

.btn-back-hub {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: var(--text-sub);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  padding: 7px 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.btn-back-hub:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateX(-2px);
}

.store-nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.store-nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 400;
  font-size: 0.92rem;
  transition: color 0.15s;
}

.store-nav-links a:hover {
  color: #60a5fa;
}

.store-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Minecraft Player Profile Header Widget */
.btn-player-profile {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 400;
  padding: 5px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-player-profile:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #3b82f6;
}

.top-player-avatar {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  image-rendering: pixelated;
  background: rgba(0, 0, 0, 0.5);
}

.top-player-name {
  color: #fff;
  font-weight: 400;
}

/* Cart Button in Nav */
.btn-cart-store {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--btn-blue-grad);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 400;
  padding: 7px 16px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: var(--btn-shadow);
  transition: all 0.2s ease;
}

.btn-cart-store:hover {
  background: var(--btn-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.5);
}

.cart-pill {
  background: rgba(0, 0, 0, 0.3);
  padding: 2px 7px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 400;
}

/* Store Content Layout */
.store-container {
  max-width: 1100px;
  margin: 36px auto 80px;
  padding: 0 20px;
}

.store-hero-title {
  margin-bottom: 36px;
}

.store-hero-title h1 {
  font-size: 2rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: -0.5px;
}

.store-hero-title p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 6px;
}

.store-section {
  margin-bottom: 52px;
  scroll-margin-top: 90px;
}

.store-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

.store-section-head h2 {
  font-size: 1.4rem;
  font-weight: 400;
  color: #fff;
}

.store-section-head span {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* Product Cards Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  position: relative;
}

.product-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.product-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.product-icon {
  width: 52px;
  height: 52px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.product-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

/* Rank Cards GUI Customization */
.product-card.rank-card {
  border: 1px solid rgba(59, 130, 246, 0.28);
  background: linear-gradient(180deg, rgba(14, 26, 52, 0.92) 0%, rgba(8, 14, 26, 0.96) 100%);
  position: relative;
  overflow: hidden;
}

.product-card.rank-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #38bdf8, #3b82f6, #60a5fa);
}

.product-card.rank-card:hover {
  border-color: #38bdf8;
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.22);
}

.product-icon.rank-icon-box {
  width: auto;
  min-width: 58px;
  max-width: 120px;
  height: 56px;
  padding: 6px 10px;
  background: rgba(4, 9, 20, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: inset 0 0 12px rgba(56, 189, 248, 0.15);
}

.product-icon.rank-icon-box img {
  height: 40px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.5));
}

.product-meta-header {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.product-title {
  font-size: 1.15rem;
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
}

.product-price-line {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.original-price-strike {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-price {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--accent-gold);
}

.duration-tag {
  font-size: 0.76rem;
  color: #38bdf8;
  font-weight: 400;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 1px 6px;
  border-radius: 4px;
}

.discount-badge-pill {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.4);
  font-size: 0.72rem;
  font-weight: 400;
  padding: 1px 6px;
  border-radius: 4px;
}

/* Perks List */
.product-perks {
  list-style: none;
  margin: 10px 0 18px;
  flex-grow: 1;
  border-top: 1px solid var(--border-subtle);
  padding-top: 12px;
}

.product-perks li {
  font-size: 0.88rem;
  color: var(--text-sub);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.perk-bullet {
  color: #60a5fa;
  font-weight: 400;
}

.product-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 8px 0 18px;
  flex-grow: 1;
  line-height: 1.4;
}

/* Card Buttons */
.card-buttons-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.btn-add-cart {
  width: 100%;
  background: var(--btn-blue-grad);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 11px 16px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: 0.3px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.3);
  transition: all 0.2s ease;
}

.btn-add-cart:hover {
  background: var(--btn-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.5);
}

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

.btn-view-info {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-sub);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-view-info:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   TOP DONATORS / SUPPORTERS LEADERBOARD
   ========================================================================== */
.leaderboard-table-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.leaderboard-empty-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 36px 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.leaderboard-list {
  display: flex;
  flex-direction: column;
}

.leaderboard-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.15s ease;
}

.leaderboard-row:last-child {
  border-bottom: none;
}

.leaderboard-row:hover {
  background: rgba(255, 255, 255, 0.03);
}

.leaderboard-row-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.rank-position {
  font-size: 1rem;
  font-weight: 400;
  width: 32px;
  text-align: center;
}

.rank-pos-1 { color: var(--accent-gold); font-size: 1.2rem; }
.rank-pos-2 { color: var(--accent-silver); font-size: 1.15rem; }
.rank-pos-3 { color: var(--accent-bronze); font-size: 1.1rem; }
.rank-pos-other { color: var(--text-muted); font-size: 0.9rem; }

.leaderboard-avatar {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  image-rendering: pixelated;
  background: #000;
  border: 1px solid var(--border-color);
}

.leaderboard-player-name {
  font-size: 1rem;
  font-weight: 400;
  color: #fff;
}

.leaderboard-amount {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--accent-gold);
}

/* Patron Milestone Card (NOT BUYABLE) */
.patron-card {
  background: linear-gradient(180deg, rgba(28, 20, 48, 0.9) 0%, rgba(18, 24, 38, 0.9) 100%);
  border: 1px solid rgba(168, 85, 247, 0.45);
  border-radius: 14px;
  padding: 28px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.patron-icon-box {
  width: 80px;
  height: 80px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(168, 85, 247, 0.5);
  border-radius: 12px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.patron-icon-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.patron-info h3 {
  font-size: 1.35rem;
  font-weight: 400;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.patron-badge {
  background: rgba(168, 85, 247, 0.25);
  color: #e9d5ff;
  font-size: 0.78rem;
  font-weight: 400;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(168, 85, 247, 0.5);
}

.patron-bullets {
  list-style: none;
  margin-top: 12px;
}

.patron-bullets li {
  font-size: 0.9rem;
  color: var(--text-sub);
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.patron-bullets li::before {
  content: "★";
  color: #c084fc;
}

/* Modal Popup */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 500;
  padding: 20px;
}

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

.modal-box {
  background: #111726;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  max-width: 520px;
  width: 100%;
  padding: 28px;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  transform: scale(0.96);
  transition: transform 0.2s ease;
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.modal-close:hover {
  background: var(--accent-red);
  color: #fff;
}

.modal-header-info {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.modal-thumb {
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.modal-title {
  font-size: 1.3rem;
  font-weight: 400;
  color: #fff;
}

.modal-price-tag {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--accent-gold);
}

.modal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
}

.modal-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.9rem;
}

.modal-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

/* Shopping Cart Drawer */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  z-index: 300;
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: -400px;
  width: 100%;
  max-width: 380px;
  height: 100vh;
  background: #0f1624;
  border-left: 1px solid var(--border-color);
  box-shadow: -8px 0 30px rgba(0,0,0,0.8);
  display: flex;
  flex-direction: column;
  transition: right 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 310;
}

.cart-drawer.active {
  right: 0;
}

.cart-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header h3 {
  font-size: 1.1rem;
  font-weight: 400;
  color: #fff;
}

.cart-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.3rem;
  cursor: pointer;
}

.cart-close-btn:hover {
  color: #fff;
}

.cart-items {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cart-item-info {
  flex-grow: 1;
}

.cart-item-title {
  font-size: 0.92rem;
  font-weight: 400;
  color: #fff;
}

.cart-item-price {
  font-size: 0.85rem;
  color: var(--accent-gold);
  font-weight: 400;
}

.cart-item-del {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
}

.cart-item-del:hover {
  color: var(--accent-red);
}

.cart-footer {
  padding: 20px;
  border-top: 1px solid var(--border-color);
  background: #080d17;
}

.cart-input-group {
  margin-bottom: 12px;
}

.cart-input-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-sub);
  margin-bottom: 6px;
}

.cart-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 9px 12px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 400;
}

.cart-input:focus {
  outline: none;
  border-color: #3b82f6;
}

.promo-input-row {
  display: flex;
  gap: 8px;
}

.btn-apply-code {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 0 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-apply-code:hover {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
}

.cart-discount-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--accent-green);
  margin-bottom: 8px;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.15rem;
  font-weight: 400;
  color: #fff;
  margin-bottom: 14px;
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
}

.btn-checkout {
  width: 100%;
  background: var(--btn-blue-grad);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 12px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 400;
  cursor: pointer;
  box-shadow: var(--btn-shadow);
  transition: all 0.2s ease;
}

.btn-checkout:hover {
  background: var(--btn-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.5);
}

/* Toast */
.toast-box {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 600;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast-msg {
  background: #111a2e;
  border: 1px solid #3b82f6;
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 400;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
  .hub-bubbles-grid {
    grid-template-columns: 1fr;
  }
  .store-nav-links {
    display: none;
  }
  .patron-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .patron-icon-box {
    margin: 0 auto;
  }
}
