/*
 * Enter any custom CSS here.
 * This file will not be overwritten by theme updates.
*/

/* Scroll fade animation */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all .6s ease-out;
}
.fade-up-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Glow hover */
.animated-card {
    transition: all 0.25s ease;
    background: rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.06);
    backdrop-filter: blur(4px);
}
.animated-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 20px rgba(0,140,255,.5), 0 0 35px rgba(162,0,255,.4);
    border-color: rgba(162,0,255,.7);
}

/* Product image glow */
.product-img {
    transition: 0.3s ease;
    filter: drop-shadow(0px 0px 6px rgba(0,140,255,0.4));
}
.animated-card:hover .product-img {
    filter: drop-shadow(0px 0px 12px rgba(162,0,255,0.7));
}

/* --- Wider, Softer Neon Glow for Hero Logo --- */
.hero-logo-neon {
    animation: heroPulse 4s ease-in-out infinite;
    filter:
        drop-shadow(0 0 14px rgba(0, 140, 255, 0.28))
        drop-shadow(0 0 26px rgba(140, 0, 255, 0.22))
        drop-shadow(0 0 40px rgba(140, 0, 255, 0.18));
}

@keyframes heroPulse {
    0% {
        filter:
            drop-shadow(0 0 10px rgba(0, 140, 255, 0.24))
            drop-shadow(0 0 22px rgba(140, 0, 255, 0.18))
            drop-shadow(0 0 36px rgba(140, 0, 255, 0.15));
    }
    50% {
        filter:
            drop-shadow(0 0 20px rgba(0, 180, 255, 0.38))
            drop-shadow(0 0 34px rgba(160, 0, 255, 0.30))
            drop-shadow(0 0 50px rgba(160, 0, 255, 0.22));
    }
    100% {
        filter:
            drop-shadow(0 0 10px rgba(0, 140, 255, 0.24))
            drop-shadow(0 0 22px rgba(140, 0, 255, 0.18))
            drop-shadow(0 0 36px rgba(140, 0, 255, 0.15));
    }
}

/* NAVBAR BACKGROUND */
.modern-nav {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* LOGO + TITLE */
.nav-logo {
  height: 34px;
  width: auto;
  filter: drop-shadow(0 0 4px rgba(0,0,0,0.4));
}

.nav-title {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* NAV LINKS */
.modern-link {
  color: #cccccc !important;
  font-weight: 600;
  font-size: 16px;
  transition: 0.2s ease;
  position: relative;
}

.modern-link:hover {
  color: #fff !important;
  text-shadow: 0 0 4px rgba(255,255,255,0.5);
}

/* UNDER GLOW DOT */
.modern-link::after {
  content: "";
  width: 7px;
  height: 7px;
  background: #4d9dff;
  border-radius: 50%;
  position: absolute;
  bottom: -6px;
  left: 50%;
  opacity: 0;
  transform: translateX(-50%) scale(0);
  transition: 0.25s ease;
}

.modern-link:hover::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* BUTTONS */
.modern-btn, .discord-btn {
  background: rgba(255,255,255,0.08);
  border: 3px solid rgba(255,255,255,0.12);
  padding: 8px 16px;
  border-radius: 12px;
  color: white !important;
  font-weight: 600;
  transition: 0.2s;
}

.modern-btn:hover {
  background: rgba(255,255,255,0.16);
}

/* DISCORD BUTTON (blue glow) */
.discord-btn {
  background: rgba(88, 101, 242, 0.2);
  border: 3px solid rgba(88,101,242,0.5);
  box-shadow: 0 0 12px rgba(88,101,242,0.25);
}

.discord-btn:hover {
  background: rgba(88,101,242,0.35);
  box-shadow: 0 0 16px rgba(88,101,242,0.5);
}

/* DROPDOWN (base select) */
.modern-currency select {
  background: rgba(255,255,255,0.1);
  color: white;
  border-radius: 10px;
  padding: 6px 12px;
  border: 3px solid rgba(255,255,255,0.15);
}

/* CART BUBBLE */
.count-bubble {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #4da0ff;
  padding: 2px 7px;
  font-size: 12px;
  border-radius: 50px;
  color: white;
  font-weight: 700;
}

/* FIX PRODUCT CARD HEIGHT */
.product-card,
.card {
    height: auto !important;
    min-height: unset !important;
    padding-bottom: 15px !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.product-card img,
.card img {
    width: 100% !important;
    height: 240px !important;
    object-fit: cover !important;
    border-radius: 8px;
}

.product-card .card-body,
.card .card-body {
    padding-top: 12px !important;
}

/* HERO BASE */
.su-hero {
  background-size: cover;
  background-position: center;
  padding: 130px 0 120px;
  position: relative;
  overflow: hidden;
  padding-left: 40px !important; /* shift content slightly left */
}

/* HERO OVERLAY */
.su-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 15, 0.7);
  backdrop-filter: blur(3px);
}

/* HERO GRID */
.su-hero-grid {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start !important;
  gap: 50px;
}

/* LEFT SIDE */
.su-hero-left {
  max-width: 520px !important;
  margin-right: auto !important;
  z-index: 10;
}

/* TITLE */
.su-hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 10px;
}

