* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Comic Neue", cursive !important;
}

/* =============================================
   CUSTOM CHALK-PENCIL CURSOR
   ============================================= */
html,
body {
  cursor: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cpolygon%20points%3D%2210.24%2C6.24%2022.97%2C18.97%2018.97%2C22.97%206.24%2C10.24%22%20fill%3D%22%23ffcc33%22%20stroke%3D%22%238a5a00%22%20stroke-width%3D%221.2%22%2F%3E%3Cpolygon%20points%3D%2222.97%2C18.97%2027.2%2C23.2%2023.2%2C27.2%2018.97%2C22.97%22%20fill%3D%22%23ff7aa2%22%20stroke%3D%22%238a5a00%22%20stroke-width%3D%221%22%2F%3E%3Cpolygon%20points%3D%227.77%2C3.77%2010.24%2C6.24%206.24%2C10.24%203.77%2C7.77%22%20fill%3D%22%23f2dca8%22%20stroke%3D%22%238a5a00%22%20stroke-width%3D%220.8%22%2F%3E%3Cpolygon%20points%3D%224%2C4%207.77%2C3.77%203.77%2C7.77%22%20fill%3D%22%23333%22%2F%3E%3C%2Fsvg%3E") 4 4, auto;
}
/* Clickable elements get the sparkle pencil */
a,
button,
.btn,
[role="button"],
.modal-trigger,
.nav-link,
.dropdown-item,
.dropdown-toggle,
label[for],
summary,
.swiper-slide-button,
.swiper-pagination-bullet,
.feature-card {
  cursor: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2234%22%20height%3D%2234%22%20viewBox%3D%220%200%2034%2034%22%3E%3Cpolygon%20points%3D%2210.24%2C6.24%2022.97%2C18.97%2018.97%2C22.97%206.24%2C10.24%22%20fill%3D%22%23ffcc33%22%20stroke%3D%22%238a5a00%22%20stroke-width%3D%221.2%22%2F%3E%3Cpolygon%20points%3D%2222.97%2C18.97%2027.2%2C23.2%2023.2%2C27.2%2018.97%2C22.97%22%20fill%3D%22%23ff7aa2%22%20stroke%3D%22%238a5a00%22%20stroke-width%3D%221%22%2F%3E%3Cpolygon%20points%3D%227.77%2C3.77%2010.24%2C6.24%206.24%2C10.24%203.77%2C7.77%22%20fill%3D%22%23f2dca8%22%20stroke%3D%22%238a5a00%22%20stroke-width%3D%220.8%22%2F%3E%3Cpolygon%20points%3D%224%2C4%207.77%2C3.77%203.77%2C7.77%22%20fill%3D%22%23333%22%2F%3E%3Cpath%20d%3D%22M26%206%20l1.4%203.1%20L30.5%2010.5%20l-3.1%201.4%20L26%2015%20l-1.4-3.1%20L21.5%2010.5%20l3.1-1.4%20Z%22%20fill%3D%22%23fff3b0%22%20stroke%3D%22%23e0a800%22%20stroke-width%3D%220.6%22%2F%3E%3C%2Fsvg%3E") 4 4, pointer;
}
/* Keep text fields usable with a normal caret */
input,
textarea,
select,
[contenteditable="true"] {
  cursor: text;
}
select,
input[type="checkbox"],
input[type="radio"],
input[type="range"],
input[type="submit"] {
  cursor: pointer;
}

/* =============================================
   FESTIVE BULB STRING LIGHTS (comet trail)
   ============================================= */
