/* ===============================
   GLOBAL THEME
================================ */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

html {
  scroll-behavior: smooth;
}

body {
  background: radial-gradient(circle at top, #111827, #000);
  font-family: 'Lato', sans-serif;
  color: #e5e7eb;
}

.site {
  opacity: 0;
}

/* ===============================
   CARDS (SHARED)
================================ */

.card,
.eggsmp-card {
  background-color: #0f172a;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.card:hover,
.eggsmp-card:hover {
  background-color: #1e293b;
  transform: translateY(-2px);
}

.card-title,
.eggsmp-card-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.card-desc {
  color: #9ca3af;
  font-size: 11px;
}

/* ===============================
   EGGSMP HOMEPAGE
================================ */

.page-eggsmp {
  font-family: 'Outfit', sans-serif;
}

.eggsmp-home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eggsmp-grid {
  max-width: 1100px;
  width: 100%;
  padding: 24px;
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin: 0 auto;
}

/* Store card background overlay */
.eggsmp-store {
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.eggsmp-store::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.eggsmp-store .eggsmp-card-title {
  position: relative;
  z-index: 1;
  font-size: 35px;
}

/* Muted text */
.eggsmp-muted {
  color: #9ca3af;
  font-size: 11px;
}

/* IP display */
.eggsmp-ip {
  background: #020617;
  border-radius: 8px;
  padding: 10px;
  font-size: 11px;
  color: #facc15;
  margin-top: 8px;
  user-select: all;
}

.eggsmp-footer {
  background: #020617;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: #9ca3af;

  font-family: "Outfit", sans-serif;
}

.eggsmp-footer-inner {
  grid-template-columns: 1fr; /* always stacked */
  text-align: center;

  padding: 32px 20px;
  gap: 20px;
}

@media (max-width: 640px) {
  .eggsmp-footer-inner {
    grid-template-columns: 1fr; /* keep stacked */
    text-align: center;
  }

  .eggsmp-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .eggsmp-footer-links a {
    margin: 0;
    font-size: 12px;
  }
}

@media (max-width: 1024px) {
  .eggsmp-footer-inner {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 32px 20px;
  }

  .eggsmp-footer-desc {
    font-size: 13px;
  }

  .eggsmp-footer-disclaimer {
    font-size: 11px;
  }
}

/* LEFT SIDE */
.eggsmp-footer-logo {
  width: 110px;
  margin: 0 auto 10px;
}

.eggsmp-footer-desc {
  font-size: 14px;
  color: #cbd5f5;
  margin-bottom: 10px;
}

.eggsmp-footer-disclaimer {
  font-size: 11px;
  color: #64748b;
  line-height: 1.6;
}

/* HEADINGS */
.eggsmp-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center; /* 👈 fixes vertical alignment */
  gap: 12px;
}

/* REMOVE heading spacing */
.eggsmp-footer-links h4 {
  margin: 0;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
}

/* Make buttons behave like links */
.eggsmp-footer-link {
  background: none;
  border: none;
  padding: 0;
  margin: 0;

  font-size: 12px;
  color: #9ca3af;
  cursor: pointer;
}

.eggsmp-footer-links a {
  margin: 0;
  font-size: 12px;
}

/* 🔥 Hover animation */
.eggsmp-footer-links a::after,
.eggsmp-footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;

  width: 0%;
  height: 1px;
  background: #00b4ff;

  transition: width 0.25s ease;
}

.eggsmp-footer-links a:hover,
.eggsmp-footer-link:hover {
  color: #e2e8f0;
}

.eggsmp-footer-links a:hover::after,
.eggsmp-footer-link:hover::after {
  width: 100%;
}

/* FOOTER BOTTOM */
.eggsmp-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center;

  font-size: 12px;
  padding: 18px;
  color: #64748b;
}

/* ===============================
   MODAL SCROLLBARS
================================ */

#modalContent::-webkit-scrollbar {
  width: 10px;
}

#modalContent::-webkit-scrollbar-track {
  background: #020617;
  border-radius: 999px;
}

#modalContent::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    #fde047,
    #facc15,
    #eab308
  );
  border-radius: 999px;
  border: 2px solid #020617;
}

#modalContent::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    #facc15,
    #eab308,
    #ca8a04
  );
}

/* ===============================
   MODAL UTILITIES
================================ */

.hidden {
  display: none !important;
}

.flex {
  display: flex !important;
}

.no-scroll {
  overflow: hidden;
}

/* ===============================
   MODAL TYPOGRAPHY & LAYOUT
================================ */

#modalTitle {
  font-size: 18px;
  margin-bottom: 20px;
  text-align: center;
  color: #fde047;
  text-shadow: 0 0 10px rgba(250, 204, 21, 0.25);
}

/* Section headers */
#modalContent h3 {
  font-size: 13px;
  margin-bottom: 12px;
  color: #e5e7eb;
  text-align: center;
}

/* Rules grid */
.rules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

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

/* Rules / commands lists */
#modalContent ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#modalContent li {
  font-size: 11px;
  line-height: 1.6;
  padding: 8px 12px;
  margin-bottom: 6px;

  background: #020617;
  border: 1px solid #1e293b;
  border-radius: 8px;

  color: #cbd5f5;
}

/* Zebra striping */
#modalContent li:nth-child(even) {
  background: #020617cc;
}

/* Commands column */
.commands-column {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

/* ===============================
   MODAL CLOSE BUTTON
================================ */

#modalClose {
  position: absolute;
  top: 18px;
  left: 18px;

  width: 40px;
  height: 40px;

  display: grid;
  place-items: center;

  background: linear-gradient(
    180deg,
    #0f172a,
    #020617
  );

  border: 1px solid #1e293b;
  border-radius: 12px;

  color: #e5e7eb;
  font-size: 18px;
  line-height: 1;

  cursor: pointer;

  box-shadow:
    0 0 0 1px rgba(250, 204, 21, 0.08),
    0 8px 20px rgba(0, 0, 0, 0.6);

  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease,
    color 0.15s ease;
}

#modalClose:hover {
  background: linear-gradient(
    180deg,
    #1e293b,
    #020617
  );

  color: #fde047;

  box-shadow:
    0 0 0 1px rgba(250, 204, 21, 0.35),
    0 12px 28px rgba(0, 0, 0, 0.7);

  transform: translateY(-1px) scale(1.05);
}

#modalClose:active {
  transform: scale(0.96);
  box-shadow:
    0 0 0 1px rgba(250, 204, 21, 0.2),
    0 6px 14px rgba(0, 0, 0, 0.6);
}

/* ===============================
   MODAL LOGO
================================ */

.modal-logo {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  opacity: 0.85;
}

#modalBackdrop {
  position: fixed;
  inset: 0;

  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(6px);

  z-index: 9999;

  display: none;              /* hidden by default */
  align-items: center;
  justify-content: center;
}

#modalBackdrop.flex {
  display: flex;
}

#modalBox {
  position: relative;

  background: #0f172a;
  border-radius: 1rem;
  padding: 2rem;

  width: 100%;
  max-width: 80rem;
  max-height: 90vh;

  border: 1px solid #1e293b;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);

  overflow: hidden;
}

#modalContent {
  flex: 1;

  overflow-y: auto;
  max-height: 65vh;

  padding-right: 0.5rem;

  scrollbar-width: thin;
  scrollbar-color: #facc15 #020617;
}

@media (max-width: 640px) {
  #modalBackdrop {
    padding: 16px; /* 👈 creates space from edges */
  }

  #modalBox {
    width: 100%;
    max-width: 100%;

    border-radius: 16px;
    padding: 20px;

    max-height: 85vh;
  }

  #modalContent {
    max-height: 60vh;
    padding-right: 4px;
  }
}


