/*made by revosend*/
/*yes this shit is a disaster, i know */


@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap");
/*:root {
  --color-primary: #41C4C3;
  --bg-image: url("https://webstore-template-assets.tebex.io/images/page-bg.jpg"); */
}

body {
  font-family: Lato, sans-serif;
}
/*body::before {
  background-color: #121212; 
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  max-height: 400px;
  z-index: -1;
  background: var(--bg-image) center center/cover no-repeat;
  mask-image: linear-gradient(rgba(0, 0, 0, 0.75) 50%, rgba(0, 0, 0, 0.25));
  pointer-events: none; */
}

.btn-primary,
.btn-secondary,
.btn-tertiary {
  border-radius: 2px;
}

.btn-primary:hover, .btn-primary:focus,
.btn-secondary:hover,
.btn-secondary:focus {
  box-shadow: 0 0 6px rgb(from var(--btn-color-bg-hover) r g b/0.6);
}

.quantity-field {
  border-radius: 5px;
}

.site-header-inner .info .image {
  border-radius: 5px;
}
.site-header-inner .user-name ul li {
  overflow: hidden;
}
.site-header-inner .user-name ul li:first-child {
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
}
.site-header-inner .user-name ul li:last-child {
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
}

.site-sale-banner {
  border-radius: 5px;
}

.site-home-categories .category {
  border-radius: 5px;
  padding: 20px var(--widget-padding);
  background: var(--color-brighter-bg);
  transition: color 0.15s ease-in-out;
}
.site-home-categories .category:hover {
  color: var(--color-primary);
}

/* .category-description {
  border-radius: 5px;
  background: var(--color-brighter-bg);
} */

.store-text {
  border-radius: 5px;
  background: var(--color-brighter-bg);
}
.store-text h1,
.store-text h2,
.store-text h3,
.store-text h4,
.store-text h5,
.store-text h6 {
  text-align: center;
}

.store-products-list .store-product,
.store-products-images .store-product {
  border-radius: 5px;
  background: var(--color-brighter-bg);
}

.store-products-images .store-product {
  text-align: center;
}

.widget-title {
  text-align: center;
}

.widget .store-product {
  text-align: center;
}

.no-products {
  color: var(--color-text-secondary);
  background: var(--color-brighter-bg);
  border-radius: 5px;
}

.store-product-full {
  border-radius: 5px;
  background: var(--color-brighter-bg);
}

.store-product .quantity-field {
  border-radius: 5px;
  background: var(--color-brighter-bg);
}
.store-product .quantity-field input[type=number] {
  border: none;
}

@media (width > 960px) {
  .navigation-horizontal > ul {
    border-radius: 5px;
  }
}
.navigation-horizontal .has-children > ul {
  border-radius: 5px;
}

.widget {
  border-radius: 5px;
  background: var(--color-brighter-bg);
}
@media (width <= 960px) {
  .widget.site-navigation {
    border-radius: 0;
    background: transparent;
  }
}

.widget-gift-card .gift-card-input {
  border-radius: 2px;
}

.widget-top-donator .avatar {
  border-radius: 50%;
}

.widget-community-goal .progress,
.widget-goal .progress {
  border-radius: 2px;
}
.widget-community-goal .progress-bar,
.widget-goal .progress-bar {
  border-radius: 2px;
}

.popup-content {
  border-radius: 5px;
}

.popup-close {
  border-radius: 0 5px 0 5px;
}

.basket-popup-content,
.basket-popup-content .popup-close {
  border-radius: 0;
}

.basket-items {
  padding: var(--widget-padding) calc(var(--content-padding) - var(--widget-padding));
}

.basket-item {
  border-radius: 5px;
}
.basket-item .quantity {
  border-radius: 2px;
}

.toast {
  border-radius: 6px;
}

.toast-close {
  border-radius: 2px;
}

.store-category-tiered {
  border-radius: 5px;
  background: var(--color-brighter-bg);
}

.store-category-tiered-header h1,
.store-category-tiered-header h2,
.store-category-tiered-header h3,
.store-category-tiered-header h4,
.store-category-tiered-header h5,
.store-category-tiered-header h6 {
  text-align: center;
}
/* === BEST VALUE! Bar with a sparkle sweep === */
.value-bar {
  background: linear-gradient(to bottom right, #ff5fc8, #ff9a75);
  color: #000;
  text-align: center;
  padding: 6px 0;
  font-size: 14px;
  height: 36px;
  line-height: 24px;
  font-weight: 700;
  margin-top: -10px;
  margin: -10px -10px 10px -10px;
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  z-index: 1;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
  animation: pulse-card-glow 2.5s ease-in-out infinite;
  box-shadow:
    0 0 12px rgba(255, 95, 200, 0.4),
    0 0 24px rgba(255, 160, 120, 0.3);
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}

/* Glow behind the bar */
.value-bar::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  background: inherit;
  box-shadow:
    0 0 6px rgba(255, 95, 200, 0.3),
    0 0 12px rgba(255, 160, 120, 0.25);
  animation: pulse-value-bar 2.5s ease-in-out infinite;
  will-change: box-shadow;
}