#bulb-lights {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 1029; /* under navbar (1030) so logo/login paint on top */
  pointer-events: none;
}
/* The draped, curved wire (SVG) */
.bulb-wire {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.bulb-wire path {
  fill: none;
  stroke: rgba(35, 25, 15, 0.85);
  stroke-width: 2;
  stroke-linecap: round;
}
.bulb {
  --c: var(--bulb-color, #fff);
  position: absolute;
  transform: translateX(-50%);
  width: 14px;
  height: 18px;
  border-radius: 50% 50% 50% 50% / 58% 58% 42% 42%;
  background: var(--c);
  /* colorful even at rest: full color + a soft permanent glow */
  opacity: 1;
  box-shadow: 0 0 7px 1px var(--c);
  transition: opacity 0.18s ease, box-shadow 0.28s ease, transform 0.25s ease;
}
/* Socket cap that hangs the bulb from the wire */
.bulb::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 7px;
  background: #2f2a25;
  border-radius: 2px 2px 0 0;
}
/* Glass highlight */
.bulb::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 3.5px;
  height: 4.5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
}
/* Comet trail states (lit-0 = bright head, fading back into the colored rest) */
.bulb.lit-0 {
  opacity: 1;
  transform: translateX(-50%) scale(1.32);
  box-shadow: 0 0 12px 3px var(--c), 0 0 26px 8px var(--c);
}
.bulb.lit-1 {
  opacity: 1;
  transform: translateX(-50%) scale(1.16);
  box-shadow: 0 0 10px 2px var(--c), 0 0 16px 4px var(--c);
}
.bulb.lit-2 {
  opacity: 1;
  transform: translateX(-50%) scale(1.06);
  box-shadow: 0 0 8px 1px var(--c);
}
.bulb.lit-3 {
  opacity: 0.96;
  box-shadow: 0 0 7px 1px var(--c);
}
/* Broken bulb: rapid erratic strobe, then dies black for the rest of the cycle */
.bulb.broken {
  animation: bulbBroken 2.8s infinite steps(1, end);
}
@keyframes bulbBroken {
  /* --- fast flicker burst --- */
  0%    { opacity: 1;    background: var(--c); box-shadow: 0 0 12px 3px var(--c), 0 0 26px 8px var(--c); }
  3%    { opacity: 0.12; background: #141414; box-shadow: none; }
  6%    { opacity: 1;    background: var(--c); box-shadow: 0 0 10px 2px var(--c); }
  8%    { opacity: 0.1;  background: #141414; box-shadow: none; }
  11%   { opacity: 1;    background: var(--c); box-shadow: 0 0 14px 4px var(--c); }
  13%   { opacity: 0.12; background: #141414; box-shadow: none; }
  16%   { opacity: 0.95; background: var(--c); box-shadow: 0 0 8px 2px var(--c); }
  18%   { opacity: 0.1;  background: #141414; box-shadow: none; }
  21%   { opacity: 1;    background: var(--c); box-shadow: 0 0 11px 3px var(--c); }
  24%   { opacity: 0.1;  background: #141414; box-shadow: none; }
  27%   { opacity: 0.8;  background: var(--c); box-shadow: 0 0 7px 1px var(--c); }
  30%   { opacity: 0.3; background: #121212; box-shadow: none; }
  /* --- dead black for the rest --- */
  100%  { opacity: 1; background: #121212; box-shadow: none; }
}
@media (max-width: 576px) {
  .bulb { width: 10px; height: 13px; }
  .bulb::after { width: 3px; height: 3.5px; top: 2px; left: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .bulb { transition: none; }
  .bulb.broken { animation: none; opacity: 0.15; background: #141414; box-shadow: none; }
}

:root {
  --main-gray-color: #e8e7e7;
  --blue-color: #0d6efd;
  --baby-blue: rgb(96 165 250);
  --green-color: rgba(74 222 128);
  --red-color: rgb(248 113 113);
  --pink-color: rgb(244 114 182);
  --yellow-color: rgb(250 204 21);
  --yellow-dark-color: rgb(234 179 8);
  --orange-color: rgb(253 186 116);
  --purple-color: rgb(146, 51, 234);
  --light-blue: rgba(219 234 254);
}
.particle {
  position: fixed;
  bottom: 0;
  width: 12px;
  height: 12px;
  background: transparent;
  opacity: 0.7;
  border-radius: 0;
  animation: floatUp 6s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
  transform-origin: center;
}

.particle::before {
  content: "❄";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 30px;
  text-shadow:
    0 0 3px #fff,
    0 0 6px #ddd;
}
@keyframes floatUp {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.9;
  }
  100% {
    transform: translateY(-150px) scale(0.7);
    opacity: 0;
  }
}

.bg-yellow-100 {
  background-color: #fef9c3 !important;
}
.bg-yellow {
  background-color: #ffc100 !important;
  color: white !important;
}
.bg-blue-100 {
  background-color: #dbeafe !important;
}
.bg-pink-100 {
  background-color: #fce7f3 !important;
}
.bg-purple-200 {
  background-color: #e9d5ff !important;
}
.bg-purple-700 {
  background-color: #7e22ce !important;
}
.bg-red-100 {
  background-color: #fee2e2 !important;
}

a.bg-white:hover,
button.bg-white:hover,
.nav-link.bg-white:hover,
a.bg-white:focus,
button.bg-white:focus,
.nav-link.bg-white:focus {
  background-color: #f1f1f1 !important;
  color: #000 !important;
  box-shadow: none !important;
  outline: none !important;
}
.text-purple-700 {
  color: #7e22ce !important;
}
.border-purple-600 {
  border-color: #a855f7 !important;
}
.bg-gradient-to-br {
  background-image: linear-gradient(
    to bottom right,
    #facc15,
    #ef4444,
    #ec4899
  ) !important;
}
.border-4 {
  border-width: 4px !important;
  border-style: solid !important;
}

.border-black {
  border-color: #000 !important;
}
.dropdown-toggle::after {
  display: none !important;
}
.dropdown-item:active,
.dropdown-item:focus,
.dropdown-item:focus-visible {
  background-color: inherit !important;
  color: #000 !important;
  box-shadow: none !important;
  outline: none !important;
}
.btn-close,
.btn-close:focus,
.btn-close:active {
  background-color: transparent !important;
  border: none !important;
  color: #000 !important;
  opacity: 1 !important;
  box-shadow: none !important;
  outline: none !important;
}

.max-w-md {
  max-width: 28rem !important;
}

.btn-close {
  --bs-btn-close-bg: none !important;
}

.modal-backdrop {
  opacity: 0.65 !important;
  backdrop-filter: blur(6px);
}

/* =============================================
   DYNAMIC MODAL — WOW STYLE
   ============================================= */

/* Animate in */
#dynamicModal .modal-dialog {
  transition:
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.25s ease;
}
#dynamicModal.show .modal-dialog {
  transform: none;
}

/* Main content box */
#dynamicModal .modal-content,
#dynamicModal .modal-content.main-gray-bg {
  background: #ffffff !important;
  border: none !important;
  border-radius: 1.25rem !important;
  overflow: hidden;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(0, 0, 0, 0.05) !important;
  position: relative;
}

/* Colored accent bar on top */
#dynamicModal .modal-content::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899, #f59e0b);
  background-size: 200% 100%;
  animation: gradient-shift 4s ease infinite;
}
@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Close button */
#dynamicModal .btn-close,
#dynamicModal .btn-close:hover {
  position: absolute !important;
  top: 0.85rem !important;
  right: 0.85rem !important;
  background: #f3f4f6 !important;
  border-radius: 50% !important;
  width: 32px !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.1rem !important;
  color: #555 !important;
  border: none !important;
  opacity: 1 !important;
  transition:
    background 0.15s,
    color 0.15s !important;
  z-index: 10;
}
#dynamicModal .btn-close:hover {
  background: #e5e7eb !important;
  color: #111 !important;
}

/* Header */
#dynamicModal .modal-header {
  padding: 1.5rem 1.5rem 0.5rem !important;
  border: none !important;
  justify-content: flex-start !important;
}
#dynamicModal .modal-header h3,
#dynamicModal .modal-header h4,
#dynamicModal .modal-header h2 {
  font-weight: 800 !important;
  font-size: 1.3rem !important;
  color: #111 !important;
  letter-spacing: -0.3px;
}

/* Body */
#dynamicModal .modal-body {
  padding: 0.75rem 1.5rem 1.5rem !important;
}

/* Form labels */
#dynamicModal .form-label {
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  color: #374151 !important;
  margin-bottom: 0.35rem !important;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* Inputs */
#dynamicModal .form-control {
  border: 1.5px solid #e5e7eb !important;
  border-radius: 0.65rem !important;
  padding: 0.55rem 0.85rem !important;
  font-size: 0.92rem !important;
  background: #f9fafb !important;
  color: #111 !important;
  opacity: 1 !important;
  transition:
    border-color 0.2s,
    box-shadow 0.2s !important;
}
#dynamicModal .form-control:focus,
#dynamicModal .form-control:focus-visible {
  border-color: #6366f1 !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15) !important;
  background: #fff !important;
}
#dynamicModal .form-control::placeholder {
  color: #9ca3af !important;
  font-size: 0.88rem !important;
}

/* Submit / primary buttons */
#dynamicModal .btn-baby-blue {
  background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
  border: none !important;
  border-radius: 999px !important;
  padding: 0.55rem 2rem !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35) !important;
  transition:
    filter 0.2s,
    transform 0.15s,
    box-shadow 0.2s !important;
}
#dynamicModal .btn-baby-blue:hover {
  filter: brightness(1.08) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45) !important;
}

/* Checkbox */
#dynamicModal .form-check-input:checked {
  background-color: #6366f1 !important;
  border-color: #6366f1 !important;
}

/* Forgot / link buttons */
#dynamicModal .btn-link {
  color: #6366f1 !important;
  font-size: 0.85rem !important;
  text-decoration: none !important;
}
#dynamicModal .btn-link:hover {
  text-decoration: underline !important;
  color: #4f46e5 !important;
}

/* Error messages */
#dynamicModal .text-danger,
#dynamicModal #ajax-messages .text-danger {
  font-size: 0.8rem !important;
  font-weight: 600 !important;
}
#dynamicModal #ajax-messages .text-success {
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  color: #16a34a !important;
}

/* Dividers & misc */
#dynamicModal .dropdown-divider {
  border-color: #f3f4f6;
}
#dynamicModal .modal-footer {
  border: none !important;
  padding: 0.75rem 1.5rem 1.25rem !important;
}

/* Content pop-in — replays whenever the dialog content is (re)mounted */
#dynamicModal .modal-content {
  animation: dyn-content-in 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes dyn-content-in {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
/* Snappier scale-pop for the whole dialog on open */
#dynamicModal.fade .modal-dialog {
  transform: scale(0.92) translateY(8px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
}
#dynamicModal.show .modal-dialog {
  transform: scale(1) translateY(0);
}