.legal-wrapper {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
  line-height: 1.75;
  color: #e5e7eb;
}

/* Headings */
.legal-wrapper h3 {
  font-size: 15px;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 10px;
  color: #facc15;
}

/* Paragraph spacing */
.legal-wrapper p {
  margin-bottom: 14px;
}

/* Lists */
.legal-wrapper ul {
  margin-bottom: 16px;
  padding-left: 18px;
}

.legal-wrapper li {
  margin-bottom: 8px;
}

/* Muted meta text */
.legal-muted {
  font-size: 11px;
  color: #94a3b8;
}

.legal-bold-text {
    font-weight: 800;
}

/* Disclaimer box */
.legal-disclaimer {
  margin-top: 24px;
  padding: 14px;
  border-radius: 10px;
  background: rgba(250, 204, 21, 0.08);
  border: 1px solid rgba(250, 204, 21, 0.3);
  font-size: 12px;
}

.legal-table-wrapper {
  margin: 24px 0;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid #1e293b;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12px;
  line-height: 1.6;
  color: #e5e7eb;
  background: #020617;
}

/* Header */
.legal-table thead th {
  text-align: left;
  padding: 14px 16px;
  background: #020617;
  color: #22d3ee; /* cyan-400 */
  font-weight: 600;
  border-bottom: 1px solid #1e293b;
}

/* Cells */
.legal-table td {
  vertical-align: top;
  padding: 14px 16px;
  border-top: 1px solid #1e293b;
  color: #cbd5f5;
}

/* Zebra striping */
.legal-table tbody tr:nth-child(even) td {
  background: rgba(15, 23, 42, 0.6);
}

/* Mobile readability */
@media (max-width: 768px) {
  .legal-table {
    font-size: 11px;
  }
}

/* BASE MODAL */
.eggsmp-modal {
  position: relative;

  background: #0f172a;
  border-radius: 1rem;
  padding: 2rem;

  width: 100%;
  max-width: 480px;
  max-height: 90vh;

  border: 1px solid #1e293b;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);

  overflow: hidden;
  font-family: "Inter", system-ui, sans-serif;

  animation: modalEnter 0.3s ease;
}

.eggsmp-login-modal {
  text-align: center;
}

.eggsmp-login-title {
  font-size: 18px;
  margin-bottom: 20px;
  color: #fde047;
  text-shadow: 0 0 10px rgba(250, 204, 21, 0.25);
}

.eggsmp-login-subtitle {
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 24px;
}

.eggsmp-login-subtitle-red {
  font-size: 12px;
  margin-bottom: 20px;

  color: #fca5a5; /* softer red (not harsh) */

  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.35);

  padding: 10px 14px;
  border-radius: 10px;

  text-align: center;

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.03);
}

.eggsmp-login-title {
  font-size: 18px;
  margin-bottom: 20px;
  color: #fde047;
  text-shadow: 0 0 10px rgba(250, 204, 21, 0.25);
}

.eggsmp-login-subtitle {
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 24px;
}

.eggsmp-login-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.eggsmp-login-label {
  text-align: left;
  font-size: 10px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eggsmp-login-input {
  height: 48px;

  padding: 0 14px;

  background: linear-gradient(180deg, #020617, #010409);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;

  font-size: 13px;
  color: #e5e7eb;

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.02),
    0 4px 12px rgba(0,0,0,0.4);

  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.1s ease;
}

.eggsmp-login-input::placeholder {
  color: #64748b;
  opacity: 0.8;
}

/* Focus = premium glow */
.eggsmp-login-input:focus {
  border-color: #fde047;

  box-shadow:
    0 0 0 2px rgba(250,204,21,0.25),
    0 0 14px rgba(250,204,21,0.2);

  transform: translateY(-1px);
}

.eggsmp-login-btn {
  width: 100%;
  height: 48px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(
    180deg,
    #fde047,
    #eab308
  );

  color: #020617;

  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;

  border-radius: 12px;
  border: none;

  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,0.15),
    0 10px 22px rgba(0,0,0,0.6);

  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.eggsmp-login-btn:hover {
  transform: translateY(-1px);

  background: linear-gradient(
    180deg,
    #fff176,
    #fde047
  );

  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,0.2),
    0 14px 30px rgba(0,0,0,0.75),
    0 0 16px rgba(250,204,21,0.35);
}

.eggsmp-login-btn:active {
  transform: scale(0.97);

  box-shadow:
    inset 0 0 0 2px rgba(0,0,0,0.25),
    0 6px 14px rgba(0,0,0,0.6);
}

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

/* Header row */
.eggsmp-table-header {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-bottom: 12px;
  font-size: 11px;
  text-align: center;
  color: #facc15;
}

.store-center {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
    padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Cell wrapper */
.eggsmp-table-cell {
  display: flex;
}

/* Make cards fill cell */
.eggsmp-table-cell .store-product {
  width: 100%;
  height: 100%;
}

@media (max-width: 900px) {
  .eggsmp-table {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .eggsmp-table {
    grid-template-columns: 1fr;
  }
}

.eggsmp-rank-wrapper {
  max-width: 1200px;
  margin: 0;
}

.eggsmp-rank-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.eggsmp-rank-card {
  position: relative;
  background: #0f172a;
  border-radius: 20px;
  padding: 20px;
  text-align: center;

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.05),
    0 12px 30px rgba(0,0,0,0.6);

  transition: all 0.2s ease;
}

.eggsmp-rank-card:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 0 0 2px #fde047,
    0 0 18px rgba(250, 204, 21, 0.35),
    0 18px 45px rgba(0,0,0,0.8);
}

.rank-card-link {
  position: absolute;
  inset: 0;
  z-index: 5;
}

/* CONTENT */
.rank-card-inner {
  position: relative;
  z-index: 2;
}

.rank-card-icon img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 10px;
}

.rank-card-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.rank-card-price {
  font-size: 18px;
  font-weight: 800;
  color: #fde047;
  margin-bottom: 10px;
}

.rank-duration {
  font-size: 11px;
  color: #94a3b8;
}

