#main-profile-gameready {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
}
#main-profile-gameready i {
  font-size: 2rem;
  vertical-align: middle;
}
/* Sync hero background image height with hero-art */
:root {
  --hero-art-height: 92vh;
}
/* Hero background image that stops before hero art */

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: var(--hero-art-height);
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 900px) {
  :root {
    --hero-art-height: 340px;
  }
  .hero-bg-image {
    height: var(--hero-art-height);
  }
}
* {
  line-height: normal;
}

body {
 
  margin: 0;
}


*, html {

    scroll-behavior: smooth !important;
}

::-webkit-scrollbar {
  width: 4px;
  background-color: transparent;
}
::-webkit-scrollbar-thumb {
  background-color: #2243af;
}


.bg-image {

  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.05;
  z-index: -1;
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 30%;
  overflow: scroll;
}

.social-icons a i {
  transition: fill 0.2s, color 0.2s;
  fill: #ffffff17;
}
.social-icons a:hover i,
.social-icons a:focus i {
  fill: var(--color-primary); /* Tailwind red-500 */
  color: var(--color-primary);
}
/* for SVGs using only currentColor */
.social-icons a i  {
  transition: fill 0.2s;
}
.social-icons a:hover i ,
.social-icons a:focus i  {
  fill: var(--color-primary);
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}


.gradient-btn {
	position: relative;
	overflow: hidden;
}
.gradient-btn::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: linear-gradient(
		to right,
		transparent,
		rgba(255, 255, 255, 0.5),
		transparent
	);
	transform: rotate(60deg);
	transition: transform 1s;
	transform: translate(-100%, -100%);
}
.gradient-btn:hover::before {
	transform: translate(100%, 100%);
}

.absolute-center {
    position: absolute;
    top: calc(1/2 * 100%);
    left: calc(1/2 * 100%);
    --tw-translate-x: calc(calc(1/2 * 100%) * -1);
    --tw-translate-y: calc(calc(1/2 * 100%) * -1);
    translate: var(--tw-translate-x) var(--tw-translate-y);
}


input:focus {
  outline: none;
  border: none;
}

input:focus-visible {
  outline: none;
  border: none;
}

input {
  outline: none;
  border: none;
}

/* Swiper Slider Custom Styles */ 
.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-color-secondary);
}

.packageMainSwiper .swiper-slide {
  overflow: hidden;
}

.packageMainSwiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
}

.packageThumbsSwiper .swiper-slide {
  opacity: 0.2;
  transition: opacity 0.3s ease, border 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.packageThumbsSwiper .swiper-slide-thumb-active { 
  opacity: 1 !important;
  border-color: var(--color-primary) !important;
}

.packageThumbsSwiper .swiper-slide:hover {
  opacity: 0.8;
}

.swiper-button-next,
.swiper-button-prev {
  background: rgba(22, 22, 26, 0.8) !important;
  width: 40px !important; 
  height: 40px !important;
  border-radius: 50% !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: var(--color-primary) !important;
}

.swiper-button-next:after, 
.swiper-button-prev:after {
  font-size: 16px !important;
  color: #fff;
}

@media (max-width: 768px) {
  .swiper-button-next,
  .swiper-button-prev {
    width: 30px !important;
    height: 30px !important;
  }

  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 12px !important;
  }
}

.scrollbar-hide {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}



.loading-data {
	width: 50px;
	padding: 8px;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--color-primary);
	--_m: conic-gradient(#0000 10%, #000), linear-gradient(#000 0 0) content-box;
	-webkit-mask: var(--_m);
	mask: var(--_m);
	-webkit-mask-composite: source-out;
	mask-composite: subtract;
	animation: l3 1s infinite linear;
}
@keyframes l3 {
	to {
		transform: rotate(1turn);
	}
}


.btn-loading {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	position: relative;
	animation: rotate1 1s linear infinite;
}
.btn-loading::before {
	content: '';
	box-sizing: border-box;
	position: absolute;
	inset: 0px;
	border-radius: 50%;
	border: 3px solid #16161A;
	animation: prixClipFix 2s linear infinite;
}


.bg-delete {
    background-color: #D84141;
} 


.bg-primary {
background-color: var(--color-primary) !important;
}


@keyframes rotate1 {
	100% {
		transform: rotate(360deg);
	}
}

@keyframes prixClipFix {
	0% {
		clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0); 
	}
	25% {
		clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0);
	}
	50% {
		clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%);
	}
	75% {
		clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%);
	}
	100% {
		clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0);
	}
}


.colored-toast.swal2-icon-success {
	background-color: #a5dc86 !important;
}

.colored-toast.swal2-icon-error {
	background-color: #f27474 !important;
}

.colored-toast.swal2-icon-warning {
	background-color: #f8bb86 !important;
}

.colored-toast.swal2-icon-info {
	background-color: #3fc3ee !important;
}

.colored-toast.swal2-icon-question {
	background-color: #87adbd !important;
}

.colored-toast .swal2-title {
	color: white;
}

.colored-toast .swal2-close {
	color: white;
}

.colored-toast .swal2-html-container {
	color: white;
}




.Btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgb(255 255 255 / 1%);
  border: solid 1.5px #ffffff03;
  font-weight: 600;
  gap: 8px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition-duration: .3s;
}

.Btn path {
	fill: #ffffff5c;
	transition: all;
	transition-duration: 300ms;
}


.Btn:hover path {
	fill: var(--dark-color-secondary);
}


.Btn::before {
  width: 100%;
  height: 200px;
  position: absolute;
  content: "";
  background-color: var(--color-primary);
  border-radius: 50%;
  left: -100%;
  top: 0;
  z-index:1;
  transition-duration: .3s;
}

.Btn:hover::before {
  transition-duration: .3s;
  transform: translate(100%,-50%);
  border-radius: 0;
	
}

.Btn:hover {
	box-shadow: 5px 5px 10px rgb(36 36 36 / 24%);
	color: var(--dark-color-secondary)
}


@keyframes scaleUpDown {
  0%, 100% {
    transform: scaleY(1) scaleX(1);
  }

  50%, 90% {
    transform: scaleY(1.1);
  }

  75% {
    transform: scaleY(0.95);
  }

  80% {
    transform: scaleX(0.95);
  }
}

@keyframes shake {
  0%, 100% {
    transform: skewX(0) scale(1);
  }

  50% {
    transform: skewX(5deg) scale(0.9);
  }
}

@keyframes particleUp {
  0% {
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    top: -100%;
    transform: scale(0.5);
  }
}

@keyframes glow {
  0%, 100% {
    background-color: #ef5a00;
  }

  50% {
    background-color: #ff7800;
  }
}

.fire {
  position: absolute;
  top: calc(8% - 50px);
  left: calc(100% - 50px);
  width: 35px;
  height: 35px;
  background-color: transparent;
  margin-left: auto;
  margin-right: auto;
}

.fire-center {
  position: absolute;
  height: 100%;
  width: 100%;
  animation: scaleUpDown 3s ease-out;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}

.fire-center .main-fire {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(farthest-corner at 10px 0, #d43300 0%, #ef5a00 95%);
  transform: scaleX(0.8) rotate(45deg);
  border-radius: 0 40% 60% 40%;
}

.fire-center .particle-fire {
  position: absolute;
  top: 60%;
  left: 45%;
  width: 10px;
  height: 10px;
  background-color: #ef5a00;
  border-radius: 50%;
  animation: particleUp 2s ease-out 0;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}

.fire-right {
  height: 100%;
  width: 100%;
  position: absolute;
  animation: shake 2s ease-out 0;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}

.fire-right .main-fire {
  position: absolute;
  top: 15%;
  right: -25%;
  width: 80%;
  height: 80%;
  background-color: #ef5a00;
  transform: scaleX(0.8) rotate(45deg);
  border-radius: 0 40% 60% 40%;
}

.fire-right .particle-fire {
  position: absolute;
  top: 45%;
  left: 50%;
  width: 15px;
  height: 15px;
  background-color: #ef5a00;
  transform: scaleX(0.8) rotate(45deg);
  border-radius: 50%;
  animation: particleUp 2s ease-out 0;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}

.fire-left {
  position: absolute;
  height: 100%;
  width: 100%;
  animation: shake 3s ease-out 0;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}

.fire-left .main-fire {
  position: absolute;
  top: 15%;
  left: -20%;
  width: 80%;
  height: 80%;
  background-color: #ef5a00;
  transform: scaleX(0.8) rotate(45deg);
  border-radius: 0 40% 60% 40%;
}

.fire-left .particle-fire {
  position: absolute;
  top: 10%;
  left: 20%;
  width: 10%;
  height: 10%;
  background-color: #ef5a00;
  border-radius: 50%;
  filter: drop-shadow(0 0 10px #d43322);
  animation: particleUp 3s infinite ease-out 0;
  animation-fill-mode: both;
}

.fire-bottom .main-fire {
  position: absolute;
  top: 30%;
  left: 20%;
  width: 75%;
  height: 75%;
  background-color: #ff7800;
  transform: scaleX(0.8) rotate(45deg);
  border-radius: 0 40% 100% 40%;
  filter: blur(10px);
  animation: glow 2s ease-out 0;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}




.package-description {
	--tw-text-opacity: 1;
	color: rgba(240,236,226,var(--tw-text-opacity));
	-webkit-text-decoration: none;
	text-decoration: none;
	text-transform: none;
	font-weight: 400
}

.package-description :not(:last-child) {
	margin-bottom: .85rem !important;
}

.package-description h1,.package-description h2,.package-description h3,.package-description h4 {
	margin-top: 1.5rem;
	margin-bottom: 1rem;
	--tw-text-opacity: 1;
	color: rgba(255,252,245,var(--tw-text-opacity));
	font-style: normal;
	-webkit-text-decoration: none;
	text-decoration: none;
	text-transform: capitalize;
	font-weight: 700
}

.package-description a {
	--tw-text-opacity: 1;
	color: var(--color-primary);
	transition-timing-function: cubic-bezier(.4,0,.2,1);
	transition-duration: .15s
}

.package-description a:hover {
	--tw-text-opacity: 1;
	text-decoration-line: underline !important;
	color: var(--color-primary);
}

.package-description b {
	--tw-text-opacity: 1;
	color: rgba(255,252,245,var(--tw-text-opacity))
}

.package-description ol li,.package-description ul li {
	position: relative;
	padding-left: 2ch;
	--tw-text-opacity: 1;
	color: rgba(240,236,226,var(--tw-text-opacity))
}

.package-description ul li:before {
	content: "";
	position: absolute;
	left: 0;
	top: .5rem;
	height: .5rem;
	width: .5rem;
	border-radius: .5rem;
	--tw-bg-opacity: 1;
	background-color: var(--color-primary);
}

.package-description ol {
	counter-reset: ol-counter
}

.package-description ol li {
	counter-increment: ol-counter
}

.package-description ol li:before {
	content: counter(ol-counter) ". ";
	position: absolute;
	left: 0;
	font-weight: 700;
	--tw-text-opacity: 1;
	color: var(--color-primary);
}

.package-description img {
	max-width: 100%;
}


.package-description hr {
	color:white;
	opacity: 0.1;
}

.package-description img.fr-rounded {
	border-radius: calc(.5rem*.85)
}

.package-description img.fr-shadow {
	--tw-shadow: 0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;
	--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);
	box-shadow: var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);
	--tw-shadow-color: #0000004d;
	--tw-shadow: var(--tw-shadow-colored)
}

