html {
    height: 100%;
    margin: 0;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: #0a0a0a;

    min-height: 100vh;
    display: flex;
    flex-direction: column;

    /* Background layers */
    background-image: 
        radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, transparent 70%),
        url('/assets/img/backgrounds/homebackground.png'),
        linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);

    background-size: 100% 100%, cover, 45px 45px, 45px 45px;
    background-position: center center;
    background-repeat: no-repeat, no-repeat, repeat, repeat;
    background-attachment: fixed;
    
    color: white;
}

.border-main-700 { 
    border-color: rgba(255, 255, 255, 0.08); 
}

.text-main-100 { 
    color: #ffffff; 
}

.text-main-300 { 
    color: rgba(255, 255, 255, 0.6); 
}

/* =========== MOBILE QUICK LINKS =========== */
@media only screen and (min-width: 1000px) and (orientation: landscape) {
    .nav-hot-links {
    display:flex !important;

}
}

@media only screen and (min-width: 700px) and (orientation: portrait) {
    .nav-hot-links {
    display:flex !important;

}
}


/* =========== Floating U's ===========*/

.floating-u {
    display: none;
}

/*==================== Scroll Bar Blackout ====================*/

/* Standard syntax for Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: #333333 #000000; /* thumb color | track color */
}

/* Webkit browsers (Chrome, Safari, Edge) */
html::-webkit-scrollbar {
  width: 12px;               /* Width of the entire scrollbar */
}

html::-webkit-scrollbar-track {
  background: #000000;       /* Color of the tracking area */
}

html::-webkit-scrollbar-thumb {
  background-color: #333333; /* Color of the scroll thumb */
  border-radius: 10px;       /* Roundness of the thumb */
  border: 3px solid #000000; /* Creates padding around thumb */
}

html::-webkit-scrollbar-thumb:hover {
  background-color: #a0a0a0; /* Slightly lighter on hover */
}

/* =========== Products Divider ===========*/

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center; /* Essential for centering the whole group */
  width: 100%;
  max-width: 1500px !important; 
  margin: 0 auto 40px auto !important;
}

.divider-line {
  flex: 1; /* This allows lines to grow and fill empty space */
  height: 1px;
  margin-left: -20px !important;
   margin-right: -20px !important;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.5));
}

.divider-line:last-child {
  background: linear-gradient(to left, transparent, rgba(255, 255, 255, 0.5));
}

.divider-text {
  display: flex;
  align-items: center;
  justify-content: center;
  
  /* Your Original Features Restored */
  padding: 0 20px;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 800 !important;
  font-size: 15px !important;
  white-space: nowrap;
  text-transform: capitalize;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.86) !important;
  box-sizing: border-box;
}

.max-w-7xl {
  margin-left: 0 !important;
  margin-right: 0 !important;
}


/* =========== Products Cards ===========*/

.products {
    /* Keep your existing styles */
    position: relative; 
    z-index: 10;
    padding: 200px 0;
    background-color: #0a0a0a34;
    display: flex;
    flex-direction: column;
    color: white;

    /* REMOVE margin-bottom: -200px; */
    margin-top: -200px; 
    margin-bottom: 0; /* Changed to 0 so it doesn't overlap following content */

    /* CHANGE overflow to visible so the "Browse All" button shows up */
    overflow: visible; 

    /* Keep your mask, but ensure it doesn't cut off the button */
    --fade-size: 10%;
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0,0,0,0.3) calc(var(--fade-size) * 0.4),
        black var(--fade-size),
        black calc(100% - var(--fade-size)),
        rgba(0,0,0,0.3) calc(100% - (var(--fade-size) * 0.4)),
        transparent 100%
    );
    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0,0,0,0.3) calc(var(--fade-size) * 0.4),
        black var(--fade-size),
        black calc(100% - var(--fade-size)),
        rgba(0,0,0,0.3) calc(100% - (var(--fade-size) * 0.4)),
        transparent 100%
    );
}

/* =========== View All Packages Button ===========*/

.view-all-products {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px; 
    padding: 0 12px; 
    font-size: 10px;
    background-color: transparent;
    color: #ffffff;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease-in-out;
}

.icon-chevron {
    width: 12px;
    height: 12px;
    margin-left: 4px;
}