.rank-card-perks {
  font-size: 11px;
  color: #cbd5f5;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}

.rank-card-btn {
  background: transparent;
  border: 1px solid #fde047;
  color: #fde047;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 11px;
  cursor: pointer;

  transition: all 0.2s ease;
}

.rank-card-btn:hover {
  background: #fde047;
  color: #020617;
}

.eggsmp-table {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  justify-content: center;
  align-items: center;
}

.site-content.site-content-widgets {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.eggsmp-table-cell .store-product {
  background: #0f172a;
  border-radius: 20px;
  padding: 20px;
  text-align: center;

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.04),
    0 10px 30px rgba(0,0,0,0.5);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

/* Card hover — clean & premium */
.eggsmp-table-cell .store-product:hover {
  transform: translateY(-6px);

  box-shadow:
    inset 0 0 0 2px #fde047,
    0 0 18px rgba(250, 204, 21, 0.35),
    0 18px 45px rgba(0,0,0,0.75);
}


/* Store buttons — match EggSMP login button */
.store-product .btn-primary {
  --btn-color-bg: #0f172a;              /* match card */
  --btn-color-text: #fde047;            /* yellow text */

  --btn-color-bg-hover: #020617;
  --btn-color-text-hover: #fde047;

  font-weight: 700;
  letter-spacing: 0.02em;

  border-radius: 12px;

  box-shadow:
    inset 0 0 0 2px #fde047,
    0 8px 20px rgba(0, 0, 0, 0.55);

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

/* Hover – glow, not glowstick */
.store-product .btn-primary:hover {
  transform: translateY(-2px);

  box-shadow:
    inset 0 0 0 2px #fde047,
    0 0 16px rgba(250, 204, 21, 0.35),
    0 14px 36px rgba(0, 0, 0, 0.75);
}

/* Active */
.store-product .btn-primary:active {
  transform: translateY(0) scale(0.97);

  box-shadow:
    inset 0 0 0 2px rgba(250, 204, 21, 0.7),
    0 6px 14px rgba(0, 0, 0, 0.6);
}

/* ===============================
   EggSMP Quantity Field Styling
   =============================== */

.store-product .quantity-field {
  opacity: 0;
  pointer-events: none;
  max-height: 0;
  overflow: hidden;

  transition:
    opacity 0.2s ease,
    max-height 0.2s ease;
}

/* Number input */
.store-product .quantity-field input[type="number"] {
  background: transparent;
  color: #fde047;

  font-weight: 700;
  font-size: 15px;

  text-align: center;
  min-width: 44px;

  border: none;
}

/* Remove browser arrows */
.store-product .quantity-field input::-webkit-inner-spin-button,
.store-product .quantity-field input::-webkit-outer-spin-button {
  appearance: none;
}
.store-product .quantity-field input {
  appearance: textfield;
}

.store-product .quantity-field.with-open-basket {
  opacity: 1;
  pointer-events: auto;
  max-height: 50px;
}

.store-product .quantity-field.with-open-basket {
  animation: quantityPop 0.25s ease-out;
}

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

/* +/- buttons */
.store-product .quantity-field .adjust {
  width: var(--btn-size);
  height: var(--btn-size);

  background: rgba(250, 204, 21, 0.08);
  color: #fde047;

  border-radius: 8px;

  transition:
    background 0.15s ease,
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

/* Icon color */
.store-product .quantity-field .adjust::before {
  background-color: #fde047;
}

/* Hover */
.store-product .quantity-field .adjust:hover {
  background: rgba(250, 204, 21, 0.18);

  box-shadow:
    0 0 12px rgba(250, 204, 21, 0.4);
}

/* Active */
.store-product .quantity-field .adjust:active {
  transform: scale(0.92);
}

/* Space fixes */
.store-product .quantity-field .adjust.decrease {
  margin-left: 6px;
}
.store-product .quantity-field .adjust.increase {
  margin-right: 6px;
}

.store-product .quantity-field:hover {
  box-shadow:
    inset 0 0 0 1px rgba(250, 204, 21, 0.5),
    0 0 20px rgba(250, 204, 21, 0.35);
}

.eggsmp-rank-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 56px;
}

.eggsmp-rank-feature {
  position: relative;
  width: 100%;
  min-height: 240px;

  display: block; /* FIX */

  background: #0f172a;
  border-radius: 24px;
  padding: 48px;

  box-shadow:
    inset 0 0 0 2px #fde047,
    0 10px 30px rgba(0,0,0,0.6);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;

  cursor: pointer;
}
.eggsmp-rank-feature:hover {
  transform: translateY(-6px) scale(1.01);

  box-shadow:
    inset 0 0 0 2px #fde047,
    0 0 25px rgba(250, 204, 21, 0.45),
    0 20px 60px rgba(0,0,0,0.8);
}


.eggsmp-rank-clickable {
  position: relative;
}

.eggsmp-rank-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
}

/* Make sure buttons stay clickable */
.eggsmp-rank-feature .btn-primary,
.eggsmp-rank-feature .btn-secondary {
  position: relative;
  z-index: 2;
}

.store-category {
  display: flex;
  flex-direction: column;
  align-items: stretch; /* 👈 IMPORTANT */
}

/* Product titles */
.eggsmp-table-cell .store-product a {
  color: #e5e7eb;
  text-decoration: none;
  transition: color 0.15s ease, text-shadow 0.15s ease;
}

/* Title reacts when CARD is hovered */
.eggsmp-table-cell .store-product:hover a {
  color: #fde047;
  text-shadow: 0 0 6px rgba(250, 204, 21, 0.6);
}



/* HEADER STYLING */

.site-header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;

  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 24px;
}

/* LEFT (menu toggle) */
.site-header-inner .actions {
  justify-self: start;
}

/* CENTER (logo) */
.site-header-inner .site-title {
  justify-self: center;
  margin: 0;
}

/* RIGHT (login + basket) */
.site-header-inner .user-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-title img {
  height: 140px;        /* BIG desktop logo */
  min-height: 200px;
  max-height: none;
  width: auto;
  display: block;

  transition: transform 0.2s ease;
  filter: drop-shadow(0 0 14px rgba(250, 204, 21, 0.25));
}


.site-title img:hover {
  transform: scale(1.05);
}

@media (max-width: 640px) {
  .site-title img {
    height: 64px;
  }
}

@media (max-width: 1024px) {
  .site-title img {
    height: 96px;
  }
}

.site-header .btn-primary.open-basket {
  background: linear-gradient(180deg, #fde047, #facc15);
  color: #020617;

  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;

  border-radius: 12px;
  padding: 10px 18px;

  box-shadow:
    0 0 0 1px rgba(250, 204, 21, 0.35),
    0 10px 22px rgba(0, 0, 0, 0.6);

  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.site-header .btn-primary.open-basket:hover {
  transform: translateY(-1px);

  box-shadow:
    0 0 0 1px rgba(250, 204, 21, 0.6),
    0 14px 30px rgba(0, 0, 0, 0.75);
}

.site-header .btn-secondary.user-name {
  background: #0f172a;
  color: #e5e7eb;

  font-weight: 700;
  font-size: 12px;

  padding: 9px 16px;
  border-radius: 12px;

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.06),
    0 8px 20px rgba(0,0,0,0.5);

  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    color 0.15s ease;
}

.site-header .btn-secondary.user-name:hover {
  transform: translateY(-1px);
  color: #fde047;

  box-shadow:
    inset 0 0 0 1px rgba(250, 204, 21, 0.4),
    0 12px 28px rgba(0,0,0,0.7);
}

.site-header .log-in {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(
    180deg,
    #0f172a,
    #020617
  );

  color: #e5e7eb;

  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;

  padding: 10px 18px;
  border-radius: 12px;

  border: 1px solid rgba(255,255,255,0.08);

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.04),
    0 8px 18px rgba(0,0,0,0.5);

  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.site-header .log-in:hover {
  color: #fde047; /* matches your theme */

  border-color: rgba(250,204,21,0.4);

  transform: translateY(-1px);

  box-shadow:
    inset 0 0 0 1px rgba(250,204,21,0.25),
    0 12px 26px rgba(0,0,0,0.7);
}

.site-header .user-name::before {
  background-color: #ffffff;
  transition: background-color 0.15s ease;
}

.site-header .user-name:hover::before {
  background-color: #fde047;
}

.site-header .user-name {
  background: #020617;
  color: #e5e7eb;

  font-weight: 700;
  font-size: 13px;

  padding: 10px 18px;
  border-radius: 14px;

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.06),
    0 10px 22px rgba(0,0,0,0.55);
}

.site-header .user-name:hover {
  color: #fde047;
}

/* =========================
   RESPONSIVE HEADER FIXES
   ========================= */

/* TABLET */
@media (max-width: 1024px) {
  .site-header-inner {
    padding: 14px 18px;
  }

  .site-title img {
    height: 72px;
    max-height: 72px;
  }

  .site-header-inner .user-actions {
    gap: 10px;
  }
}

/* MOBILE */
@media (max-width: 640px) {
  .site-header-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 12px;

    text-align: center;
    padding: 16px;
  }

  /* LEFT MENU */
  .site-header-inner .actions {
    justify-self: center;
  }

  /* LOGO */
  .site-header-inner .site-title {
    order: 1;
  }

  .site-title img {
    height: 56px;
    max-height: 56px;
  }

  /* BUTTONS */
  .site-header-inner .user-actions,
  .site-header-inner .log-in {
    order: 2;
    justify-self: center;
    display: flex;
    justify-content: center;
    gap: 10px;
  }
}