.package-description img.fr-bordered {
	border-width: 2px;
	--tw-border-opacity: 1;
	border-color: rgba(31,94,255,var(--tw-border-opacity))
}

.package-description iframe {
	aspect-ratio: 16/9;
	height: 100%;
	width: 100%;
	border-radius: calc(.5rem*.85)
}



@keyframes pulse-subtle {
0%,
100% {
  transform: scale(1);
  box-shadow: 0 10px 25px -5px rgba(239, 68, 68, 0.3);
}
50% {
  transform: scale(1.05);
  box-shadow: 0 15px 30px -5px rgba(239, 68, 68, 0.5);
}
}
@keyframes gradient {
0%,
100% {
  background-position: 0% 50%;
}
50% {
  background-position: 100% 50%;
}
}
.animate-pulse-subtle {
animation: pulse-subtle 2s ease-in-out infinite;
}
.animate-gradient {
background-size: 200% 200%;
animation: gradient 3s ease infinite;
}

        :root {
            --primary-blue: #3451e7;
            --text-muted: #bdbdbd;
            --bg-dark: #0a0a0b;
            --footer-bg: #0d0d0f;
        }

        body {
            background: var(--bg-dark) url('../media/bg.png') center top/cover no-repeat;
            background-attachment: scroll;
            min-height: 100vh;
            margin: 0;
            font-family: 'Poppins', sans-serif;
            color: #fff;
            overflow-x: hidden;
            position: relative;
        }

        .hero-overlay {
            position: fixed;
            inset: 0;
            background: linear-gradient(180deg, rgba(10,10,11,1) 0%, rgba(10,10,11,0.85) 40%, rgba(13,13,15,1) 100%);
            z-index: 1;
            pointer-events: none;
        }

        .container {
            max-width: 1600px;
            margin: 0 auto;
            padding: 0 100px;
            position: relative;
            z-index: 10;
        }

        /* --- HEADER --- */
        header {
            height: 120px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .header-left { display: flex; align-items: center; gap: 15px; }
        .header-logo img { width: 65px; filter: drop-shadow(0 0 10px rgba(52, 81, 231, 0.3)); }
        .brand-info h2 { margin: 0; font-size: 1.4rem; font-weight: 700; line-height: 1.1; }
        .brand-info span { font-size: 0.95rem; color: var(--text-muted); text-transform: capitalize; }

        nav { display: flex; gap: 10px; }
        nav a, .nav-drop {
            padding: 12px 24px;
            border-radius: 12px;
            text-decoration: none;
            color: var(--text-muted);
            font-weight: 600;
            font-size: 1.05rem;
            transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
        }
        nav a.active, nav a:hover, .nav-drop:hover { background: rgba(255,255,255,0.08); color: #fff; }

        .header-right { display: flex; align-items: center; gap: 20px; }
        .currency-btn { color: var(--text-muted); font-weight: 600; cursor: pointer; }
        .login-btn {
            background: var(--primary-blue);
            color: #fff;
            padding: 14px 40px;
            border-radius: 12px;
            text-decoration: none;
            font-weight: 600;
            box-shadow: 0 8px 25px rgba(52, 81, 231, 0.3);
            transition: 0.3s;
        }
        .login-btn:hover { filter: brightness(1.1); transform: translateY(-2px); }

        /* --- HERO --- */
        .hero-main {
            display: flex;
            align-items: center;
            min-height: calc(100vh - 120px);
        }

        @keyframes slideIn {
            0% { opacity: 0; transform: translateX(-120px); }
            100% { opacity: 1; transform: translateX(0); }
        }

        .hero-content {
            max-width: 750px;
            opacity: 0;
            animation: slideIn 1.4s cubic-bezier(0.19, 1, 0.22, 1) forwards;
            animation-delay: 0.1s;
            padding-bottom: 100px;
        }

        .breadcrumb {
            background: rgba(52, 81, 231, 0.12);
            color: var(--primary-blue);
            font-size: 0.9rem;
            font-weight: 700;
            padding: 10px 20px;
            border-radius: 8px;
            display: inline-block;
            margin-bottom: 35px;
            letter-spacing: 0.2px;
        }

        .welcome-text { font-size: 1.7rem; font-weight: 600; margin-bottom: 5px; }
        .hero-title { font-size: 6.5rem; font-weight: 900; line-height: 0.85; margin: 0 0 25px 0; letter-spacing: -4px; }

        .powered-by { display: flex; align-items: center; gap: 12px; color: var(--text-muted); font-weight: 500; margin-bottom: 30px; font-size: 1.1rem; }
        .powered-by img { height: 24px; }

        .hero-desc { color: var(--text-muted); font-size: 1.2rem; line-height: 1.8; margin-bottom: 50px; max-width: 650px; }

        .hero-btns { display: flex; gap: 15px; }
        .btn {
            padding: 16px 45px;
            border-radius: 12px;
            font-weight: 600;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 1.15rem;
            transition: 0.3s;
        }
        .btn-play { background: var(--primary-blue); color: #fff; box-shadow: 0 8px 25px rgba(52, 81, 231, 0.3); }
        .btn-discord { background: #18181b; color: #fff; }

        /* --- CHARACTER ART (UPDATED) --- */
        .hero-art {
          position: absolute;
          right: -120px;
          top: 120px;
          bottom: auto;
          height: var(--hero-art-height);
          z-index: 2;
          pointer-events: none;
        }

        .slide-in-right {
            height: 100%;
            object-fit: contain;
            opacity: 1;
            animation: none;
            animation-delay: 0s;
        }

        /* --- FOOTER SECTION --- */
/* 1. Ensure the footer itself is full screen width */
/* --- Global Reset to prevent side-scrolling --- */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

/* --- The Full-Width Footer --- */
footer {
    background-color: var(--footer-bg);
    padding: 80px 0 40px 0;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 10;
    
    /* These properties force the footer to break out of any parent container */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* --- Internal Container (Keeps text aligned) --- */
footer .container {
    max-width: 1200px; /* Match your site's standard width */
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* --- Footer Grid Layout --- */
.footer-grid { 
    display: grid; 
    grid-template-columns: 1.5fr 1fr 1.2fr 1fr; 
    gap: 40px; 
    margin-bottom: 60px; 
}

/* --- Brand Section --- */
.footer-brand p { 
    color: var(--text-muted); 
    font-size: 0.9rem; 
    line-height: 1.6; 
    margin-top: 20px; 
    margin-bottom: 25px; 
    max-width: 280px; 
}

.footer-socials { 
    display: flex; 
    gap: 12px; 
}

.social-icon {
    width: 45px;
    height: 45px;
    background: #161618;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.3s;
}

.social-icon:hover { 
    background: var(--primary-blue); 
    color: #fff; 
    transform: translateY(-3px); 
}

/* --- Columns & Links --- */
.footer-column h3 { 
    font-size: 1.1rem; 
    font-weight: 700; 
    margin-bottom: 25px; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    color: #fff;
}

.footer-column h3 span { 
    color: var(--primary-blue); 
}

.footer-links { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
}

.footer-links li { 
    margin-bottom: 15px; 
}

.footer-links a { 
    color: var(--text-muted); 
    text-decoration: none; 
    font-size: 0.95rem; 
    transition: 0.2s; 
}

.footer-links a:hover { 
    color: #fff; 
    padding-left: 5px; 
}

/* --- Contact & Legal Extras --- */
.contact-box { 
    background: #111113; 
    padding: 15px; 
    border-radius: 12px; 
    margin-top: 20px; 
    font-size: 0.85rem; 
    color: var(--text-muted); 
    line-height: 1.5; 
}

.dmca-badge img { 
    width: 120px; 
    opacity: 0.8; 
    margin-bottom: 10px; 
}

.dmca-text { 
    font-size: 0.8rem; 
    color: #555; 
}

/* --- Bottom Bar --- */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #444;
    font-size: 0.85rem;
}

.footer-bottom span { 
    color: var(--primary-blue); 
}

/* --- Mobile Responsiveness --- */
@media (max-width: 1100px) {
    .footer-grid { 
        grid-template-columns: 1fr 1fr; 
    }
}

@media (max-width: 768px) {
    .footer-grid { 
        grid-template-columns: 1fr; 
        gap: 30px;
    }
    
    .footer-bottom { 
        flex-direction: column; 
        gap: 15px; 
        text-align: center; 
    }
}

.recent-release-cards-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  margin: 0 auto;
  max-width: 1600px;
}
#vehicle-cards, #recent-release-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  margin: 0 auto;
  max-width: 1600px;
}
.product-card-1x1 {
  flex: 1 1 320px;
  max-width: 370px;
  min-width: 300px;
}
@media (max-width: 900px) {
  .product-card-1x1 {
    min-width: 90vw;
    max-width: 98vw;
  }
  #vehicle-cards, #recent-release-cards, .recent-release-cards-flex {
    gap: 18px;
    justify-content: center;
  }
}
.product-card-1x1 {
  background: #18181b;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.10);
  max-width: 370px;
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
}
.product-card-1x1:hover {
  box-shadow: 0 8px 32px 0 rgba(52,81,231,0.18);
  transform: translateY(-4px) scale(1.01);
}
.product-card-img-1x1 {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
  background: #23232a;
  display: block;
}
.product-card-content-1x1 {
  padding: 24px 24px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.product-card-row-1x1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.product-card-title-1x1 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}
.product-card-price-1x1 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  background: #23232a;
  border-radius: 8px;
  padding: 6px 16px;
  margin-left: 8px;
}
.product-card-tags-1x1 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}
.product-card-tag-1x1 {
  background: #23232a;
  color: #bdbdbd;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
  padding: 4px 12px;
  text-transform: capitalize;
  letter-spacing: 0.5px;
}
.product-card-btn-1x1 {
  width: 100%;
  background: #23232a;
  color: #bdbdbd;
  font-size: 1.08rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  padding: 16px 0;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.08);
}
.product-card-btn-1x1:hover {
  background: #3451e7;
  color: #fff;
}

        .product-page-wrapper {
            display: grid;
            grid-template-columns: 1.4fr 1fr;
            gap: 25px;
            margin: 40px auto;
            max-width: 1400px;
            padding: 0 20px;
        }

        .product-gallery-card { background: #111111; padding: 20px; border-radius: 15px; }
        
        .main-image-container { 
            position: relative; 
            border-radius: 12px; 
            overflow: hidden; 
            margin-bottom: 15px; 
            aspect-ratio: 16 / 9; 
            background: #050505; 
        }
            .footer-socials .social-icon {
                text-decoration: none;
            }
            .discord-btn-small {
                text-decoration: none;
            }
        .main-image-container img { width: 100%; height: 100%; object-fit: cover; }

        .nav-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0, 0, 0, 0.5);
            color: white;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            z-index: 10;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: 0.3s;
        }
        .nav-arrow:hover { background: rgba(0, 0, 0, 0.8); }
        .arrow-left { left: 10px; }
        .arrow-right { right: 10px; }

        .thumbnail-wrapper {
            position: relative;
            width: 100%;
            overflow: hidden;
            margin-top: 15px;
        }

        .thumbnail-grid { 
            display: flex; 
            gap: 12px; 
            overflow-x: auto; 
            scroll-behavior: smooth;
            scrollbar-width: none;
        }

        .thumbnail-grid::-webkit-scrollbar { display: none; }

        .thumb-item { 
            flex: 0 0 calc(25% - 9px); 
            border-radius: 8px; 
            overflow: hidden; 
            cursor: pointer; 
            border: 2px solid transparent; 
            opacity: 0.5; 
            transition: 0.3s; 
            aspect-ratio: 16/9; 
        }

        .thumb-item.active { border-color: #3b82f6; opacity: 1; }
        .thumb-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

        .product-sidebar { display: flex; flex-direction: column; gap: 20px; }

        /* UPDATED: Reduced top padding to move title up */
        .product-info-card { 
            background: #111111; 
            padding: 15px 25px 25px 25px; 
            border-radius: 15px; 
            height: auto; 
            display: flex; 
            flex-direction: column; 
            justify-content: flex-start; 
            gap: 15px;
        }

        .product-extras-box {
            margin-top: 0px;
            margin-bottom: 15px;
            background: #181818;
            border-radius: 10px;
            padding: 12px 14px;
            color: #b3b3b3;
            font-size: 15px;
        }

        .product-extras-list {
            list-style: none;
            margin: 0;
            padding: 0;
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
            gap: 8px;
        }
        .product-extras-list li {
            font-size: 14px;
            color: #b3b3b3;
            display: flex;
            align-items: center;
        }
        .product-extras-list i {
            margin-right: 6px;
            color: #3b82f6;
        }

        /* UPDATED: Removed top margin to pull title to the very top */
        .product-title-text { font-size: 26px; font-weight: 600; color: #fff; margin-top: 0; margin-bottom: 4px; }
        .product-tags { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
        .tag-pill { background: #1a1a1a; color: #777; padding: 4px 12px; border-radius: 6px; font-size: 13px; }
        .product-price-display { font-size: 32px; font-weight: 700; color: #fff; margin-bottom: 15px; }
        
        .purchase-btn-main { width: 100%; background: #fff; color: #000; border: none; border-radius: 10px; padding: 16px; font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; margin-top: auto;}

        .question-box { background: #111111; padding: 20px 30px; border-radius: 15px; display: flex; justify-content: space-between; align-items: center; color: #888; }
        .discord-btn-small { background: rgba(255,255,255,0.05); color: #fff; padding: 10px 20px; border-radius: 8px; display: flex; align-items: center; gap: 8px; }
        
        @media (max-width: 992px) { .product-page-wrapper { grid-template-columns: 1fr; } }

/* Store Controls Layout */
.store-section {
    padding: 40px 0;
}

.store-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.category-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.search-filter-wrapper {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Search Bar Styling */
.search-container {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    min-width: 300px;
    transition: border-color 0.3s ease;
}

.search-container:focus-within {
    border-color: #5b78ff; /* Matches your login button blue */
}

.search-container i {
    color: rgba(255, 255, 255, 0.4);
    margin-right: 12px;
}

.search-container input {
    background: transparent;
    border: none;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    outline: none;
    width: 100%;
}

/* Filter Dropdown Styling */
.filter-container {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.filter-container select {
    appearance: none;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 10px 40px 10px 15px;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    outline: none;
}

.filter-container i {
    position: absolute;
    right: 15px;
    pointer-events: none;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.filter-container:hover {
    background: rgba(255, 255, 255, 0.08);
}

    /* DROPDOWN CORE STYLING */
    .user-dropdown {
        position: relative;
        display: inline-block;
        font-family: 'Poppins', sans-serif;
    }

    .user-dropdown-trigger {
        display: flex;
        align-items: center;
        gap: 12px;
        background: #0d0d0f; 
        border: 1px solid #1a1a1c;
        border-radius: 8px;
        padding: 8px 12px;
        cursor: pointer;
        min-width: 220px; /* Base width for the card */
        transition: background 0.2s;
    }

    .user-dropdown-trigger:hover {
        background: #141416;
    }

    .user-dropdown-avatar {
        width: 32px;
        height: 32px;
        border-radius: 4px;
        object-fit: cover;
    }

    .user-dropdown-name {
        flex-grow: 1;
        font-size: 15px;
        font-weight: 600;
        color: #ffffff;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-align: left;
    }

    .fa-chevron-down {
        font-size: 12px;
        color: #5c5c5e;
    }

    .user-dropdown-menu {
        display: none;
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        width: 100%; /* Matches Username Card Width */
        background: transparent;
        flex-direction: column;
        gap: 8px;
        z-index: 1000;
    }

    .user-dropdown-menu.open {
        display: flex;
    }

    .user-dropdown-item, .user-dropdown-logout {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 16px;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 500;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .user-dropdown-item {
        background: #0d0d0f;
        color: #efeff1;
        border: 1px solid #1a1a1c;
    }

    .user-dropdown-item:hover {
        background: #1a1a1c;
    }

    .user-dropdown-logout {
        background: rgba(255, 75, 75, 0.1); 
        color: #ff4b4b; 
        border: 1px solid rgba(255, 75, 75, 0.15);
    }

    .user-dropdown-logout:hover {
        background: rgba(255, 75, 75, 0.2);
        transform: translateY(-1px);
    }

        /* Profile Layout Styling */
    .profile-container {
        max-width: 1200px;
        margin: 40px auto;
        padding: 0 20px;
        font-family: 'Poppins', sans-serif;
        color: white;
    }

    .profile-header {
        display: flex;
        align-items: center;
        gap: 25px;
        margin-bottom: 30px;
    }

    .profile-avatar-wrapper {
        position: relative;
    }

    .profile-avatar {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        object-fit: cover;
        background: #1a1a1a;
        padding: 5px;
        border: 2px solid #333;
    }

    .online-indicator {
        position: absolute;
        bottom: 8px;
        right: 8px;
        width: 15px;
        height: 15px;
        background: #2ecc71;
        border-radius: 50%;
        border: 3px solid #000;
    }

    .profile-username {
        font-size: 2.2rem; /* Slightly larger since it's the primary title now */
        font-weight: 700;
        margin: 0;
    }

    .profile-bio {
        color: #aaa;
        margin-top: 5px;
        max-width: 500px;
        font-size: 0.95rem;
    }

    /* Stats */
    .profile-stats {
        margin: 20px 0;
        border-top: 1px solid #222;
        padding-top: 20px;
    }

    .stat-item {
        display: flex;
        flex-direction: column;
    }

    .stat-value {
        font-size: 1.5rem;
        font-weight: 700;
    }

    .stat-label {
        color: #666;
        font-size: 0.75rem;
        letter-spacing: 1px;
    }

    /* Tabs */
    .profile-tabs {
        margin-top: 40px;
        border-bottom: 1px solid #222;
        position: relative;
    }

    .tab {
        padding: 10px 0;
        font-weight: 600;
        font-size: 0.85rem;
        letter-spacing: 1px;
        width: fit-content;
        color: #00BFFF;
    }

    .tab-line {
        height: 2px;
        background: #00BFFF;
        width: 65px; 
        position: absolute;
        bottom: -1px;
    }

    /* Grid */
    .assets-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        width: 100%;
        margin-left: 0;
        gap: 20px;
        margin-top: 30px;
        min-height: 200px; /* Keeps space open even when empty */
    }

#edit-desc-btn {
    display: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid #ffffff03;
    border-radius: 8px;
    padding: 6px 10px;
    margin-left: 0.5rem;
    cursor: pointer;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 1.5rem;
    overflow-y: auto;
    max-height: 500px;
    justify-items: start;
    align-items: start;
    width: fit-content;
    background: var(--primary-blue);
    box-shadow: 0 2px 8px rgba(52, 81, 231, 0.18);
}

#edit-desc-btn:hover i {
    color: #fff;
}

#edit-desc-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(13, 13, 15, 0.85);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
}

#edit-desc-modal .modal-content {
    background: #18181b;
    padding: 2.5rem; /* Balanced padding on all sides */
    border-radius: 1.2rem;
    box-shadow: 0 2px 32px rgba(52, 81, 231, 0.18);
    width: 400px;    /* Fixed width for better centering */
    max-width: 90vw;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    position: relative;
}

#edit-desc-modal h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #fff;
    font-weight: 700;
    text-align: left; /* Keeps the title clean and aligned with the input */
}

#edit-desc-modal label {
    font-weight: 500;
    color: var(--primary-blue);
    display: block;
    margin-bottom: -0.5rem; /* Pulls label closer to the input box */
}

#edit-desc-input {
    width: 100%;
    box-sizing: border-box; /* Prevents padding from pushing box off-center */
    padding: 0.85rem 1rem;
    border-radius: 0.7rem;
    border: 1.5px solid #23232a;
    background: #23232a;
    color: #fff;
    font-size: 1.05rem;
    resize: vertical;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.2s;
}

#edit-desc-input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

/* Fixed: Centered button container */
#edit-desc-modal .modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center; /* Changed from flex-end to center */
    margin-top: 0.5rem;
}

#save-desc-btn {
    background: var(--primary-blue);
    color: #fff;
    padding: 0.7rem 1.8rem;
    border: none;
    border-radius: 0.7rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(52, 81, 231, 0.18);
    transition: background 0.2s, transform 0.1s;
    flex: 1; /* Makes buttons equal width for a balanced look */
}

#save-desc-btn:hover {
    background: #2243af;
}

#save-desc-btn:active {
    transform: scale(0.98);
}

