/**
 * SITE.CSS - Global Styles for WheelSin Pro
 * Contains all site-wide styles, utilities, and common components
 */

/* ===== GLOBAL UTILITIES ===== */

:root {
  --bs-primary: #3f78e0;
  --bs-soft-primary: #e0e9fa;
  --bs-gradient-primary: linear-gradient(180deg, rgba(63, 120, 224, .05), rgba(63, 120, 224, .01));
  --nav-link-color: #343f52;
  --heading-color: #343f52;
  --primary-color: #3f78e0;
  --secondary-color: #6a97ea;
}

/* Contain fixed off-canvas panels (mobile settings drawer parks at translateX(100%))
   so they can't add horizontal scroll on mobile. `clip` keeps <html> from becoming a
   scroll container, so descendant `position: sticky` still works; `hidden` is the
   Safari < 16 fallback. Pairs with body's own overflow-x below. */
html {
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  overflow-x: hidden;
  width: 100%;
  font-family: THICCCBOI, sans-serif;
  font-size: .85rem;
  color: #60697b;

  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
}


.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.text-purple {
  color: #764ba2;
}

.hero-gradient {
  /* background: linear-gradient(135deg, #667eea 0%, var(--bs-soft-primary) 100%); */
  background: var(--bs-soft-primary)
}

.lead {
  font-size: 1.5rem;
  font-weight: 500;
}

.content-wrapper {
  flex-grow: 1;
}

.content-wrapper,
footer {
  flex-shrink: 0;
}

.container,
.container-fluid,
.container-xxl,
.container-xl,
.container-lg,
.container-md,
.container-sm {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  width: 100%;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-right: auto;
  margin-left: auto;
}

.bg-soft-primary {
  background-color: var(--bs-soft-primary) !important;
}

.display-1 {
  line-height: 1.2;

}

h1.display-1 {
  color: #343f52;
  word-spacing: 0.1rem;
  letter-spacing: -0.01rem;
  display: block;
  margin-block-start: 0.67em;
  margin-block-end: 0.67em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  unicode-bidi: isolate;
}

.icon-list li {
  list-style: none;
}

.icon-list i {
  margin-right: 1rem;
}

.icon-svg.icon-svg-md {
  width: 2.6rem;
  height: 2.6rem;
}

#mainSpinBtn, #comboSpinBtn, #luckyBoxBtn, #centerSpinBtn, #mainRollBtn {
  background-color: var(--primary-color);
  color: white;
}

.accordion-wrapper .card-header {
  margin-bottom: 0;
  background-color: var(--bs-card-cap-bg);
  border: 0;
  padding: 0;
  box-shadow: none;
}

.accordion-wrapper .card {
  transition: all 0.3s ease;
  box-shadow: none;
  border: 0;
  color: inherit;
}

.accordion-wrapper .card-body {
  color: inherit;
  background-color: var(--bs-card-cap-bg);
  padding-left: 0.6rem;
}

.accordion-button {
  background: none;
  transition: all 150ms ease-in-out;
  margin: 0;
  border: 0;
  width: 100%;
  padding: 0.6rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bs-card-color);
}

.accordion-button:not(.collapsed) {
  background: none !important;
  box-shadow: none !important;
}

.accordion-button:focus(.collapsed) {
  box-shadow: none !important;
}

.accordion-button:focus {
  box-shadow: none !important;
}

.accordion-button::after {
  flex-shrink: 0;
  width: var(--bs-accordion-btn-icon-width);
  height: var(--bs-accordion-btn-icon-width);
  margin-left: auto;
  content: "\e92d";
  font-family: "Unicons";
  font-size: 1.1rem;
  background-image: none;
  transition: var(--bs-accordion-btn-icon-transition);
}

.accordion-button:not(.collapsed)::after {
  transform: rotate(180deg);
  background-image: none;
}

.accordion-wrapper .card-header.faq-page {
  margin-bottom: 0;
  background-color: var(--bs-card-cap-bg);
  border: 0;
  padding: 0.9rem 1.3rem 0.85rem;
  box-shadow: none;
}

.accordion-wrapper .card-header button.faq-page {
  content: none !important;
  padding-left: 2.5rem;

}

.accordion-wrapper .card-header button.faq-page:after {
  content: none !important;
}

.accordion-wrapper .card-header button.faq-page:before {
  flex-shrink: 0;
  margin-left: auto;
  transition: var(--bs-accordion-btn-icon-transition);
  position: absolute;
  left: 1.3rem;
  content: "\e932";
  font-family: "Unicons";
  font-size: 1.15rem;
  font-weight: 700;
  width: 1rem;
  display: inline-block;
  color: var(--bs-card-color);

  margin-top: -0.25rem;
  margin-left: -0.3rem;
}

.accordion-wrapper .card-body.faq-page {
  padding-left: 3.9rem;
}

.accordion-wrapper .card-header button.faq-page.collapsed:before {
  content: "\e92d";
}

.link-body {
  color: var(--bs-heading-color);
}

h6.mb-3{
  color: var(--primary-color);
}

.heading-color
{
  color: var(--primary-color);
}

#advancedOptions {
  display: none;
}

/* The Round Button for Chrome, Safari, Edge */
input[type="range"]::-webkit-slider-thumb {
  background: var(--primary-color);
  box-shadow: 0 0 2px rgba(0,0,0,0.5);
}

/* The Round Button for Firefox */
input[type="range"]::-moz-range-thumb {
  background: var(--primary-color);
  box-shadow: 0 0 2px rgba(0,0,0,0.5);
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Target inputs, selects, and textareas inside a form, except for buttons */
form input:not([type="button"]):not([type="submit"]):not([type="reset"]),
form select,
form textarea {
  color: var(--bs-heading-color) !important;
}

.accordion-item {
  border-radius: 0
}

.accordion-item:first-of-type {
  border-top-left-radius: var(--bs-accordion-border-radius);
  border-top-right-radius: var(--bs-accordion-border-radius);
}

.accordion-item:last-of-type {
  border-bottom-left-radius: var(--bs-accordion-border-radius);
  border-bottom-right-radius: var(--bs-accordion-border-radius);
}

.bg-image {
  background: var(--bs-soft-primary);
}

.password-toggle {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: #959ca9;
}

.text-left {
  text-align: left !important;
}

.social a.btn-circle[class*=google] {
  color: var(--bs-white);
  background-color: #e44134;
  border-color: transparent;
}

.divider-icon {
  border: 0;
  position: relative;
  margin: 4.5rem 0;
}

.divider-icon:before {
  left: 0;
}

.divider-icon:after {
  right: 0;
}

.divider-icon:before, .divider-icon:after {
  position: absolute;
  top: 50%;
  content: "";
  border-top: 1px solid rgba(164, 174, 198, 0.2);
  width: calc(50% - 1.5rem);
}

.breadcrumb-item a {
  color: #60697b;
  font-size: 0.8rem;
}

.small-msg {
  font-size: 0.75rem;
  margin-bottom: 10px;
  margin-left: 12px;
}


@keyframes loader-scale {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fefefe;
  z-index: 9999;
  transition: 0.5s all;
}
.page-loader.done {
  visibility: hidden;
  opacity: 0;
}
.page-loader:before,
.swiper-hero:before,
.gloader {
  position: absolute;
  content: "";
  top: 50%;
  left: 50%;
  width: 2.5rem;
  height: 2.5rem;
  margin-top: -1.25rem;
  margin-left: -1.25rem;
  background: none;
  border: 4px solid var(--bs-primary);
  box-shadow: none;
  border-radius: 50%;
  animation: loader-scale 1s ease-out infinite;
}

/* ===== NAVIGATION ===== */
.navbar {
  padding: 0.85rem 0;
  transition: all 0.3s ease;
  min-height: 60px;
}

body:not([data-theme]) .navbar-light {
  background-color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-clone {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  transform: translateY(-100%);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.navbar-stick {
  transform: translateY(0%);
}

body:not([data-theme]) .navbar-stick:not(.navbar-dark) {
  box-shadow: 0rem 0rem 1.25rem rgba(30, 34, 40, 0.06);
  background: rgba(255, 255, 255, 0.97) !important;
}

.navbar-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: #60697b;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-brand:focus, .navbar-brand:hover {
  color: #60697b;
}

.navbar-brand img {
  height: 40px;
}

.navbar-nav .nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: #60697b;
  padding: 0.5rem 1rem; 
  transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #3f78e0;
}

.offcanvas .navbar-nav .nav-item-strong strong {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.75rem 0;
  transition: color 0.2s ease;
}

.sidebar .nav-link {
  letter-spacing: normal;
}

/* Mobile Menu (Offcanvas) */
.offcanvas {
  background-color: #1c1f26 !important;
  width: 300px;
}

.offcanvas-header {
  padding: 1.5rem;
  min-height: 60px;
  display: flex;
  align-items: center;
}

.offcanvas-title {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
}

/* Base Button Enhancement */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  line-height: 1.5;
  letter-spacing: -0.01rem;

  border-width: 1px;
  border-radius: 0.4rem;
  transition: all 0.2s ease-in-out;
}

.btn-small {
  background-color: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-sm {
  background-color: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-sm:hover {
  background-color: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}

/* Icon font glyphs fill their full em-square and appear visually larger
   than text characters at the same size. Scale down slightly in small buttons. */
.btn-sm .bi,
.btn-sm [class^="bi-"],
.btn-sm [class*=" bi-"] {
  font-size: .875em;
}

.btn-sm-no-border {
  background-color: transparent;
  color: var(--primary-color);
}

.btn-sm-no-border:hover {
  background-color: transparent;
  color: var(--primary-color);
}

.btn-small-fill {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
}

/* Hover Lift Effect */
.btn:not(.btn-link):hover {
  transform: translateY(-0.15rem);
  box-shadow: 0 0.25rem 0.75rem rgba(30, 34, 40, 0.15);
}

/* Primary Button Theme */
.btn-primary {
  color: #fff;
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.btn-primary:hover,
.btn-primary:active {
  color: #fff;
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

/* Disabled State */
.btn-primary:disabled {
  color: #fff;
  background-color: #3f78e0;
  border-color: #3f78e0;
  opacity: 0.65;
}

/* Rounded Pill Variant */
.btn.rounded-pill {
  border-radius: 50rem !important;
  padding: 1rem 1.5rem;
}

.btn-close {
  background: none !important;
  /* remove bootstrap SVG */
  opacity: 0.9;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  position: relative;
}

.btn-close::before {
  content: "\ed3b";
  /* Unicons close icon */
  font-family: "Unicons";
  font-size: 1rem;

  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;

  background: rgba(var(--bs-white-rgb), 0.11);
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  position: absolute;
  inset: 0;
  margin: auto;

  transition: background 0.2s ease-in-out;
}

.btn-close:hover::before {
  background: rgba(0, 0, 0, 0.3);
}

.btn-close-primary {
  background: var(--primary-color) !important;
  /* remove bootstrap SVG */
  opacity: 0.9;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  position: relative;
}

.btn-close-primary::before {
  content: "\ed3b";
  /* Unicons close icon */
  font-family: "Unicons";
  font-size: 1rem;

  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;

  background: rgba(var(--bs-white-rgb), 0.11);
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  position: absolute;
  inset: 0;
  margin: auto;

  transition: background 0.2s ease-in-out;
}

.btn-close-primary:hover::before {
  background: rgba(0, 0, 0, 0.3);
}

.btn-soft-primary {
  --bs-btn-color: var(--bs-primary);
  --bs-btn-hover-color: var(--bs-primary);
  --bs-btn-bg: #e0e9fa;
  --bs-btn-border-color: var(--bs-pale-primary);
  --bs-btn-hover-bg: var(--bs-pale-primary);
  --bs-btn-hover-border-color: var(--bs-pale-primary);
  --bs-btn-active-color: var(--bs-primary);
  --bs-btn-active-bg: var(--bs-pale-primary);
  --bs-btn-active-border-color: var(--bs-pale-primary);
}

.btn.btn-circle {
  padding: 0;
  border-radius: 100% !important;
  width: 2.2rem;
  height: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  backface-visibility: hidden;
}

.btn.btn-circle.btn-sm,
.btn-group-sm>.btn.btn-circle {
  width: 1.8rem;
  height: 1.8rem;
  font-size: 0.8rem;
}

.btn.btn-circle.btn-sm i,
.btn-group-sm>.btn.btn-circle i {
  font-size: 0.85rem;
}

.btn.btn-circle.btn-lg,
.btn-group-lg>.btn.btn-circle {
  width: 3rem;
  height: 3rem;
  font-size: calc(1.255rem + 0.06vw);
}

@media (min-width: 1200px) {

  .btn.btn-circle.btn-lg,
  .btn-group-lg>.btn.btn-circle {
    font-size: 1.3rem;
  }
}

.btn.btn-circle.btn-play {
  width: 3.5rem;
  height: 3.5rem;
  font-size: calc(1.355rem + 1.26vw);
}

@media (min-width: 1200px) {
  .btn.btn-circle.btn-play {
    font-size: 2.3rem;
  }
}

.btn.btn-circle.btn-play i {
  margin-left: 0.15rem;
}

.btn.btn-circle.btn-play:hover {
  transform: translateY(0);
}

.btn.btn-circle.counter {
  box-shadow: 0rem 0rem 1.25rem rgba(30, 34, 40, 0.04);
}

.btn.btn-circle .number {
  display: table-cell;
  text-align: center;
  margin: 0 auto;
  vertical-align: middle;
  font-size: 1.1rem;
  font-weight: 700;
}

.offcanvas-body {
  padding: 1.5rem;
}

.offcanvas .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.7);
  padding: 0.75rem 0;
}

.offcanvas .navbar-nav .nav-link:hover,
.offcanvas .navbar-nav .nav-link.active {
  color: #ffffff;
}

/* Navbar Toggle Button */
.navbar-toggler {
  border: none;
  padding: 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  width: 24px;
  height: 2px;
  background-color: #343f52;
  display: block;
  position: relative;
  transition: all 0.3s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: '';
  width: 24px;
  height: 2px;
  background-color: #343f52;
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
  top: -7px;
}

.navbar-toggler-icon::after {
  top: 7px;
}

/* ===== HERO WHEEL ===== */
.spin-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
}

.spin-container .wheel-wrapper {
  background: transparent !important;
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  padding: 10px;
}

.spin-container #heroWheel {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
}