/* Custom scrollbar inside the modal */
#dynamicModal .modal-content {
  scrollbar-width: thin;
  scrollbar-color: #c7cbd1 transparent;
}
#dynamicModal .modal-content::-webkit-scrollbar,
#dynamicModal .modal-body::-webkit-scrollbar {
  width: 8px;
}
#dynamicModal .modal-content::-webkit-scrollbar-thumb,
#dynamicModal .modal-body::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: content-box;
}
#dynamicModal .modal-content::-webkit-scrollbar-thumb:hover,
#dynamicModal .modal-body::-webkit-scrollbar-thumb:hover {
  background: #9ca3af;
  background-clip: content-box;
}

/* Selects & textareas — match the input styling */
#dynamicModal select.form-control,
#dynamicModal .form-select,
#dynamicModal textarea.form-control {
  border: 1.5px solid #e5e7eb !important;
  border-radius: 0.65rem !important;
  padding: 0.55rem 0.85rem !important;
  font-size: 0.92rem !important;
  background-color: #f9fafb !important;
  color: #111 !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
}
#dynamicModal select.form-control:focus,
#dynamicModal .form-select:focus,
#dynamicModal textarea.form-control:focus {
  border-color: #6366f1 !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15) !important;
  background-color: #fff !important;
}

/* Alerts inside the modal */
#dynamicModal .alert {
  border: none !important;
  border-radius: 0.7rem !important;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Generic secondary buttons inside the modal get a consistent pill look */
#dynamicModal .btn-green,
#dynamicModal .btn-yellow,
#dynamicModal .btn-red,
#dynamicModal .btn-pink,
#dynamicModal .btn-blue {
  border-radius: 999px !important;
  font-weight: 700 !important;
}

/* =============================================
   DYNAMIC MODAL — BRANDED LOADER
   ============================================= */
#dynamicModal .dyn-loading {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dyn-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  padding: 1.5rem;
}
.dyn-loader-ring {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #6366f1, #8b5cf6, #ec4899, #f59e0b, #6366f1);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 5px));
  animation: dyn-spin 0.9s linear infinite;
}
@keyframes dyn-spin {
  to { transform: rotate(360deg); }
}
.dyn-loader-text {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #9ca3af;
  animation: dyn-loader-blink 1.4s ease-in-out infinite;
}
@keyframes dyn-loader-blink {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.fs-7 {
  font-size: 1.125rem !important;
}

.fs-8 {
  font-size: 0.875rem !important;
}

.fs-16 {
  font-size: 16px !important;
}
.w-90 {
  width: 90% !important;
}
.form-control:active,
.form-control:focus,
.form-control:focus-visible {
  box-shadow: none !important;
  border: 1px solid black !important;
}

.bg-violet {
  background-color: #7c3aed70 !important;
}
.bg-purple {
  background-color: #9233ea70 !important;
}

.bg-opacity-30 {
  --bs-bg-opacity: 0.3 !important;
}
.main-gray {
  color: var(--main-gray-color);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  opacity: 0.9;
  filter: blur(12px);
}

.main-gray-bg {
  background-color: var(--main-gray-color);
}
.btn-blue,
.btn-blue:focus,
.btn-blue:active {
  background-color: var(--blue-color) !important;
  color: #fff !important;
  box-shadow: none !important;
  outline: none !important;
  border-color: var(--blue-color) !important;
}
.btn-baby-blue,
.btn-baby-blue:focus,
.btn-baby-blue:active {
  background-color: var(--baby-blue) !important;
  color: #fff !important;
  box-shadow: none !important;
  outline: none !important;
  border-color: var(--baby-blue) !important;
}
.btn-green,
.btn-green:focus,
.btn-green:active {
  background-color: var(--green-color) !important;
  color: #fff !important;
  box-shadow: none !important;
  outline: none !important;
  border-color: var(--green-color) !important;
}
.btn-red,
.btn-red:focus,
.btn-red:active {
  background-color: var(--red-color) !important;
  color: #fff !important;
  box-shadow: none !important;
  outline: none !important;
  border-color: var(--red-color) !important;
}
.btn-pink,
.btn-pink:focus,
.btn-pink:active {
  background-color: var(--pink-color) !important;
  color: #fff !important;
  box-shadow: none !important;
  outline: none !important;
  border-color: var(--pink-color) !important;
}
.btn-yellow,
.btn-yellow:focus,
.btn-yellow:active {
  background-color: var(--yellow-color) !important;
  color: #fff !important;
  box-shadow: none !important;
  outline: none !important;
  border-color: var(--yellow-color) !important;
}

.btn-purple,
.btn-purple:focus,
.btn-purple:active {
  background-color: var(--purple-color) !important;
}
.btn-black,
.btn-black:focus,
.btn-black:active {
  background-color: #000 !important;
  color: #fff !important;
  box-shadow: none !important;
  outline: none !important;
  border-color: #000 !important;
}
.text-orange {
  color: var(--orange-color) !important;
}
.text-baby-blue {
  color: var(--baby-blue) !important;
}
.text-blue {
  color: var(--blue-color) !important;
}
.text-green {
  color: var(--green-color) !important;
}
.text-red {
  color: var(--red-color) !important;
}
.text-pink {
  color: var(--pink-color) !important;
}
.text-yellow {
  color: var(--yellow-color) !important;
}
.text-dark-yellow {
  color: var(--yellow-dark-color) !important;
}
.text-black {
  color: #000 !important;
}

.bg-light-blue {
  background-color: var(--light-blue) !important;
}

.max-w-xl {
  max-width: 56rem !important;
}

.crayon-text {
  text-shadow: 2px 2px #00000022;
  letter-spacing: 1px;
}

.green-neon-hover:hover {
  box-shadow:
    0 0 15px #00ff99,
    0 0 30px #00ff99 !important;
}

body {
  padding: 0;
  background-color: #fffdf7;
  background-image: url("../images/background-alex.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  position: relative;
}
.bg-overlay {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.3) !important;
  pointer-events: none;
  z-index: -1;
}
.bg-black {
  background-color: #000 !important;
}

/* body::after{
    content: "";
    display: block;
    background: rgba(0, 0, 0, 0.5);
} */

.navbar-brand img.logo {
  width: 3rem;
  height: auto;
}
.animated-float {
  animation: float 3s ease-in-out infinite;
  will-change: transform;
  transform-origin: center;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* (widget styles consolidated further down — see LEFT HELP WIDGET / RIGHT REGISTRATIONS WIDGET) */

.features {
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  max-width: 47rem;
}
#bonus-silk {
  /* background-image: url("../images/board2.png"); */
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  padding: 2rem;
  max-width: 47rem;
}

.news {
  background-color: rgb(15 122 255 / 20%);
  backdrop-filter: blur(12px);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  max-width: 47rem;
}

.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
}

/* footer {
    position: fixed;
    bottom: 2%;
    left: 50%;
    transform: translateX(-50%);
} */
.bg-equipment,
.bg-equipment-avatar {
  background-size: 100% 100% !important;
  width: 40% !important;
  height: 357px;
}

@media (max-width: 992px) {
  .bg-equipment,
  .bg-equipment-avatar {
    width: 70% !important;
    height: 357px;
  }
}