@media (max-width: 640px) {
  .store-product .quantity-field {
    max-height: 56px;
  }

  .store-product .quantity-field .adjust {
    width: 44px;
    height: 44px;
  }

  .store-product .quantity-field input[type="number"] {
    font-size: 16px;
    min-width: 48px;
  }
}

@media (max-width: 768px) {
  .eggsmp-table {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 8px;
  }
}

@media (max-width: 480px) {
  .eggsmp-table {
    grid-template-columns: 1fr;
  }
}

@media (hover: none) {
  .eggsmp-table-cell .store-product {
    box-shadow:
      inset 0 0 0 1px rgba(250,204,21,0.2),
      0 12px 26px rgba(0,0,0,0.6);
  }
}

@media (max-width: 640px) {
  .eggsmp-rank-feature {
    padding: 32px 20px;
    min-height: unset;
  }

  .eggsmp-rank-title {
    font-size: 20px;
  }

  .eggsmp-rank-price {
    font-size: 18px;
  }
}

@media (max-width: 1024px) {
  .site-header .user-name {
    display: flex !important;
    align-items: center;
    gap: 6px;
  }
}

@media (max-width: 1024px) {
  .site-header-inner {
    grid-template-columns: auto 1fr auto;
    padding: 12px 16px;
  }

  .site-header-inner .user-actions {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
  }
}

@media (max-width: 1024px) {
  .site-header .user-name {
    background: #020617;
    color: #fde047;

    font-size: 12px;
    font-weight: 700;

    padding: 8px 14px;
    border-radius: 12px;

    box-shadow:
      inset 0 0 0 1px rgba(250,204,21,0.35),
      0 6px 16px rgba(0,0,0,0.6);
  }

  .site-header .user-name::before {
    background-color: #fde047; /* white head icon → yellow */
  }
}


.site-header .btn-glyph-text {
  display: inline-flex;
  align-items: center;
  gap: 8px; /* 👈 controls spacing */
}

.site-header .btn-glyph-text::before {
  margin-right: 8px;
}

@media (max-width: 1024px) {
  .site-header .btn-glyph-text {
    gap: 6px;
  }

  .site-header .btn-glyph-text::before {
    margin-right: 6px;
  }
}

@media (max-width: 1024px) {
  .toggle-navigation {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .toggle-navigation {
    display: none !important;
  }
}

.eggsmp-login-header {
  margin-bottom: 28px;
}

.eggsmp-login-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.eggsmp-login-muted {
  margin-top: 12px;
  font-size: 11px;
  color: #94a3b8;
  text-align: center;
}

/* ===============================
   BASKET PAGE (CLEAN & SCOPED)
================================ */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-content {
  flex: 1;
}

.page-basket {
  min-height: 100vh;
}

.page-basket .basket-page {
  max-width: 720px;
  margin: 48px auto;
  padding: 0 20px;
}

/* MAIN CARD */
.page-basket .basket {
  background: #0f172a;
  border-radius: 20px;
  padding: 24px;

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.06),
    0 18px 40px rgba(0,0,0,0.6);
}

/* HEADER */
.page-basket .basket-header {
  text-align: center;
  margin-bottom: 24px;
}

.page-basket .basket-title {
  font-size: 18px;
  font-weight: 700;
  color: #fde047;
  letter-spacing: 0.04em;
}

/* USER CARD */
.page-basket .basket-user-card {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 16px 18px;
  margin-bottom: 20px;

  background: #020617;
  border-radius: 14px;
  border: 1px solid #1e293b;
}

.page-basket .basket-user-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-basket .basket-user-head {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  image-rendering: pixelated;
}

.page-basket .basket-user-label {
  font-size: 10px;
  color: #94a3b8;
}

.page-basket .basket-user-name {
  font-size: 14px;
  font-weight: 700;
  color: #e5e7eb;
}

.page-basket .basket-switch-account {
  font-size: 11px;
  font-weight: 700;
  color: #fde047;
  text-decoration: none;

  padding: 8px 14px;
  border-radius: 999px;

  border: 1px solid rgba(250,204,21,0.35);
  background: transparent;

  transition: background 0.15s ease, color 0.15s ease;
}

.page-basket .basket-switch-account:hover {
  background: rgba(250,204,21,0.15);
  color: #fff;
}

/* ITEMS LIST */
.page-basket .basket-items-modern {
  background: #020617;
  border-radius: 14px;
  border: 1px solid #1e293b;
  overflow: hidden;
}

/* ITEM ROW */
.page-basket .basket-item-modern {
  display: grid;
  grid-template-columns: 1fr 70px 36px 36px;
  align-items: center;
  gap: 12px;

  padding: 14px 16px;
  border-bottom: 1px solid #1e293b;
}

.page-basket .basket-item-modern:last-child {
  border-bottom: none;
}

.page-basket .basket-item-title {
  font-size: 13px;
  font-weight: 700;
  color: #e5e7eb;
}

/* QUANTITY */
.page-basket .basket-item-quantity input {
  width: 64px;
  height: 32px;

  text-align: center;
  font-size: 13px;
  font-weight: 700;

  background: #020617;
  color: #fde047;

  border-radius: 8px;
  border: 1px solid #1e293b;
}

/* ACTION BUTTONS */
.page-basket .basket-item-refresh,
.page-basket .basket-item-remove {
  width: 34px;
  height: 34px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 8px;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;

  transition: background 0.15s ease, transform 0.1s ease;
}

.page-basket .basket-item-refresh {
  background: rgba(34,211,238,0.15);
  color: #22d3ee;
}

.page-basket .basket-item-refresh:hover {
  background: #22d3ee;
  color: #020617;
}

.page-basket .basket-item-remove {
  background: rgba(255,90,90,0.15);
  color: #ff6b6b;
}

.page-basket .basket-item-remove:hover {
  background: #ff6b6b;
  color: #020617;
}

/* CHECKOUT */
.page-basket .basket-checkout-modern {
  margin-top: 24px;
  padding-top: 18px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  border-top: 1px solid #1e293b;
}

.page-basket .basket-total {
  font-size: 14px;
  font-weight: 700;
  color: #fde047;
}

/* MOBILE */
@media (max-width: 640px) {
  .page-basket .basket-item-modern {
    grid-template-columns: 1fr 60px 34px 34px;
  }
}

.eggsmp-footer,
.eggsmp-footer-bottom {
  background: #020617;
}

.eggsmp-footer-bottom::after {
  content: "";
  display: block;

  height: 1px;
  margin-top: 32px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.12),
    transparent
  );
}

.basket-items-header {
  display: grid;
  grid-template-columns: 1fr 90px 80px;
  align-items: center;

  padding: 0 18px 8px;
  margin-bottom: 6px;

  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  color: #94a3b8;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.basket-col-name {
  text-align: left;
}

.basket-col-qty {
  text-align: center;
}

.basket-col-actions {
  text-align: right;
}

.basket-checkout-modern {
  margin-top: 26px;
  padding: 18px 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.95),
    rgba(2, 6, 23, 0.95)
  );

  border-radius: 14px;
  border: 1px solid rgba(250, 204, 21, 0.35);

  box-shadow:
    inset 0 0 0 1px rgba(250, 204, 21, 0.15),
    0 12px 28px rgba(0,0,0,0.6);
}