/* TYPING TEXT */
.su-hero-type {
  font-size: 1.8rem;
  height: 40px;
  margin-bottom: 25px;
  color: #7db3ff;
  font-weight: 600;
}

.cursor {
  display: inline-block;
  margin-left: 4px;
  animation: blink 0.8s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* SEARCH */
.su-searchbar {
  width: 100%;
  background: rgba(255,255,255,0.08);
  padding: 14px 18px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 15px;
  border: 1px solid rgba(255,255,255,0.12);
}

.su-searchbar i {
  color: #fff;
  font-size: 1.1rem;
}

/* HERO BUTTONS */
.su-btn-row {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.su-btn-primary,
.su-btn-secondary {
  padding: 12px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: 0.2s;
}

.su-btn-primary {
  background: #3b82ff;
  color: white;
  box-shadow: 0 0 15px #3b82ff60;
}
.su-btn-primary:hover {
  background: #1d6dff;
}

.su-btn-secondary {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
}
.su-btn-secondary:hover {
  background: rgba(255,255,255,0.2);
}

/* HERO STATS */
.su-stats {
  display: flex;
  gap: 25px;
  margin-top: 40px;
}

.su-stat-box {
  background: rgba(255,255,255,0.08);
  padding: 18px 24px;
  border-radius: 12px;
  text-align: center;
  min-width: 130px;
  border: 1px solid rgba(255,255,255,0.15);
}

.su-stat-box strong {
  font-size: 1.6rem;
  color: #fff;
  display: block;
}

.su-stat-box span {
  font-size: 0.9rem;
  color: #d0d0d0;
}

/* RIGHT IMAGE */
.su-hero-right {
  margin-left: auto !important;
}

.su-hero-img {
  width: 420px;
  filter: drop-shadow(0 0 25px #6a00ff80);
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* REMOVE UNDERLINE FROM HERO BUTTONS/LINKS */
.su-hero a,
.su-btn-primary,
.su-btn-secondary,
.su-btn-primary:hover,
.su-btn-secondary:hover {
    text-decoration: none !important;
}

/* ========================== */
/*  USD CURRENCY BORDER FIX   */
/* ========================== */

/* Choices.js wrapper for the currency dropdown */
.currency-selector .choices__inner {
    border-width: 3px !important;
    border-radius: 12px !important;
    border-color: #3b82ff !important;
}

/* Keep it thick when focused / open */
.currency-selector .choices.is-focused .choices__inner,
.currency-selector .choices.is-open .choices__inner {
    border-width: 3px !important;
    border-color: #3b82ff !important;
}


/* SMALLER HERO STAT BOXES */
.su-stat-box {
    padding: 10px 16px !important; /* smaller box */
    min-width: 100px !important;   /* reduce width */
    border-radius: 8px !important; /* less rounded */
}

.su-stat-box strong {
    font-size: 1.2rem !important;  /* reduce big number */
}

.su-stat-box span {
    font-size: 0.75rem !important; /* smaller label text */
    line-height: 1.1 !important; 
}


/* ===========================
   WIDER + CLEANER SEARCH MODAL
   =========================== */

/* Make modal wider */
.search-modal .modal-dialog {
    max-width: 760px !important;  /* Increase width */
    width: 90% !important;
    margin: auto;
}

/* Modal background */
.search-modal .modal-content {
    background: rgba(15, 15, 25, 0.92);
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    padding-top: 10px;
}

/* Header area */
.search-modal .modal-header {
    border: none;
    padding: 20px 25px;
}

/* Search input box */
.search-modal .searchbar {
    width: 100%;
    background: rgba(255,255,255,0.08);
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-modal .searchbar input {
    background: transparent;
    border: none;
    width: 100%;
    font-size: 1.1rem;
    color: #fff;
}

.search-modal .searchbar input:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Product list spacing */
.search-modal .modal-body {
    padding: 10px 25px 25px 25px;
}

/* Product card layout */
.search-modal .product {
    display: flex;
    width: 100%;
    padding: 14px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 16px;
    gap: 18px;
    transition: 0.25s ease;
}

.search-modal .product:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(90,150,255,0.4);
    transform: translateY(-3px);
}

/* Product image */
.search-modal .product .image img {
    width: 110px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
}

/* Product text */
.search-modal .product .text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.search-modal .product .text p {
    margin: 0;
    color: #ccc;
    font-size: 0.95rem;
}

.search-modal .stock {
    font-weight: 600;
    margin-top: 5px;
}

.search-modal .stock-unlimited {
    color: #4da0ff;
}

/* Right side wrapper */
.search-modal .product .right {
    margin-left: auto;
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 120px;
}

/* ============================================
   SILENT UTILITY — PREMIUM NEON SEARCH UI
   Blue → Purple gradient theme
   ============================================ */

/* ---- Modal Size ---- */
.modal.search-modal .modal-dialog {
    max-width: 900px !important;
    width: 96% !important;
    margin: 50px auto !important;
}

/* ---- Modal Background ---- */
.modal.search-modal .modal-content {
    background: rgba(10, 10, 25, 0.85);
    backdrop-filter: blur(18px);
    border-radius: 18px;
    border: 1px solid rgba(120, 120, 255, 0.18);
    box-shadow: 0 0 35px rgba(80, 100, 255, 0.25),
                0 0 60px rgba(140, 0, 255, 0.25);
    padding-bottom: 25px;
}

/* ---- Header ---- */
.modal.search-modal .modal-header {
    border: none !important;
    padding: 18px 28px !important;
}

/* ---- Search Bar ---- */
.modal.search-modal .searchbar {
    width: 100%;
    background: linear-gradient(
        145deg,
        rgba(40,40,70,0.5),
        rgba(20,20,35,0.4)
    );
    border-radius: 12px;
    padding: 14px 20px;
    border: 1px solid rgba(120,120,255,0.28);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: 0.2s ease;
    box-shadow: 0 0 15px rgba(70, 110, 255, 0.15);
}

.modal.search-modal .searchbar:hover {
    border-color: rgba(140, 0, 255, 0.4);
    box-shadow: 0 0 22px rgba(80,130,255,0.35),
                0 0 35px rgba(140,0,255,0.25);
}

.modal.search-modal .searchbar input {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 1.05rem;
}

/* ---- Product List ---- */
.modal.search-modal .modal-body {
    padding: 5px 25px 10px 25px !important;
}

/* Product Item Container */
.modal.search-modal .product-item {
    background: rgba(20,20,35,0.55);
    border: 1px solid rgba(120, 120, 255, 0.18);
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 18px;
    display: flex;
    gap: 18px;
    align-items: center;
    transition: 0.25s ease;
}

/* Hover glow */
.modal.search-modal .product-item:hover {
    transform: translateY(-4px);
    border-color: rgba(140, 0, 255, 0.45);
    box-shadow: 0 0 20px rgba(80,130,255,0.4),
                0 0 35px rgba(140,0,255,0.35);
}

/* Product Image */
.modal.search-modal .product-item img {
    width: 78px;
    height: 78px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(80,120,255,0.35);
}

/* ---- Product Title ---- */
.modal.search-modal .product-item .title {
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 6px;
}

/* ---- Pricing ---- */
.modal.search-modal .product-item .price {
    font-size: 0.95rem;
    color: #7ab0ff;
    font-weight: 600;
}

.modal.search-modal .product-item .price del {
    color: #777;
}

/* ---- Out of Stock ---- */
.modal.search-modal .product-item .stock {
    color: #ff7b7b;
    font-weight: 700;
    font-size: 0.9rem;
}

/* ---- Clear Button ---- */
.modal.search-modal .btn-close {
    filter: invert(1);
    opacity: 0.8;
}
.modal.search-modal .btn-close:hover {
    opacity: 1;
}

/* Scrollbar */
.modal.search-modal ::-webkit-scrollbar {
    width: 8px;
}
.modal.search-modal ::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
}
.modal.search-modal ::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3b82ff, #a200ff);
    border-radius: 10px;
}

/* ================================
   CLEAN SEARCH MODAL TEXT + LINKS
   ================================ */

/* Remove ALL underlines inside search modal */
.modal.search-modal a,
.modal.search-modal a:hover,
.modal.search-modal a:focus {
    text-decoration: none !important;
}

/* Product Title */
.modal.search-modal .product-item .title,
.modal.search-modal .product-item h5,
.modal.search-modal .product-item h4 {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 1.15rem !important;
    margin: 0 0 6px 0 !important;
}

/* Make title glow slightly */
.modal.search-modal .product-item .title:hover {
    color: #7bb3ff !important;
}

/* Pricing */
.modal.search-modal .product-item .price {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: #8ebcff !important;
    margin-bottom: 4px !important;
}

/* Old price (strikethrough) */
.modal.search-modal .product-item .price del {
    color: #6a6a6a !important;
    margin-left: 6px;
}

/* "Out of Stock" link */
.modal.search-modal .product-item .stock {
    color: #4da3ff !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    margin-top: 4px !important;
    display: inline-block;
}

/* Hover effect for stock text */
.modal.search-modal .product-item .stock:hover {
    color: #7bc4ff !important;
}

/* Improve spacing inside item */
.modal.search-modal .product-item {
    padding: 20px !important;
}

/* Fix image spacing */
.modal.search-modal .product-item img {
    margin-right: 12px !important;
}

/* Make text block stay aligned */
.modal.search-modal .product-item .details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ===========================
   MOBILE HERO OPTIMIZATION
   =========================== */

@media (max-width: 768px) {

  /* Reduce giant title size */
  .su-hero-title {
      font-size: 2.4rem !important;
      line-height: 1.15 !important;
      text-align: left !important;
  }

  /* Typing subtitle */
  .su-hero-type {
      font-size: 1.3rem !important;
      margin-top: 8px !important;
      margin-bottom: 18px !important;
      text-align: left !important;
  }

  /* Search bar fits screen */
  .su-searchbar {
      padding: 12px 14px !important;
      font-size: 0.95rem !important;
      border-radius: 12px !important;
      width: 100% !important;
  }

  /* Buttons stack nicer */
  .su-btn-row {
      flex-direction: column !important;
      gap: 12px !important;
      margin-top: 18px !important;
  }

  .su-btn-primary,
  .su-btn-secondary {
      width: 100% !important;
      padding: 14px 0 !important;
      font-size: 1.05rem !important;
      text-align: center !important;
  }

  /* Stats boxes smaller + grid layout */
  .su-stats {
      display: grid !important;
      grid-template-columns: repeat(3, 1fr) !important;
      gap: 10px !important;
      margin-top: 25px !important;
  }

  .su-stat-box {
      padding: 14px 6px !important;
      border-radius: 10px !important;
      min-width: unset !important;
  }

  .su-stat-box strong {
      font-size: 1.2rem !important;
  }

  .su-stat-box span {
      font-size: 0.75rem !important;
  }

  /* Hide or shrink right-side hero image on mobile */
  .su-hero-right {
      display: none !important;
  }

  /* Reduce overall padding */
  .su-hero {
      padding: 90px 20px 60px !important;
  }
}

/* ===========================
   PREMIUM STAT BOX (BIGGER + CLEANER)
   =========================== */

.su-stats {
    display: flex !important;
    justify-content: flex-start !important;
    margin-top: 40px !important;
}

.su-stat-box {
    background: rgba(255,255,255,0.07);
    padding: 22px 30px !important;
    border-radius: 14px !important;
    min-width: 200px !important;
    border: 1px solid rgba(120,120,255,0.25) !important;
    text-align: center !important;
    box-shadow: 0 0 15px rgba(80,120,255,0.15);
    transition: 0.25s ease;
}

.su-stat-box:hover {
    box-shadow: 0 0 22px rgba(120,150,255,0.35),
                0 0 35px rgba(140,0,255,0.25);
    border-color: rgba(140,0,255,0.4) !important;
    transform: translateY(-3px);
}

.su-stat-box strong {
    font-size: 1.8rem !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px;
}

.su-stat-box span {
    font-size: 1rem !important;
    color: #d0d0d0 !important;
    margin-top: 6px !important;
    display: block;
    font-weight: 600;
}

/* Mobile improvements */
@media (max-width: 768px) {
  .su-stats {
    justify-content: center !important;
  }

  .su-stat-box {
    min-width: 160px !important;
    padding: 18px 20px !important;
  }
}