/* ===== FEATURE ICONS ===== */
.feature-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(102, 126, 234, 0.1);
}

/* ===== STEP NUMBERS ===== */
.step-number {
  width: 80px;
  height: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
  color: white;
}

.step-number-success {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.step-number-warning {
  background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
}

#wheel {
  border-width: 1px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 991px) {

  .navbar {
    min-height: 77px;
    padding: 1.25rem 0;
  }

  .navbar-brand {
    font-size: 1.25rem;
  }

  .navbar-toggler {
    order: 2;
  }

  .navbar-collapse {
    display: none;
  }

  .spin-container .wheel-wrapper {
    max-width: 400px;
  }

  .offcanvas {
    max-width: 280px;
  }
}

@media (max-width: 768px) {

  .offcanvas {
    max-width: 280px;
  }

  .spin-center-btn {
    width: 80px;
    height: 80px;
    font-size: 1rem;
  }

  .pointer {
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 24px solid var(--pointer-color);
    top: -8px;
  }

  #wheel {
    border-width: 1px;
  }

  .item-entry {
    flex-direction: column;
  }

  .item-entry input[type="number"],
  .item-entry select {
    width: 100%;
  }

  .preset-card .preset-emoji {
    font-size: 2rem;
  }

  .preset-card .preset-title {
    font-size: 0.75rem;
  }

  /* KEY FIX: Remove padding from wheel wrapper in mobile */
  .spin-container .wheel-wrapper {
    padding: 0 !important;
  }
}

@media (max-width: 576px) {
  .offcanvas {
    max-width: 280px;
  }

  .spin-container {
    padding: 0px;
  }

  .spin-container .wheel-wrapper {
    max-width: 300px;
    padding: 0;
  }

  .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
  }

  .spin-center-btn {
    width: 70px !important;
    height: 70px !important;
    font-size: 0.9rem !important;
  }

  .pointer {
    border-left: 15px solid transparent !important;
    border-right: 15px solid transparent !important;
    border-top: 24px solid var(--pointer-color) !important;
  }

  .mt-sm {
    margin-top: 2.5rem;
  }

  .mt-sm-negative-35 {
    margin-top: -2.1rem;
  }

  .pt-sm {
    padding-top: 0 !important;
  }

  .article {
    padding: 0.3rem;
  }

  .accordion-wrapper .card-header button.faq-page {
    padding-left: 0;
  }

  .accordion-wrapper .card-header button.faq-page:before {

    margin-left: -2.7rem;
    margin-top: 0.1px;
  }

  .accordion-wrapper .card-body.faq-page {
    padding-left: 1.5rem;
  }

  .accordion-button {
    align-items: normal;
  }

  .d-small-none {
    display: none;
  }
}

@media (max-width: 375px) {

  .offcanvas {
    max-width: 280px;
  }

  .navbar-brand {
    font-size: 1rem;
  }

  .spin-container {
    padding: 0px;
  }

  .spin-container .wheel-wrapper {
    max-width: 300px;
    padding: 0 !important;
    /* Ensure no padding */
  }

  .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
  }

  .spin-center-btn {
    width: 70px !important;
    height: 70px !important;
    font-size: 0.9rem !important;
  }

  .pointer {
    border-left: 15px solid transparent !important;
    border-right: 15px solid transparent !important;
    border-top: 24px solid var(--pointer-color) !important;
  }

}

/* ===== CARDS & COMPONENTS ===== */
.card {
  transition: all 0.3s ease;
  box-shadow: 0 0 0 0.05rem rgba(8, 60, 130, 0.06), 0rem 0rem 1.25rem rgba(30, 34, 40, 0.04);
  border: 0;
  color: inherit;
}

.card-body {
  flex: 1 1 auto;
  padding: var(--bs-card-spacer-y) var(--bs-card-spacer-x);
  color: var(--bs-card-color);
}

.wheel-card-body {
  padding: 0;
}

.card-body p {
  font-weight: var(--bs-body-font-weight);
  line-height: 1.55rem;
  font-size: 1rem;
}

.accordion-button:not(.collapsed) {
  background-color: rgba(102, 126, 234, 0.1);
  color: #667eea;
}

/* ===== CONFETTI ANIMATION ===== */
.confetti-piece {
  position: fixed;
  width: 10px;
  height: 10px;
  pointer-events: none;
  z-index: 9999;
  animation: confettiFall linear forwards;
  transform-origin: center;
}

@keyframes confettiFall {
  0% {
    transform: translateY(-100vh) rotate(0deg);
    opacity: 1;
  }

  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

/* ===== FOOTER ===== */
footer.bg-dark {
  background-color: #21262c !important;
  color: rgba(255, 255, 255, 0.7);
}

footer .fw-bold,
footer h5,
footer h6 {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.45rem;
}

footer h5 a {
  font-size: 1.45rem;
}

footer h5 a img {
  margin-left: -10px;
}

footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 1.25rem;
}

footer a:hover {
  color: #ffffff;
}

footer .text-white-50 {
  color: rgba(255, 255, 255, 0.5) !important;
}

footer .list-unstyled li {
  margin-bottom: 0.5rem;
}

footer .list-unstyled li a:hover {
  color: #ffffff !important;
}

footer hr {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 2rem 0;
}

footer p {
  font-size: 1.25rem;
  margin-left: 0px !important;
}

/* Social Icons */
.nav.social {
  display: flex;
  gap: 0.5rem;
}

.nav.social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  transition: all 0.2s ease;
}

.nav.social a:hover {
  background-color: #3f78e0;
  color: #ffffff;
}

/* Footer Bottom */
footer .text-center p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 991px) {
  .navbar-brand {
    font-size: 1.25rem;
  }

  .navbar-toggler {
    order: 2;
  }

  .navbar-collapse {
    display: none;
  }
}