.basket-total {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.basket-total-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
}

.basket-total-price {
  font-size: 20px;
  font-weight: 800;
  color: #fde047;

  text-shadow:
    0 0 6px rgba(250, 204, 21, 0.35);
}

.basket-checkout .btn-primary.checkout {
  min-width: 220px;

  background: linear-gradient(
    180deg,
    #2563eb,
    #1d4ed8
  );

  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;

  padding: 14px 20px;
  border-radius: 12px;

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.2),
    0 12px 28px rgba(0,0,0,0.6);

  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.basket-checkout .btn-primary.checkout:hover {
  transform: translateY(-1px);

  background: linear-gradient(
    180deg,
    #3b82f6,
    #2563eb
  );

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.35),
    0 16px 36px rgba(0,0,0,0.75);
}

.basket-checkout .btn-primary.checkout:active {
  transform: scale(0.97);
}

.page-basket input[type="number"]::-webkit-inner-spin-button,
.page-basket input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.page-basket input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.page-basket .basket-item-quantity input {
  width: 56px;
  height: 32px;

  text-align: center;
  font-size: 13px;
  font-weight: 700;

  background: #020617;
  color: #fde047;

  border-radius: 8px;
  border: 1px solid rgba(250,204,21,0.35);

  outline: none;

  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.page-basket .basket-item-quantity input:focus {
  border-color: #fde047;
  box-shadow: 0 0 0 2px rgba(250,204,21,0.25);
}

.page-basket .basket-checkout-btn {
  min-width: 240px;
  height: 52px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(
    180deg,
    #fde047,
    #eab308
  );

  color: #020617;
  font-family: "Press Start 2P", monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;

  padding: 0 22px;
  border-radius: 14px;
  border: none;
  cursor: pointer;

  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,0.15),
    0 10px 22px rgba(0,0,0,0.6);

  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.page-basket .basket-checkout-btn:hover {
  transform: translateY(-1px);

  background: linear-gradient(
    180deg,
    #fff176,
    #fde047
  );

  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,0.2),
    0 14px 30px rgba(0,0,0,0.75),
    0 0 16px rgba(250,204,21,0.35); /* 👈 glow */
}


.page-basket .basket-checkout-btn:active {
  transform: scale(0.97);

  box-shadow:
    inset 0 0 0 2px rgba(0,0,0,0.25),
    0 6px 14px rgba(0,0,0,0.6);
}

.store-product-full {
  background: #0f172a;
  border-radius: 24px;
  padding: 36px;

  box-shadow:
    inset 0 0 0 2px rgba(250, 204, 21, 0.25),
    0 25px 60px rgba(0,0,0,0.75);

  animation: eggsmpPackageEnter 0.3s ease;
}

/* Entrance animation */
@keyframes eggsmpPackageEnter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.store-product-full .product-title {
  font-size: 20px;
  text-align: center;
  margin-bottom: 24px;

  color: #fde047;
  text-shadow: 0 0 12px rgba(250,204,21,0.35);

  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Countdown badge */
.store-product-full .countdown {
  align-self: center;

  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  background: rgba(250, 204, 21, 0.15);
  color: #fde047;

  padding: 6px 12px;
  border-radius: 999px;

  border: 1px solid rgba(250,204,21,0.35);
}

.store-product-full .image,
.store-product-full .media-slider {
  width: 128px;
  margin: 0 auto 28px;

  border-radius: 18px;
  overflow: hidden;

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.08),
    0 14px 36px rgba(0,0,0,0.6);
}

/* Pixel-perfect MC heads */
.store-product-full img {
  image-rendering: pixelated;
}

.store-product-full .product-actions {
  margin: 28px auto;
  padding: 20px;

  background: #020617;
  border-radius: 16px;

  border: 1px solid rgba(250,204,21,0.25);

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.05),
    0 10px 30px rgba(0,0,0,0.6);
}

.store-product-full .descr {
  margin-top: 28px;
  padding-top: 24px;

  border-top: 1px solid rgba(255,255,255,0.08);

  font-family: "Inter", system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.8;

  color: #e5e7eb;
}

/* Headings inside description */
.store-product-full .descr h3 {
  color: #facc15;
  margin-top: 20px;
  margin-bottom: 10px;
}

@media (max-width: 640px) {
  .store-product-full {
    padding: 24px;
    border-radius: 18px;
  }

  .store-product-full .product-title {
    font-size: 18px;
  }
}

.store-product-full {
  max-height: none;
  overflow: visible;
}

/* Make popup content scrollable */
.popup-content.store-product {
  max-height: 100vh;
  overflow-y: hidden;
  padding-bottom: 48px; /* 👈 gives button breathing room */
}

.eggsmp-login-upgraded {
  box-shadow:
    inset 0 0 0 2px rgba(250, 204, 21, 0.25),
    0 25px 60px rgba(0,0,0,0.75);
}

/* Inner action panel (matches product-actions) */
.eggsmp-login-panel {
  margin-top: 20px;
  padding: 22px;

  background: #020617;
  border-radius: 16px;
  border: 1px solid rgba(250,204,21,0.25);

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.05),
    0 10px 30px rgba(0,0,0,0.6);
}

/* Header separation */
.eggsmp-login-title {
  margin-bottom: 10px;
}

.eggsmp-login-subtitle {
  margin-bottom: 18px;
  opacity: 0.9;
}

/* Inputs feel more “package-grade” */
.eggsmp-login-input {
  background: #020617;
  border: 1px solid rgba(250,204,21,0.35);
}

.eggsmp-login-input:focus {
  border-color: #fde047;
  box-shadow: 0 0 0 3px rgba(250,204,21,0.25);
}

/* Button matches checkout/package buttons */
.eggsmp-login-btn {
  margin-top: 10px;
  letter-spacing: 0.05em;
  font-weight: 800;
}

/* Slight hover lift like package cards */
.eggsmp-login-upgraded:hover {
  transform: translateY(-2px);
}

/* Softer entrance (closer to package modal) */
@keyframes modalEnter {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.popup-content.login-popup-content.store-form.text-content {
  background: #0f172a !important;
  border-radius: 20px !important;
  padding: 32px !important;

  border: 1px solid rgba(250, 204, 21, 0.35) !important;

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.06),
    0 25px 60px rgba(0,0,0,0.75) !important;

  font-family: "Inter", system-ui, sans-serif !important;
  color: #e5e7eb !important;

  animation: eggsmpPackageEnter 0.25s ease;
}

.popup-content.login-popup-content.store-form.text-content form {
  background: #020617;
  border-radius: 16px;
  padding: 22px;

  border: 1px solid rgba(250,204,21,0.25);

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.05),
    0 10px 30px rgba(0,0,0,0.6);
}