.itemslot,
.slots {
  width: 40px;
  height: 40px;
}
.itemslot {
  float: left;
}
.shield .itemslot,
.weapon .itemslot {
  margin-bottom: 25px;
  background: url(/image/sro/equipment/clean.png) repeat !important;
}
.head .itemslot {
  background: url(/image/sro/interface/equipment/equip_slot_helm.PNG) no-repeat !important;
}
.chest .itemslot {
  background: url(/image/sro/interface/equipment/equip_slot_mail.PNG) no-repeat !important;
}
.shoulder .itemslot {
  background: url(/image/sro/interface/equipment/equip_slot_shoulderguard.PNG)
    no-repeat !important;
}
.hands .itemslot {
  background: url(/image/sro/interface/equipment/equip_slot_gauntlet.PNG)
    no-repeat !important;
}
.legs .itemslot {
  background: url(/image/sro/interface/equipment/equip_slot_pants.PNG) no-repeat !important;
}
.foot .itemslot {
  background: url(/image/sro/interface/equipment/equip_slot_boots.PNG) no-repeat !important;
}
.earring .itemslot {
  background: url(/image/sro/interface/equipment/equip_slot_earring.PNG)
    no-repeat !important;
}
.necklace .itemslot {
  background: url(/image/sro/interface/equipment/equip_slot_necklace.PNG)
    no-repeat !important;
}
.lring .itemslot {
  background: url(/image/sro/interface/equipment/equip_slot_l_ring.PNG)
    no-repeat !important;
}
.rring .itemslot {
  background: url(/image/sro/interface/equipment/equip_slot_r_ring.PNG)
    no-repeat !important;
}
.specdress .itemslot {
  background: url(/image/sro/interface/equipment/equip_slot_specialdress.PNG)
    no-repeat !important;
  margin-top: 10px !important;
}
.hat .itemslot {
  background: url(/image/sro/interface/equipment/equip_slot_helm.PNG) no-repeat !important;
}
.dress .itemslot {
  background: url(/image/sro/interface/equipment/equip_slot_cloth.PNG) no-repeat !important;
}
.attach .itemslot {
  background: url(/image/sro/interface/equipment/equip_slot_pandernt.PNG)
    no-repeat !important;
}
.flag .itemslot {
  background: url(/image/sro/interface/equipment/equip_slot_plag.PNG) no-repeat !important;
}
.spec .itemslot {
  background: url(/image/sro/interface/equipment/equip_slot_extraneous01.PNG)
    no-repeat !important;
}
.bg-equipment-avatar .slots,
.slots {
  width: 23% !important;
  margin-bottom: 3px !important;
}
.slots.right {
  float: right;
  clear: right;
  margin-right: 0;
  margin-left: 10%;
}
.slots.left {
  float: left;
  clear: left;
  margin-left: 0;
  margin-right: 10%;
}
.slots.shield,
.slots.weapon {
  width: 23% !important;
  margin-bottom: 20px !important;
}
.image .itemslot .image {
  margin: 3px;
}
.itemslot .image .qinfo {
  font-size: 9px;
  font-weight: lighter;
  font-style: normal;
  text-shadow: 0 -0.5px #000;
  color: #fff;
  padding: 0;
  float: left;
}
.itemslot .image {
  margin: 3px;
}
.itemslot .image,
.weapon .itemslot .image {
  width: 100%;
  height: 100%;
  float: left;
  padding: 0 !important;
}
.weapon .itemslot .image {
  margin: 2px;
}
.shield .itemslot .image {
  width: 100%;
  height: 100%;
  float: left;
  margin: 2px;
  padding: 0 !important;
}
.itemInfo {
  color: #fff;
  z-index: 80;
  position: absolute;
  left: 34px;
  top: 3px;
  width: 210px;
  background: rgba(88, 98, 170, 0.85);
  border: 2px solid #303d4d;
  padding: 5px;
  display: none;
  line-height: 18px;
  font-size: 10px;
}
.ui-tooltip {
  position: absolute;
  z-index: 9999;
  max-width: 190px;
  padding: 8px !important;
  background: url(/image/sro/equipment/com_bg_tile_tl.PNG) no-repeat !important;
  background-size: 100% 100% !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 1px !important;
}
.ui-tooltip-content {
  font-family: Tahoma, Geneva, sans-serif;
  font-size: 11px !important;
  line-height: 15px;
  font-weight: lighter;
  font-style: normal;
  text-shadow: 1px 1px #000;
  color: #fff;
}
.equip-suit-slot {
  background: url(/image/sro/interface/equipment/equip_slot_specialdress.PNG)
    no-repeat !important;
  margin-top: 10px;
  float: right;
  clear: right;
}
.empty-slot {
  width: 40px !important;
  height: 40px !important;
}
.empty-slot {
  background: url(/image/sro/equipment/clean.png) no-repeat !important;
}
.bg-equipment-avatar .equip-suit-slot {
  background: url(/image/sro/interface/equipment/equip_slot_specialdress.PNG)
    no-repeat !important;
  width: 40px !important;
  height: 40px !important;
  margin-top: 96px;
  float: right;
  clear: right;
}
.equip-suit-slot .image {
  width: 34px !important;
  height: 34px !important;
  margin-left: 2px !important;
  margin-top: 2px !important;
}
div.image span.plus {
  display: block;
  width: 32px;
  height: 32px;
  background: url(/image/sro/equipment/itemplus.png) 0 0;
  -webkit-animation: play 1.8s steps(32) infinite;
  animation: play 1.8s steps(32) infinite;
}
@-webkit-keyframes play {
  to {
    background-position: -1024px;
  }
}
@keyframes play {
  to {
    background-position: -1024px;
  }
}
.hidden {
  display: none !important;
  visibility: hidden !important;
}
.image {
  background-repeat: no-repeat !important;
  background-size: 34px 34px !important;
}
.bg-character {
  background-repeat: no-repeat !important;
  background-size: auto !important;
  background-position: center top !important;
}
#pill-inventory-tab.active,
#pill-inventory-tab.active:focus,
#pill-avatar-tab.active,
#pill-avatar-tab.active:focus {
  background-color: var(--yellow-color) !important;
  color: #fff !important;
}
#pill-avatar-tab.active:hover,
#pill-inventory-tab.active:hover {
  background-color: var(--yellow-dark-color) !important;
  color: #fff !important;
}

/* =============================================
   NEWS SLIDERS
   ============================================= */
.news-slider-section {
  width: 100%;
  max-width: 900px;
  margin-top: 2.5rem;
}
.news-slider-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
.news-slider-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.news-slider-badge--purple {
  background: rgba(255, 255, 255, 0.92);
  color: #6366f1;
  border: 1.5px solid #c7d2fe;
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.15);
}
.news-slider-badge--orange {
  background: rgba(255, 255, 255, 0.92);
  color: #ea580c;
  border: 1.5px solid #fed7aa;
  box-shadow: 0 2px 10px rgba(234, 88, 12, 0.15);
}
.news-slider-line {
  flex: 1;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}

.news-swiper {
  overflow: hidden;
}

.card-wrapper {
  max-width: 900px;
  overflow: hidden;
  display: flex;
  position: relative;
  padding-bottom: 2.5rem;
}
.card-wrapper ul {
  display: flex;
  flex: 1;
  height: 100%;
}
.card-list .card-item {
  list-style: none;
}