@media (min-width: 992px) {
  .navbar-nav {
    gap: 0.5rem;
  }

  .offcanvas {
    display: none !important;
  }

  .px-lg-0 {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .px-lg-1 {
    padding-right: 0.25rem !important;
    padding-left: 0.25rem !important;
  }

  .px-lg-2 {
    padding-right: 0.5rem !important;
    padding-left: 0.5rem !important;
  }

  .px-lg-3 {
    padding-right: 0.75rem !important;
    padding-left: 0.75rem !important;
  }

  .px-lg-4 {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
  }

  .px-lg-5 {
    padding-right: 1.25rem !important;
    padding-left: 1.25rem !important;
  }

  .px-lg-6 {
    padding-right: 1.5rem !important;
    padding-left: 1.5rem !important;
  }

  .px-lg-7 {
    padding-right: 1.75rem !important;
    padding-left: 1.75rem !important;
  }

  .px-lg-8 {
    padding-right: 2rem !important;
    padding-left: 2rem !important;
  }

  .px-lg-9 {
    padding-right: 2.25rem !important;
    padding-left: 2.25rem !important;
  }

  .px-lg-10 {
    padding-right: 2.5rem !important;
    padding-left: 2.5rem !important;
  }

  .px-lg-11 {
    padding-right: 3rem !important;
    padding-left: 3rem !important;
  }

  .px-lg-12 {
    padding-right: 3.5rem !important;
    padding-left: 3.5rem !important;
  }

  .px-lg-13 {
    padding-right: 4rem !important;
    padding-left: 4rem !important;
  }

  .px-lg-14 {
    padding-right: 4.5rem !important;
    padding-left: 4.5rem !important;
  }

  .px-lg-15 {
    padding-right: 5rem !important;
    padding-left: 5rem !important;
  }

  .px-lg-16 {
    padding-right: 6rem !important;
    padding-left: 6rem !important;
  }

  .px-lg-17 {
    padding-right: 7rem !important;
    padding-left: 7rem !important;
  }

  .px-lg-18 {
    padding-right: 8rem !important;
    padding-left: 8rem !important;
  }

  .px-lg-19 {
    padding-right: 9rem !important;
    padding-left: 9rem !important;
  }

  .px-lg-20 {
    padding-right: 10rem !important;
    padding-left: 10rem !important;
  }

  .px-lg-21 {
    padding-right: 12.5rem !important;
    padding-left: 12.5rem !important;
  }

  .px-lg-22 {
    padding-right: 15rem !important;
    padding-left: 15rem !important;
  }

  .px-lg-23 {
    padding-right: 17.5rem !important;
    padding-left: 17.5rem !important;
  }

  .px-lg-24 {
    padding-right: 20rem !important;
    padding-left: 20rem !important;
  }

  .px-lg-25 {
    padding-right: 22.5rem !important;
    padding-left: 22.5rem !important;
  }

  .pe-lg-0 {
    padding-right: 0 !important;
  }

  .pe-lg-1 {
    padding-right: 0.25rem !important;
  }

  .pe-lg-2 {
    padding-right: 0.5rem !important;
  }

  .pe-lg-3 {
    padding-right: 0.75rem !important;
  }

  .pe-lg-4 {
    padding-right: 1rem !important;
  }

  .pe-lg-5 {
    padding-right: 1.25rem !important;
  }

  .pe-lg-6 {
    padding-right: 1.5rem !important;
  }

  .pe-lg-7 {
    padding-right: 1.75rem !important;
  }

  .pe-lg-8 {
    padding-right: 2rem !important;
  }

  .pe-lg-9 {
    padding-right: 2.25rem !important;
  }

  .pe-lg-10 {
    padding-right: 2.5rem !important;
  }

  .pe-lg-11 {
    padding-right: 3rem !important;
  }

  .pe-lg-12 {
    padding-right: 3.5rem !important;
  }

  .pe-lg-13 {
    padding-right: 4rem !important;
  }

  .pe-lg-14 {
    padding-right: 4.5rem !important;
  }

  .pe-lg-15 {
    padding-right: 5rem !important;
  }

  .pe-lg-16 {
    padding-right: 6rem !important;
  }

  .pe-lg-17 {
    padding-right: 7rem !important;
  }

  .pe-lg-18 {
    padding-right: 8rem !important;
  }

  .pe-lg-19 {
    padding-right: 9rem !important;
  }

  .pe-lg-20 {
    padding-right: 10rem !important;
  }

  .pe-lg-21 {
    padding-right: 12.5rem !important;
  }

  .pe-lg-22 {
    padding-right: 15rem !important;
  }

  .pe-lg-23 {
    padding-right: 17.5rem !important;
  }

  .pe-lg-24 {
    padding-right: 20rem !important;
  }

  .pe-lg-25 {
    padding-right: 22.5rem !important;
  }
}

/* Padding / Margins */
.d-none {
  display: none !important;
}

.mt-n1 {
  margin-top: -0.25rem !important;
}

.mt-n2 {
  margin-top: -0.5rem !important;
}

.mt-n3 {
  margin-top: -0.75rem !important;
}

.mt-n4 {
  margin-top: -1rem !important;
}

.mt-n5 {
  margin-top: -1.25rem !important;
}

.mt-n6 {
  margin-top: -1.5rem !important;
}

.mt-n7 {
  margin-top: -1.75rem !important;
}

.mt-n8 {
  margin-top: -2rem !important;
}

.mt-n9 {
  margin-top: -2.25rem !important;
}

.mt-n10 {
  margin-top: -2.5rem !important;
}

.mt-n11 {
  margin-top: -3rem !important;
}

.mt-n12 {
  margin-top: -3.5rem !important;
}

.mt-n13 {
  margin-top: -4rem !important;
}

.mt-n14 {
  margin-top: -4.5rem !important;
}

.mt-n15 {
  margin-top: -5rem !important;
}

.mt-n16 {
  margin-top: -6rem !important;
}

.mt-n17 {
  margin-top: -7rem !important;
}

.mt-n18 {
  margin-top: -8rem !important;
}

.mt-n19 {
  margin-top: -9rem !important;
}

.mt-n20 {
  margin-top: -10rem !important;
}

.mt-n21 {
  margin-top: -12.5rem !important;
}

.mt-n22 {
  margin-top: -15rem !important;
}

.mt-n23 {
  margin-top: -17.5rem !important;
}

.mt-n24 {
  margin-top: -20rem !important;
}

.mt-n25 {
  margin-top: -22.5rem !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.mt-1 {
  margin-top: 0.25rem !important;
}

.mt-2 {
  margin-top: 0.5rem !important;
}

.mt-3 {
  margin-top: 0.75rem !important;
}

.mt-4 {
  margin-top: 1rem !important;
}

.mt-5 {
  margin-top: 1.25rem !important;
}

.mt-6 {
  margin-top: 1.5rem !important;
}

.mt-7 {
  margin-top: 1.75rem !important;
}

.mt-8 {
  margin-top: 2rem !important;
}

.mt-9 {
  margin-top: 2.25rem !important;
}

.mt-10 {
  margin-top: 2.5rem !important;
}

.mt-11 {
  margin-top: 3rem !important;
}

.mt-12 {
  margin-top: 3.5rem !important;
}

.mt-13 {
  margin-top: 4rem !important;
}

.mt-14 {
  margin-top: 4.5rem !important;
}

.mt-15 {
  margin-top: 5rem !important;
}

.mt-16 {
  margin-top: 6rem !important;
}

.mt-17 {
  margin-top: 7rem !important;
}

.mt-18 {
  margin-top: 8rem !important;
}

.mt-19 {
  margin-top: 9rem !important;
}

.mt-20 {
  margin-top: 10rem !important;
}

.mt-21 {
  margin-top: 12.5rem !important;
}

.mt-22 {
  margin-top: 15rem !important;
}

.mt-23 {
  margin-top: 17.5rem !important;
}

.mt-24 {
  margin-top: 20rem !important;
}

.mt-25 {
  margin-top: 22.5rem !important;
}

.mt-auto {
  margin-top: auto !important;
}

.p-0 {
  padding: 0 !important;
}

.p-1 {
  padding: 0.25rem !important;
}

.p-2 {
  padding: 0.5rem !important;
}

.p-3 {
  padding: 0.75rem !important;
}

.p-4 {
  padding: 1rem !important;
}

.p-5 {
  padding: 1.25rem !important;
}

.p-6 {
  padding: 1.5rem !important;
}

.p-7 {
  padding: 1.75rem !important;
}

.p-8 {
  padding: 2rem !important;
}

.p-9 {
  padding: 2.25rem !important;
}

.p-10 {
  padding: 2.5rem !important;
}

.p-11 {
  padding: 3rem !important;
}

.p-12 {
  padding: 3.5rem !important;
}

.p-13 {
  padding: 4rem !important;
}

.p-14 {
  padding: 4.5rem !important;
}

.p-15 {
  padding: 5rem !important;
}

.p-16 {
  padding: 6rem !important;
}

.p-17 {
  padding: 7rem !important;
}

.p-18 {
  padding: 8rem !important;
}

.p-19 {
  padding: 9rem !important;
}

.p-20 {
  padding: 10rem !important;
}

.p-21 {
  padding: 12.5rem !important;
}

.p-22 {
  padding: 15rem !important;
}

.p-23 {
  padding: 17.5rem !important;
}

.p-24 {
  padding: 20rem !important;
}

.p-25 {
  padding: 22.5rem !important;
}


.ps-0 {
  padding-left: 0 !important;
}

.ps-1 {
  padding-left: 0.25rem !important;
}

.ps-2 {
  padding-left: 0.5rem !important;
}

.ps-3 {
  padding-left: 0.75rem !important;
}

.ps-4 {
  padding-left: 1rem !important;
}

.ps-5 {
  padding-left: 1.25rem !important;
}

.ps-6 {
  padding-left: 1.5rem !important;
}

.ps-7 {
  padding-left: 1.75rem !important;
}

.ps-8 {
  padding-left: 2rem !important;
}

.ps-9 {
  padding-left: 2.25rem !important;
}

.ps-10 {
  padding-left: 2.5rem !important;
}

.ps-11 {
  padding-left: 3rem !important;
}

.ps-12 {
  padding-left: 3.5rem !important;
}

.ps-13 {
  padding-left: 4rem !important;
}

.ps-14 {
  padding-left: 4.5rem !important;
}

.ps-15 {
  padding-left: 5rem !important;
}

.ps-16 {
  padding-left: 6rem !important;
}

.ps-17 {
  padding-left: 7rem !important;
}

.ps-18 {
  padding-left: 8rem !important;
}

.ps-19 {
  padding-left: 9rem !important;
}

.ps-20 {
  padding-left: 10rem !important;
}

.ps-21 {
  padding-left: 12.5rem !important;
}

.ps-22 {
  padding-left: 15rem !important;
}

.ps-23 {
  padding-left: 17.5rem !important;
}

.ps-24 {
  padding-left: 20rem !important;
}

.ps-25 {
  padding-left: 22.5rem !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: 0.25rem !important;
}

.mb-2 {
  margin-bottom: 0.5rem !important;
}

.mb-3 {
  margin-bottom: 0.75rem !important;
}

.mb-4 {
  margin-bottom: 1rem !important;
}

.mb-5 {
  margin-bottom: 1.25rem !important;
}

.mb-6 {
  margin-bottom: 1.5rem !important;
}

.mb-7 {
  margin-bottom: 1.75rem !important;
}

.mb-8 {
  margin-bottom: 2rem !important;
}

.mb-9 {
  margin-bottom: 2.25rem !important;
}

.mb-10 {
  margin-bottom: 2.5rem !important;
}

.mb-11 {
  margin-bottom: 3rem !important;
}

.mb-12 {
  margin-bottom: 3.5rem !important;
}

.mb-13 {
  margin-bottom: 4rem !important;
}

.mb-14 {
  margin-bottom: 4.5rem !important;
}

.mb-15 {
  margin-bottom: 5rem !important;
}

.mb-16 {
  margin-bottom: 6rem !important;
}

.mb-17 {
  margin-bottom: 7rem !important;
}

.mb-18 {
  margin-bottom: 8rem !important;
}

.mb-19 {
  margin-bottom: 9rem !important;
}

.mb-20 {
  margin-bottom: 10rem !important;
}

.mb-21 {
  margin-bottom: 12.5rem !important;
}

.mb-22 {
  margin-bottom: 15rem !important;
}

.mb-23 {
  margin-bottom: 17.5rem !important;
}

.mb-24 {
  margin-bottom: 20rem !important;
}

.mb-25 {
  margin-bottom: 22.5rem !important;
}

.mb-auto {
  margin-bottom: auto !important;
}

.py-0 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.py-1 {
  padding-top: 0.25rem !important;
  padding-bottom: 0.25rem !important;
}

.py-2 {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

.py-3 {
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
}

.py-4 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.py-5 {
  padding-top: 1.25rem !important;
  padding-bottom: 1.25rem !important;
}

.py-6 {
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}

.py-7 {
  padding-top: 1.75rem !important;
  padding-bottom: 1.75rem !important;
}

.py-8 {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

.py-9 {
  padding-top: 2.25rem !important;
  padding-bottom: 2.25rem !important;
}

.py-10 {
  padding-top: 2.5rem !important;
  padding-bottom: 2.5rem !important;
}

.py-11 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

.py-12 {
  padding-top: 3.5rem !important;
  padding-bottom: 3.5rem !important;
}

.py-13 {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

.py-14 {
  padding-top: 4.5rem !important;
  padding-bottom: 4.5rem !important;
}

.py-15 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

.py-16 {
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}

.py-17 {
  padding-top: 7rem !important;
  padding-bottom: 7rem !important;
}

.py-18 {
  padding-top: 8rem !important;
  padding-bottom: 8rem !important;
}

.py-19 {
  padding-top: 9rem !important;
  padding-bottom: 9rem !important;
}

.py-20 {
  padding-top: 10rem !important;
  padding-bottom: 10rem !important;
}

.py-21 {
  padding-top: 12.5rem !important;
  padding-bottom: 12.5rem !important;
}

.py-22 {
  padding-top: 15rem !important;
  padding-bottom: 15rem !important;
}

.py-23 {
  padding-top: 17.5rem !important;
  padding-bottom: 17.5rem !important;
}

.py-24 {
  padding-top: 20rem !important;
  padding-bottom: 20rem !important;
}

.py-25 {
  padding-top: 22.5rem !important;
  padding-bottom: 22.5rem !important;
}

.pt-0 {
  padding-top: 0 !important;
}

.pt-1 {
  padding-top: 0.25rem !important;
}

.pt-2 {
  padding-top: 0.5rem !important;
}

.pt-3 {
  padding-top: 0.75rem !important;
}

.pt-4 {
  padding-top: 1rem !important;
}

.pt-5 {
  padding-top: 1.25rem !important;
}

.pt-6 {
  padding-top: 1.5rem !important;
}

.pt-7 {
  padding-top: 1.75rem !important;
}

.pt-8 {
  padding-top: 2rem !important;
}

.pt-9 {
  padding-top: 2.25rem !important;
}

.pt-10 {
  padding-top: 2.5rem !important;
}

.pt-11 {
  padding-top: 3rem !important;
}

.pt-12 {
  padding-top: 3.5rem !important;
}

.pt-13 {
  padding-top: 4rem !important;
}

.pt-14 {
  padding-top: 4.5rem !important;
}

.pt-15 {
  padding-top: 5rem !important;
}

.pt-16 {
  padding-top: 6rem !important;
}

.pt-17 {
  padding-top: 7rem !important;
}

.pt-18 {
  padding-top: 8rem !important;
}

.pt-19 {
  padding-top: 9rem !important;
}

.pt-20 {
  padding-top: 10rem !important;
}

.pt-21 {
  padding-top: 12.5rem !important;
}

.pt-22 {
  padding-top: 15rem !important;
}

.pt-23 {
  padding-top: 17.5rem !important;
}

.pt-24 {
  padding-top: 20rem !important;
}

.pt-25 {
  padding-top: 22.5rem !important;
}

.pb-0 {
  padding-bottom: 0 !important;
}

.pb-1 {
  padding-bottom: 0.25rem !important;
}

.pb-2 {
  padding-bottom: 0.5rem !important;
}

.pb-3 {
  padding-bottom: 0.75rem !important;
}

.pb-4 {
  padding-bottom: 1rem !important;
}

.pb-5 {
  padding-bottom: 1.25rem !important;
}

.pb-6 {
  padding-bottom: 1.5rem !important;
}

.pb-7 {
  padding-bottom: 1.75rem !important;
}

.pb-8 {
  padding-bottom: 2rem !important;
}

.pb-9 {
  padding-bottom: 2.25rem !important;
}

.pb-10 {
  padding-bottom: 2.5rem !important;
}

.pb-11 {
  padding-bottom: 3rem !important;
}

.pb-12 {
  padding-bottom: 3.5rem !important;
}

.pb-13 {
  padding-bottom: 4rem !important;
}

.pb-14 {
  padding-bottom: 4.5rem !important;
}

.pb-15 {
  padding-bottom: 5rem !important;
}

.pb-16 {
  padding-bottom: 6rem !important;
}

.pb-17 {
  padding-bottom: 7rem !important;
}

.pb-18 {
  padding-bottom: 8rem !important;
}

.pb-19 {
  padding-bottom: 9rem !important;
}

.pb-20 {
  padding-bottom: 10rem !important;
}

.pb-21 {
  padding-bottom: 12.5rem !important;
}

.pb-22 {
  padding-bottom: 15rem !important;
}

.pb-23 {
  padding-bottom: 17.5rem !important;
}

.pb-24 {
  padding-bottom: 20rem !important;
}

.pb-25 {
  padding-bottom: 22.5rem !important;
}

.mb-7 {
  margin-bottom: 1.75rem !important;
}

.mx-auto {
  margin-right: auto !important;
  margin-left: auto !important;
}

@media (min-width: 768px) {

  .sticky-sidebar {
    position: sticky;
    top: 0;
    height: 100%;
  }

  .sidebar nav .nav-link {
    font-weight: 500;
    padding: 5px 15px;
    margin-bottom: 5px;
    font-size: 1rem;
    line-height: inherit;
  }

  .sidebar nav .nav-link:hover {
    color: var(--bs-primary) !important;
  }

  .sidebar nav .nav-link.active {
    color: var(--bs-primary) !important;
  }

  .list-unstyled li {
    margin-top: 0.35rem;
  }

  .mt-md-0 {
    margin-top: 0 !important;
  }

  .mt-md-1 {
    margin-top: 0.25rem !important;
  }

  .mt-md-2 {
    margin-top: 0.5rem !important;
  }

  .mt-md-3 {
    margin-top: 0.75rem !important;
  }

  .mt-md-4 {
    margin-top: 1rem !important;
  }

  .mt-md-5 {
    margin-top: 1.25rem !important;
  }

  .mt-md-6 {
    margin-top: 1.5rem !important;
  }

  .mt-md-7 {
    margin-top: 1.75rem !important;
  }

  .mt-md-8 {
    margin-top: 2rem !important;
  }

  .mt-md-9 {
    margin-top: 2.25rem !important;
  }

  .mt-md-10 {
    margin-top: 2.5rem !important;
  }

  .mt-md-11 {
    margin-top: 3rem !important;
  }

  .mt-md-12 {
    margin-top: 3.5rem !important;
  }

  .mt-md-13 {
    margin-top: 4rem !important;
  }

  .mt-md-14 {
    margin-top: 4.5rem !important;
  }

  .mt-md-15 {
    margin-top: 5rem !important;
  }

  .mt-md-16 {
    margin-top: 6rem !important;
  }

  .mt-md-17 {
    margin-top: 7rem !important;
  }

  .mt-md-18 {
    margin-top: 8rem !important;
  }

  .mt-md-19 {
    margin-top: 9rem !important;
  }

  .mt-md-20 {
    margin-top: 10rem !important;
  }

  .mt-md-21 {
    margin-top: 12.5rem !important;
  }

  .mt-md-22 {
    margin-top: 15rem !important;
  }

  .mt-md-23 {
    margin-top: 17.5rem !important;
  }

  .mt-md-24 {
    margin-top: 20rem !important;
  }

  .mt-md-25 {
    margin-top: 22.5rem !important;
  }

  .mt-md-auto {
    margin-top: auto !important;
  }

  .pb-md-0 {
    padding-bottom: 0 !important;
  }

  .pb-md-1 {
    padding-bottom: 0.25rem !important;
  }

  .pb-md-2 {
    padding-bottom: 0.5rem !important;
  }

  .pb-md-3 {
    padding-bottom: 0.75rem !important;
  }

  .pb-md-4 {
    padding-bottom: 1rem !important;
  }

  .pb-md-5 {
    padding-bottom: 1.25rem !important;
  }

  .pb-md-6 {
    padding-bottom: 1.5rem !important;
  }

  .pb-md-7 {
    padding-bottom: 1.75rem !important;
  }

  .pb-md-8 {
    padding-bottom: 2rem !important;
  }

  .pb-md-9 {
    padding-bottom: 2.25rem !important;
  }

  .pb-md-10 {
    padding-bottom: 2.5rem !important;
  }

  .pb-md-11 {
    padding-bottom: 3rem !important;
  }

  .pb-md-12 {
    padding-bottom: 3.5rem !important;
  }

  .pb-md-13 {
    padding-bottom: 4rem !important;
  }

  .pb-md-14 {
    padding-bottom: 4.5rem !important;
  }

  .pb-md-15 {
    padding-bottom: 5rem !important;
  }

  .pb-md-16 {
    padding-bottom: 6rem !important;
  }

  .pb-md-17 {
    padding-bottom: 7rem !important;
  }

  .pb-md-18 {
    padding-bottom: 8rem !important;
  }

  .pb-md-19 {
    padding-bottom: 9rem !important;
  }

  .pb-md-20 {
    padding-bottom: 10rem !important;
  }

  .pb-md-21 {
    padding-bottom: 12.5rem !important;
  }

  .pb-md-22 {
    padding-bottom: 15rem !important;
  }

  .pb-md-23 {
    padding-bottom: 17.5rem !important;
  }

  .pb-md-24 {
    padding-bottom: 20rem !important;
  }

  .pb-md-25 {
    padding-bottom: 22.5rem !important;
  }

  .pt-md-0 {
    padding-top: 0 !important;
  }

  .pt-md-1 {
    padding-top: 0.25rem !important;
  }

  .pt-md-2 {
    padding-top: 0.5rem !important;
  }

  .pt-md-3 {
    padding-top: 0.75rem !important;
  }

  .pt-md-4 {
    padding-top: 1rem !important;
  }

  .pt-md-5 {
    padding-top: 1.25rem !important;
  }

  .pt-md-6 {
    padding-top: 1.5rem !important;
  }

  .pt-md-7 {
    padding-top: 1.75rem !important;
  }

  .pt-md-8 {
    padding-top: 2rem !important;
  }

  .pt-md-9 {
    padding-top: 2.25rem !important;
  }

  .pt-md-10 {
    padding-top: 2.5rem !important;
  }

  .pt-md-11 {
    padding-top: 3rem !important;
  }

  .pt-md-12 {
    padding-top: 3.5rem !important;
  }

  .pt-md-13 {
    padding-top: 4rem !important;
  }

  .pt-md-14 {
    padding-top: 4.5rem !important;
  }

  .pt-md-15 {
    padding-top: 5rem !important;
  }

  .pt-md-16 {
    padding-top: 6rem !important;
  }

  .pt-md-17 {
    padding-top: 7rem !important;
  }

  .pt-md-18 {
    padding-top: 8rem !important;
  }

  .pt-md-19 {
    padding-top: 9rem !important;
  }

  .pt-md-20 {
    padding-top: 10rem !important;
  }

  .pt-md-21 {
    padding-top: 12.5rem !important;
  }

  .pt-md-22 {
    padding-top: 15rem !important;
  }

  .pt-md-23 {
    padding-top: 17.5rem !important;
  }

  .pt-md-24 {
    padding-top: 20rem !important;
  }

  .pt-md-25 {
    padding-top: 22.5rem !important;
  }

  .p-md-0 {
    padding: 0 !important;
  }

  .p-md-1 {
    padding: 0.25rem !important;
  }

  .p-md-2 {
    padding: 0.5rem !important;
  }

  .p-md-3 {
    padding: 0.75rem !important;
  }

  .p-md-4 {
    padding: 1rem !important;
  }

  .p-md-5 {
    padding: 1.25rem !important;
  }

  .p-md-6 {
    padding: 1.5rem !important;
  }

  .p-md-7 {
    padding: 1.75rem !important;
  }

  .p-md-8 {
    padding: 2rem !important;
  }

  .p-md-9 {
    padding: 2.25rem !important;
  }

  .p-md-10 {
    padding: 2.5rem !important;
  }

  .p-md-11 {
    padding: 3rem !important;
  }

  .p-md-12 {
    padding: 3.5rem !important;
  }

  .p-md-13 {
    padding: 4rem !important;
  }

  .p-md-14 {
    padding: 4.5rem !important;
  }

  .p-md-15 {
    padding: 5rem !important;
  }

  .p-md-16 {
    padding: 6rem !important;
  }

  .p-md-17 {
    padding: 7rem !important;
  }

  .p-md-18 {
    padding: 8rem !important;
  }

  .p-md-19 {
    padding: 9rem !important;
  }

  .p-md-20 {
    padding: 10rem !important;
  }

  .p-md-21 {
    padding: 12.5rem !important;
  }

  .p-md-22 {
    padding: 15rem !important;
  }

  .p-md-23 {
    padding: 17.5rem !important;
  }

  .p-md-24 {
    padding: 20rem !important;
  }

  .p-md-25 {
    padding: 22.5rem !important;
  }

  .col-md-auto {
    flex: 0 0 auto;
    width: auto;
  }

  .col-md-1 {
    flex: 0 0 auto;
    width: 8.33333333%;
  }

  .col-md-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
  }

  .col-md-3 {
    flex: 0 0 auto;
    width: 25%;
  }

  .col-md-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }

  .col-md-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
  }

  .col-md-6 {
    flex: 0 0 auto;
    width: 50%;
  }

  .col-md-7 {
    flex: 0 0 auto;
    width: 58.33333333%;
  }

  .col-md-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
  }

  .col-md-9 {
    flex: 0 0 auto;
    width: 75%;
  }

  .col-md-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
  }

  .col-md-11 {
    flex: 0 0 auto;
    width: 91.66666667%;
  }

  .col-md-12 {
    flex: 0 0 auto;
    width: 100%;
  }

  .px-md-12 {
    padding-right: 3.5rem !important;
    padding-left: 3.5rem !important;
  }
}