.popup-content.login-popup-content input[type="text"],
.popup-content.login-popup-content input[type="email"] {
  background: #020617;
  border: 1px solid rgba(250,204,21,0.35);
  border-radius: 10px;

  padding: 14px 12px;
  font-size: 13px;
  color: #e5e7eb;

  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.popup-content.login-popup-content input:focus {
  border-color: #fde047;
  box-shadow: 0 0 0 3px rgba(250,204,21,0.25);
}

.eggsmp-discord-field {
  margin-top: 16px;
}

.eggsmp-discord-card {
  display: flex;
  align-items: center;
  gap: 16px;

  padding: 16px;

  background: linear-gradient(180deg, #020617, #010409);
  border-radius: 14px;

  border: 1px solid rgba(250,204,21,0.15);

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.03),
    0 10px 25px rgba(0,0,0,0.5);

  transition: all 0.2s ease;
}

.eggsmp-discord-card:hover {
  border-color: rgba(250,204,21,0.35);

  box-shadow:
    inset 0 0 0 1px rgba(250,204,21,0.2),
    0 14px 30px rgba(0,0,0,0.7);
}

.eggsmp-discord-icon {
  width: 44px;
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 12px;

  background: linear-gradient(180deg, #6366f1, #4f46e5);

  box-shadow:
    0 0 14px rgba(99,102,241,0.35);
}

/* Text wrapper */
.eggsmp-discord-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Labels */
.eggsmp-discord-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.eggsmp-discord-label.required {
  color: #f87171;
}

.eggsmp-discord-label.optional {
  color: #38bdf8;
}

/* Description */
.eggsmp-discord-desc {
  font-size: 12px;
  color: #cbd5f5;
  line-height: 1.5;
}

/* Connected user */
.eggsmp-discord-user {
  font-size: 14px;
  font-weight: 800;
  color: #fde047;

  text-shadow:
    0 0 6px rgba(250,204,21,0.35);
}

/* Connected state glow */
.eggsmp-discord-field.connected .eggsmp-discord-card {
  border-color: rgba(34,197,94,0.45);
}

.eggsmp-discord-field.connected .eggsmp-discord-icon {
  background: #22c55e;
  box-shadow: 0 0 14px rgba(34,197,94,0.6);
}

.popup-content.login-popup-content .btn-primary {
  /* Tebex variables */
  --btn-color-bg: linear-gradient(180deg, #fde047, #facc15);
  --btn-color-bg-hover: linear-gradient(180deg, #fff176, #fde047);
  --btn-color-text: #020617;
  --btn-color-text-hover: #020617;

  width: 100%;
  font-family: "Press Start 2P", monospace;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;

  padding: 14px 22px;
  border-radius: 14px;
  border: none;
  cursor: pointer;

  box-shadow:
    inset 0 0 0 2px rgba(0,0,0,0.15),
    0 12px 28px rgba(0,0,0,0.65);

  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.popup-content.login-popup-content .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 0 0 2px rgba(0,0,0,0.2),
    0 16px 36px rgba(0,0,0,0.75);
}

.popup-content.login-popup-content .btn-primary:active {
  transform: scale(0.97);
  box-shadow:
    inset 0 0 0 2px rgba(0,0,0,0.3),
    0 8px 18px rgba(0,0,0,0.6);
}

.eggsmp-login-page {
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 24px; /* mobile safety */
}

.currency-switcher {
  position: relative;
}

/* Button-style select */
.currency-select {
  appearance: none; /* remove default arrow */

  height: 42px;
  padding: 0 38px 0 14px;

  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);

  background:
    linear-gradient(180deg, #020617, #010409);

  color: #e5e7eb;

  font-family: system-ui, -apple-system, sans-serif; /* 👈 removes MC font */
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;

  cursor: pointer;

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.03),
    0 4px 12px rgba(0,0,0,0.4);

  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.1s ease;
}

.currency-select:hover {
  border-color: rgba(255,255,255,0.2);
}

.currency-select:focus {
  outline: none;

  border-color: #fde047;

  box-shadow:
    0 0 0 2px rgba(250,204,21,0.25),
    0 0 12px rgba(250,204,21,0.2);
}

.currency-select {
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23e5e7eb' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

/* Active */
.currency-select:active {
  transform: scale(0.97);
}

/* Custom dropdown arrow */
.currency-switcher::after {
  content: "▾";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);

  pointer-events: none;
  font-size: 12px;
  color: #fde047;
}

/* Options (browser-limited styling) */
.currency-select option {
  background: #020617;
  color: #e5e7eb;
  font-family: system-ui, sans-serif;
}

@media (max-width: 768px) {
  .currency-select {
    font-size: 10px;
    padding: 9px 34px 9px 12px;
  }
}

.eggsmp-account-selector {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

/* Base button */
.account-btn {
  flex: 1;

  background: linear-gradient(
    180deg,
    #0f172a,
    #020617
  );

  color: #9ca3af;
  font-family: "Press Start 2P", monospace;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;

  padding: 12px 10px;
  border-radius: 14px;

  border: 1px solid rgba(250, 204, 21, 0.25);
  cursor: pointer;

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.05),
    0 8px 20px rgba(0,0,0,0.55);

  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease,
    color 0.15s ease;
}

/* Hover */
.account-btn:hover {
  transform: translateY(-1px);
  color: #fde047;

  box-shadow:
    inset 0 0 0 1px rgba(250,204,21,0.35),
    0 12px 28px rgba(0,0,0,0.75);
}

/* Active (selected) */
.account-btn.active {
  background: linear-gradient(
    180deg,
    #fde047,
    #facc15
  );

  color: #020617;

  box-shadow:
    inset 0 0 0 2px rgba(0,0,0,0.15),
    0 14px 36px rgba(0,0,0,0.75);

  transform: translateY(-1px);
}

/* Active hover (subtle, not glowstick) */
.account-btn.active:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 0 0 2px rgba(0,0,0,0.2),
    0 18px 45px rgba(0,0,0,0.85);
}


.eggsmp-guest-btn {
  all: unset; /* 🔥 wipes ALL default styles */

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 48px;

  border-radius: 12px;
  cursor: pointer;

  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);

  color: #9ca3af;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;

  transition: all 0.15s ease;
}

.eggsmp-guest-btn:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.2);
  color: #e5e7eb;
}

.eggsmp-guest-btn {
  border: none;
  background: transparent;

  color: #94a3b8;
}

.eggsmp-guest-btn:hover {
  color: #fde047;
}
/* Active */
.eggsmp-guest-btn:active {
  transform: scale(0.97);
}

/* Optional muted helper text */
.eggsmp-guest-btn::after {
  content: "View items before logging in";
  display: block;
  margin-top: 6px;

  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;

  color: #64748b;
}


.eggsmp-discord-card {
  background: #020617; /* same as login panel */
  border: 1px solid rgba(250, 204, 21, 0.25);
  border-radius: 16px;

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.05),
    0 10px 30px rgba(0,0,0,0.6);

  padding: 16px 18px;
}

/* Remove “extra” lift feeling */
.eggsmp-discord-card:hover {
  transform: none;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.05),
    0 10px 30px rgba(0,0,0,0.6);
}


.eggsmp-discord-text {
  gap: 4px;
}

.eggsmp-discord-label {
  font-size: 10px;
  letter-spacing: 0.08em;
}

.eggsmp-discord-desc {
  font-size: 11px;
  line-height: 1.5;
  color: #cbd5f5;
}

.popup-content.store-product-options {
  background: #0f172a;
  border-radius: 20px;

  width: 100%;
  max-width: 520px;            /* 👈 wider so buttons fit */
  max-height: 90vh;

  padding: 28px;

  border: 1px solid rgba(250, 204, 21, 0.35);

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.06),
    0 25px 60px rgba(0,0,0,0.75);

  overflow: visible;           /* 👈 allow buttons to breathe */
}

.popup-content.store-product-options .actions {
  display: flex;
  flex-direction: column;
  align-items: stretch; /* 🔥 FIX */
  gap: 14px;
}

.quantity-field .open-basket {
  pointer-events: none;
  cursor: default;
  opacity: 0.7; /* optional: visually indicate disabled */
}


.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  background: radial-gradient(circle at center, #0b1220, #020617);
  overflow: hidden;
}