/* ✨ Moving sparkle sweep */
.value-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: -30%;
  width: 30%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0.0) 100%);
  transform: skewX(-20deg);
  animation: sparkle-sweep 4s ease-in-out infinite;
  pointer-events: none;
}

/* === Glowing Card === */
.store-product {
  background: var(--color-brighter-bg, #111);
  border-radius: 10px;
  padding: 46px 10px 10px 10px; /* 46px top padding = space for value-bar */
  position: relative;
  overflow: hidden;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 10px rgba(255, 120, 180, 0.3), 0 0 20px rgba(255, 160, 100, 0.2);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 120, 180, 0.6), 0 0 40px rgba(255, 160, 100, 0.4);
  }
  100% {
    box-shadow: 0 0 10px rgba(255, 120, 180, 0.3), 0 0 20px rgba(255, 160, 100, 0.2);
  }
}

.glowing-card {
  animation: pulse-glow 2s infinite;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}


/* === Animations === */

/* Pulsing card glow */
@keyframes pulse-card-glow {
  0% {
    box-shadow:
      0 0 10px rgba(255, 95, 200, 0.3),
      0 0 20px rgba(255, 160, 120, 0.2);
  }
  50% {
    box-shadow:
      0 0 28px rgba(255, 95, 200, 0.6),
      0 0 42px rgba(255, 160, 120, 0.4);
  }
  100% {
    box-shadow:
      0 0 10px rgba(255, 95, 200, 0.3),
      0 0 20px rgba(255, 160, 120, 0.2);
  }
}

/* Pulsing banner glow behind BEST VALUE */
@keyframes pulse-value-bar {
  0%, 100% {
    box-shadow:
      0 0 6px rgba(255, 95, 200, 0.2),
      0 0 10px rgba(255, 160, 120, 0.1);
  }
  50% {
    box-shadow:
      0 0 22px rgba(255, 95, 200, 0.6),
      0 0 36px rgba(255, 160, 120, 0.4);
  }
}