.news-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.7);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.2);
}
.news-card-img-wrap {
  position: relative;
  overflow: hidden;
  background: #f3f5f8;
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-card-img-wrap img {
  display: block;
  max-width: 100%;
  max-height: 380px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.news-card:hover .news-card-img-wrap img {
  transform: scale(1.06);
}
.news-card-tag {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  background: #6366f1;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.news-card-tag--orange {
  background: #ea580c;
}

.news-card-body {
  padding: 0.85rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}
.news-card-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #111;
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-btn {
  align-self: flex-start;
  margin-top: auto;
  background: #6366f1;
  color: #fff;
  border: none;
  padding: 0.38rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.15s;
  letter-spacing: 0.3px;
}
.news-card-btn:hover {
  background: #4f46e5;
  transform: translateX(3px);
}
.news-card-btn--orange {
  background: #ea580c;
}
.news-card-btn--orange:hover {
  background: #c2410c;
}

.card-wrapper .swiper-pagination-bullet {
  height: 7px;
  width: 7px;
  opacity: 0.45;
  background: #fff;
  transition: all 0.3s ease;
}
.card-wrapper .swiper-pagination-bullet-active {
  opacity: 1;
  width: 22px;
  border-radius: 999px;
  background: #fff;
}
.card-wrapper .swiper-slide-button {
  color: #fff;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}

@media screen and (max-width: 768px) {
  .card-wrapper {
    margin: 0 10px 25px;
  }
  .card-wrapper .swiper-slide-button {
    display: none;
  }
  .news-card-img-wrap img {
    max-height: 300px;
  }
}
.swiper-button-next,
.swiper-rtl .swiper-button-prev {
  right: var(--swiper-navigation-sides-offset, 0px);
  left: auto;
}
.swiper-button-prev,
.swiper-rtl .swiper-button-next {
  left: var(--swiper-navigation-sides-offset, 0px);
  right: auto;
}

/* =============================================
   NAVBAR ENHANCEMENTS
   ============================================= */
#navbar-example2 {
  background: transparent !important;
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
}
.navbar-toggler {
  background: transparent !important;
  box-shadow: none !important;
}
.nav-pill-link {
  border-radius: 20px;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.nav-pill-link:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 0 12px rgba(0, 255, 153, 0.25);
}
.navbar-collapse {
  gap: 0.5rem;
}
@media (max-width: 991px) {
  #navbar-example2 .navbar-collapse {
    background: rgba(0, 0, 0, 0.85);
    border-radius: 1rem;
    padding: 1rem;
    margin-top: 0.5rem;
  }
}

/* =============================================
   HERO SECTION
   ============================================= */
main {
  padding-top: 5rem !important;
}
.hero-section {
  min-height: calc(100vh - 5rem);
  padding: 3rem 1rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.hero-logo {
  width: 160px;
  height: auto;
  position: relative;
  filter: drop-shadow(0 0 24px rgba(255, 220, 100, 0.6));
  z-index: 1;
}
/* Pulsing glow aura behind the logo */
.hero-content {
  position: relative;
}
.hero-content::before {
  content: "";
  position: absolute;
  top: 70px;
  left: 50%;
  width: 280px;
  height: 280px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 180, 70, 0.35) 0%, rgba(236, 72, 153, 0.12) 45%, transparent 70%);
  border-radius: 50%;
  filter: blur(10px);
  z-index: -1;
  pointer-events: none;
  animation: aura-breathe 4s ease-in-out infinite;
}
@keyframes aura-breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.7; }
  50%      { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.hero-title {
  position: relative;
  font-size: clamp(2.3rem, 5.5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: 2px;
  margin: 0;
  background: linear-gradient(100deg, #ffffff 0%, #ffe9a8 25%, #ffb347 50%, #ffe9a8 75%, #ffffff 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 24px rgba(255, 180, 60, 0.45));
  animation: title-flow 6s linear infinite;
}
@keyframes title-flow {
  0%   { background-position: 0% center; }
  100% { background-position: 220% center; }
}
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  line-height: 1.7;
  max-width: 600px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
  margin: 0;
}
.hero-server-badge {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
.server-stat-pill {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.hero-cta-primary {
  font-size: 1.1rem !important;
  padding: 0.65rem 2rem !important;
  box-shadow: 0 0 20px rgba(74, 222, 128, 0.5);
  position: relative;
  overflow: hidden;
}
/* Diagonal shine that sweeps across the Play button */
.hero-cta-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  animation: cta-shine 3.2s ease-in-out infinite;
}
@keyframes cta-shine {
  0%   { left: -120%; }
  55%  { left: 140%; }
  100% { left: 140%; }
}
.bonus-banner {
  background: rgba(255, 193, 0, 0.15);
  border: 2px solid rgba(255, 193, 0, 0.4);
  border-radius: 1rem;
  padding: 1.25rem 2rem !important;
  max-width: 640px;
  text-align: center;
  backdrop-filter: blur(8px);
}

/* =============================================
   FEATURES SECTION
   ============================================= */
.features-section {
  width: 100%;
  max-width: 820px;
}
.features-heading {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  text-align: center;
  color: #fbbf24;
  text-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
  margin-bottom: 1.5rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  perspective: 900px;
}
.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 1.25rem 1rem;
  border-radius: 1rem;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  transition:
    transform 0.18s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  cursor: default;
  transform-style: preserve-3d;
  overflow: hidden;
}
/* Cursor-following sheen */
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.28), transparent 45%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
  border-color: rgba(255, 255, 255, 0.45);
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover .feature-icon {
  transform: scale(1.18) translateY(-2px);
}
.feature-icon {
  font-size: 2rem;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.feature-label {
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
.feature-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.4;
}
.feature-card--orange {
  background: rgba(253, 186, 116, 0.2);
}
.feature-card--blue {
  background: rgba(96, 165, 250, 0.2);
}
.feature-card--green {
  background: rgba(74, 222, 128, 0.2);
}
.feature-card--red {
  background: rgba(248, 113, 113, 0.2);
}
.feature-card--purple {
  background: rgba(167, 139, 250, 0.2);
}
.feature-card--dark {
  background: rgba(30, 30, 40, 0.45);
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 3rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-tagline {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  line-height: 1.5;
}
.footer-heading {
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.75rem;
}
.footer-link-list li {
  margin-bottom: 0.4rem;
}
.footer-link-list a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-link-list a:hover {
  color: #4ade80;
}
.footer-stats {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.footer-stats li {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding-bottom: 0.25rem;
}
.footer-stats li span:last-child {
  font-weight: 700;
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
}
@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    align-items: center;
    text-align: center;
  }
}

/* =============================================
   NAVBAR SITE TITLE GLOW
   ============================================= */
.navbar-site-title {
  text-shadow: 0 0 12px rgba(255, 220, 100, 0.6);
  letter-spacing: 1px;
}

/* =============================================
   NAVBAR SERVER SWITCHER
   ============================================= */
.server-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.15s;
}
.server-switch-btn:hover {
  color: #111;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}
.server-switch-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}
.server-switch-chevron {
  font-size: 0.7rem;
  opacity: 0.6;
}
.server-switch-menu {
  min-width: 220px;
  border: none;
  background: #fff;
  padding: 0.4rem;
  margin-top: 0.5rem !important;
}
.server-switch-head {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #9ca3af;
  padding: 0.35rem 0.6rem 0.5rem;
}
.server-switch-item {
  display: flex !important;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.6rem !important;
  border-radius: 0.6rem;
  font-weight: 600;
  color: #1f2937 !important;
}
.server-switch-item:hover {
  background: #f3f4f6 !important;
}
.server-switch-item.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(139, 92, 246, 0.12)) !important;
}
.ssi-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}
.ssi-name {
  flex: 1;
  font-weight: 700;
}
.ssi-tag {
  font-size: 0.66rem;
  font-weight: 800;
  color: #6366f1;
  background: rgba(99, 102, 241, 0.12);
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
}
.ssi-current {
  color: #4ade80;
  font-size: 0.7rem;
}