@media (min-width: 640px) {
    .view-all-products {
        height: 36px; 
        padding: 0 16px; 
        font-size: 12px;
        border-radius: 8px;
    }
}

/*==================== Scroll Wrappers ====================*/
.scroll-wrapper,
.scroll-wrapper2,
.scroll-wrapper3 {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 16px 18px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.scroll-track,
.scroll-track2,
.scroll-track3 {
    display: flex;
    gap: 14px;
    width: max-content;
    padding: 0;
}

.card {
    width: calc(100vw - 48px);
    min-width: calc(100vw - 48px);
    max-width: 320px;
    flex: 0 0 auto;
    scroll-snap-align: start;
    overflow: hidden;
}

.scroll-wrapper::before,
.scroll-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: 80px; /* fade width */
  z-index: 10;
  pointer-events: none;
}

.scroll-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #0c0c0e 0%, transparent 100%);
}

.scroll-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #0c0c0e 0%, transparent 100%);
}

/*==================== Review Section ====================*/

.Reviews {
    position: relative;
    z-index: 10;
    padding: 160px 0;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    color: white;

    /* REMOVE the negative pull */
    margin-top: -200px;

    /* IMPORTANT: clip the mask properly */
    overflow: hidden;

    --fade-size: 10%;

    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black var(--fade-size),
        black calc(100% - var(--fade-size)),
        transparent 100%
    );

    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black var(--fade-size),
        black calc(100% - var(--fade-size)),
        transparent 100%
    );
}