@media (min-width: 992px) {
  .px-lg-5 {
    padding-right: 1.25rem !important;
    padding-left: 1.25rem !important;
  }

  .ms-lg-0 {
    margin-left: 0 !important;
  }

  .ms-lg-1 {
    margin-left: 0.25rem !important;
  }

  .ms-lg-2 {
    margin-left: 0.5rem !important;
  }

  .ms-lg-3 {
    margin-left: 0.75rem !important;
  }

  .ms-lg-4 {
    margin-left: 1rem !important;
  }

  .ms-lg-5 {
    margin-left: 1.25rem !important;
  }

  .ms-lg-6 {
    margin-left: 1.5rem !important;
  }

  .ms-lg-7 {
    margin-left: 1.75rem !important;
  }

  .ms-lg-8 {
    margin-left: 2rem !important;
  }

  .ms-lg-9 {
    margin-left: 2.25rem !important;
  }

  .ms-lg-10 {
    margin-left: 2.5rem !important;
  }

  .ms-lg-11 {
    margin-left: 3rem !important;
  }

  .ms-lg-12 {
    margin-left: 3.5rem !important;
  }

  .ms-lg-13 {
    margin-left: 4rem !important;
  }

  .ms-lg-14 {
    margin-left: 4.5rem !important;
  }

  .ms-lg-15 {
    margin-left: 5rem !important;
  }

  .ms-lg-16 {
    margin-left: 6rem !important;
  }

  .ms-lg-17 {
    margin-left: 7rem !important;
  }

  .ms-lg-18 {
    margin-left: 8rem !important;
  }

  .ms-lg-19 {
    margin-left: 9rem !important;
  }

  .ms-lg-20 {
    margin-left: 10rem !important;
  }

  .ms-lg-21 {
    margin-left: 12.5rem !important;
  }

  .ms-lg-22 {
    margin-left: 15rem !important;
  }

  .ms-lg-23 {
    margin-left: 17.5rem !important;
  }

  .ms-lg-24 {
    margin-left: 20rem !important;
  }

  .ms-lg-25 {
    margin-left: 22.5rem !important;
  }

  .col-lg-auto {
    flex: 0 0 auto;
    width: auto;
  }

  .col-lg-1 {
    flex: 0 0 auto;
    width: 8.33333333%;
  }

  .col-lg-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
  }

  .col-lg-3 {
    flex: 0 0 auto;
    width: 25%;
  }

  .col-lg-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }

  .col-lg-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
  }

  .col-lg-6 {
    flex: 0 0 auto;
    width: 50%;
  }

  .col-lg-7 {
    flex: 0 0 auto;
    width: 58.33333333%;
  }

  .col-lg-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
  }

  .col-lg-9 {
    flex: 0 0 auto;
    width: 75%;
  }

  .col-lg-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
  }

  .col-lg-11 {
    flex: 0 0 auto;
    width: 91.66666667%;
  }

  .col-lg-12 {
    flex: 0 0 auto;
    width: 100%;
  }
}


