/* ============================================================
   BoostBase.gg — Shared Stylesheet
   Used by: index.html, arc-raiders.html, marvel-rivals.html
   and every future game page.

   Sections:
   01. CSS Variables
   02. Reset & Base
   03. Typography
   04. Utilities
   05. Toast Notification
   06. Overlay & Modal
   07. Form Fields
   08. Buttons
   09. Navigation
   10. Dropdown
   11. Mobile Menu
   12. Cart Drawer
   13. Footer
   14. Animations & Keyframes
   15. Responsive
   ============================================================ */


/* ============================================================
   01. CSS VARIABLES
   ============================================================ */

:root {
  /* Brand colors */
  --p:       #7C3AED;
  --p2:      #A78BFA;
  --p3:      rgba(124, 58, 237, 0.14);
  --p4:      rgba(124, 58, 237, 0.06);
  --pg:      linear-gradient(135deg, #7C3AED, #A78BFA);
  --acc:     #06B6D4;
  --green:   #10B981;
  --gold:    #F59E0B;
  --red:     #EF4444;

  /* Backgrounds */
  --bg:      #05050F;
  --bg2:     #09091A;
  --bg3:     #0D0D20;
  --card:    #0B0B1E;
  --card2:   #101028;

  /* Borders */
  --border:  rgba(255, 255, 255, 0.07);
  --borderp: rgba(124, 58, 237, 0.3);

  /* Text */
  --text:    #BFC0E0;
  --muted:   #4A4A72;

  /* Nav height — used for sticky offset */
  --nav-h:   62px;
}


/* ============================================================
   02. RESET & BASE
   ============================================================ */

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

html {
  scroll-behavior: auto;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow-x: hidden;
}

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

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
}

input,
select,
textarea {
  font-family: inherit;
}

ul,
ol {
  list-style: none;
}

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


/* ============================================================
   03. TYPOGRAPHY
   ============================================================ */

/* Headings use Syne — apply with class */
.font-syne {
  font-family: 'Syne', sans-serif;
}

.text-gradient {
  background: linear-gradient(90deg, var(--p2), var(--acc));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* ============================================================
   04. UTILITIES
   ============================================================ */

.hidden {
  display: none !important;
}

/* SPA view system */
.view {
  display: none;
}

.view.active {
  display: block;
}

/* Eyebrow label (small badge above headings) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid var(--borderp);
  border-radius: 30px;
  padding: 5px 16px;
  font-size: 11px;
  font-weight: 700;
  color: var(--p2);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Generic pill status badges */
.s-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
}

.s-pend  { background: rgba(6, 182, 212, 0.15);  color: var(--acc);   }
.s-prog  { background: rgba(245, 158, 11, 0.15); color: var(--gold);  }
.s-done  { background: rgba(16, 185, 129, 0.15); color: var(--green); }
.s-rev   { background: rgba(124, 58, 237, 0.15); color: var(--p2);    }

/* PRO online indicator */
.online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  flex-shrink: 0;
  animation: pulse-dot 1.8s ease-in-out infinite;
}


/* ============================================================
   05. TOAST NOTIFICATION
   ============================================================ */

#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(60px);
  background: var(--green);
  color: #fff;
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  z-index: 9999;
  white-space: nowrap;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: all 0.3s;
  pointer-events: none;
}

#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

#toast.warn {
  background: var(--gold);
}


/* ============================================================
   06. OVERLAY & MODAL
   ============================================================ */

.ov {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}

.ov.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--card);
  border: 1px solid var(--borderp);
  border-radius: 20px;
  max-width: 95vw;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px 40px;
  position: relative;
  box-shadow: 0 0 60px rgba(124, 58, 237, 0.2);
  transform: translateY(20px);
  transition: transform 0.25s;
}

.ov.open .modal {
  transform: translateY(0);
}

.modal-x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--muted);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}

.modal-x:hover {
  background: rgba(239, 68, 68, 0.15);
  color: var(--red);
}

/* Specific modal widths */
#auth-ov .modal  { width: 460px; }
#pay-ov .modal   { width: 500px; }
#bid-ov .modal   { width: 400px; }
#legal-ov .modal { width: 640px; }