/* =============================================
   NAVBAR LOGIN BUTTON
   ============================================= */
.navbar-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.42rem 1.1rem;
  border-radius: 999px;
  text-decoration: none !important;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.45);
  transition:
    filter 0.2s,
    transform 0.15s,
    box-shadow 0.2s;
  letter-spacing: 0.3px;
  cursor: pointer;
}
.navbar-login-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(99, 102, 241, 0.6);
  color: #fff !important;
  text-decoration: none !important;
}
.navbar-login-btn:active {
  transform: translateY(0);
  filter: brightness(0.95);
}
.navbar-login-icon {
  font-size: 0.95rem;
  line-height: 1;
}

/* =============================================
   NAVBAR USER PILL
   ============================================= */
.navbar-silk-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.92);
  color: #1d4ed8;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.3);
  box-shadow: 0 2px 10px rgba(59, 130, 246, 0.2);
  letter-spacing: 0.3px;
}
.navbar-user-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(8px);
  color: #111;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.35rem 0.85rem 0.35rem 0.45rem;
  border-radius: 999px;
  text-decoration: none;
  transition:
    background 0.2s,
    box-shadow 0.2s;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}
.navbar-user-btn:hover {
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  color: #111;
  text-decoration: none;
}
.navbar-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.35);
}
.navbar-user-name {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.navbar-user-chevron {
  font-size: 0.7rem;
  opacity: 0.7;
  margin-left: 2px;
}

/* =============================================
   LEFT HELP WIDGET
   ============================================= */
.left-widget {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 1050;
}
.left-widget-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border: none;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.5rem 1rem 0.5rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.5);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.left-widget-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(99, 102, 241, 0.7);
}
.left-widget-icon {
  font-size: 1.1rem;
}
.left-widget-label {
  letter-spacing: 0.3px;
}

.left-widget-menu {
  padding: 1.1rem !important;
  border-radius: 1.1rem !important;
  width: 240px;
  position: absolute !important;
  inset: auto auto 10px 0 !important;
  margin: 0 !important;
  transform: translate(0, -60px) !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  backdrop-filter: blur(16px) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15) !important;
  z-index: 1051;
}
.lw-header {
  margin-bottom: 0.85rem;
}
.lw-title {
  display: block;
  font-weight: 800;
  font-size: 0.95rem;
  color: #111;
  margin-bottom: 0.2rem;
}
.lw-subtitle {
  font-size: 0.78rem;
  color: #666;
  margin: 0;
  line-height: 1.4;
}
.lw-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.lw-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.8rem;
  border-radius: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition:
    filter 0.15s,
    transform 0.15s;
  border: none;
}
.lw-link:hover {
  filter: brightness(1.1);
  transform: translateX(3px);
  color: #fff;
  text-decoration: none;
}
.lw-link--indigo {
  background: #6366f1;
}
.lw-link--blue {
  background: #3b82f6;
}
.lw-link--green {
  background: #22c55e;
}
.lw-link--red {
  background: #ef4444;
}

/* =============================================
   RIGHT REGISTRATIONS WIDGET
   ============================================= */
.right-widget {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
  z-index: 1040;
}
/* Floating toggle button (mobile only by default) */
.rw-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #fff;
  font-size: 1.45rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(239, 68, 68, 0.5);
  position: relative;
  margin-left: auto;
}
.rw-toggle::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4ade80;
  border: 2px solid #fff;
  box-shadow: 0 0 8px #4ade80;
  animation: pulse-dot 2s ease-in-out infinite;
}
.rw-panel {
  position: relative;
  width: 210px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1.1rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  padding: 0.9rem;
  overflow: hidden;
}
.rw-panel::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 100px;
  height: 100px;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.rw-header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}