.display-1 {
  font-size: calc(1.365rem + 1.38vw);
  font-weight: 700;
  line-height: 1.2;
}

@media (min-width: 1200px) {
  .display-1 {
    font-size: 2.4rem;
  }
}

.display-2 {
  font-size: calc(1.345rem + 1.14vw);
  font-weight: 700;
  line-height: 1.2;
}

@media (min-width: 1200px) {
  .display-2 {
    font-size: 2.2rem;
  }
}

.display-3 {
  font-size: calc(1.325rem + 0.9vw);
  font-weight: 700;
  line-height: 1.2;
}

@media (min-width: 1200px) {
  .display-3 {
    font-size: 2rem;
  }
}

.display-4 {
  font-size: calc(1.305rem + 0.66vw);
  font-weight: 700;
  line-height: 1.2;
}

@media (min-width: 1200px) {
  .display-4 {
    font-size: 1.8rem;
  }
}

.display-5 {
  font-size: calc(1.285rem + 0.42vw);
  font-weight: 700;
  line-height: 1.2;
}

@media (min-width: 1200px) {
  .display-5 {
    font-size: 1.6rem;
  }
}

.display-6 {
  font-size: calc(1.265rem + 0.18vw);
  font-weight: 700;
  line-height: 1.2;
}

@media (min-width: 1200px) {
  .display-6 {
    font-size: 1.4rem;
  }
}

@media (min-width: 1200px) {

  .container-xl,
  .container-lg,
  .container-md,
  .container-sm,
  .container {
    max-width: 1140px;
  }

  .d-xl-inline {
    display: inline !important;
  }

  .d-xl-inline-block {
    display: inline-block !important;
  }

  .d-xl-block {
    display: block !important;
  }

  .d-xl-grid {
    display: grid !important;
  }

  .d-xl-inline-grid {
    display: inline-grid !important;
  }

  .d-xl-table {
    display: table !important;
  }

  .d-xl-table-row {
    display: table-row !important;
  }

  .d-xl-table-cell {
    display: table-cell !important;
  }

  .d-xl-flex {
    display: flex !important;
  }

  .d-xl-inline-flex {
    display: inline-flex !important;
  }

  .d-xl-none {
    display: none !important;
  }

  .p-xl-0 {
    padding: 0 !important;
  }

  .p-xl-1 {
    padding: 0.25rem !important;
  }

  .p-xl-2 {
    padding: 0.5rem !important;
  }

  .p-xl-3 {
    padding: 0.75rem !important;
  }

  .p-xl-4 {
    padding: 1rem !important;
  }

  .p-xl-5 {
    padding: 1.25rem !important;
  }

  .p-xl-6 {
    padding: 1.5rem !important;
  }

  .p-xl-7 {
    padding: 1.75rem !important;
  }

  .p-xl-8 {
    padding: 2rem !important;
  }

  .p-xl-9 {
    padding: 2.25rem !important;
  }

  .p-xl-10 {
    padding: 2.5rem !important;
  }

  .p-xl-11 {
    padding: 3rem !important;
  }

  .p-xl-12 {
    padding: 3.5rem !important;
  }

  .p-xl-13 {
    padding: 4rem !important;
  }

  .p-xl-14 {
    padding: 4.5rem !important;
  }

  .p-xl-15 {
    padding: 5rem !important;
  }

  .p-xl-16 {
    padding: 6rem !important;
  }

  .p-xl-17 {
    padding: 7rem !important;
  }

  .p-xl-18 {
    padding: 8rem !important;
  }

  .p-xl-19 {
    padding: 9rem !important;
  }

  .p-xl-20 {
    padding: 10rem !important;
  }

  .p-xl-21 {
    padding: 12.5rem !important;
  }

  .p-xl-22 {
    padding: 15rem !important;
  }

  .p-xl-23 {
    padding: 17.5rem !important;
  }

  .p-xl-24 {
    padding: 20rem !important;
  }

  .p-xl-25 {
    padding: 22.5rem !important;
  }

  .px-xl-7 {
    padding-right: 1.75rem !important;
    padding-left: 1.75rem !important;
  }

  .col-xl-auto {
    flex: 0 0 auto;
    width: auto;
  }

  .col-xl-1 {
    flex: 0 0 auto;
    width: 8.33333333%;
  }

  .col-xl-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
  }

  .col-xl-3 {
    flex: 0 0 auto;
    width: 25%;
  }

  .col-xl-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }

  .col-xl-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
  }

  .col-xl-6 {
    flex: 0 0 auto;
    width: 50%;
  }

  .col-xl-7 {
    flex: 0 0 auto;
    width: 58.33333333%;
  }

  .col-xl-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
  }

  .col-xl-9 {
    flex: 0 0 auto;
    width: 75%;
  }

  .col-xl-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
  }

  .col-xl-11 {
    flex: 0 0 auto;
    width: 91.66666667%;
  }

  .col-xl-12 {
    flex: 0 0 auto;
    width: 100%;
  }

}

@media (min-width: 1400px) {
  .col-xxl-auto {
    flex: 0 0 auto;
    width: auto;
  }

  .col-xxl-1 {
    flex: 0 0 auto;
    width: 8.33333333%;
  }

  .col-xxl-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
  }

  .col-xxl-3 {
    flex: 0 0 auto;
    width: 25%;
  }

  .col-xxl-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }

  .col-xxl-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
  }

  .col-xxl-6 {
    flex: 0 0 auto;
    width: 50%;
  }

  .col-xxl-7 {
    flex: 0 0 auto;
    width: 58.33333333%;
  }

  .col-xxl-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
  }

  .col-xxl-9 {
    flex: 0 0 auto;
    width: 75%;
  }

  .col-xxl-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
  }

  .col-xxl-11 {
    flex: 0 0 auto;
    width: 91.66666667%;
  }

  .col-xxl-12 {
    flex: 0 0 auto;
    width: 100%;
  }
}


/* ===== WINNERS CARD STYLES ===== */
.winners-card-mobile {
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.winners-scroll-container {
  max-height: 300px;
  overflow-y: auto;
  background-color: #f8f9fa;
  border-radius: 0.375rem;
  padding: 0.5rem;
}

.winners-scroll-container::-webkit-scrollbar {
  width: 6px;
}

.winners-scroll-container::-webkit-scrollbar-track {
  background: #e9ecef;
  border-radius: 3px;
}

.winners-scroll-container::-webkit-scrollbar-thumb {
  background: #adb5bd;
  border-radius: 3px;
}

.winners-scroll-container::-webkit-scrollbar-thumb:hover {
  background: #868e96;
}

/* History Item */
.history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  background: white;
  border-radius: 0.375rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.history-item:hover {
  transform: translateX(3px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.history-item-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

.history-spin-number {
  font-size: 0.75rem;
  font-weight: 700;
  color: #6c757d;
  min-width: 55px;
}

.history-winner-name {
  font-weight: 600;
  color: #212529;
  word-break: break-word;
}

.history-timestamp {
  font-size: 0.7rem;
  color: #868e96;
  white-space: nowrap;
}

/* Leaderboard Item */
.leaderboard-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  background: white;
  border-radius: 0.375rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.leaderboard-item:hover {
  transform: translateX(3px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.leaderboard-item-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

.leaderboard-rank {
  font-size: 1.25rem;
  min-width: 30px;
  text-align: center;
}

.leaderboard-name {
  font-weight: 600;
  color: #212529;
  word-break: break-word;
}

.leaderboard-count {
  font-size: 0.875rem;
  font-weight: 700;
  color: #667eea;
  background: rgba(102, 126, 234, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  white-space: nowrap;
}

/* Top 3 Special Styling */
.leaderboard-item.rank-1 {
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  border: 2px solid #ffa500;
}

.leaderboard-item.rank-1 .leaderboard-count {
  background: rgba(255, 255, 255, 0.9);
  color: #d4af37;
}

.leaderboard-item.rank-2 {
  background: linear-gradient(135deg, #c0c0c0 0%, #e8e8e8 100%);
  border: 2px solid #a8a8a8;
}

.leaderboard-item.rank-2 .leaderboard-count {
  background: rgba(255, 255, 255, 0.9);
  color: #808080;
}

.leaderboard-item.rank-3 {
  background: linear-gradient(135deg, #cd7f32 0%, #e5a86f 100%);
  border: 2px solid #b8732d;
}

.leaderboard-item.rank-3 .leaderboard-count {
  background: rgba(255, 255, 255, 0.9);
  color: #8b5a2b;
}

.combo-result-display {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Courier New', monospace;
  font-weight: 600;
  font-size: 0.875rem;
}

.combo-separator {
  color: #6c757d;
  font-weight: 400;
}

.leaderboard-combo-text {
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  color: #495057;
  white-space: nowrap;
}

.history-combo-display {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: nowrap;
  font-family: 'Courier New', monospace;
}

/* Nav Tabs Styling */
.nav-tabs .nav-link {
  color: #6c757d;
  border: none;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
}

.nav-tabs .nav-link:hover {
  color: #667eea;
  border: none;
}

.nav-tabs .nav-link.active {
  color: #667eea;
  background-color: rgba(102, 126, 234, 0.1);
  border: none;
  border-bottom: 2px solid #667eea;
}

/* Empty State */
.winners-scroll-container p.text-muted {
  font-size: 0.875rem;
}



/* Responsive */
@media (max-width: 768px) {
  .winners-scroll-container {
    max-height: 250px;
  }

  .history-item,
  .leaderboard-item {
    padding: 0.5rem;
  }

  .history-spin-number {
    min-width: 50px;
    font-size: 0.7rem;
  }

  .history-winner-name,
  .leaderboard-name {
    font-size: 0.875rem;
  }

  .leaderboard-rank {
    font-size: 1rem;
    min-width: 25px;
  }

  .leaderboard-count {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
  }

  .combo-result-display,
  .history-combo-display {
    font-size: 0.75rem;
    gap: 0.3rem;
  }

  .leaderboard-combo-text {
    font-size: 0.75rem;
  }
}

/*
  Article Section
*/

.article p {
  font-size: 1rem;
  word-spacing: 0.05rem;
}

.article ul li span {
  font-size: 1rem;
  word-spacing: 0.05rem;
}

.lead.fs-lg {
  font-size: 1.25rem !important;
  line-height: 1.6;
}

/* ============================================
   COLOR PICKER STYLING
   ============================================ */

/* Color picker input styling */
.form-control-color {
  width: 33px;
  height: 31px;
  padding: 1px;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: border-color 0.2s ease;
  vertical-align: middle;
  /* ← Align with other inputs */
}

.form-control-color:hover {
  border-color: #667eea;
}

.form-control-color::-webkit-color-swatch-wrapper {
  padding: 1px;
  /* ← Reduced padding */
}

.form-control-color::-webkit-color-swatch {
  border-radius: 0.25rem;
  border: none;
}

/* Global font color picker specific styling */
#globalFontColor {
  width: 50px;
  height: 32px;
}

#globalFontColorHex {
  font-family: 'Courier New', monospace;
  text-transform: uppercase;
}

/* Items Container */
.items-container {
  max-height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0.3rem;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  background-color: #f8f9fa;
}


/*  ITEM ENTRY LAYOUT - DESKTOP */
@media (min-width: 768px) {
  .item-entry {
    display: grid;
    /* Layout: Name (minmax for minimum width) | % (60px) | Color (33px) | Dropdown (120px) | Buttons (auto) */
    grid-template-columns: minmax(100px, 2fr) 51px 33px 100px auto;
    gap: 0.3rem;
    margin-bottom: 0.75rem;
    padding: 0.30rem;
    background: white;
    border-radius: 0.375rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    align-items: center;
  }

  .item-entry input[type="text"] {
    grid-column: 1 / 2;
    min-width: 100px;
    /* ← Ensures minimum readable width */
    /* Name field takes 3x the flexible space */
  }

  .item-entry input[type="number"] {
    grid-column: 2 / 3;
    width: 51px;
    padding-right: 1px;
  }

  .item-entry input[type="color"] {
    grid-column: 3 / 4;
    width: 33px;
    height: 31px;
  }

  .item-entry select {
    grid-column: 4 / 5;
    width: 100px;
  }

  .item-entry .btn-group {
    grid-column: 5 / 6;
    display: flex;
    gap: 0.25rem;
    align-items: center;
  }

  .item-entry .btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    height: 31px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* No weight column (non-classic wheels) */
  #itemsList:not(:has(input[type="number"])) .item-entry {
    grid-template-columns: minmax(80px, 1fr) 30px 88px auto;
  }

  #itemsList:not(:has(input[type="number"])) .item-entry input[type="color"] {
    grid-column: 2 / 3;
    width: 30px;
    height: 31px;
  }

  #itemsList:not(:has(input[type="number"])) .item-entry select {
    grid-column: 3 / 4;
    width: 88px;
  }

  #itemsList:not(:has(input[type="number"])) .item-entry .btn-group {
    grid-column: 4 / 5;
  }

  /* Weight column present (classic wheel) */
  #itemsList:has(input[type="number"]) .item-entry {
    grid-template-columns: minmax(100px, 1.6fr) 50px 36px 92px auto;
    gap: 0.3rem;
  }

  #itemsList:has(input[type="number"]) .item-entry input[type="number"] {
    grid-column: 2 / 3;
    width: 50px;
  }

  #itemsList:has(input[type="number"]) .item-entry input[type="color"] {
    grid-column: 3 / 4;
    width: 36px;
    height: 31px;
  }

  #itemsList:has(input[type="number"]) .item-entry select {
    grid-column: 4 / 5;
    width: 92px;
  }

  #itemsList:has(input[type="number"]) .item-entry .btn-group {
    grid-column: 5 / 6;
  }
}