/* Modal logo */
.modal-logo {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  text-align: center;
  margin-bottom: 20px;
}

.modal-logo span { color: var(--p2); }

/* Tab system inside modals */
.tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}

.tab {
  flex: 1;
  text-align: center;
  padding: 11px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.15s;
}

.tab.active {
  color: #fff;
  border-bottom-color: var(--p2);
}

.panel         { display: none; }
.panel.active  { display: block; }

/* Role selector (buyer / pro) */
.role-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 18px;
}

.role-btn {
  padding: 9px;
  text-align: center;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  background: none;
  transition: all 0.18s;
}

.role-btn.on {
  background: var(--pg);
  color: #fff;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.4);
}

/* Error box inside modals/forms */
.err-box {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 8px;
  padding: 9px 13px;
  font-size: 12px;
  color: var(--red);
  margin-bottom: 10px;
  display: none;
}

.err-box.show { display: block; }

/* Switch text ("Already have an account?") */
.switch-txt {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

.link {
  color: var(--p2);
  font-weight: 700;
  cursor: pointer;
}

/* OTP inputs */
.otp-wrap {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 18px;
}

.otp-box {
  width: 46px;
  height: 54px;
  background: var(--bg2);
  border: 2px solid var(--border);
  border-radius: 10px;
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  outline: none;
  transition: border-color 0.15s;
}

.otp-box:focus       { border-color: var(--p2); box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15); }
.otp-box.filled      { border-color: var(--p); }

/* Payment modal summary */
.pay-summary {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 18px;
}

.pay-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 5px;
  color: var(--text);
}

.pay-row.total {
  font-weight: 800;
  color: #fff;
  font-size: 15px;
  border-top: 1px solid var(--border);
  padding-top: 8px;
  margin-top: 8px;
  margin-bottom: 0;
}


/* ============================================================
   07. FORM FIELDS
   ============================================================ */

.frow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.field label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 13px;
  font-size: 14px;
  color: #fff;
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--borderp);
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
}

.field select option {
  background: var(--bg2);
}


/* ============================================================
   08. BUTTONS
   ============================================================ */

/* Ghost button (nav) */
.btn-ghost {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 8px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.15s;
}

.btn-ghost:hover {
  border-color: var(--borderp);
  color: var(--text);
}

/* Primary nav button */
.btn-nav {
  background: var(--pg);
  color: #fff;
  border-radius: 8px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.18s;
}

.btn-nav:hover {
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.5);
}

/* Full-width primary button */
.btn-main {
  width: 100%;
  padding: 13px;
  background: var(--pg);
  color: #fff;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.2s;
  margin-bottom: 10px;
}

.btn-main:hover {
  box-shadow: 0 0 28px rgba(124, 58, 237, 0.5);
}

/* Green variant */
.btn-green {
  background: linear-gradient(135deg, #10B981, #059669);
}

.btn-green:hover {
  box-shadow: 0 0 28px rgba(16, 185, 129, 0.5) !important;
}

/* Small action buttons */
.act-btn {
  padding: 7px 14px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--border);
  background: var(--card2);
  color: var(--muted);
  transition: all 0.12s;
  cursor: pointer;
  display: inline-block;
}

.act-btn:hover {
  border-color: var(--borderp);
  color: var(--text);
}