/* Foreground content */
.page-loader-inner {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

/* hide state */
.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loaded .site {
  opacity: 1;
  transition: opacity 0.25s ease;
}


.loader-logo {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #38bdf8; /* Egg color (blue) */
}

.loader-logo .logo-smp {
  color: #facc15; /* SMP yellow (Tailwind yellow-400 vibe) */
}


.loader-spinner {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid rgba(56, 189, 248, 0.25);
  border-top-color: #38bdf8;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

html:has(.page-loader:not(.hidden)) {
  overflow: hidden;
}

.loader-credit {
  position: absolute;
  bottom: 18px;
  right: 22px;

  font-family: "Inter", system-ui, sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;

  color: rgba(255, 255, 255, 0.18); /* VERY faint */
  text-align: right;

  pointer-events: none;
  user-select: none;
}

.loader-credit {
  opacity: 0.6;
  filter: blur(0.2px);
}

@media (max-width: 640px) {
  .site-header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;

    padding: 18px 16px;
  }

  /* Kill grid behavior */
  .site-header-inner > * {
    justify-self: unset !important;
  }
}

@media (max-width: 640px) {
  .site-header-inner .user-actions {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
  }

  .site-header .btn-primary.open-basket,
  .currency-select {
    min-width: 140px;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .site-title img {
    filter: drop-shadow(0 0 18px rgba(250, 204, 21, 0.35));
  }
}

@media (max-width: 640px) {
  /* Stack total + button */
  .basket-checkout-modern {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  /* Full-width checkout button */
  .page-basket .basket-checkout-btn {
    width: 100%;
    min-width: unset;   /* 👈 IMPORTANT */
    text-align: center;
  }

  /* Center total text */
  .basket-total {
    align-items: center;
    text-align: center;
  }
}


/* Force readable font */
.text-content,
.text-content * {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
  letter-spacing: normal !important;
}

/* Base text */
.text-content {
  font-size: 14px;
  line-height: 1.8;
  color: #e5e7eb;
  max-width: 900px;
  margin: 0 auto;
}

/* Headings */
.text-content h1,
.text-content h2,
.text-content h3 {
  font-weight: 700;
  color: #facc15;
  margin-top: 32px;
  margin-bottom: 12px;
}

/* Paragraphs */
.text-content p {
  margin-bottom: 16px;
  color: #cbd5f5;
}

/* Lists */
.text-content ul,
.text-content ol {
  margin-left: 20px;
  margin-bottom: 18px;
}

.text-content li {
  margin-bottom: 8px;
}

/* Links */
.text-content a {
  color: #38bdf8;
  text-decoration: underline;
}
.text-content a:hover {
  color: #7dd3fc;
}

/* Tables (for privacy policies) */
.text-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 13px;
}

.text-content th,
.text-content td {
  padding: 12px 14px;
  border: 1px solid #1e293b;
  text-align: left;
}

.text-content th {
  background: #020617;
  color: #22d3ee;
  font-weight: 700;
}

.text-content tr:nth-child(even) td {
  background: rgba(15, 23, 42, 0.6);
}

/* Disclaimer callouts */
.text-content blockquote {
  margin: 24px 0;
  padding: 16px 18px;
  background: rgba(250, 204, 21, 0.08);
  border-left: 4px solid #facc15;
  color: #fde047;
}

.site-navigation.widget.navigation-vertical {
  display: none !important;
}

.site-content,
.store-content,
.main-content {
  width: 100% !important;
  margin-left: 0 !important;
}

.site-content,
.store-content,
.main-content {
  max-width: 1200px;      /* adjust to taste */
  margin: 0 auto !important;
  padding-left: 16px;
  padding-right: 16px;
}




/* Tiered rank descriptions */
.store-product-tiered .descr {
  margin-top: 18px;
  text-align: center;
}

/* Inner wrapper */
.rank-card-inner {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Price */
.rank-price {
  font-size: 18px;
  font-weight: 800;
  color: #fde047;
}

.rank-price span {
  font-size: 11px;
  color: #94a3b8;
}

/* Sections */
.rank-section h4 {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #38bdf8;
  margin-bottom: 10px;
}

.rank-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rank-section li {
  font-size: 12px;
  line-height: 1.6;
  color: #e5e7eb;
  padding: 4px 0;
}

/* Muted section */
.rank-section.muted p {
  font-size: 12px;
  color: #9ca3af;
}

/* Platform wrapper */
.eggsmp-platform {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Platform label */
.platform-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 900;
}

/* IP box upgrade */
.eggsmp-ip {
  background: #020617;
  border-radius: 12px;
  padding: 12px 14px;

  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;

  color: #fde047;

  border: 1px solid rgba(250, 204, 21, 0.25);

  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease;
}

/* Hover glow */
.eggsmp-ip:hover {
  transform: translateY(-2px);

  border-color: rgba(250, 204, 21, 0.6);

  box-shadow:
    0 0 16px rgba(250, 204, 21, 0.35);
}

.eggsmp-home .eggsmp-card {
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.05),
    0 18px 45px rgba(0,0,0,0.65);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.eggsmp-home .eggsmp-card:hover {
  box-shadow:
    inset 0 0 0 1px rgba(250,204,21,0.25),
    0 22px 55px rgba(0,0,0,0.8);
}

.eggsmp-store:hover {
  transform: translateY(-3px) scale(1.02);
}

.eggsmp-store .eggsmp-card-title {
  font-size: 60px;
  font-weight: 900;
  letter-spacing: 0.10em;
  text-shadow:
    0 0 12px rgba(250, 204, 21, 0.35);
}


.eggsmp-rank-description {
  margin-top: 28px;
}

.eggsmp-rank-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* Title spacing */
.eggsmp-rank-title {
  font-size: 28px;
  margin-bottom: 6px;
}

.eggsmp-rank-price {
  font-size: 22px;
  margin-bottom: 28px;
}

/* Two column layout */
.rank-perks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 32px;
}

/* Section headings */
.rank-perk-section h4 {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #38bdf8;
  margin-bottom: 14px;
}

/* List items */
.rank-perk-section li {
  font-size: 14px;
  padding: 6px 0;
  color: #e5e7eb;
}

/* Monthly rewards grid */
.monthly-rewards ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 30px;
}

/* Mobile stack */
@media (max-width: 768px) {
  .rank-perks-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .monthly-rewards ul {
    grid-template-columns: 1fr;
  }
}

.rank-perks-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 80px !important;
  align-items: start;
}

.rank-perk-section {
  width: 100%;
}

.monthly-rewards ul {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 30px;
}

/* BREAK OUT OF TEBEX TEXT WRAPPER */
.store-category .eggsmp-rank-wrapper {
  max-width: 1200px !important;
  width: 100% !important;
  margin: 0 auto 56px !important;
}

.store-category .eggsmp-rank-feature {
  width: 100% !important;
}

.store-category .eggsmp-rank-content {
  max-width: 100% !important;
  width: 100% !important;
  text-align: center !important;
}

/* FORCE GRID TO ACT FULL WIDTH */
.store-category .rank-perks-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 120px !important;
  width: 100% !important;
}

/* Make sections not inherit weird centering */
.store-category .rank-perk-section {
  text-align: left !important;
}

/* Rules + Commands card text polish */
.eggsmp-home .eggsmp-card button h2,
.eggsmp-home .eggsmp-card h2 {
  font-size: 24px;
  margin-bottom: 12px;
  letter-spacing: 0.08em;
}

.eggsmp-home .eggsmp-card button p,
.eggsmp-home .eggsmp-card p {
  font-size: 16px;
  color: #94a3b8;
  line-height: 1.6;

  max-width: 220px;
  margin: 0 auto;

  opacity: 0.9;
}

