@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wdth,wght@0,62.5..100,100..900;1,62.5..100,100..900&family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");
:root {
    --color-primary: #FF0000;
    --widget-padding: 24px;
    --content-padding: 20px;
}

#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -2;
    pointer-events: none;
    opacity: 0.2;
    /* Add this line */
}

.video-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
    pointer-events: none;
}

body {
    font-family: Lato, sans-serif;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    max-height: 400px;
    z-index: -1;
    mask-image: linear-gradient(rgba(0, 0, 0, 0.5) 60%, transparent);
    pointer-events: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: Rubik, sans-serif;
    font-weight: 700;
}

.btn-primary,
.btn-secondary,
.btn-tertiary {
    /*border-radius: 2px;*/
    border-top-left-radius: 10px;
    border-bottom-right-radius: 10px;
    transition-duration: 0.1s, 0.2s;
}

.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 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    border-radius: 2px;
    overflow: hidden;
}

.quantity-field button {
    flex: 0 0 auto;
    min-width: 2rem;
    text-align: center;
}

.hidden-github-link {
  display: none !important;
}

.quantity-field input.quantity {
    width: 3rem;
    min-width: 3rem;
    text-align: center;
    font-size: 1rem;
}

/* Remove discord email demand that isn't used */

.popup-content .store-form .field:nth-of-type(2) {
    display: none !important;
}

.site-header-inner {
    font-family: Rubik, sans-serif;
    position: relative;
    /* ensures .header-controls z-index works properly */
    z-index: 0;
}

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

.site-home-categories {
    position: relative;
    z-index: 1;
}

.site-home-categories .category {
    font-family: Rubik, sans-serif;
    background: #111;
    color: white;
    font-weight: bold;
    padding: 0.5rem 1.5rem;
    border: 1px solid #444;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.site-home-categories .category:hover {
    border-color: red;
    color: var(--color-primary);
    box-shadow: 0 0 16px rgba(255, 0, 0, 0.4);
}

.store-text {
    font-family: Rubik, sans-serif;
    font-weight: 700;
    padding: calc(var(--widget-padding) - 1px);
}

.store-text a {
  color: #FF0000;
  text-decoration: underline; /* optional for visibility */
}

/* Optional: darker red on hover/focus */
.store-text a:hover,
.store-text a:focus {
    color: #cc0000;
}

.store-text h1,
.store-text h2,
.store-text h3,
.store-text h4,
.store-text h5,
.store-text h6 {
    color: var(--color-text);
}

.category-description {
    border-radius: 4px;
    border: 1px solid #2D2D2D;
    padding: calc(var(--widget-padding) - 1px);
    background: var(--color-brighter-bg);
}

.category-description h1,
.category-description h2,
.category-description h3,
.category-description h4,
.category-description h5,
.category-description h6 {
    color: var(--color-text);
}

.store-product .descr h1,
.store-product .descr h2,
.store-product .descr h3,
.store-product .descr h4,
.store-product .descr h5,
.store-product .descr h6 {
    color: var(--color-text);
}

.no-products {
    border-radius: 4px;
    border: 1px solid #2D2D2D;
    background: var(--color-brighter-bg);
}

.toggle-navigation {
    display: inline-flex !important;
    /* Always show it */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    /* Ensure it’s on top */
}

@media (min-width: 768px) {
    .site-navigation.navigation-vertical {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
        width: 250px;
        background: rgba(10, 10, 10, 0.95);
        /* Optional: Dark background */
        z-index: 999;
        overflow-y: auto;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .site-navigation.navigation-vertical.active {
        transform: translateX(0);
    }
    body.menu-open {
        overflow: hidden;
        /* Prevent background scroll */
    }
}

.site-navigation .menu,
.navigation-vertical .menu,
.navigation-horizontal .menu {
    font-family: Rubik, sans-serif;
    font-weight: 400;
}

.toggle-navigation .image {
    border-radius: 8px;
}

.toggle-navigation:hover .image {
    transform: translateY(30%) scale(2.1);
    box-shadow: 0 0 16px #FF0000;
}

.header-left-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 10;
}

.btn-discord {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #5865F2;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-discord:hover {
    background: #4752c4;
    transform: scale(1.1);
}

.btn-discord .icon {
    width: 18px;
    height: 18px;
}

@media (width>960px) {
    .navigation-horizontal .menu {
        padding: 15px;
        border-radius: 4px;
    }
    .navigation-horizontal .menu>li {
        border: 1px solid transparent;
        line-height: 20px;
    }
    .navigation-horizontal .menu>li>a {
        padding: 10px calc(var(--widget-padding) / 2);
    }
    .navigation-horizontal .menu>li.active {
        border-color: #464747;
        border-radius: 4px;
        background: #1A1A1A;
    }
    .navigation-horizontal .menu>li.active>a {
        border-radius: 4px;
    }
}

.navigation-horizontal a.link-active {
    color: var(--color-text);
    font-weight: 700;
}

.navigation-horizontal .has-children>ul {
    border-radius: 4px;
}

.navigation-vertical {
    border-radius: 4px;
    border: 1px solid #2D2D2D;
    padding: calc(var(--widget-padding) / 2);
    background: var(--color-brighter-bg);
}

.widget {
    padding: 0;
}