.act-btn.p { background: var(--pg);  border: none; color: #fff; }
.act-btn.g { background: linear-gradient(135deg, #10B981, #059669); border: none; color: #fff; }

/* Order button (green, large) */
.btn-order {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #10B981, #059669);
  color: #fff;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 8px;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.btn-order:hover {
  box-shadow: 0 0 28px rgba(16, 185, 129, 0.5);
  transform: translateY(-1px);
}

/* Service card buy button */
.btn-buy {
  background: var(--pg);
  color: #fff;
  border-radius: 6px;
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 700;
  transition: all 0.15s;
}

.btn-buy:hover {
  box-shadow: 0 0 14px rgba(124, 58, 237, 0.4);
}

/* Promo code row */
.promo-row {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.promo-inp {
  flex: 1;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 8px 11px;
  font-size: 13px;
  color: var(--text);
  outline: none;
}

.promo-inp:focus { border-color: var(--borderp); }

.btn-promo {
  padding: 0 14px;
  background: var(--pg);
  border-radius: 7px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

/* Payment icon pills */
.pay-icons-row {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
}

.pay-ic {
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3px 7px;
  font-size: 9px;
  font-weight: 700;
  color: var(--muted);
}


/* ============================================================
   09. NAVIGATION
   ============================================================ */

nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(5, 5, 15, 0.94);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 28px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* Logo */
.logo {
  font-family: 'Syne', sans-serif;
  font-size: 21px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.logo span { color: var(--p2); }

.g-logo-boost { color: #fff; letter-spacing: 2px; -webkit-text-fill-color: #fff; }
.g-logo-base  { color: #fff; letter-spacing: 2px; -webkit-text-fill-color: #fff; }
.g-logo-gg    { color: #A78BFA; -webkit-text-fill-color: #A78BFA; letter-spacing: 1px; font-size: 0.85em; }

/* Nav right cluster */
.nav-r {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Breadcrumb path (e.g. › ARC Raiders › Blueprints) */
.nav-breadcrumb {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 16px;
}

.nav-breadcrumb .sep { color: var(--border); }

/* User avatar */
.avatar {
  width: 34px;
  height: 34px;
  background: var(--pg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  border: 2px solid rgba(124, 58, 237, 0.4);
  position: relative;
}

/* Cart button */
.cart-btn {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  transition: all 0.15s;
}

.cart-btn:hover {
  border-color: var(--borderp);
  background: var(--p3);
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--p);
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg);
}

.cart-count.hidden { display: none; }

/* PROs online pill (in nav) */
.pros-pill {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 20px;
  padding: 4px 12px;
  white-space: nowrap;
}

.pros-pill span {
  font-size: 12px;
  font-weight: 700;
  color: #10B981;
}

/* Announcement topbar */
.topbar {
  background: linear-gradient(90deg, #1a0050, var(--p), #06B6D4);
  padding: 7px 24px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

.topbar code {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 1px 7px;
  font-family: inherit;
}


/* ============================================================
   10. DROPDOWN
   ============================================================ */

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  width: 200px;
  padding: 6px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
  display: none;
  z-index: 300;
}

.dropdown.open { display: block; }

.dd-name {
  padding: 9px 12px 6px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}

.dd-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.12s;
}

.dd-item:hover { background: var(--card2); }
.dd-item.red   { color: var(--red); }


/* ============================================================
   11. MOBILE MENU
   ============================================================ */

/* Hamburger button */
.mob-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}

.mob-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.25s;
}

.mob-menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg);  }
.mob-menu-btn.open span:nth-child(2) { opacity: 0; }
.mob-menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Slide-down menu */
.mob-menu {
  display: none;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  flex-direction: column;
  gap: 8px;
}

.mob-menu.open { display: flex; }

.mob-menu-item {
  width: 100%;
  padding: 12px 16px;
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s;
}

.mob-menu-item:hover  { border-color: var(--borderp); }
.mob-menu-item.accent { background: var(--pg); border: none; color: #fff; }

/* Bottom tab bar (mobile dashboard) */
.mob-tab-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--card);
  border-top: 1px solid var(--border);
  z-index: 400;
  padding: 8px 0 env(safe-area-inset-bottom, 0);
}

.mob-tabs { display: flex; justify-content: space-around; }

.mob-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
}

.mob-tab.active    { color: var(--p2); }
.mob-tab-icon      { font-size: 18px; }


/* ============================================================
   12. CART DRAWER
   ============================================================ */

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

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 420px;
  height: 100vh;
  background: var(--card);
  border-left: 1px solid var(--border);
  z-index: 9000;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.4);
}

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

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

.cart-title {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.cart-close {
  width: 32px;
  height: 32px;
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  color: var(--muted);
  transition: all 0.15s;
}

.cart-close:hover { border-color: var(--borderp); color: #fff; }

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 12px;
  color: var(--muted);
}

.cart-empty-icon { font-size: 48px; opacity: 0.4; }

.cart-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item:last-child { border-bottom: none; }

.cart-item-icon {
  width: 40px;
  height: 40px;
  background: var(--p3);
  border: 1px solid var(--borderp);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.cart-item-info   { flex: 1; }
.cart-item-name   { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 3px; }
.cart-item-meta   { font-size: 11px; color: var(--muted); }
.cart-item-price  { font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 800; color: var(--p2); }

.cart-item-remove {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 16px;
  padding: 0;
  transition: color 0.15s;
  align-self: center;
}

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

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

.cart-summary {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 14px;
}

.cart-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

.cart-row.total {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0;
  border-top: 1px solid var(--border);
  padding-top: 10px;
  margin-top: 4px;
}

.cart-checkout {
  width: 100%;
  background: var(--pg);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: box-shadow 0.2s;
  font-family: 'Syne', sans-serif;
}

.cart-checkout:hover { box-shadow: 0 0 28px rgba(124, 58, 237, 0.4); }


/* ============================================================
   13. FOOTER
   ============================================================ */

.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 40px 28px 24px;
}

.footer-inner {
  max-width: 1380px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 10px;
}

.footer-brand span { color: var(--p2); }

.footer-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 14px;
}

.socials { display: flex; gap: 8px; }

.social-btn {
  width: 34px;
  height: 34px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}

.social-btn:hover { border-color: var(--borderp); }

.f-col-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 12px;
}