.eggsmp-player-count {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 500;
  opacity: 0.8;
  letter-spacing: 0.5px;
  transition: 0.2s;
}


.eggsmp-featured {
  grid-column: span 2;
  min-height: 200px;
  position: relative;
  overflow: hidden;
}

/* Slides */
.featured-slide {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  gap: 20px;

  padding: 20px;

  opacity: 0;
  transition: opacity 0.5s ease;
}

.featured-content {
  position: relative;
  z-index: 2; /* 👈 puts text ABOVE overlay */
}

.featured-content h2 {
  font-size: 18px;
  font-weight: 700;
  color: #facc15;
  text-shadow: 0 2px 10px rgba(0,0,0,0.9);
}

.featured-content p {
  font-size: 12px;
  color: #facc15;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}


.featured-image {
  width: 45%;
  height: 100%;

  object-fit: cover;
  border-radius: 12px;

  flex-shrink: 0;
}

.featured-content {
  flex: 1;

  display: flex;
  flex-direction: column;
  justify-content: center;

  z-index: 2;
}

.featured-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* Bigger text */
.featured-slide h2 {
  font-size: 18px;
  margin-bottom: 10px;
}

.featured-slide p {
  font-size: 11px;
  color: #9ca3af;
}

.eggsmp-discord-home {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* Discord card layout */
.eggsmp-discord-home {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Remove the big blue box */
.discord-icon {
  background: transparent;
  box-shadow: none;
  width: auto;
  height: auto;
}

/* Make icon subtle */
.discord-icon img {
  width: 281px;
  height: 281px;
  opacity: 0.85;

  filter: drop-shadow(0 0 6px rgba(88, 101, 242, 0.3));
}

/* Title */
.discord-content h3 {
  font-size: 13px;
  font-weight: 600;
  margin: 0;
  color: #e5e7eb;
}

/* Subtext */
.discord-content p {
  font-size: 11px;
  color: #9ca3af;
}

/* Hover (subtle, not flashy) */
.eggsmp-discord-home:hover {
  transform: translateY(-2px);
}

.eggsmp-discord-home:hover .discord-icon img {
  opacity: 1;
  filter: drop-shadow(0 0 10px rgba(88, 101, 242, 0.6));
}

/* ===============================
   MOBILE FIX (HOMEPAGE)
================================ */
@media (max-width: 640px) {

  /* Grid spacing */
  .eggsmp-grid {
    gap: 16px;
    padding: 16px;
  }

  /* Cards smaller + tighter */
  .eggsmp-card {
    padding: 18px;
    border-radius: 14px;
  }

  /* Logo sizing */
  .eggsmp-logo img {
    width: 120px;
    margin: 0 auto;
  }

  /* Player count */
  .eggsmp-player-count {
    font-size: 12px;
    margin-top: 10px;
  }

  /* Discord logo */
  .discord-logo {
    width: 80px;
    margin: 0 auto;
  }

  .discord-status {
    font-size: 11px;
    margin-top: 8px;
  }

  /* =========================
     FEATURED SLIDER FIX
  ========================= */

  .eggsmp-featured {
    grid-column: span 1; /* 🔥 important */
  }

  .featured-slide {
    flex-direction: column; /* stack instead of side-by-side */
    gap: 12px;
    padding: 14px;
    align-items: center;
    text-align: center;
  }

  .featured-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
  }

  .featured-content h2 {
    font-size: 14px;
  }

  .featured-content p {
    font-size: 11px;
  }

  .eggsmp-featured {
    min-height: 180px; /* 🔥 this fixes the squish */
  }

  /* =========================
     IP BOX FIX
  ========================= */

  .eggsmp-ip {
    font-size: 12px;
    padding: 12px;
  }

}

.eggsmp-section-title {
  margin: 40px 0 20px;
  text-align: center;
}

.store-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto 60px;
}

@media (max-width: 1024px) {
  .store-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .eggsmp-rank-grid {
    grid-template-columns: 1fr;
    padding: 0 8px;
  }
}

@media (max-width: 640px) {
  .site-content.site-content-widgets {
    padding-left: 16px;
    padding-right: 16px;
  }

  .eggsmp-table {
    padding: 0 8px;
  }
}

@media (max-width: 640px) {
  .eggsmp-footer-inner {
    padding: 28px 16px;   /* was 56px → cut in half */
    gap: 20px;            /* tighter spacing */
  }

  .eggsmp-footer-desc {
    font-size: 13px;
  }

  .eggsmp-footer-disclaimer {
    font-size: 10px;
    line-height: 1.5;
  }
}

.store-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.eggsmp-section-title h2 {
  font-size: 18px;
  font-weight: 600;
  color: #facc15;
  margin-bottom: 6px;
}

.eggsmp-section-title p {
  font-size: 12px;
  color: #9ca3af;
}

@media (max-width: 1024px) {
  .eggsmp-footer-inner {
    padding: 32px 20px;  /* 👈 reduced */
    gap: 24px;           /* 👈 tighter */
  }

  .eggsmp-footer-desc {
    font-size: 13px;
  }

  .eggsmp-footer-disclaimer {
    font-size: 11px;
  }

  .eggsmp-footer-links a {
    font-size: 12px;
  }
}

.eggsmp-discord-icon {
  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 12px;

  background: linear-gradient(180deg, #5865f2, #4752c4);

  box-shadow:
    0 0 16px rgba(88,101,242,0.35),
    0 6px 18px rgba(0,0,0,0.5);
}

.link-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 14px;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;

  color: #9ca3af;
  text-decoration: none;

  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);

  background: rgba(255,255,255,0.02);

  transition: all 0.15s ease;
}

.link-text:hover {
  color: #e5e7eb;
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);

  transform: translateY(-1px);
}

.eggsmp-user-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 40px;
  padding: 0 14px;

  border-radius: 10px;

  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);

  color: #e5e7eb;

  font-family: system-ui, -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;

  text-decoration: none;

  transition: all 0.15s ease;
}

.eggsmp-user-btn:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.2);

  color: #ffffff;

  transform: translateY(-1px);
}

.eggsmp-basket-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 40px;
  padding: 0 18px;

  border-radius: 12px;

  background: linear-gradient(180deg, #fde047, #eab308);

  color: #020617;

  font-family: system-ui, -apple-system, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;

  text-decoration: none;

  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,0.15),
    0 8px 18px rgba(0,0,0,0.5);

  transition: all 0.15s ease;
}

.eggsmp-basket-btn:hover {
  transform: translateY(-1px);

  background: linear-gradient(180deg, #fff176, #fde047);

  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,0.2),
    0 12px 26px rgba(0,0,0,0.7),
    0 0 12px rgba(250,204,21,0.3);
}

.eggsmp-user-head {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;

  border-radius: 10px;
  overflow: hidden;

  border: 1px solid rgba(255,255,255,0.08);

  background: #020617;

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.03),
    0 6px 14px rgba(0,0,0,0.5);

  transition: all 0.15s ease;
}

.eggsmp-user-head img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eggsmp-user-head:hover {
  transform: translateY(-1px);

  border-color: rgba(250,204,21,0.4);

  box-shadow:
    0 0 12px rgba(250,204,21,0.25),
    0 10px 20px rgba(0,0,0,0.7);
}

.eggsmp-user-head::after {
  content: "Log out";
  position: absolute;
  bottom: -28px;

  background: #020617;
  color: #e5e7eb;

  font-size: 10px;
  padding: 4px 8px;

  border-radius: 6px;
  opacity: 0;

  transition: opacity 0.15s ease;
}

.eggsmp-user-head:hover::after {
  opacity: 1;
}