#discard-desc-btn {
    background: #23232a;
    color: #bdbdbd;
    padding: 0.7rem 1.8rem;
    border: none;
    border-radius: 0.7rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    flex: 1; /* Makes buttons equal width for a balanced look */
}

#discard-desc-btn:hover {
    background: #2d2d35;
    color: #fff;
}

            .profile-tabs .tab {
                color: #fff;
                border-bottom: none;
                background: none;
                transition: color 0.2s, border-bottom 0.2s;
            }
            .profile-tabs .tab.active {
                color: var(--primary-blue, #00BFFF);
                border-bottom: 2.5px solid var(--primary-blue, #00BFFF);
            }
                .profile-tabs {
                    position: relative;
                    margin-bottom: 1.5rem;
                }
                .profile-tabs .tab-line {
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    height: 2.5px;
                    background: var(--primary-blue, #00BFFF);
                    border-radius: 2px;
                    transition: left 0.3s cubic-bezier(.4,0,.2,1), width 0.3s cubic-bezier(.4,0,.2,1);
                    z-index: 1;
                }
                .profile-tabs .tab {
                    cursor: pointer;
                    position: relative;
                    z-index: 2;
                }

    .login-center-wrapper {
        min-height: 80vh;
        width: 100vw;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 2;
    }
    .discord-modal-container {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 70vh;
        width: 100vw;
        position: relative;
        z-index: 2;
    }
    .styled-login-box {
        background: #18181b;
        border-radius: 18px;
        box-shadow: 0 2px 12px 0 rgba(0,0,0,0.10);
        padding: 40px 36px 32px 36px;
        max-width: 400px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 22px;
        position: relative;
        margin: 0 auto;
        border: 1px solid rgba(255,255,255,0.07);
    }
    .login-title {
        font-size: 2rem;
        font-weight: 700;
        color: #fff;
        margin-bottom: 8px;
        letter-spacing: -1px;
        text-align: center;
    }
    .discord-desc {
        color: var(--text-muted);
        font-size: 1.08rem;
        line-height: 1.7;
        text-align: center;
        margin-bottom: 18px;
        max-width: 320px;
    }
    .discord-login-btn {
        width: 100%;
        background: #23232a;
        color: #fff;
        font-size: 1.08rem;
        font-weight: 600;
        border: none;
        border-radius: 10px;
        padding: 16px 0;
        margin-top: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        cursor: pointer;
        transition: background 0.2s, color 0.2s, box-shadow 0.2s;
        box-shadow: 0 2px 8px 0 rgba(0,0,0,0.08);
    }
    .discord-login-btn:hover {
        background: #3451e7;
        color: #fff;
    }
    .discord-login-btn i {
        font-size: 1.3rem;
        margin-right: 8px;
    }
    @media (max-width: 500px) {
        .styled-login-box {
            padding: 24px 8px 20px 8px;
            max-width: 98vw;
        }
        .discord-desc {
            font-size: 0.98rem;
            max-width: 95vw;
        }
    }

        /* Store page only: make cards larger and responsive */
        #packageGrid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 2.5rem;
            margin-top: 2rem;
            justify-items: center;
        }
        #packageGrid .product-card-1x1 {
            min-width: 0;
            width: 100%;
            max-width: 540px;
            min-height: 420px;
            font-size: 1.08em;
        }
        #packageGrid .product-card-img-1x1 {
            height: 260px;
            object-fit: cover;
        }
        @media (max-width: 1200px) {
            #packageGrid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }
        @media (max-width: 800px) {
            #packageGrid {
                grid-template-columns: 1fr;
            }
            #packageGrid .product-card-1x1 {
                max-width: 100%;
                min-height: 340px;
                font-size: 1em;
            }
            #packageGrid .product-card-img-1x1 {
                height: 180px;
            }
        }

            .category-nav-bar {
                display: flex;
                justify-content: center;
                gap: 1.5rem;
                background: none;
                border-bottom: 2px solid #23232a;
                margin-bottom: 2.2rem;
                padding: 0.7rem 0 0.7rem 0;
                position: relative;
                z-index: 2;
            }
            .category-nav-btn {
                color: #bdbdbd;
                font-weight: 600;
                font-size: 1.08em;
                text-decoration: none;
                padding: 0.5em 2.2em;
                border-radius: 0;
                background: none;
                box-shadow: none;
                display: flex;
                align-items: center;
                gap: 0.7em;
                border: none;
                outline: none;
                cursor: pointer;
                border-bottom: 2.5px solid transparent;
                transition: color 0.18s, border-color 0.18s;
            }
            .category-nav-btn i {
                font-size: 1.1em;
                color: #bdbdbd;
                transition: color 0.18s;
            }
            .category-nav-btn.active,
            .category-nav-btn:hover {
                color: #3451e7;
                border-bottom: 2.5px solid #3451e7;
            }
            .category-nav-btn.active i,
            .category-nav-btn:hover i {
                color: #3451e7;
            }