@keyframes sparkle-sweep {
  0% {
    left: -30%;
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  50% {
    left: 100%;
    opacity: 0.8;
  }
  80% {
    opacity: 0;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}
.category-tile {
  position: relative;
}

.ribbon.hot {
  position: absolute;
  top: 8px;
  left: -8px;
  background: linear-gradient(135deg, #ff416c, #ff4b2b);
  color: white;
  font-size: 10px;
  font-weight: bold;
  padding: 3px 6px;
  transform: rotate(-15deg);
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 2;
}
.category-tile {
  position: relative;
  overflow: hidden;
}

.category-tile .value-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  margin: 0;
  border-radius: 0 0 10px 10px;
  z-index: 2;
  
}
.site-home-categories .category-tile img {
  margin-top: 24px !important;
}


.store-product-tiered {
  border-radius: 5px;
  background: rgb(from var(--color-bg) r g b/0.5);
}
.site-header-inner .site-title img {
  margin-top: -30px !important; /* this changes how low/high the logo is */
  max-height: none !important;
  height: 340px !important; /* this changes how large the logo is */
  width: auto;
}
.requirement-text {
  color: #ff0000; /* bright Hypixel-style red */
  font-weight: bold;
  font-size: 14px;
  text-align: center;
  margin-top: 5px;
  margin-bottom: 5px;
}
.package-entry {
    background: #111;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s;
    box-shadow: 0 0 15px rgba(255, 0, 128, 0.3);
}

.package-entry:hover {
    transform: translateY(-5px);
}

.package-icon {
    width: 128px;
    height: auto;
    margin-bottom: 10px;
}

.package-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}


.package-name,
.package-title {
    font-weight: bold;
    font-size: 18px;
    color: white;
}

.package-description {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 8px;
}

.package-price {
    font-size: 18px;
    font-weight: bold;
    color: #ff87d0;
}

.package-entry.mythic-plus {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 10px;
}
.package-entry.mythic-plus .package-name,
.package-entry.mythic-plus .package-title {
  color: #ff8c8c !important;
  text-shadow: none !important;
}

.package-entry.mythic-plus .package-icon {
    margin-top: 80px; /* moves image UP */
    margin-bottom: 30px; /* adds breathing room */
}

.package-entry.mythic-plus .package-details {
  margin-top: 35px;
  text-align: center;
  padding-top: 0;
  color: #ffffff; /* White for description text NOT WORKING FUCK */
}

/* Learn More button at the bottom, matching blue button style */
.package-entry.mythic-plus .learn-more-button {
    width: 100%;
    border-radius: 6px;
    padding: 16px 0;
    margin-top: 20px;
    background: linear-gradient(to right, #ff55d4, #ff994f);
    box-shadow: 0 0 12px 2px rgba(255, 140, 140, 0.5);
    color: black;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-block;
}

.package-entry.mythic-plus .learn-more-button:hover {
    transform: scale(1.02);
    box-shadow: 0 0 16px 4px rgba(255, 140, 140, 0.7);
}
.package-entry.mythic-plus {
  position: relative;
  padding: 3px;
  border-radius: 18px;
  background: #ff7aa6; /* solid color between pink and orange */
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: none;
}
.package-entry.mythic-plus:hover {
  box-shadow:
    0 0 12px 2px rgba(255, 140, 140, 0.3),
    0 0 24px 6px rgba(255, 140, 140, 0.2); /* Glow effect on hover */
}

/* Inner container remains dark */
.package-entry.mythic-plus .package-inner {
  background: #111;
  border-radius: 15px;
  padding: 16px;
}
.value-bar.rank-upgrade-bar {
  background: linear-gradient(to right, #ff55d4, #ff994f);
  color: white;
  font-weight: bold;
  padding: 6px 0;
  font-size: 13px;
  text-align: center;
  border-radius: 8px 8px 0 0;
  text-transform: uppercase;
}
.store-product:not(.store-product-full):hover,
.category-tile:hover {
  box-shadow:
    0 0 10px 2px rgba(255, 140, 140, 0.3), /* soft orange-pink */
    0 0 20px 5px rgba(255, 140, 140, 0.2); /* subtle matching glow */
  transition: box-shadow 0.2s ease;
  transform: translateY(-4px);
}

.glowing-card:hover {
  box-shadow:
    0 0 10px 2px rgba(255, 140, 140, 0.3),
    0 0 20px 5px rgba(255, 140, 140, 0.2);
  animation: none;
  transform: translateY(-5px);
}
.popup-content:hover,
.modal:hover,
.basket-popup-content:hover {
  box-shadow: none !important;
  transform: none !important;
}
/* For product titles inside store cards */
.store-product .product-title a {
  color: #ff8c8c !important;
  text-shadow: none !important;
}

/* For product title on hover (store cards) */
.store-product:hover .product-title a,
.store-product .product-title a:hover {
  color: #ff8c8c !important;
  text-shadow: none !important;
}

/* For homepage category tiles */
.category-tile h3 {
  color: #ff8c8c !important;
  text-shadow: none !important;
}

/* For category tiles on hover */
.category-tile:hover h3 {
  color: #ff8c8c !important;
  text-shadow: none !important;
}
.requirement-text {
  color: #ff8c8c !important; /* or use your orange-pink gradient color */
}

/* === BUY BUTTON STYLES === */
/* Buy button main style */
a.add.btn-primary.wide {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 20px !important;
  font-size: 15px !important;
  font-weight: 700;
  border-radius: 16px !important;
  background-color: #ff8c8c !important;
  color: black !important;
  cursor: pointer;
  text-align: center;
  min-width: 120px;           /* Ensure minimum size */
  max-width: calc(100% - 32px); /* Max width respects card padding (assuming 16px padding each side) */
  margin: 0 16px 10px 16px;  /* Add horizontal margin to keep away from edges */
  transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-sizing: border-box;     /* Ensure padding + border included in width */
}

/* Hover effect */
a.add.btn-primary.wide:hover {
  background-color: #ffa3a3 !important;
  transform: scale(1.03);
  box-shadow: 0 0 12px rgba(255, 140, 140, 0.35);
}


/* Buy button label styling */
a.add.btn-primary.wide .buy-label {
  font-weight: 700;
  font-size: 15px;
}

/* === BONUS BADGE STYLES === */
/* Small inline bonus tag next to product titles */
.bonus-badge {
  display: inline-block;                        /* Inline with text */
  background: linear-gradient(to right, #ff55d4, #ff994f); /* Pink to orange gradient */
  color: black;                                /* Text color */
  font-size: 11px;                             /* Small font */
  font-weight: 600;                            /* Semi-bold */
  padding: 2px 6px;                            /* Tight padding */
  border-radius: 999px;                        /* Fully rounded pill */
  margin-left: 6px;                            /* Small space after title text */
  vertical-align: middle;                      /* Align with text baseline */
  text-shadow: 0 0 2px rgba(0,0,0,0.25);      /* Subtle shadow for contrast */
  user-select: none;                           /* Prevent text selection */
}

.store-product[data-package="5297927"] .bonus-badge {
  animation: pulse-bonus 2.5s ease-in-out infinite;
  will-change: transform, box-shadow;
}

/* === PRICE-TIER SPECIFIC BUY BUTTON ADJUSTMENTS === */
/* Slightly smaller buy button font for $4.99 pack */
.store-product.price-4-99 .buy-button {
  font-size: 13px;
}

/* Medium font size for $9.99 pack */
.store-product.price-9-99 .buy-button {
  font-size: 14px;
}

/* Larger, more prominent buy button for $99.99 pack */
.store-product.price-99-99 .buy-button {
  font-size: 16px;
  padding: 10px 24px;
  box-shadow: 0 0 16px rgba(255, 120, 180, 0.5); /* Soft pink glow */
}https://creator.tebex.io/templates/234841/editor#

/* === BONUS BADGE PULSE ANIMATION === */
@keyframes pulse-bonus {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 8px rgba(255, 95, 200, 0.3);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 95, 200, 0.7);
  }
}
.quantity-field.with-open-basket {
  display: none !important;
}

/* Global dark background below banner */
/*html, body {
  background-color: #121212 !important;
  position: relative;
  z-index: 0; */
}

/* body::before {
  content: "";
  position: absolute; 
  top: 0;
  left: 0;
  width: 100%;
  height: 420px;
  background: url('') center center / cover no-repeat;
  z-index: -1;
  pointer-events: none;


  -webkit-mask-image:
    radial-gradient(ellipse at top left, rgba(0,0,0,1) 100%, transparent 100%),
    radial-gradient(ellipse at top right, rgba(0,0,0,1) 100%, transparent 100%),
    linear-gradient(to bottom, black 100%, transparent 100%);
  -webkit-mask-composite: destination-in;
  mask-image:
    radial-gradient(ellipse at top left, rgba(0,0,0,.55) 30%, transparent 80%),
    radial-gradient(ellipse at top right, rgba(0,0,0,.55) 30%, transparent 80%),
    linear-gradient(to bottom, rgba(0,0,0,.65) 30%, transparent 100%);
  mask-composite: intersect; */
}