.f-links li { margin-bottom: 7px; }

.f-links li a {
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  transition: color 0.12s;
}

.f-links li a:hover { color: var(--p2); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.f-copy { font-size: 12px; color: var(--muted); }

.f-legal { display: flex; gap: 16px; }

.f-legal a {
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.12s;
}

.f-legal a:hover { color: var(--text); }

/* Footer legal disclaimer block */
.footer-disclaimer {
  max-width: 1380px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.28);
  line-height: 1.9;
}

.footer-disclaimer p              { margin-bottom: 8px; }
.footer-disclaimer p:last-child   { margin-bottom: 0; }

/* Discord floating button */
.disc-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: #5865F2;
  border-radius: 50%;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 500;
  box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4);
  transition: all 0.18s;
  cursor: pointer;
  text-decoration: none;
}

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

.disc-popup {
  position: fixed;
  bottom: 82px;
  right: 24px;
  background: var(--card);
  border: 1px solid var(--borderp);
  border-radius: 14px;
  padding: 18px;
  width: 230px;
  z-index: 500;
  display: none;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.disc-popup.open { display: block; }
.dp-title        { font-weight: 800; font-size: 14px; color: #fff; margin-bottom: 5px; }
.dp-sub          { font-size: 12px; color: var(--muted); margin-bottom: 12px; }

.dp-btn {
  width: 100%;
  padding: 9px;
  background: #5865F2;
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}


/* ============================================================
   14. ANIMATIONS & KEYFRAMES
   ============================================================ */

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}

@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7), 0 0 8px #10B981; }
  70%  { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0), 0 0 8px #10B981; }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0), 0 0 8px #10B981; }
}

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

@keyframes shimmer {
  0%   { left: -100%; }
  50%  { left: 150%; }
  100% { left: 150%; }
}

@keyframes logo-glow {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(124, 58, 237, 0.8)) drop-shadow(0 0 12px rgba(167, 139, 250, 0.4)); }
  50%       { filter: drop-shadow(0 0 14px rgba(124, 58, 237, 1))  drop-shadow(0 0 28px rgba(167, 139, 250, 0.8)) drop-shadow(0 0 40px rgba(124, 58, 237, 0.5)); }
}

.logo-svg-anim { animation: logo-glow 2.5s ease-in-out infinite; }


/* ============================================================
   15. RESPONSIVE
   ============================================================ */

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

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

  .disc-btn  { bottom: 16px; right: 16px; }
  .disc-popup { right: 16px; bottom: 74px; width: 210px; }

  .cart-drawer { width: 100%; right: -100%; }

  #auth-ov .modal,
  #pay-ov .modal,
  #bid-ov .modal,
  #legal-ov .modal {
    width: 95vw;
    padding: 24px 20px;
  }

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

@media (max-width: 480px) {
  .nav-wrap { padding: 0 16px; gap: 8px; }

  .footer-grid    { grid-template-columns: 1fr; }
  .footer-bottom  { flex-direction: column; align-items: flex-start; }

  .mob-tab-bar { display: block; }
}