.rw-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,
  100% {
    box-shadow: 0 0 6px #4ade80;
  }
  50% {
    box-shadow:
      0 0 14px #4ade80,
      0 0 24px #4ade8066;
  }
}
.rw-title {
  font-weight: 800;
  font-size: 0.82rem;
  color: #111;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.rw-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.rw-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 2px 4px;
  border-radius: 7px;
}
.rw-sword {
  font-size: 1rem;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25));
}
/* Highlight + slide a brand-new join into the list */
.rw-item--new {
  animation: rw-new 1.4s ease;
}
@keyframes rw-new {
  0% {
    background: rgba(74, 222, 128, 0.4);
    transform: translateX(10px);
    box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.5) inset;
  }
  100% {
    background: transparent;
    transform: translateX(0);
    box-shadow: none;
  }
}
.rw-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.rw-char {
  font-size: 0.8rem;
  font-weight: 700;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rw-guild {
  font-size: 0.7rem;
  color: #888;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rw-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 0.6rem;
}
.rw-count-label {
  font-size: 0.72rem;
  color: #888;
  font-weight: 600;
}
.rw-count {
  font-size: 1rem;
  font-weight: 900;
  color: #4ade80;
  text-shadow: 0 0 10px #4ade8088;
  display: inline-block;
}
/* Pop the total when it ticks up */
.rw-count--pulse {
  animation: rw-count-pop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes rw-count-pop {
  0% { transform: scale(1); }
  45% { transform: scale(1.4); color: #16a34a; }
  100% { transform: scale(1); }
}

/* === Mobile: widgets collapse to floating toggle icons === */
@media (max-width: 768px), (max-height: 750px) {
  .right-widget {
    top: auto;
    bottom: 24px;
    right: 18px;
    transform: none;
    display: flex;
  }
  .rw-toggle {
    display: flex;
  }
  .rw-panel {
    position: absolute;
    bottom: 64px;
    right: 0;
    opacity: 0;
    transform: scale(0.85) translateY(12px);
    transform-origin: bottom right;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .right-widget.rw-open .rw-panel {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
  }
  /* Left help widget sits bottom-left as its own toggle */
  .left-widget {
    bottom: 24px;
    left: 18px;
  }
}

/* =============================================
   LIVING HERO — ENTRANCE REVEAL
   ============================================= */
.reveal {
  opacity: 0;
  translate: 0 28px;
  transition:
    opacity 0.7s ease,
    translate 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, translate;
}
.reveal.is-visible {
  opacity: 1;
  translate: 0 0;
}
/* Logo gets a subtle scale-pop on reveal (composes with float + parallax) */
.hero-logo.reveal {
  scale: 0.9;
  transition:
    opacity 0.8s ease,
    translate 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    scale 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hero-logo.reveal.is-visible {
  scale: 1;
}

.reveal-on-scroll {
  opacity: 0;
  translate: 0 40px;
  transition:
    opacity 0.7s ease,
    translate 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  translate: 0 0;
}
/* Stagger feature cards as the grid reveals */
.reveal-on-scroll.is-visible .feature-card {
  animation: feature-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}
.reveal-on-scroll.is-visible .feature-card:nth-child(1) {
  animation-delay: 0.05s;
}
.reveal-on-scroll.is-visible .feature-card:nth-child(2) {
  animation-delay: 0.1s;
}
.reveal-on-scroll.is-visible .feature-card:nth-child(3) {
  animation-delay: 0.15s;
}
.reveal-on-scroll.is-visible .feature-card:nth-child(4) {
  animation-delay: 0.2s;
}
.reveal-on-scroll.is-visible .feature-card:nth-child(5) {
  animation-delay: 0.25s;
}
.reveal-on-scroll.is-visible .feature-card:nth-child(6) {
  animation-delay: 0.3s;
}
@keyframes feature-pop {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* =============================================
   INTERACTIVE DESERT FX (parallax + embers)
   ============================================= */
#hero-fx {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.hero-fx-layer {
  position: absolute;
  inset: -8%;
  translate: var(--px, 0) var(--py, 0);
  will-change: translate;
}

/* Animated aurora color-wash — slow drifting desert dusk tones */
.hero-fx-aurora {
  inset: -20%;
  background:
    radial-gradient(35% 45% at 20% 30%, rgba(99, 102, 241, 0.20) 0%, transparent 60%),
    radial-gradient(40% 50% at 80% 25%, rgba(236, 72, 153, 0.18) 0%, transparent 60%),
    radial-gradient(45% 55% at 50% 85%, rgba(255, 160, 50, 0.22) 0%, transparent 65%);
  filter: blur(30px);
  animation: aurora-drift 18s ease-in-out infinite alternate;
}
@keyframes aurora-drift {
  0%   { transform: translate3d(-3%, -2%, 0) scale(1.05) rotate(0deg); }
  50%  { transform: translate3d(3%, 2%, 0) scale(1.15) rotate(4deg); }
  100% { transform: translate3d(-2%, 3%, 0) scale(1.08) rotate(-3deg); }
}

/* Rotating god-ray light beams */
.hero-fx-rays {
  inset: -40%;
  background: repeating-conic-gradient(
    from 0deg at 50% 40%,
    rgba(255, 220, 150, 0.05) 0deg,
    rgba(255, 220, 150, 0.05) 4deg,
    transparent 4deg,
    transparent 18deg
  );
  mix-blend-mode: screen;
  opacity: 0.5;
  animation: rays-spin 60s linear infinite;
}
@keyframes rays-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Warm desert glow that drifts behind the hero */
.hero-fx-glow {
  background:
    radial-gradient(
      40% 50% at 30% 35%,
      rgba(255, 176, 59, 0.22) 0%,
      transparent 70%
    ),
    radial-gradient(
      45% 55% at 75% 60%,
      rgba(236, 72, 153, 0.16) 0%,
      transparent 70%
    );
  filter: blur(8px);
}

/* Soft vignette so the center pops */
.hero-fx-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 35%, transparent 55%, rgba(0, 0, 0, 0.45) 100%);
  pointer-events: none;
}

/* Floating sand dust motes (fine depth layer) */
.dust {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 240, 210, 0.9);
  box-shadow: 0 0 4px rgba(255, 235, 200, 0.6);
  animation-name: dust-float;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}
@keyframes dust-float {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(14px, -22px); }
  50%  { transform: translate(-10px, -40px); }
  75%  { transform: translate(8px, -22px); }
  100% { transform: translate(0, 0); }
}

/* Shooting sparks streaking across the desert sky */
.spark {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 6px 2px rgba(255, 220, 150, 0.9);
  animation: spark-shoot 1.3s ease-in forwards;
}
.spark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 70px;
  height: 1.5px;
  transform-origin: left center;
  transform: translateY(-50%) rotate(36deg);
  background: linear-gradient(90deg, rgba(255, 230, 170, 0.9), transparent);
}
@keyframes spark-shoot {
  0%   { transform: translate(0, 0); opacity: 0; }
  10%  { opacity: 1; }
  100% { transform: translate(var(--dx, -240px), var(--dy, 180px)); opacity: 0; }
}
.ember {
  position: absolute;
  bottom: -20px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    #ffd27a 0%,
    #ff9a3c 60%,
    rgba(255, 120, 40, 0) 100%
  );
  box-shadow: 0 0 8px rgba(255, 170, 60, 0.7);
  animation-name: ember-rise;
  animation-timing-function: ease-in;
  animation-iteration-count: infinite;
}
@keyframes ember-rise {
  0% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50% {
    transform: translateY(-45vh) translateX(20px) scale(1.1);
  }
  90% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-95vh) translateX(-15px) scale(0.6);
    opacity: 0;
  }
}

/* Hide global snow on the homepage; embers take over */
.page-home .particle {
  display: none !important;
}

/* =============================================
   LIVE ONLINE PILL + PULSING CTA
   ============================================= */
.server-stat-pill--live {
  background: rgba(74, 222, 128, 0.18) !important;
  border-color: rgba(74, 222, 128, 0.45) !important;
  color: #eafff2 !important;
}
.server-stat-pill--live .count-up {
  font-weight: 800;
  color: #4ade80;
}
/* pre-launch countdown state */
.server-stat-pill--countdown {
  background: rgba(250, 204, 21, 0.18) !important;
  border-color: rgba(250, 204, 21, 0.5) !important;
  color: #fff8dc !important;
  font-weight: 700;
}

.hero-cta-primary {
  position: relative;
  animation: cta-pulse 2.4s ease-in-out infinite;
}
@keyframes cta-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 0 rgba(74, 222, 128, 0.55),
      0 6px 20px rgba(74, 222, 128, 0.4);
  }
  50% {
    box-shadow:
      0 0 0 14px rgba(74, 222, 128, 0),
      0 6px 24px rgba(74, 222, 128, 0.55);
  }
}
.hero-cta-primary:hover {
  animation-play-state: paused;
}

/* =============================================
   LIVE "JUST JOINED" TOASTS
   ============================================= */
#join-toasts {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 1055;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
  align-items: flex-end;
}
.join-toast {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-right: 3px solid #4ade80;
  border-radius: 0.75rem;
  padding: 0.55rem 0.8rem;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.22);
  opacity: 0;
  transform: translateX(120%);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease;
  min-width: 200px;
}
.join-toast.show {
  opacity: 1;
  transform: translateX(0);
}
.jt-sword {
  font-size: 1.25rem;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
  animation: jt-sword-pop 0.5s ease;
}
@keyframes jt-sword-pop {
  0% { transform: scale(0) rotate(-30deg); }
  60% { transform: scale(1.25) rotate(8deg); }
  100% { transform: scale(1) rotate(0); }
}
.jt-body {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}
.jt-name {
  font-size: 0.85rem;
  font-weight: 800;
  color: #111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 170px;
}
.jt-sub {
  font-size: 0.72rem;
  color: #16a34a;
  font-weight: 600;
}
.jt-total {
  font-size: 0.7rem;
  color: #b45309;
  font-weight: 700;
  margin-top: 1px;
}