.widget-title {
    margin-bottom: 18px;
    font-size: 22px;
    font-weight: 700;
}

.widget-content {
    border-radius: 4px;
    border: 1px solid #2D2D2D;
    padding: calc(var(--widget-padding) - 1px);
    background: var(--color-brighter-bg);
}

.widget-featured .store-product {
    border: 0;
    padding: 0;
}

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

.store-product-tiered {
    border-radius: 4px;
    border: 1px solid #2D2D2D;
    background: var(--color-brighter-bg);
}

.store-product {
    border-radius: 10px;
    
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    will-change: transform, box-shadow, filter;
    perspective: 1000px;
}

.store-product .shine-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.1s ease;
    pointer-events: none;
    /* ✅ this is correct */
    z-index: 2;
}

.store-product .product-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    width: 90%;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 0 6px black, 0 0 2px black;
    z-index: 2;
    pointer-events: none;
    /* ✅ good */
}

.tiered-actions {
    position: relative;
    z-index: 3;
    /* 🔧 Add this! */
}

.store-product .image {
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.store-product:hover:not(.store-product-full) .image {
    transform: translateY(30%) scale(2.1);
}

.store-product .shine-overlay:hover:not(.store-product-full) {
    transform: scale(1.05);
    border: 1px solid rgba(255, 0, 0, 0.5);
}

.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;
}

.store-product-tiered {
    border-radius: 4px;
    border: 1px solid #2D2D2D;
    background: rgb(from var(--color-bg) r g b/0.5);
}

.store-product-full {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* or center, if you want full vertical center */
    padding: 2rem;
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    /* or whatever size you prefer */
    text-align: center;
}

.product-image-wrapper .image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}

.product-image-wrapper .product-title {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-shadow: 0 0 6px black, 0 0 2px black;
    font-size: 2rem;
    font-weight: bold;
    z-index: 2;
    pointer-events: none;
}

.store-product .price {
    font-size: 14px;
    text-shadow: 0 0 6px black, 0 0 2px black;
}

.discord-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(88, 101, 242, 0.8);
    color: var(--color-text);
    padding: 0.4rem 0.8rem;
    border-top-left-radius: 10px;
    border-bottom-right-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.3s ease;
    cursor: default;
}

.discord-indicator:hover {
    background: rgba(88, 101, 242, 0.9);
}

.image-wrapper {
  position: relative;
  display: block;
}

.tag-badge-container {
  position: absolute;
  top: 8px;
  left: 4px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.tag-badge {
  width: 30px;
  height: 30px;
  background-color: black;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 6px;
  transform: translateX(-120%); /* start off-screen left */
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.5s ease;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.8);
}

/* 👇 Animate badges in when store-product is hovered */
.store-product:hover .tag-badge {
  transform: translateX(0);
  opacity: 1;
}

.tag-badge.redm-logo {
  background-image: url('https://img.utdstc.com/icon/5a5/dd6/5a5dd60eadafc20d9661a1ceab71a0b492c45560e1419b15c39e4e24deeb46c7:200');
}

.tag-badge.fivem-logo {
  background-image: url('https://img.utdstc.com/icon/bcb/fc5/bcbfc5ae3d074d8734b9f51e64f7e95d4325485e0c51661dcf3167e45d768a8d:200');
}

.tag-badge-right-container {
  position: absolute;
  top: 8px;
  right: 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}

.tag-badge-right {
  width: 30px;
  height: 30px;
  background-color: black;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 6px;
  transform: translateX(120%); /* start off-screen left */
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.5s ease;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.8);
}

/* 👇 Animate badges in when store-product is hovered */
.store-product:hover .tag-badge-right {
  transform: translateX(0);
  opacity: 1;
}

.store-product:hover .metric-count {
  transform: translateX(0);
  opacity: 1;
}

.tag-badge-right.qbcore-logo {
  background-image: url('https://brycerussell.github.io/qbcore-docs/_astro/qbcore-logo.8ab457b2_Z19VH3o.webp');
}
.tag-badge-right.qbox-logo {
  background-image: url('https://i.imgur.com/QRvOuMd.png');
}
.tag-badge-right.oxcore-logo {
  background-image: url('https://i.imgur.com/HKa3eMm.png');
}
.tag-badge-right.esx-logo {
  background-image: url('https://avatars.githubusercontent.com/u/30593074?s=280&v=4');
}
.tag-badge-right.rsg-logo {
  background-image: url('https://discord.do/wp-content/uploads/2024/04/RSG-RedM-Framework.jpg');
}

@media (hover: none) and (pointer: coarse) {
  .store-product .tag-badge,
  .store-product .tag-badge-right {
    transform: translateX(0) !important;
    opacity: 1 !important;
  }

  .store-product .image {
    transform: translateY(30%) scale(2.1) !important;
  }

  .store-product .shine-overlay {
    opacity: 1 !important;
  }
  
  .store-product .metric-count {
      transform: translateX(0);
      opacity: 1;
  }
}
.discord-indicator img {
    width: 18px;
    height: 18px;
}

.category {
  position: relative;
  overflow: hidden;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  background-color: rgba(0, 0, 0, 0.2);
}

.category span, .category img {
  position: relative;
  z-index: 1;
}

.hover-bg {
  background-size: cover;
  background-position: center;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
}






