/*  ITEM ENTRY LAYOUT - MOBILE  */
@media (max-width: 767px) {
  .item-entry {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    background: white;
    border-radius: 0.375rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }

  .item-entry input[type="text"],
  .item-entry input[type="number"],
  .item-entry input[type="color"],
  .item-entry select,
  .item-entry .btn-group {
    width: 100%;
  }

  .item-entry input[type="color"] {
    height: 45px;
  }

  .item-entry .btn-group {
    display: flex;
    gap: 0.5rem;
  }

  .item-entry .btn-group button {
    flex: 1;
  }
}

/* Content section typography — normalises reading text across all 200+ picker landing pages */
.content-section p,
.content-section > .container p,
.content-section li,
.content-section .accordion-body,
.content-section .accordion-button {
    font-size: 1rem;
    line-height: 1.75;
}
.content-section h2 {
    font-weight: 700;
}

/* ── Shared badge size (landing page title-strip badge, related-tool badges) ── */
.badge-sm { font-size: .8rem; }

/* ── Related tool card / secondary description text ─────────────────────────── */
/* Use Bootstrap .small on the element instead of inline font-size:.875rem */

/* ── Theme-aware section background (tool page SEO sections) ─────────────────  */
.bg-theme { background: var(--theme-bg, #f8f9fa); }

/* ── Cryptocurrency brand colours (support / donate / admin) ─────────────────  */
.color-btc  { color: #F7931A; }
.color-eth  { color: #627EEA; }
.color-usdt { color: #26A17B; }
.color-paypal { color: #003087; }

/* ── PayPal badge (support page / admin) ─────────────────────────────────────  */
.badge-paypal {
  display: inline-block;
  background: rgba(0,48,135,.1);
  color: #003087;
  border: 1px solid rgba(0,48,135,.25);
  font-size: .68rem;
  font-weight: 700;
  padding: .18rem .55rem;
  border-radius: 20px;
  letter-spacing: .01em;
  white-space: nowrap;
}

/* ── PayPal icon — panel header size matches .crypto-logo (40px) ─────────────  */
.bi-paypal-lg { font-size: 2.5rem; }

/* ── Spin-mode feature-icon tool-identity backgrounds (default theme only) ───── */
/* Overridden by body[data-theme] .feature-icon in themes.css for all themes */
.feature-icon-blue   { background: rgba(102, 126, 234, 0.1); color: #667eea; }
.feature-icon-green  { background: rgba(40,  167,  69,  0.1); color: #28a745; }
.feature-icon-orange { background: rgba(255, 107,  53,  0.1); color: #ff6b35; }
.feature-icon-purple { background: rgba(155,  89, 182,  0.1); color: #9b59b6; }

/* Emoji / icon display helper used in use-case and feature grids */
.icon-emoji { font-size: 1.6rem; line-height: 1; flex-shrink: 0; }

/* Sized icon utilities — for Bootstrap Icons and emoji used as decorative icons */
/* Card hover animation — for related-tool link cards */
.card-hover-link { transition: box-shadow .18s, transform .18s; }

.icon-2rem  { font-size: 2rem;   line-height: 1; }
.icon-22    { font-size: 2.2rem; line-height: 1; }
.icon-3rem  { font-size: 3rem;   line-height: 1; }
.icon-4rem  { font-size: 4rem;   line-height: 1; }
.icon-5rem  { font-size: 5rem;   line-height: 1; }

/* Identity-color outline buttons for Combo Spin and Lucky Box */
.btn-outline-combo  { border: 1px solid #ff6b35; color: #ff6b35; }
.btn-outline-lucky  { border: 1px solid #9b59b6; color: #9b59b6; }
.btn-outline-combo:hover { background: rgba(255,107,53,.08); color: #ff6b35; border-color: #ff6b35; }
.btn-outline-lucky:hover { background: rgba(155, 89,182,.08); color: #9b59b6; border-color: #9b59b6; }
/* Identity color text utilities */
.text-combo  { color: #ff6b35; }
.text-lucky  { color: #9b59b6; }
/* ═══════════════════════════════════════════════════════════════════════════
   VISUAL POLISH LAYER (overhaul Batch 3)
   Motion tokens · accessibility · action-button polish · winner modal ·
   per-engine accent identities (Default theme only — any body[data-theme]
   set by the user's theme picker takes precedence via themes.css).
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
    --wsp-ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
    --wsp-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --wsp-dur-fast: 150ms;
    --wsp-dur-med: 250ms;
    --wsp-dur-slow: 400ms;

    /* Per-engine accent gradients */
    --wsp-grad-classic: linear-gradient(135deg, #4f46e5, #7c3aed);
    --wsp-grad-center: linear-gradient(135deg, #059669, #10b981);
    --wsp-grad-combo: linear-gradient(135deg, #d97706, #f59e0b);
    --wsp-grad-lucky: linear-gradient(135deg, #7e22ce, #c026d3);
    --wsp-grad-coin: linear-gradient(135deg, #b45309, #fbbf24);
    --wsp-grad-dice: linear-gradient(135deg, #b91c1c, #ef4444);
}

/* Visible keyboard focus everywhere (a11y) */
.btn:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible {
    outline: 3px solid rgba(79, 70, 229, 0.55);
    outline-offset: 2px;
}

/* ── Primary action buttons on engine pages ────────────────────────────────
   Gentle idle pulse invites the first interaction; hover lift + press dip.
   Only .spin-center-btn overlays (classic wheel) need translate(-50%, -50%);
   below-area buttons (center-spin, coin-toss, combo-spin) use scale only. */
body[class*="page-"] #mainSpinBtn,
body[class*="page-"] #comboSpinBtn,
body[class*="page-"] #luckyBoxBtn,
body[class*="page-"] #centerSpinBtn:not(.spin-center-btn),
body[class*="page-"] #mainRollBtn {
    transition: transform var(--wsp-dur-fast) var(--wsp-ease-out),
                box-shadow var(--wsp-dur-fast) var(--wsp-ease-out);
    animation: wspActionPulse 2.4s var(--wsp-ease-out) infinite;
}

body[class*="page-"] #centerSpinBtn.spin-center-btn {
    transition: transform var(--wsp-dur-fast) var(--wsp-ease-out),
                box-shadow var(--wsp-dur-fast) var(--wsp-ease-out);
    animation: wspActionPulseCentered 2.4s var(--wsp-ease-out) infinite;
}

body[class*="page-"] #mainSpinBtn:hover,
body[class*="page-"] #comboSpinBtn:hover,
body[class*="page-"] #luckyBoxBtn:hover,
body[class*="page-"] #centerSpinBtn:not(.spin-center-btn):hover,
body[class*="page-"] #mainRollBtn:hover {
    transform: scale(1.04);
    box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.18);
    animation-play-state: paused;
}

body[class*="page-"] #centerSpinBtn.spin-center-btn:hover {
    transform: translate(-50%, -50%) scale(1.04);
    box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.18);
    animation-play-state: paused;
}

body[class*="page-"] #mainSpinBtn:active,
body[class*="page-"] #comboSpinBtn:active,
body[class*="page-"] #luckyBoxBtn:active,
body[class*="page-"] #centerSpinBtn:not(.spin-center-btn):active,
body[class*="page-"] #mainRollBtn:active {
    transform: scale(0.97);
}

body[class*="page-"] #centerSpinBtn.spin-center-btn:active {
    transform: translate(-50%, -50%) scale(0.97);
}

body[class*="page-"] #mainSpinBtn:disabled,
body[class*="page-"] #comboSpinBtn:disabled,
body[class*="page-"] #luckyBoxBtn:disabled,
body[class*="page-"] #centerSpinBtn:not(.spin-center-btn):disabled,
body[class*="page-"] #mainRollBtn:disabled {
    animation: none;
    transform: none;
    opacity: 0.65;
}

body[class*="page-"] #centerSpinBtn.spin-center-btn:disabled {
    animation: none;
    transform: translate(-50%, -50%);
    opacity: 0.65;
}

@keyframes wspActionPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes wspActionPulseCentered {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.02); }
}

/* ── Winner modal entrance: spring pop instead of Bootstrap's plain fade ── */
#winnerModal .modal-content {
    transform: scale(0.92);
    opacity: 0;
    transition: transform var(--wsp-dur-med) var(--wsp-ease-spring),
                opacity var(--wsp-dur-med) ease;
}

#winnerModal.show .modal-content {
    transform: scale(1);
    opacity: 1;
}

/* ── Per-engine accent identity (Default theme only) ───────────────────────
   Scope: no data-theme attribute (anonymous default) or explicit "default".
   themes.css rules for body[data-theme] appear later in the cascade and win
   for every user-chosen theme; High Contrast is untouched. */
/* Classic wheel: NO per-engine gradient override — its centre SPIN button uses the
   same blue `.spin-center-btn` background as the home-page button (Default theme) and
   inherits `--theme-accent` on themed pages, so it always matches home + the theme. */

body.page-center-spin:not([data-theme]) #centerSpinBtn,
body.page-center-spin[data-theme="default"] #centerSpinBtn {
    background-image: var(--wsp-grad-center);
    border-color: transparent;
    color: #fff;
}

body.page-combo-spin:not([data-theme]) #centerSpinBtn,
body.page-combo-spin[data-theme="default"] #centerSpinBtn {
    background-image: var(--wsp-grad-combo);
    border-color: transparent;
    color: #fff;
}

body.page-lucky-box:not([data-theme]) #centerSpinBtn,
body.page-lucky-box[data-theme="default"] #centerSpinBtn {
    background-image: var(--wsp-grad-lucky);
    border-color: transparent;
    color: #fff;
}

body.page-coin-toss:not([data-theme]) #centerSpinBtn,
body.page-coin-toss[data-theme="default"] #centerSpinBtn {
    background-image: var(--wsp-grad-coin);
    border-color: transparent;
    color: #fff;
}

body.page-dice-roll:not([data-theme]) #mainRollBtn,
body.page-dice-roll[data-theme="default"] #mainRollBtn {
    background-image: var(--wsp-grad-dice);
    border-color: transparent;
    color: #fff;
}

/* ── Reduced motion: kill decorative animation, keep function ───────────── */
@media (prefers-reduced-motion: reduce) {
    body[class*="page-"] #mainSpinBtn,
    body[class*="page-"] #centerSpinBtn,
    body[class*="page-"] #mainRollBtn {
        animation: none;
        transition: none;
    }

    #winnerModal .modal-content {
        transition: none;
        transform: none;
        opacity: 1;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   TOOL INTRO STRIP (Batch 4)
   Compact content-first band above each engine's tool: the page's single H1,
   a short unique lead paragraph, and three audience chips. Theme-variable
   driven; per-engine accent comes from the page's --wsp-grad-* identity set in
   the visual-polish layer. Keeps the tool above the fold on desktop.
   ═══════════════════════════════════════════════════════════════════════════ */
.tool-intro {
    max-width: 820px;
    margin: 0 auto 1.5rem;
    text-align: center;
    padding: 0 1rem;
}

.tool-intro h1 {
    font-size: clamp(1.6rem, 3.4vw, 2.4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.6rem;
    color: var(--theme-text, #212529);
}

.tool-intro .tool-intro-lead {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--theme-muted, #55606b);
    margin-bottom: 1rem;
}

.tool-intro-audience {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tool-intro-audience li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--theme-text, #343a40);
    background: var(--theme-surface, #f1f3f5);
    border: 1px solid var(--theme-border, #e2e6ea);
    border-radius: 999px;
    padding: 0.35rem 0.85rem;
}

.tool-intro-audience li .tool-intro-emoji {
    font-size: 1rem;
    line-height: 1;
}

@media (max-width: 575px) {
    .tool-intro { margin-bottom: 1rem; }
    .tool-intro-audience li { font-size: 0.8rem; padding: 0.3rem 0.7rem; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   CONTENT GUIDE — consistent, professional typographic scale for the in-depth
   SEO content sections and niche-tool pages (Batch 4/6 revamp).
   Controls SIZE / WEIGHT / LINE-HEIGHT / SPACING only; colour is inherited so
   the 7 themes keep working. Use plain semantic h2/h3/h4 inside .content-guide
   instead of the theme's .display-* classes, so every section shares one rhythm.
   ═══════════════════════════════════════════════════════════════════════════ */
/* Typography only — width/centring is handled by the existing Bootstrap grid. */
.content-guide h2 {
    font-size: clamp(1.55rem, 1rem + 1.9vw, 2.05rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 0.85rem;
}
.content-guide h3 {
    font-size: clamp(1.2rem, 0.95rem + 1vw, 1.45rem);
    font-weight: 700;
    line-height: 1.3;
    margin: 2.25rem 0 0.6rem;
}
.content-guide h4,
.content-guide h5 {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 1.5rem 0 0.5rem;
}
.content-guide .content-lead,
.content-guide .lead {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-weight: 400;
}
.content-guide p {
    font-size: 1.0625rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}
.content-guide ul,
.content-guide ol { margin-bottom: 1rem; }
.content-guide li {
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: 0.35rem;
}
.content-guide .table { font-size: 1rem; }
.content-guide .table th { font-weight: 700; }
/* Kill top margin on the first heading so section padding controls the gap */
.content-guide > *:first-child,
.content-guide > .row:first-child h2,
.content-guide > .row:first-child h3 { margin-top: 0; }

/* Niche winner modal — celebratory trophy icon (matches classic winner modal) */
.nw-icon {
    font-size: 2.6rem;
    color: #f5b301;
    line-height: 1;
}

/* ══ "More Tools" mega-menu (desktop ≥992px) ═══════════════════════════
   Multi-column panel replacing the overcrowded single dropdown list.
   Links reuse .dropdown-item so per-theme colours + hover are inherited
   from themes.css automatically; layout is overridden below. */
.wsp-megamenu {
    width: 46rem;
    max-width: 96vw;
    padding: 0;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 14px 44px rgba(30, 34, 40, 0.16);
    overflow: hidden;
}
.wsp-megamenu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.15rem 0.25rem;
    padding: 1rem 1rem 0.85rem;
}
.wsp-mega-col {
    min-width: 0;
}
.wsp-mega-head {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: inherit;
    opacity: 0.5;
    padding: 0.15rem 0.55rem 0.5rem;
}
.wsp-mega-link.dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    white-space: normal;
    padding: 0.42rem 0.55rem;
    border-radius: 9px;
}
.wsp-megamenu .wsp-mega-link:hover,
.wsp-megamenu .wsp-mega-link:focus {
    background-color: rgba(63, 120, 224, 0.10);
    color: #3f78e0;
}
.wsp-mega-link .bi {
    font-size: 1.05rem;
    line-height: 1.25;
    flex-shrink: 0;
    opacity: 0.85;
}
.wsp-mega-link-txt {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    min-width: 0;
}
.wsp-mega-link-txt strong {
    font-weight: 600;
    font-size: 0.9rem;
}
.wsp-mega-link-txt small {
    font-size: 0.72rem;
    opacity: 0.62;
}
.wsp-megamenu-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.4rem;
    padding: 0.7rem 1.35rem;
    border-top: 1px solid rgba(128, 128, 128, 0.18);
    background: rgba(128, 128, 128, 0.05);
}
.wsp-megamenu-foot a {
    font-size: 0.82rem;
    font-weight: 600;
    color: #3f78e0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.wsp-megamenu-foot a:hover {
    text-decoration: underline;
}
/* Keep the wide mega-menu fully inside the viewport regardless of where the
   toggle sits: pin it just below the navbar and centre it in the viewport.
   position:fixed makes left:50% viewport-relative, so it can never overflow. */
@media (min-width: 992px) {
    .wsp-megamenu {
        position: fixed !important;
        top: 68px !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        margin: 0 !important;
        max-width: calc(100vw - 2rem);
    }
}
@media (min-width: 992px) and (max-width: 1140px) {
    .wsp-megamenu { width: 41rem; }
    .wsp-mega-link-txt small { display: none; }
}
/* Theme awareness for the non-.dropdown-item bits */
body[data-theme] .wsp-mega-head { color: var(--theme-text); }
body[data-theme] .wsp-megamenu-foot a { color: var(--theme-accent) !important; }
body[data-theme="high-contrast"] .wsp-mega-head,
body[data-theme="high-contrast"] .wsp-mega-link-txt small,
body[data-theme="high-contrast"] .wsp-mega-link .bi { opacity: 1; }

/* Mobile offcanvas: section sub-headings inside the collapsible tools list */
.wsp-mnav-head {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.55;
    padding: 0.6rem 0 0.15rem 1rem;
}

/* ══ Preset Library (searchable gallery modal) ═════════════════════════ */
.wsp-pl-badge {
    background: #3f78e0;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
}
.wsp-pl-note {
    font-size: 0.8rem;
    opacity: 0.6;
}

/* ══ Home "How It Works" — illustrated steps (inline SVG art) ══════════ */
.wsp-hiw-step {
    --ill-surface: #ffffff;
    --ill-ink: #2b2f36;
    --ill-accent: #3f78e0;
    padding: 0.5rem 0.5rem 0;
}
body[data-theme] .wsp-hiw-step {
    --ill-surface: rgba(255, 255, 255, 0.10);
    --ill-ink: var(--theme-text);
    --ill-accent: var(--theme-accent);
}
.wsp-hiw-art {
    width: 128px;
    height: 128px;
    margin: 0 auto 0.5rem;
}
.wsp-hiw-art svg {
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 6px 14px rgba(30, 34, 40, 0.10));
    transition: transform 0.28s cubic-bezier(0.33, 1, 0.68, 1);
}
.wsp-hiw-step:hover .wsp-hiw-art svg {
    transform: translateY(-5px) rotate(-2deg);
}
.wsp-hiw-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #3f78e0;
    background: rgba(63, 120, 224, 0.12);
    padding: 0.18rem 0.7rem;
    border-radius: 999px;
}
body[data-theme] .wsp-hiw-badge {
    color: var(--theme-accent);
    background: rgba(var(--theme-accent-rgb), 0.16);
}
.wsp-hiw-txt {
    font-size: 1rem;
    color: #60697b;
    line-height: 1.6;
    max-width: 22rem;
    margin-inline: auto;
}
body[data-theme] .wsp-hiw-txt {
    color: var(--theme-text);
    opacity: 0.82;
}
@media (prefers-reduced-motion: reduce) {
    .wsp-hiw-art svg { transition: none; }
    .wsp-hiw-step:hover .wsp-hiw-art svg { transform: none; }
}

/* ══ Home Features — premium cards with inline-SVG art ═════════════════ */
.wsp-feat-card {
    --ill-surface: #ffffff;
    --ill-ink: #2b2f36;
    padding: 1.8rem 1.5rem;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(128, 128, 128, 0.14);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.wsp-feat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 34px rgba(30, 34, 40, 0.10);
    border-color: rgba(63, 120, 224, 0.30);
}
body[data-theme] .wsp-feat-card {
    --ill-surface: rgba(255, 255, 255, 0.12);
    --ill-ink: var(--theme-text);
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(255, 255, 255, 0.10);
}
body[data-theme] .wsp-feat-card:hover {
    border-color: rgba(var(--theme-accent-rgb), 0.4);
}
.wsp-feat-ill {
    --ill-surface: #ffffff;
    --ill-ink: #2b2f36;
    width: 84px;
    height: 84px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    margin-bottom: 1.1rem;
    background: rgba(63, 120, 224, 0.09);
}
body[data-theme] .wsp-feat-ill {
    --ill-surface: rgba(255, 255, 255, 0.12);
    --ill-ink: var(--theme-text);
    background: rgba(var(--theme-accent-rgb), 0.14);
}
.wsp-feat-ill svg {
    width: 52px;
    height: 52px;
    display: block;
}
.wsp-feat-txt {
    color: #60697b;
    font-size: 0.98rem;
    line-height: 1.6;
    margin: 0;
}
body[data-theme] .wsp-feat-txt {
    color: var(--theme-text);
    opacity: 0.8;
}
.wsp-feat-note {
    color: #60697b;
    font-size: 1.02rem;
}
body[data-theme] .wsp-feat-note {
    color: var(--theme-text);
    opacity: 0.85;
}
@media (prefers-reduced-motion: reduce) {
    .wsp-feat-card { transition: none; }
    .wsp-feat-card:hover { transform: none; }
}

/* ══ Home Use Cases — cards with inline-SVG art + CTA ══════════════════ */
.wsp-uc-card {
    display: flex;
    flex-direction: column;
    padding: 1.6rem 1.5rem;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(128, 128, 128, 0.14);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.wsp-uc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 34px rgba(30, 34, 40, 0.10);
    border-color: rgba(63, 120, 224, 0.30);
}
body[data-theme] .wsp-uc-card {
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(255, 255, 255, 0.10);
}
body[data-theme] .wsp-uc-card:hover {
    border-color: rgba(var(--theme-accent-rgb), 0.4);
}
.wsp-uc-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
}
.wsp-uc-ico {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(63, 120, 224, 0.09);
}
body[data-theme] .wsp-uc-ico {
    background: rgba(var(--theme-accent-rgb), 0.14);
}
.wsp-uc-ico svg {
    width: 34px;
    height: 34px;
    display: block;
}
.wsp-uc-txt {
    color: #60697b;
    font-size: 0.97rem;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1rem;
}
body[data-theme] .wsp-uc-txt {
    color: var(--theme-text);
    opacity: 0.8;
}
.wsp-uc-cta {
    font-weight: 600;
    font-size: 0.92rem;
    color: #3f78e0;
    text-decoration: none;
    align-self: flex-start;
}
.wsp-uc-cta:hover {
    text-decoration: underline;
}
body[data-theme] .wsp-uc-cta {
    color: var(--theme-accent);
}
@media (prefers-reduced-motion: reduce) {
    .wsp-uc-card { transition: none; }
    .wsp-uc-card:hover { transform: none; }
}

/* ══ Home Spin Modes — cards showing each mechanic via inline-SVG ══════ */
.wsp-mode-card {
    --ill-surface: #ffffff;
    --ill-ink: #2b2f36;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.8rem 1.4rem;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(128, 128, 128, 0.14);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.wsp-mode-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 38px rgba(30, 34, 40, 0.12);
    border-color: rgba(63, 120, 224, 0.30);
}
body[data-theme] .wsp-mode-card {
    --ill-surface: rgba(255, 255, 255, 0.14);
    --ill-ink: var(--theme-text);
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(255, 255, 255, 0.10);
}
body[data-theme] .wsp-mode-card:hover {
    border-color: rgba(var(--theme-accent-rgb), 0.4);
}
.wsp-mode-ill {
    width: 104px;
    height: 104px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    margin-bottom: 1.1rem;
    background: linear-gradient(160deg, rgba(63, 120, 224, 0.10), rgba(63, 120, 224, 0.04));
}
body[data-theme] .wsp-mode-ill {
    background: linear-gradient(160deg, rgba(var(--theme-accent-rgb), 0.16), rgba(var(--theme-accent-rgb), 0.06));
}
.wsp-mode-ill svg {
    width: 74px;
    height: 74px;
    display: block;
}
.wsp-mode-txt {
    color: #60697b;
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 0.6rem;
}
.wsp-mode-best {
    color: #60697b;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}
body[data-theme] .wsp-mode-txt,
body[data-theme] .wsp-mode-best {
    color: var(--theme-text);
    opacity: 0.8;
}
.wsp-mode-cta {
    font-weight: 600;
    font-size: 0.9rem;
    color: #3f78e0;
    text-decoration: none;
    margin-top: auto;
}
.wsp-mode-cta:hover {
    text-decoration: underline;
}
body[data-theme] .wsp-mode-cta {
    color: var(--theme-accent);
}
.wsp-mode-note {
    color: #60697b;
}
body[data-theme] .wsp-mode-note {
    color: var(--theme-text);
    opacity: 0.85;
}
@media (prefers-reduced-motion: reduce) {
    .wsp-mode-card { transition: none; }
    .wsp-mode-card:hover { transform: none; }
}

/* ══ Home FAQ — two-column, illustrated, clean accordion ═══════════════ */
.wsp-faq-aside { position: sticky; top: 90px; }
.wsp-faq-art { max-width: 210px; margin: 0.25rem 0 1.4rem; }
.wsp-faq-art svg {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 8px 18px rgba(30, 34, 40, 0.12));
}
.wsp-faq-more { font-size: 0.92rem; color: #60697b; }
body[data-theme] .wsp-faq-more { color: var(--theme-text); opacity: 0.82; }
.wsp-faq-more a { font-weight: 600; color: #3f78e0; }
body[data-theme] .wsp-faq-more a { color: var(--theme-accent); }
.wsp-faq-accordion .accordion-item {
    border: 1px solid rgba(128, 128, 128, 0.16);
    border-radius: 12px !important;
    margin-bottom: 0.7rem;
    overflow: hidden;
    background: transparent;
}
.wsp-faq-accordion .accordion-button {
    font-weight: 600;
    font-size: 1.02rem;
    background: transparent;
}
.wsp-faq-accordion .accordion-button:not(.collapsed) {
    color: #3f78e0;
    background: rgba(63, 120, 224, 0.06);
    box-shadow: none;
}
.wsp-faq-accordion .accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(63, 120, 224, 0.15);
}
body[data-theme] .wsp-faq-accordion .accordion-button:not(.collapsed) {
    color: var(--theme-accent);
    background: rgba(var(--theme-accent-rgb), 0.10);
}
.wsp-faq-accordion .accordion-body {
    color: #60697b;
    line-height: 1.65;
}
body[data-theme] .wsp-faq-accordion .accordion-body { color: var(--theme-text); opacity: 0.85; }
@media (max-width: 991.98px) {
    .wsp-faq-aside { position: static; text-align: center; }
    .wsp-faq-art { margin-inline: auto; }
}

/* ══ Home fairness-flow explainer (seo-content) ═══════════════════════ */
.wsp-flow {
    --ill-surface: #ffffff;
    --ill-ink: #2b2f36;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.5rem;
    max-width: 940px;
    margin: 0 auto 4rem;
    flex-wrap: wrap;
}
body[data-theme] .wsp-flow {
    --ill-surface: rgba(255, 255, 255, 0.12);
    --ill-ink: var(--theme-text);
}
.wsp-flow-step {
    flex: 1 1 220px;
    max-width: 260px;
    text-align: center;
    padding: 0 0.5rem;
}
.wsp-flow-ico {
    width: 88px;
    height: 88px;
    border-radius: 22px;
    display: grid;
    place-items: center;
    margin: 0 auto 1rem;
    background: rgba(63, 120, 224, 0.09);
}
body[data-theme] .wsp-flow-ico {
    background: rgba(var(--theme-accent-rgb), 0.14);
}
.wsp-flow-ico svg { width: 52px; height: 52px; display: block; }
.wsp-flow-h { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem; }
.wsp-flow-p { font-size: 0.9rem; line-height: 1.55; color: #60697b; margin: 0; }
body[data-theme] .wsp-flow-p { color: var(--theme-text); opacity: 0.8; }
.wsp-flow-arrow {
    align-self: center;
    color: #94a3b8;
    flex: 0 0 auto;
    margin-top: 30px;
}
.wsp-flow-arrow svg { width: 40px; height: 24px; display: block; }
@media (max-width: 767.98px) {
    .wsp-flow-arrow { transform: rotate(90deg); margin: 0.25rem 0; }
    .wsp-flow-step { flex-basis: 100%; max-width: 340px; }
}
.wsp-pl-modal {
    border: 0;
    border-radius: 16px;
    overflow: hidden;
}
.wsp-pl-count-lbl {
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.55;
    margin-left: 0.4rem;
}
.wsp-pl-toolbar {
    padding: 0.85rem 1rem 0.6rem;
    border-bottom: 1px solid rgba(128, 128, 128, 0.16);
    position: sticky;
    top: 0;
    z-index: 2;
    background: inherit;
}
.wsp-pl-search {
    position: relative;
    margin-bottom: 0.7rem;
}
.wsp-pl-search .bi {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.5;
    pointer-events: none;
}
.wsp-pl-search input {
    width: 100%;
    padding: 0.6rem 0.9rem 0.6rem 2.4rem;
    border: 1px solid rgba(128, 128, 128, 0.28);
    border-radius: 10px;
    background: rgba(128, 128, 128, 0.06);
    color: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.wsp-pl-search input:focus {
    border-color: #3f78e0;
    box-shadow: 0 0 0 3px rgba(63, 120, 224, 0.14);
}
.wsp-pl-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.wsp-pl-chip {
    border: 1px solid rgba(128, 128, 128, 0.28);
    background: transparent;
    color: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.28rem 0.72rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}
.wsp-pl-chip:hover {
    border-color: #3f78e0;
    color: #3f78e0;
}
.wsp-pl-chip.active {
    background: #3f78e0;
    border-color: #3f78e0;
    color: #fff;
}
/* Popular presets — visible strip of 20 important presets, equal-size cards */
.wsp-pl-quick {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
    gap: 0.5rem;
}
.wsp-pl-quick-chip {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    text-align: left;
    padding: 0.55rem 0.7rem;
    border: 1px solid rgba(128, 128, 128, 0.2);
    border-radius: 10px;
    background: rgba(128, 128, 128, 0.04);
    color: inherit;
    cursor: pointer;
    transition: transform 0.13s ease, border-color 0.13s ease, box-shadow 0.13s ease;
}
.wsp-pl-quick-chip:hover {
    transform: translateY(-2px);
    border-color: #3f78e0;
    box-shadow: 0 6px 16px rgba(63, 120, 224, 0.14);
}
body[data-theme] .wsp-pl-quick-chip:hover { border-color: var(--theme-accent); }
.wsp-pl-quick-cat {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #3f78e0;
    opacity: 0.9;
}
body[data-theme] .wsp-pl-quick-cat { color: var(--theme-accent); }
.wsp-pl-quick-t {
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Modal body: category groups, each on its own row */
.wsp-pl-grid { display: block; }
.wsp-pl-group { margin-bottom: 1.4rem; }
.wsp-pl-group:last-child { margin-bottom: 0; }
.wsp-pl-group-h {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.72;
    margin: 0 0 0.6rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(128, 128, 128, 0.14);
}
.wsp-pl-group-h span {
    font-weight: 600;
    opacity: 0.6;
    font-size: 0.74rem;
    margin-left: 0.25rem;
}
.wsp-pl-grid-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 0.75rem;
}
.wsp-pl-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.28rem;
    text-align: left;
    padding: 0.85rem 0.9rem;
    border: 1px solid rgba(128, 128, 128, 0.2);
    border-radius: 12px;
    background: rgba(128, 128, 128, 0.035);
    color: inherit;
    cursor: pointer;
    transition: transform 0.13s ease, border-color 0.13s ease, box-shadow 0.13s ease;
}
.wsp-pl-card:hover {
    transform: translateY(-3px);
    border-color: #3f78e0;
    box-shadow: 0 8px 22px rgba(63, 120, 224, 0.14);
}
.wsp-pl-card-cat {
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #3f78e0;
    opacity: 0.9;
}
.wsp-pl-card-title {
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.2;
}
.wsp-pl-card-preview {
    font-size: 0.78rem;
    opacity: 0.6;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.wsp-pl-card-go {
    margin-top: 0.35rem;
    font-size: 0.76rem;
    font-weight: 600;
    color: #3f78e0;
    opacity: 0;
    transform: translateY(2px);
    transition: opacity 0.13s ease, transform 0.13s ease;
}
.wsp-pl-card:hover .wsp-pl-card-go,
.wsp-pl-card:focus-visible .wsp-pl-card-go {
    opacity: 1;
    transform: translateY(0);
}
.wsp-pl-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2.5rem 1rem;
    opacity: 0.55;
}
.wsp-pl-empty .bi {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}
@media (max-width: 575.98px) {
    .wsp-pl-grid-row { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
/* Theme awareness: accent bits follow the site theme */
body[data-theme] .wsp-pl-badge,
body[data-theme] .wsp-pl-chip.active { background: var(--theme-accent); }
body[data-theme] .wsp-pl-card-cat,
body[data-theme] .wsp-pl-card-go { color: var(--theme-accent); }
body[data-theme] .wsp-pl-chip:hover,
body[data-theme] .wsp-pl-chip.active { border-color: var(--theme-accent); }
body[data-theme] .wsp-pl-chip.active { color: var(--theme-button-text, #fff); }
body[data-theme] .wsp-pl-card:hover { border-color: var(--theme-accent); }
body[data-theme] .wsp-pl-search input:focus { border-color: var(--theme-accent); }