/* Mobile Toggle Button (Hidden on Desktop) */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

/* Base Nav Styles */
.desktop-nav { display: flex; gap: 20px; }
.mobile-nav-overlay { display: none; }

@media (max-width: 768px) {
    /* Hide specific elements as requested */
    .desktop-nav, .desktop-only {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: block;
    }

    /* Main Overlay Styling */
    .mobile-nav-overlay {
      display: block;
      position: absolute;
      top: 70px; 
      left: 50%;
      transform: translateX(-50%);
      width: 90vw;
      max-width: 400px;
      background: #18181b;
      border-radius: 18px;
      box-shadow: 0 8px 32px rgba(0,0,0,0.18);
      z-index: 1000;
      transition: opacity 0.3s;
      opacity: 0;
      pointer-events: none;
      padding: 0;
    }

    .mobile-nav-overlay.open {
      opacity: 1;
      pointer-events: auto;
    }

    .mobile-nav-content {
      width: 100%;
      padding: 24px 0 40px 0; /* Added bottom padding to prevent cutoff at menu bottom */
      display: flex;
      flex-direction: column;
      gap: 12px;
      align-items: stretch;
      max-height: 80vh;
      overflow: visible; /* CRITICAL: Changed from hidden so dropdown isn't cut off */
      box-sizing: border-box;
    }

    /* Navigation Item Pill Styling */
    .mobile-nav-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: auto; 
        margin: 0 18px 4px 18px; 
        padding: 18px 16px;
        background: #23232a; 
        border-radius: 12px;
        color: #fff;
        text-decoration: none;
        font-family: 'Poppins', sans-serif;
        font-weight: 500;
        font-size: 1.1rem;
        border: none;
        text-align: left;
        transition: background 0.2s;
        position: relative; /* Keep dropdown contained */
    }

    /* Dropdown Specific Fixes for Mobile */
    .user-dropdown {
        width: 100%;
    }

    .user-dropdown-trigger {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        cursor: pointer;
    }

    .user-dropdown-menu {
        display: none; /* Hidden until .open is added by JS */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #2d2d38;
        border-radius: 12px;
        margin-top: 8px;
        z-index: 1100;
        box-shadow: 0 10px 25px rgba(0,0,0,0.3);
        border: 1px solid #3f3f46;
        overflow: hidden;
    }

    .user-dropdown-menu.open {
        display: block; /* Show menu when JS toggles class */
    }

    .user-dropdown-item, .user-dropdown-logout {
        padding: 14px 16px;
        display: flex;
        align-items: center;
        gap: 12px;
        color: white;
        text-decoration: none;
        font-size: 0.95rem;
    }

    .user-dropdown-logout {
        color: #ff4d4d;
        border-top: 1px solid #3f3f46;
    }

    .mobile-nav-item.active {
        background: #2d2d38;
    }

    /* Account/Login Wrapper spacing */
    .mobile-login-btn-wrapper {
        margin: 10px 18px 0 18px;
        padding: 0;
        background: transparent;
        box-shadow: none;
    }
    
    .btn-login-mobile {
        display: block;
        width: 100%;
        background: #3b5bdb;
        color: white;
        text-align: center;
        padding: 18px;
        border-radius: 12px;
        font-weight: 600;
        text-decoration: none;
    }

    /* Hero adjustments */
    .hero-title {
        font-size: 3.2rem !important;
        text-align: left !important;
        line-height: 0.9 !important;
    }
    
    .container {
        padding: 0 16px !important;
    }
}