/* Remove top padding from these if not needed */
.site-main,
.content,
.site-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Apply padding only to store wrapper */
.store-content {
  padding-top: 420px; /* Match banner height */
  background-color: transparent !important;
  position: relative;
  z-index: 1;
}

/* Prevent flickering */
.store-products-list,
.store-product {
  will-change: opacity, transform;
  transform: translate3d(0, 0, 0); /* Ensures GPU compositing */
  backface-visibility: hidden;
  contain: layout paint;
  isolation: isolate; /* Create a new stacking context */
  perspective: 1000px; /* Forces 3D GPU context */

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

.store-products-list.loading {
  opacity: 0;
}

.category.category-tile {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03); /* subtle outline */
  border-radius: 8px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.category.category-tile:hover {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),             /* outline */
    0 0 10px 2px rgba(255, 140, 140, 0.3),           /* inner glow */
    0 0 20px 5px rgba(255, 140, 140, 0.2);           /* outer glow */
  transform: translateY(-5px);
}

:root {
  --topbar-bg: #121212;
  --btn-bg: linear-gradient(145deg, #1f1a18, #1a1412);
  --btn-border: #2c1f1c;
  --btn-text: #ffd7c2;
  --btn-hover-text: #ffffff;
  --btn-hover-glow: #ff9c65;
  --btn-hover-bg: linear-gradient(145deg, #2d1c1a, #1f1413);
  --btn-radius: 8px;
}

/* === TOPBAR === */
.custom-topbar {
  width: 100%;
  padding: 12px 30px;
  background-color: var(--topbar-bg);
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 1px solid #1d1d1d;
}
.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.topbar-nav {
  display: flex;
  gap: 14px;
}
.topbar-link {
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  background: var(--btn-bg);
  color: var(--btn-text);
  padding: 10px 16px;
  min-width: 120px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px; /* will only affect buttons with icons */
  border: 1px solid var(--btn-border);
  border-radius: 6px;
  transition: none;
  box-shadow: none;
  vertical-align: middle;
  text-align: center;
}

.topbar-link img,
.topbar-link svg {
  height: 20px;
  width: 20px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

/* Remove gap if there's no icon inside */
.topbar-link:only-child {
  gap: 0;
}
.topbar-link:not(:has(img)):not(:has(svg)) {
  gap: 0;
}

.topbar-link:hover {
  color: var(--btn-hover-text);
  background: var(--btn-hover-bg);
  box-shadow: 0 0 8px var(--btn-hover-glow), 0 0 16px rgba(255, 156, 101, 0.2);
}
.topbar-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.log-in {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  min-width: 120px;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 600;
  background: var(--btn-bg);
  color: var(--btn-text);
  border: 1px solid var(--btn-border);
  border-radius: var(--btn-radius);
  box-shadow: none;
  text-align: center;
  gap: 8px;
}

/* === USER ACTIONS === */
.user-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.user-name,
.open-basket,
.log-in {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  background: var(--btn-bg);
  color: var(--btn-text);
  padding: 10px 20px;
  border: 1px solid var(--btn-border);
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.user-name:hover,
.open-basket:hover,
.log-in:hover {
  color: var(--btn-hover-text);
  background: var(--btn-hover-bg);
  box-shadow: 0 0 8px var(--btn-hover-glow), 0 0 16px rgba(255, 156, 101, 0.25);
}
.user-name img {
  width: 24px;
  height: 24px;
  border-radius: 4px;
}
.user-name:hover .text {
  display: none;
}
.text-hover {
  display: none;
}
.user-name:hover .text-hover {
  display: inline;
}

/* === CART ICON === */
.open-basket::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  background-image: url("data:image/svg+xml,%3Csvg fill='%23ffd7c2' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l3.6 7.59L5.25 17h13.01a1 1 0 0 0 .98-.8l1.25-6.45H6.42'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  vertical-align: middle;
}

/* === HOMEPAGE === */
body.page-index .site,
body.page-index .site-inner,
body.page-index .site-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
body.page-index .site-header,
body.page-index .site::before,
body.page-index .site-header::before {
  display: none !important;
}
body.page-index .homepage-logo-wrapper {
  display: flex;
  justify-content: center;
  padding: 40px 0 10px;
  margin: 0 auto;
}
.homepage-logo {
  max-width: 400px;
  width: 100%;
  image-rendering: crisp-edges;
}

/* === CATEGORY / NON-HOME === */
body:not(.page-index) .homepage-logo-wrapper,
body:not(.page-index) .site-header-inner {
  display: none !important;
}

/* === Intro Alignment Fix === */
body.page-index .homepage-logo-wrapper + .site-home-categories + .homepage-intro {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}
/* === CLEAN HIDE: Tebex checkmarks inside user action buttons === */

/* === FIX: Hide Tebex checkmark boxes only, not head or cart icons === */

/* Hide input checkbox itself */
.user-actions input[type="checkbox"] {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Hide Tebex glyph container span */
.user-actions .btn-glyph-text .glyph-container,
.user-actions .btn-glyph-text span[role="checkbox"] {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

/* Remove old overbroad rule that hid first-child of .btn-glyph-text */

/* ✅ Keep avatar image visible */
.user-name img {
  display: inline-block !important;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  margin: 0;
  padding: 0;
}

/* ✅ Custom cart icon before basket */
.open-basket::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  background-image: url("data:image/svg+xml,%3Csvg fill='%23ffd7c2' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='9' cy='21' r='1'/%3E%3Ccircle cx='20' cy='21' r='1'/%3E%3Cpath d='M1 1h4l3.6 7.59L5.25 17h13.01a1 1 0 0 0 .98-.8l1.25-6.45H6.42'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  vertical-align: middle;
}
/* Remove unwanted glyph checkmarks injected by Tebex on user + basket buttons */
.btn-glyph-text.user-name::before,
.btn-glyph-text.open-basket::before {
  content: none !important;
  display: none !important;
  background: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.homepage-logo-wrapper img.homepage-logo {
  transition: transform 0.2s ease, filter 0.2s ease;
  display: block;
  margin: 0 auto;
}

.homepage-logo-wrapper:hover img.homepage-logo {
  transform: scale(1.05);
  filter:
    drop-shadow(0 0 10px rgba(200, 90, 150, 0.5))   /* pink core */
    drop-shadow(0 0 20px rgba(200, 130, 100, 0.3)); /* soft orange halo */
}
.user-actions > * {
  min-width: 90px; /* adjust based on your average button width */
}
.user-actions {
  gap: 14px;
}

.user-actions a,
.user-actions button {
  min-width: 80px;
  padding: 8px 14px;
  box-sizing: border-box;
}
/* Prevent flicker on header items and buttons */
.topbar-inner,
.topbar-left,
.topbar-nav,
.user-actions,
.user-actions > * {
  min-height: 48px;
  min-width: 60px;
  box-sizing: border-box;
  transition: none !important;
}

/* Prevent flicker on homepage cards */
.category-tile,
.package-entry {
  box-sizing: border-box;
  min-height: 280px;
  min-width: 200px;
  transition: none !important;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
body.loading *,
body.loading *::before,
body.loading *::after {
  transition: none !important;
  animation: none !important;
}


.package-entry {
  min-height: 500px; /* adjust to fit your tallest package */
}
.topbar-wrapper {
  background-color: #121212;
  background-image: none; /* or keep your image */
  will-change: transform;
}
main.store-products {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* center horizontally */
  gap: 28px; /* controls spacing between cards */
  max-width: 1200px; /* prevent stretching across whole screen */
  margin: 0 auto; /* center the entire block */
  padding: 40px 20px;
}

.store-products-images {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%; /* remove fixed width limits */
  width: 100%;      /* ensure full use of space */
  padding: 0 20px;  /* optional side padding */
  gap: 24px;        /* control spacing between cards */
}

.site-content-widgets {
  display: block !important;
}
.store-products {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px; /* Adjust spacing between cards */
  padding: 20px;
  max-width: 1200px; /* Optional: limit the row width like Hypixel */
  margin: 0 auto;    /* Center the group of cards */
}

/*.package-entry,
article.store-product {
  flex: 0 0 250px;
  max-width: 250px;
  min-width: 250px;
}
.store-product {
  flex: 0 0 220px; 
  max-width: 220px; 
} */

.site-content-widgets {
  max-width: 100%;
  padding: 0;
}
/* !!!!!!!!!!!!!!!!!!!! GAP IS SPACING BETWEEN CARDS, VERY USEFUL !!!!!!!!!!!!!!!!!!!!! */
.store-products-images {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px; /* or whatever spacing you want */
}
main.store-products {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0 auto;
}
.category-header {
  text-align: left;
  margin-top: 40px;
  margin-bottom: 30px;
}

.category-title {
  font-size: 36px;
  font-weight: 700;
  color: #fdfdfd;
  margin-top: -20px;
  margin-bottom: 0px;
  text-transform: none;
}

.category-description {
  font-size: 16px;
  color: #ccc;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}
/* !!!!!!!!!!!!!!!!!!!! THESE 4 SECTIONS ARE FOR CONTROLLING CARD SIZES IN EACH CATEGORY... VERY USEFUL !!!!!!!!!!!!!!!!!!!!! */
/* === CATEGORY: Ranks === */
body.category-ranks .store-products .store-product {
  max-width: 200px;
  min-width: 200px;
  max-height: 400px; /* reduce if there's too much whitespace */
  flex: 0 0 200px;
}
/* === CATEGORY: Radiance Points === */
body.category-radiance-points .store-products .store-product {
  max-width: 250px;
  min-width: 250px;
  flex: 0 0 250px;
}

/* === CATEGORY: Special Offers === */
body.category-special-offers .store-products .store-product {
  max-width: 250px;
  min-width: 250px;
  flex: 0 0 250px;
}

/* === CATEGORY: Mythic+ === */
body.category-mythic .store-products .store-product {
  max-width: 250px;
  min-width: 250px;
  flex: 0 0 250px;
}

/* === EXCLUDE: Prevent modal layout from inheriting card size restrictions === */
.modal .store-product {
  max-width: unset !important;
  min-width: unset !important;
  flex: unset !important;
}

/* === MYTHIC+ CUSTOM CARD === */
.package-entry.mythic-plus {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 0;
  border-radius: 18px;
  background: linear-gradient(to right, #ff55d4, #ff994f);
  border: 2px solid #ffb4a2;
  box-shadow: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 200px;
  max-width: 200px;
  max-height: 400px;
  min-height: 400px;
  flex: 0 0 200px;
}

.package-entry.mythic-plus:hover {
  box-shadow:
    0 0 12px 2px rgba(255, 140, 140, 0.4),
    0 0 24px 6px rgba(255, 140, 140, 0.25);
  transform: translateY(-2px);
}

/* Inner container holds the icon and text */
.package-entry.mythic-plus .package-inner {
  background: #111;
  border-radius: 15px;
  padding: 24px 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  box-sizing: border-box;
}

/* Optional header (if you want to say "Rank Upgrades" etc.) */
.package-entry.mythic-plus .value-bar.rank-upgrade-bar {
  background: linear-gradient(to right, #ff55d4, #ff994f);
  color: white;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  text-align: center;
  padding: 6px 0;
  border-radius: 8px 8px 0 0;
  margin-bottom: -10px;
  z-index: 2;
}

.package-entry.mythic-plus .package-icon {
  height: 160px;          
  width: auto;            /* maintain natural aspect ratio */
  margin: 26px 0 26px;    /* adjust vertical spacing */
  image-rendering: auto;
  filter: none;
  display: block;
}

/* Rank title */
.package-entry.mythic-plus .package-title,
.package-entry.mythic-plus .package-name {
  color: #ffbfc1 !important;
  font-weight: 700;
  font-size: 19px;
  margin: 0 0 4px;
  text-align: center;
  text-shadow: none !important;
}

/* Short description under the rank */
.package-entry.mythic-plus .package-details {
  color: #ddd;
  font-size: 14px;
  text-align: center;
  line-height: 1.5;
  margin: 8px 0 0;
}
.package-entry.mythic-plus .content-block {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* Learn More button */
.package-entry.mythic-plus .learn-more-button {
  width: 100%;
  border-radius: 15px;
  padding: 6px 0;
  margin-top: 19px;
  background: linear-gradient(to right, #ff55d4, #ff994f);
  box-shadow: 0 0 8px 2px rgba(255, 140, 140, 0.4);
  color: black;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.package-entry.mythic-plus .learn-more-button:hover {
  transform: scale(1.02);
  box-shadow: 0 0 16px 4px rgba(255, 140, 140, 0.7);
}
/* === Perk Table Container === */
.rank-perks-wrapper {
  display: flex;
  justify-content: center;
  min-width: 1200px; /* Matches .store-products */
  margin: 40px auto 0;
  padding: 0 40px; /* Aligns with your card row */
}

/* === RANK PERKS TABLE =================================================================================================================== */

/* === Perk Table Container === */
.rank-perks-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  padding: 0 40px;
  overflow-x: auto;
}

/* === Inner Perk Table === */
.perk-table {
  border-collapse: collapse;
  background-color: #1f1f1f;
  border-radius: 10px;
  overflow: hidden;

  /* Matches card row: 200px first column + (5 * 202px (cards are 200px but i think they have 1 pixel borders)) + (5 * 14px) = 1280px */
  width: 100%;
  max-width: 1280px;
  min-width: 1280px;
  table-layout: fixed;
}

/* === Header Cells === */
.perk-table th {
  background-color: rgba(255, 255, 255, 0.03);
  color: #ffbfae;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  padding: 14px 20px;
  white-space: nowrap;
}

/* === Perk Label Column (1st Column) === */
.perk-table th:first-child,
.perk-table td:first-child {
  width: 200px;
  max-width: 200px;
  min-width: 200px;
  padding-left: 20px;
  text-align: left;
  color: #ffd7c2;
  white-space: normal;
  word-wrap: break-word;
  word-break: break-word;
}

  /* Enable wrapping */
  white-space: normal;
  word-wrap: break-word;
  word-break: break-word;
}

/* === Body Cells === */
.perk-table td {
  text-align: center;
  padding: 14px 10px;
  font-size: 14px;
  color: #ccc;
  border-top: 1px solid #333;
}

/* === Checkmark and X coloring === */
.perk-table td:contains("✔️") {
  color: #9fef9f;
}
.perk-table td:contains("❌") {
  color: #f88;
}


/* === Rank Columns (5 columns at 200px each) === */
body.category-ranks .perk-table th:not(:first-child),
body.category-ranks .perk-table td:not(:first-child) {
  width: 202px;
  max-width: 202px;
  min-width: 202px;
  text-align: center;
  padding: 14px 6px;
}

/* === Optional: adjust alignment if still slightly off === */
body.category-ranks .ranks-grid-wrapper {
  transform: translateX(103px); /* Set to 0 or fine-tune if needed */
}

/* === Category Title Positioning Fix === */
body.category-ranks .category-title {
  position: relative;
  text-align: left;
  margin-left: 40px;
}

/* === RANK TABLE ICONS ======================================================================================================================= */
.perk-check {
  color: #9ddc58; /* Bright Hypixel green */
  font-size: 18px;
  font-weight: bold;
}

.perk-cross {
  color: #d76c6c; /* Soft red like Hypixel */
  font-size: 18px;
  font-weight: bold;
}
/* Ensure all package cards are the same height */
.package-entry {
  width: 200px;
  height: 370px; /* or whatever your standard height is */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

/* Ensure consistent padding inside each card */
.package-inner {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
/* ================================
   RANKS PAGE – Radiance Theme Styling (Cleaned)
   ================================ */

/* Table wrapper spacing */
.rank-perks-wrapper {
  margin-top: 10px;
  padding: 0 10px;
}

/* Grid wrapper */
.ranks-grid-wrapper {
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Table base */
.perk-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #2a2a2a;
}

/* Header row */
.perk-table thead {
  background: linear-gradient(90deg, #1f1f1f, #121212);
}

/* Header cells */
.perk-table th {
  font-weight: 700;
  color: #ffd7c2;
  font-size: 1rem;
  text-transform: uppercase;
  padding: 14px 20px;
  border-bottom: 1px solid #2c2c2c;
}

/* Regular cells */
.perk-table td {
  color: #e0e0e0;
  vertical-align: middle;
  padding: 14px 20px;
  font-size: 0.95rem;
  border-bottom: 1px solid #222;
}

/* Even row alt background */
.perk-table tr:nth-child(even) {
  background-color: #181818;
}

/* Check icon */
.perk-table .check {
  color: #aaff66;
  font-size: 1.2rem;
  text-shadow: 0 0 3px #66ff66;
}

/* Cross icon */
.perk-table .cross {
  color: #ff4e4e;
  font-size: 1.2rem;
  text-shadow: 0 0 3px #7a2b2b;
}

/* Add vertical line between first and second column */
.perk-table th:first-child,
.perk-table td:first-child {
  border-right: 1px solid #2a2a2a;
}

/* Responsive spacing */
@media (max-width: 768px) {
  .perk-table th,
  .perk-table td {
    padding: 10px 14px;
    font-size: 0.9rem;
  }
}
/* ========================
   Sticky Buy Row – Radiance Theme (These dont work LUL)
   ======================== */

.sticky-buy-row {
  position: sticky;
  bottom: 0;
  background: #121212;
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid #2a2a2a;
  z-index: 999;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.5);
}

.sticky-buy-btn {
  background: #ffc88a;
  color: #1a1a1a;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 24px;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.sticky-buy-btn:hover {
  background: #ff9c65;
  color: white;
  box-shadow: 0 0 10px #ffb98f;
}
.perk-table th.perk-label {
  font-weight: normal;
  text-transform: none;
}
.tooltip {
  position: relative;
  cursor: help;
  text-decoration: none;
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #1e1e1e;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  font-size: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 999;
}

.tooltip:hover::after {
  opacity: 1;
}
.rank-perks-wrapper {
  position: relative; /* allow tooltip children to overflow properly */
  overflow: visible;
}

.perk-table {
  overflow: visible;
  position: relative;
}

.tooltip {
  position: relative;
  cursor: help;
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background: #222;
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 14px;
  white-space: nowrap;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
}

.tooltip:hover::after {
  opacity: 1;
}

.user-name .text {
  color: var(--btn-text); /* normal color like other buttons */
  transition: color 0.2s ease;
}

/* When hovering the button */
.user-name:hover .text,
.user-name:focus .text {
  color: var(--btn-hover-text);
}

html {
  scroll-behavior: smooth;
}
.homepage-logo-wrapper a:hover img {
  transform: scale(1.03);
  filter: drop-shadow(0 0 6px rgba(255, 194, 128, 0.4));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.homepage-logo {
  transition: transform 0.2s ease, filter 0.2s ease;
}
.custom-page-background {
  position: absolute;
  top: 72px;
  left: 0;
  width: 100%;
  height: 420px;
  background-image: url("https://cdn.tebex.io/store/1194126/templates/234841/assets/9c0b60469ff9b44c58ba2398c08d4f22d72a96dc.jpg");
  background-position: center 41%;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;

  /* Sharper + wider radial fade at bottom */
mask-image:
  radial-gradient(ellipse 60% 80% at center top, rgba(0, 0, 0, 1) 35%, rgba(0, 0, 0, 0) 100%);
-webkit-mask-image:
  radial-gradient(ellipse 60% 80% at center top, rgba(0, 0, 0, 1) 35%, rgba(0, 0, 0, 0) 100%);
  mask-mode: alpha;
  -webkit-mask-mode: alpha;
}


/* Page background */
body {
  background-color: #121212 !important;
}

.custom-topbar {
  margin-bottom: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

.site {
  margin-top: 0;
  padding-top: 0;
}

/* remove black box from home page description*/
body.page-index .store-text {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}
/* === Styling for the "Proceed to Checkout" button (enabled state) === */
/* Uses a pink gradient, bold text, and smooth hover transition */
button.btn-primary.checkout {
  background: linear-gradient(to right, #ff5fc8, #ff9a75) !important;  /* Pink gradient background */
  color: black !important;                                             /* Black text for contrast */
  border: none !important;                                             /* Remove default button border */
  font-weight: bold;                                                   /* Emphasize text */
  box-shadow: 0 0 8px rgba(255, 95, 200, 0.3);                         /* Soft glowing shadow */
  transition: all 0.2s ease-in-out;                                    /* Smooth animation on hover */
}

/* === Hover effect for active "Proceed to Checkout" button === */
button.btn-primary.checkout:hover {
  filter: brightness(1.1);         /* Slightly brighter on hover */
  transform: scale(1.02);          /* Minor zoom effect */
}

/* === Styling for the disabled state of the checkout button === */
/* Retains the same pink gradient but applies transparency and disables interaction */
button.btn-primary.checkout:disabled {
  background: linear-gradient(to right, #ff5fc8, #ff9a75) !important;  /* Same pink gradient */
  color: black !important;                                             /* Keep text readable */
  opacity: 0.6 !important;                                             /* Slightly faded to show it's disabled */
  cursor: not-allowed !important;                                      /* Show disabled cursor */
  box-shadow: none !important;                                         /* Remove glow */
  text-shadow: none !important;                                        /* Remove text shadow */
}

/* === Make basket prices match the pink theme === */
/* Affects individual prices and the total at checkout */
.basket-price,
.basket-total-value,
.package-price,
.basket .price,
.basket .total,
.basket .total-value {
  color: #ff8c8c !important;                                           /* Themed pink color */
  font-weight: bold;                                                  /* Highlight importance */
  text-shadow: 0 0 2px rgba(255, 140, 140, 0.6);                        /* Subtle glow effect */
}

/* === Prevent grey washout effect when basket is updating === */
/* Ensures that the UI doesn't fade or dim when items are added/removed */
.basket .is-loading,
.basket.is-loading,
.basket-checkout[style*="opacity"],
.basket-popup[style*="opacity"],
.popup-content[style*="opacity"] {
  opacity: 1 !important;                                               /* No fading */
  filter: none !important;                                             /* No blur/dim */
  pointer-events: none !important;                                     /* Still prevents clicking while loading */
  transition: none !important;                                         /* No fade animation */
}

/* === Fix interaction issues while basket is being updated === */
/* Ensures that child elements inside popup or basket remain fully interactive */
.basket-popup *,
.popup-content *,
.basket-checkout * {
  filter: none !important;
  opacity: 1 !important;
  pointer-events: auto !important;                                     /* Allow clicking */
}
/* === Align BUY button inside modal popups with the price/trash icon === */
.popup-content .add.btn-primary.wide {
  margin-top: 11px !important; /* Adjust this value as needed for pixel-perfect alignment */
}
/* === Force pink theme on "Send Gift" button in gift modal === */
.popup-content .btn-primary[type="submit"] {
  background: linear-gradient(to right, #ff5fc8, #ff9a75) !important;  /* Match pink BUY buttons */
  color: black !important;
  border: none !important;
  font-weight: bold;
  box-shadow: 0 0 12px rgba(255, 95, 200, 0.4);
  transition: all 0.2s ease-in-out;
}

/* Optional hover effect for "Send Gift" */
.popup-content .btn-primary[type="submit"]:hover {
  filter: brightness(1.1);
  transform: scale(1.02);
}
/* Override blue login button on the fallback login page (inside .site-content) */
/* Only apply gradient to login form submit button, not to buy buttons */
.site-content form button.btn-primary {
  background: linear-gradient(to right, #ff7ca8, #ffb36b) !important;
  color: #000 !important;
  border: none !important;
  border-radius: 0 !important;
  font-weight: bold;
  box-shadow: 0 0 6px rgba(255, 200, 150, 0.3);
  transition: all 0.2s ease;
}

.site-content form button.btn-primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 8px rgba(255, 200, 150, 0.5);
}

  filter: brightness(1.1);
  box-shadow: 0 0 8px rgba(255, 200, 150, 0.5);
}