.Reviews-Title {
    text-align: center; 
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.Reviews-Title span {
    color: #A855F7; 
    text-shadow: 0 0 25px #A855F7;
}

.Reviews-Badge {
    display: flex; 
    justify-content: center; 
    align-items: center;
    gap: 5px;
    padding: 15px 30px !important;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    width: fit-content; 
    margin: 0 auto 30px auto; 
    backdrop-filter: blur(10px);
    
}

.Badge-Label, .Badge-Count {
    color: #888;
    font-size: 10px;
}

.Badge-Score {
    font-weight: 700;
    font-size: 1.2rem;
}

.Badge-Stars {
    color: #A855F7;
    font-size: 1.1rem;
    filter: drop-shadow(0 0 5px #A855F7);
}

.Reviews-Subtext {
    text-align: center; 
    color: #aaa;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.Reviews-Subtext strong {
    color: white;
}

.purchase-card-small {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  
  width: 400px;
  max-width: 100%;
  /* Remove any 'height' properties here to let it grow */
  padding: 16px;
  box-sizing: border-box;
  
  font-family: 'Inter', sans-serif;
  background: transparent;
  border: 1px solid #2a2a2a;
  border-radius: 16px;
  box-shadow: 0 0 15px 1px rgba(255, 255, 255, 0.07);
}

.header-small {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.avatar-small {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.name-small {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
}

.date-small {
  color: #555;
  font-size: 0.8rem;
  margin: 0;
}

.stars-small {
  color: #a855f7;
  font-size: 1rem;
  margin-bottom: 8px;
  text-shadow: 0 0 8px rgba(168, 85, 247, 0.4);
}

.text-small {
  color: #888;
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0 0 16px 0;
  width: 300px;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: anywhere; 
}

.product-tag-small {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto; /* Pushes tag to bottom if one card has more text than others */
  
  width: auto;
  padding: 10px 12px;
  box-sizing: border-box;
  
  background: #1a1a1a;
  border-radius: 8px;
  color: #aaa;
  font-size: 0.8rem;
  font-weight: 600;
}

/*==================== Why Choose Us ====================*/

.ChooseUs {
    position: relative; 
    z-index: 10;
    padding: 200px 0;
    background-color: transparent; 
    display: flex;
    flex-direction: column;
    color: white;
    margin-top: -100px; 
    margin-bottom: 0px; 
    overflow: visible;  
    --fade-size: 15%; 
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black var(--fade-size),
        black calc(100% - var(--fade-size)),
        transparent 100%
    );
    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black var(--fade-size),
        black calc(70% - var(--fade-size)),
        transparent 100%
    );
}

/* --- Section Container --- */
.why-section {
    background: #080808;
    padding: 100px 0;
}

.why-stage {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    max-width: 1400px;
    margin-top:  30px;
    perspective: 1000px;
}

/* --- Base Card Styles --- */
.why-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 250px;
    padding: 32px;
    background: #1a1a1a5c;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    
    /* Animation Start State */
    opacity: 0;
    transform: translateY(50px) rotateX(-10deg);
    transition: transform 0.8s cubic-bezier(.22, 1, .36, 1), 
                opacity 0.6s ease;
}

/* Scroll Animation Trigger */
.why-card.spread-active {
    opacity: 1;
    transform: translateY(var(--y-offset)) rotate(var(--rotate)) rotateX(0deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.why-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: scale(1); /* Maintained feature: no scaling */
    box-shadow: none;
}

/* --- Header & Typography --- */
.why-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.why-header i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    color: #A855F7;
    background: rgba(78, 77, 77, 0.38);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.why-card h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.why-card p {
    color: #9a9a9a;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- Action Button --- */
.why-card-button {
    margin-top: auto; /* Pushes button to bottom */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    padding: 3px 12px;
    background: #1a1a1a;
    color: #aaa;
    font-size: 0.8rem;
    font-weight: 600;
    border: 0.2px solid transparent;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.why-card-button:hover {
    background: rgba(20, 20, 22, 0.75);
    color: #A855F7;
}

.why-card-button svg,
.why-card-button i {
    width: 10px;
    height: 10px;
    stroke: #A855F7;
    flex-shrink: 0;
}

/* --- Utilities & Specific States --- */
.why-red i, 
.why-red h3 { 
    color: #A855F7; 
}

/* Individual Stack Positions (Ready for custom offsets) */
.why-card:nth-child(1) { --y-offset: 0px; --rotate: 0deg; }
.why-card:nth-child(2) { --y-offset: 0px; --rotate: 0deg; }
.why-card:nth-child(3) { --y-offset: 0px; --rotate: 0deg; }
.why-card:nth-child(4) { --y-offset: 0px; --rotate: 0deg; }

/*==================== Scroll Wrapper for Recent Customers ====================*/

.scroll-wrapper3 {
  position: relative;
  overflow: hidden;
}

/* Scroll Track */
.scroll-track3 {
  display: flex;
  gap: 24px;
  width: max-content;
  will-change: transform;
}

/* Card fade edges */
.scroll-wrapper3::before,
.scroll-wrapper3::after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: 80px; /* fade width */
  z-index: 10;
  pointer-events: none;
}

.scroll-wrapper3::before {
  left: 0;
  background: linear-gradient(to right, #0c0c0e 0%, transparent 100%);
}

.scroll-wrapper3::after {
  right: 0;
  background: linear-gradient(to left, #0c0c0e 0%, transparent 100%);
}

.scroll-track3 {
  display: flex;
  gap: 24px;
  width: max-content;
  will-change: transform;
}

/*==================== Recent Customers ====================*/

.recentcustomersfade {
    position: relative;  
    z-index: 10;
    padding: 160px 0;
    background-color: transparent; 
    display: flex;
    flex-direction: column;
    color: white;
    margin-top: -300px; 
    margin-bottom: 0px; 
    overflow: visible;  
    --fade-size: 15%; 

    /* Fade only at TOP */
    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black var(--fade-size),
        black 100%
    );

    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black var(--fade-size),
        black 100%
    );
}

.RecentCustomers-Title {
    text-align: center; 
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.RecentCustomers-Title span {
    color: #A855F7; 
    text-shadow: 0 0 25px #A855F7;
}

.RecentCustomers-Subtext {
    text-align: center; 
    color: #aaa;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-size: 10px;
    font-weight: 700;
}

.Reviews-RecentCustomers-Subtext strong {
    color: white;
}

.utc-card {
    display: flex;
    align-items: center;
    background: rgba(20, 20, 22, 0.75); 
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 19px;
    padding: 12px 16px;
    
    /* FIX: Set a consistent width for the scroll track */
    width: 320px; 
    flex-shrink: 0; /* Prevents cards from squishing in the flex track */
    
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    backdrop-filter: blur(10px); /* Optional: Adds that Stripe-grade glass look */
}

.utc-pfp-container {
    width: 44px;
    height: 44px;
    margin-right: 12px;
    flex-shrink: 0;
}

.utc-pfp-image {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
    display: block;
    
}

.utc-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    /* FIX: Ensures text doesn't push the price out of the card */
    overflow: hidden; 
    min-width: 0; 
}

.utc-name {
    color: #ffffff;
    font-size: 16px; /* Slightly adjusted for better balance */
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Adds '...' for very long usernames */
}

.utc-date {
    color: #666666;
    font-size: 13px;
    margin-top: 2px;
}

/* Styles for your specific price lines */
.utc-price-container {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    /* FIX: Use auto margin to push it to the right instead of a fixed 50px */
    margin-left: auto; 
    padding-left: 15px;
    white-space: nowrap;
    display: flex;
    align-items: baseline;
    flex-shrink: 0;
}

.curr-code {
    font-size: 0.875rem; /* text-sm */
    font-weight: 500;    /* font-medium */
    opacity: 0.7;       /* opacity-70 */
    margin-left: 4px;   /* ml-1 */
}

/*==================== News Letter Signup ====================*/


/* Container */
.banner-inner-unique {
    display: flex !important;
    flex-direction: column !important; 
    height: auto !important;
}

/* Main Card */
.banner-card-unique {
    width: 100%;
    max-width: auto; 
    background: #111114;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    flex-direction: column; /* This stacks them vertically */
}

/* The Image Header (Cropped at Top) */
.visual-side-unique {
    position: relative !important; /* Removes 'absolute' which was pinning it */
    order: -1 !important;          /* Moves it to the top of the stack */
    width: 100% !important;
    height: 200px !important;      /* Adjust this for more/less crop */
    right: auto !important;        /* Reset original desktop positioning */
    top: auto !important;
    
    background-image: url('/assets/img/banners/mail-banner.png');
    background-position: center !important;
    background-size: cover !important;
    
    /* Fade downward into the text */
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%) !important;
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%) !important;
}

/* Text Content Area */
.content-side-unique {
    flex: none !important;
    width: 100% !important;
    padding: 30px 20px !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

.banner-card-unique {
    height: auto !important;
    min-height: 500px;
    display: flex !important;
    flex-direction: column !important;
}

.title-unique {
    color: #ffffff;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
}

.title-unique span {
    color: #A855F7;
    text-shadow: 0 0 15px rgba(168, 85, 247, 0.4); 
}

.desc-unique {
    color: #999999;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 30px;
}

/* Form Styling */
.newsletter-form-unique .input-group-unique {
    display: flex;
    flex-direction: column; /* Vertical stack for mobile ergonomics */
    width: 100%;
    gap: 12px;
}

.input-group-unique input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 16px;
    color: #ffffff;
    font-size: 12px;
    text-align: center;
}

.glow-button-unique {
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 10px;
    cursor: pointer;
}

.disclaimer-unique {
    margin-top: 20px;
    font-size: 10px;
    color: #6d6d6d;
}


/*==================== Login Popout ====================*/

/* Overlay for the login modal */
.login-overlay {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

/* Card container */
.login-card {
    background: #151515;
    width: 350px;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Close button */
.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #666;
    font-size: 24px;
    cursor: pointer;
}

/* Logo area */
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-bottom: 25px;
}

.brand-icon {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.1));
}