@media (max-width: 768px) {
  #join-toasts {
    display: none;
  }
}

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-on-scroll {
    opacity: 1 !important;
    translate: none !important;
  }
  .hero-cta-primary,
  .hero-title,
  .hero-content::before,
  .hero-fx-aurora,
  .hero-fx-rays {
    animation: none !important;
  }
  .hero-cta-primary::after { display: none; }
  .ember,
  .dust,
  .spark,
  .hero-fx-glow,
  .hero-fx-rays {
    display: none;
  }
}

/* =============================================
   PROMO / WELCOME MODAL
   ============================================= */
.promo-dialog {
  max-width: 440px;
}
.promo-content {
  border: none;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  position: relative;
}
/* animated gradient accent bar (reuses gradient-shift keyframe) */
.promo-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 3;
  background: linear-gradient(90deg, #6366f1, #8b5cf6, #ec4899, #f59e0b);
  background-size: 200% 100%;
  animation: gradient-shift 4s ease infinite;
}
.promo-close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 4;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s;
}
.promo-close:hover {
  background: rgba(0, 0, 0, 0.75);
}
.promo-banner {
  position: relative;
  height: 170px;
  overflow: hidden;
}
.promo-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.promo-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.15) 55%,
    rgba(0, 0, 0, 0.25) 100%
  );
}
.promo-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: #ef4444;
  color: #fff;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.5px;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.55);
  animation: promo-badge-pulse 1.8s ease-in-out infinite;
}
@keyframes promo-badge-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
.promo-banner-text {
  position: absolute;
  bottom: 12px;
  left: 16px;
  right: 16px;
  z-index: 2;
  color: #fff;
}
.promo-banner-text h3 {
  font-weight: 900;
  font-size: 1.5rem;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}
.promo-banner-text p {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  color: #ffe9a8;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}
.promo-body {
  padding: 1.1rem 1.3rem 1.3rem;
}
.promo-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.promo-perks li {
  font-size: 0.88rem;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.promo-perks strong {
  color: #111;
}
.pp-ico {
  font-size: 1.05rem;
  flex-shrink: 0;
}
.promo-countdown {
  background: #f9fafb;
  border: 1px solid #eee;
  border-radius: 0.9rem;
  padding: 0.7rem;
  text-align: center;
  margin-bottom: 1rem;
}
.promo-countdown-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.45rem;
}
.promo-timer {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
.pt-unit {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  border-radius: 0.6rem;
  padding: 0.35rem 0.5rem;
  min-width: 48px;
}
.pt-unit b {
  display: block;
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1;
}
.pt-unit i {
  font-style: normal;
  font-size: 0.6rem;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.promo-ctas {
  display: flex;
  gap: 0.6rem;
}
.promo-cta-primary,
.promo-cta-secondary {
  flex: 1;
  border: none;
  border-radius: 999px;
  padding: 0.65rem 0.5rem;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  color: #fff;
  transition: filter 0.2s, transform 0.15s;
}
.promo-cta-primary {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.4);
}
.promo-cta-secondary {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}
.promo-cta-primary:hover,
.promo-cta-secondary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.promo-hide {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
  font-size: 0.76rem;
  color: #9ca3af;
  cursor: pointer;
}
.promo-hide input {
  cursor: pointer;
}
@media (max-width: 480px) {
  .promo-banner { height: 140px; }
  .promo-banner-text h3 { font-size: 1.25rem; }
  .pt-unit { min-width: 42px; }
}

/* =============================================
   PC SECURITY MODAL
   ============================================= */
.pcs-title {
  font-weight: 900 !important;
  font-size: 1.35rem !important;
  color: #111 !important;
  margin: 0;
}
.pcs-intro {
  font-size: 0.82rem;
  color: #6b7280;
  margin: 0.25rem 0 0;
  font-weight: 500;
}
.pcs-card {
  border: 1px solid #eef0f3;
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 1.1rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  background: #fff;
}
.pcs-card:last-child {
  margin-bottom: 0;
}
.pcs-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1rem;
  color: #fff;
}
.pcs-card--trusted .pcs-card-head {
  background: linear-gradient(135deg, #16a34a, #22c55e);
}
.pcs-card--watch .pcs-card-head {
  background: linear-gradient(135deg, #d97706, #f59e0b);
}
.pcs-card-title {
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: 0.3px;
}
.pcs-count {
  min-width: 24px;
  height: 24px;
  padding: 0 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pcs-card-body {
  padding: 0.5rem;
}
.pcs-table-wrap {
  overflow-x: auto;
}
.pcs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}
.pcs-table thead th {
  text-align: left;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #9ca3af;
  padding: 0.5rem 0.7rem;
  border-bottom: 1px solid #eef0f3;
  white-space: nowrap;
}
.pcs-table tbody td {
  padding: 0.6rem 0.7rem;
  border-bottom: 1px solid #f3f4f6;
  color: #374151;
  vertical-align: middle;
}
.pcs-table tbody tr:last-child td {
  border-bottom: none;
}
.pcs-table tbody tr:hover {
  background: #fafbfc;
}
.pcs-col-action {
  text-align: right;
  white-space: nowrap;
}
.pcs-hwid {
  font-family: "Courier New", monospace !important;
  font-size: 0.75rem;
  font-weight: 700;
  color: #4338ca;
  background: #eef2ff;
  border: 1px solid #e0e7ff;
  padding: 0.2rem 0.55rem;
  border-radius: 0.5rem;
  white-space: nowrap;
}
.pcs-time {
  font-size: 0.78rem;
  color: #6b7280;
  white-space: nowrap;
}
.pcs-badge {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
}
.pcs-badge--muted {
  background: #f3f4f6;
  color: #9ca3af;
}
.pcs-badge--alert {
  background: #fef3c7;
  color: #b45309;
}
.pcs-actions {
  display: inline-flex;
  gap: 0.4rem;
  justify-content: flex-end;
}
.pcs-btn {
  border: none;
  border-radius: 999px;
  padding: 0.32rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.15s, transform 0.12s;
}
.pcs-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.pcs-btn--danger {
  background: #fee2e2;
  color: #dc2626;
}
.pcs-btn--danger.pcs-btn--solid {
  background: #dc2626;
  color: #fff;
}
.pcs-btn--warn {
  background: #fef3c7;
  color: #b45309;
}
.pcs-btn--ok {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #fff;
}
.pcs-empty {
  text-align: center;
  color: #9ca3af;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 1.5rem 1rem;
}
.pcs-empty-icon {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
  opacity: 0.7;
}

/* =============================================
   DISCORD INVITATION MODAL
   ============================================= */
.discord-hero {
  background: linear-gradient(135deg, #5865f2, #4752c4);
  color: #fff;
  text-align: center;
  padding: 1.75rem 1.5rem 1.5rem;
}
.discord-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  margin-bottom: 0.75rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  animation: discord-bob 3s ease-in-out infinite;
}
@keyframes discord-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.discord-hero h3 {
  font-weight: 900;
  font-size: 1.5rem;
  margin: 0 0 0.35rem;
}
.discord-hero p {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  line-height: 1.5;
}
.discord-join-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  background: linear-gradient(135deg, #5865f2, #4752c4);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  font-size: 0.98rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(88, 101, 242, 0.45);
  transition: filter 0.2s ease, transform 0.15s ease;
}
.discord-join-btn:hover {
  color: #fff;
  filter: brightness(1.08);
  transform: translateY(-2px);
}