/* Divider line */
.divider {
    border: 0;
    border-top: 1px solid #222;
    margin: 30px 0;
}

/* Headings */
h2 {
    letter-spacing: 2px;
    font-weight: 800;
    margin-bottom: 10px;
}

.subtitle {
    color: #aaa;
    font-size: 14px;
    margin-bottom: 30px;
}

/* Login buttons */
.login-button-discord,
.login-button-fivem {
    display: flex;
    align-items: center;       /* vertical align icon with text */
    justify-content: center;
    gap: 8px;                  /* space between icon and text */
    width: 100%;               /* full width of card */
    padding: 12px 16px;
    font-weight: bold;
    font-size: 15px;
    border-radius: 8px;
    border: 1px solid #333;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* Discord button theme */
.btn-icon,
.login-button-discord i {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;  /* important for text alignment */
    font-size: 20px;         /* for Font Awesome icon */
}

/* Discord button colors */
.login-button-discord {
    color: #8e9aff;
    background: #1a1a1a;
}
.login-button-discord:hover {
    background: #222;
}

/* FiveM button colors */
.login-button-fivem {
    color: #ff862f;
    background: #1a1a1a;
}
.login-button-fivem:hover {
    background: #222;
}

/* Button group always stacked vertically */
.login-button-group {
    display: flex;
    flex-direction: column; /* stacked under each other */
    align-items: center;
    gap: 12px;
    margin: 20px 0;
}


/* Footer & security text */
.secure-text {
    font-size: 12px;
    color: #888;
    margin-top: 25px;
}

.support-footer {
    margin-top: 10px;
    font-size: 14px;
    color: #aaa;
}

.support-footer a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.main-subtitle {
    display: block !important;       
    width: 100% !important;         
    text-align: center !important;  
    margin: 20px auto !important;   
    max-width: 800px;               
    line-height: 1.6;              
}

/* ====================== MOBILE QUICK LINKS ====================== */

    .us-menu,
    .us-menu * {
      box-sizing: border-box;
    }

    .us-menu {
      font-family: "Inter", sans-serif;
      position: relative;
      z-index: 9999;
    }

    /* trigger button */
    .us-menu .menu-trigger {
      width: 46px;
      height: 46px;
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 12px;
      background: rgba(20, 15, 15, 0.94);
      color: white;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      box-shadow: 0 12px 30px rgba(0,0,0,0.25);
      transition: 0.2s ease;
    }

    .us-menu .menu-trigger:hover {
      background: rgba(22,24,30,0.98);
      transform: translateY(-1px);
    }

    .us-menu .menu-overlay {
      position: fixed;
      inset: 0;
      background: rgb(0, 0, 0);
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.25s ease, visibility 0.25s ease;
      z-index: 40;
    }

    .us-menu .menu-overlay.active {
      opacity: 1;
      visibility: visible;
    }

    .us-menu .drawer {
      position: fixed;
      top: 0;
      right: 0;
      width: 450px;
      max-width: 94vw;
      height: 100vh;
      z-index: 50;
      background:
        linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0)),
        #0c0c0e;;
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border-left: 1px solid rgba(255,255,255,0.07);
      box-shadow: 0 24px 80px rgba(0,0,0,0.48);
      color: #f5f7fb;
      display: flex;
      flex-direction: column;
      transform: translateX(100%);
      transition: transform 0.32s cubic-bezier(.22,.8,.18,1);
    }

    .us-menu .drawer.active {
      transform: translateX(0);
    }

    .us-menu .drawer-inner {
      padding: 14px;
      overflow-y: auto;
      height: 100%;
    }

    .us-menu .drawer-inner::-webkit-scrollbar {
      width: 8px;
    }

    .us-menu .drawer-inner::-webkit-scrollbar-thumb {
      background: rgba(255,255,255,0.08);
      border-radius: 999px;
    }

    .us-menu .topbar {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
      padding-bottom: 14px;
      border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .us-menu .brand {
      display: flex;
      align-items: center;
      gap: 10px;
      min-width: 0;
    }

    .us-menu .brand img {
      height: 50px;
      width: auto;
      display: block;
      object-fit: contain;
    }

    .us-menu .close-btn {
      width: 26px;
      height: 26px;
      border: none;
      background: transparent;
      color: rgba(255,255,255,0.34);
      border-radius: 8px;
      cursor: pointer;
      transition: 0.2s ease;
      flex-shrink: 0;
    }

    .us-menu .close-btn:hover {
      background: rgba(255,255,255,0.05);
      color: white;
    }

    .us-menu .group {
      padding: 14px 0;
      border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .us-menu .group:last-child {
      border-bottom: none;
    }

    .us-menu .nav-list {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .us-menu .nav-item,
    .us-menu .nav-toggle {
      width: 100%;
      min-height: 40px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 0 8px;
      border: none;
      background: transparent;
      color: #f5f7fb;
      border-radius: 12px;
      text-decoration: none;
      cursor: pointer;
      transition: background 0.18s ease, color 0.18s ease;
      font-size: 12px;
      font-weight: 600;
    }

    .us-menu .nav-item:hover,
    .us-menu .nav-toggle:hover {
      background: rgba(255,255,255,0.045);
    }

    .us-menu .nav-left {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .us-menu .nav-left i:first-child {
      width: 14px;
      font-size: 12px;
      color: rgba(255,255,255,0.88);
    }

    .us-menu .nav-toggle i:last-child {
      font-size: 11px;
      color: rgba(255,255,255,0.56);
      transition: transform 0.2s ease;
    }

    .us-menu .nav-toggle.open i:last-child {
      transform: rotate(180deg);
    }

    .us-menu .section-title {
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.07em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.34);
      margin-bottom: 12px;
    }

    .us-menu .social-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
    }

    .us-menu .social-btn {
      min-height: 54px;
      border-radius: 12px;
      background: rgba(255,255,255,0.015);
      border: 1px solid rgba(255,255,255,0.07);
      color: white;
      text-decoration: none;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 6px;
      transition: 0.2s ease;
    }

    .us-menu .social-btn:hover {
      background: rgba(255,255,255,0.04);
      border-color: rgba(255,255,255,0.12);
      transform: translateY(-1px);
    }

    .us-menu .social-btn i {
      font-size: 18px;
    }

    .us-menu .social-btn span {
      font-size: 11px;
      font-weight: 700;
    }

    .us-menu .currency-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 8px;
    }

    .us-menu .currency-btn {
      height: 30px;
      border-radius: 9px;
      border: 1px solid rgba(255,255,255,0.07);
      background: rgba(255,255,255,0.03);
      color: rgba(255,255,255,0.28);
      font-size: 11px;
      font-weight: 700;
      cursor: pointer;
      transition: 0.18s ease;
    }

    .us-menu .currency-btn:hover {
      background: rgba(255,255,255,0.055);
      color: rgba(255,255,255,0.6);
    }

    .us-menu .currency-btn.active {
      background: #f4f5f7;
      color: #111318;
      border-color: rgba(255,255,255,0.2);
    }

    .us-menu .basket-btn {
      width: 100%;
      height: 36px;
      border-radius: 11px;
      border: 1px solid rgba(255,255,255,0.07);
      background: rgba(255,255,255,0.018);
      color: white;
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 0 12px;
      font-size: 12px;
      font-weight: 700;
      cursor: pointer;
      transition: 0.18s ease;
    }

    .us-menu .basket-btn:hover {
      background: rgba(255,255,255,0.045);
      border-color: rgba(255,255,255,0.12);
    }

    .us-menu .login-btn {
      width: 100%;
      height: 42px;
      border: 1px solid rgba(255,255,255,0.09);
      border-radius: 12px;
      background: rgba(255,255,255,0.08);
      color: white;
      font-size: 14px;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      cursor: pointer;
      transition: 0.2s ease;
    }

    .us-menu .login-btn:hover {
      background: rgba(255,255,255,0.12);
      border-color: rgba(255,255,255,0.14);
    }

    .us-menu .submenu {
      display: grid;
      grid-template-rows: 0fr;
      transition: grid-template-rows 0.22s ease;
      padding-left: 24px;
    }

    .us-menu .submenu-inner {
      overflow: hidden;
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .us-menu .submenu.open {
      grid-template-rows: 1fr;
      padding-top: 6px;
    }

    .us-menu .submenu a {
      color: rgba(255,255,255,0.56);
      text-decoration: none;
      font-size: 12px;
      font-weight: 500;
      padding: 8px 10px;
      border-radius: 10px;
      transition: 0.18s ease;
    }

    .us-menu .submenu a:hover {
      color: white;
      background: rgba(255,255,255,0.04);
    }

    .us-menu.menu-open {
      overflow: visible;
    }

    @media (max-width: 480px) {
      .us-menu .drawer {
        width: 100%;
        max-width: 100%;
      }
    }

    .login-btn.is-authenticated {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin-top: 10px;
}

.user-profile-card {
    /* Optional: fine-tune the background to match your screenshot's dark theme */
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.user-profile-card:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* Ensure the sidebar version doesn't overlap or shrink */
.group .open-login-btn.is-authenticated {
    display: block !important;
    height: auto !important;
    margin-top: 20px !important; /* Forces it away from the Basket button */
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

/* Force the flex container in the sidebar to allow growth */
.sidebar-content-wrapper { /* Replace with your actual menu container class if different */
    display: flex;
    flex-direction: column;
    gap: 10px;
}

