/* ================================================
   RUSTADIA-INSPIRED THEME FOR OBSIDIAN TEMPLATE
   Modern dark theme with pink/magenta accents
   ================================================ */

/* ============== GLOBAL RESETS ============== */
*,
*::before,
*::after {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    scroll-padding-top: 80px;
}

html {
    font: 15px / 1.6 'Poppins', sans-serif;
    font-weight: 400;
    color: var(--text-color);
    background-color: var(--bg-color);
}

body {
    background-color: var(--bg-color);
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
}

/* ============== ANIMATED BACKGROUND ============== */
.animated-bg {
    position: fixed;
    inset: 0;
    background: linear-gradient(-45deg, #0a0a0a, #1a0a1a, #0a0a1a, #1a0a0a);
    background-size: 400% 400%;
    animation: gradient-shift 15s ease infinite;
    z-index: -2;
}

.animated-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255, 159, 243, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 111, 179, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 159, 243, 0.05) 0%, transparent 50%);
    animation: gradient-shift 20s ease-in-out infinite reverse;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ============== PARTICLES ============== */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: fixed;
    width: 2px;
    height: 2px;
    background: rgba(255, 159, 243, 0.5);
    border-radius: 50%;
    animation: float-particles 20s linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 25s; width: 3px; height: 3px; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 20s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 28s; width: 3px; height: 3px; }
.particle:nth-child(4) { left: 40%; animation-delay: 6s; animation-duration: 22s; }
.particle:nth-child(5) { left: 50%; animation-delay: 8s; animation-duration: 30s; width: 4px; height: 4px; }
.particle:nth-child(6) { left: 60%; animation-delay: 10s; animation-duration: 24s; }
.particle:nth-child(7) { left: 70%; animation-delay: 12s; animation-duration: 26s; width: 3px; height: 3px; }
.particle:nth-child(8) { left: 80%; animation-delay: 14s; animation-duration: 21s; }
.particle:nth-child(9) { left: 90%; animation-delay: 16s; animation-duration: 27s; }
.particle:nth-child(10) { left: 15%; animation-delay: 1s; animation-duration: 23s; width: 3px; height: 3px; }
.particle:nth-child(11) { left: 25%; animation-delay: 5s; animation-duration: 29s; }
.particle:nth-child(12) { left: 85%; animation-delay: 3s; animation-duration: 19s; width: 3px; height: 3px; }

@keyframes float-particles {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* ============== CONTAINER ============== */
.container {
    position: relative;
    height: 100%;
    z-index: 1;
}

@media only screen and (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (min-width: 1536px) {
    .container {
        max-width: 1280px !important;
    }
}

/* ============== GLASS MORPHISM ============== */
.glass {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.glass:hover {
    background: rgba(25, 25, 25, 0.7);
    border-color: rgba(255, 255, 255, 0.12);
}

.glass-dark {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* ============== SKELETON LOADING ============== */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.skeleton {
    background: linear-gradient(90deg, #1a1a1a 25%, #252525 50%, #1a1a1a 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* ============== HEADER STYLES ============== */
header {
    font-family: 'Poppins', sans-serif;
}

.header-item {
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 10px;
    position: relative;
    color: #e2e8f0;
}

.header-item svg {
    height: 20px;
    width: 20px;
}

span.cart-number {
    position: absolute;
    top: -6px;
    right: -6px;
    height: 20px;
    width: 20px;
    background: linear-gradient(135deg, #ff9ff3 0%, #ff6fb3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #000;
}

/* Social icons in header */
.social-icon {
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
}

/* ============== NAVIGATION ============== */
.nav-link {
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff9ff3, #ff6fb3);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

/* Mobile nav links */
.mobile-nav-link {
    transition: all 0.3s ease;
}

/* Dropdown menu styling */
.menu-dropdown {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.menu-dropdown a {
    padding: 12px 16px;
    display: block;
    color: #9ca3af;
    transition: all 0.2s ease;
}

.menu-dropdown a:hover {
    background: rgba(255, 159, 243, 0.1);
    color: #fff;
}

/* ============== BUTTONS ============== */
.btn-primary {
    background: linear-gradient(135deg, #ff9ff3 0%, #ff6fb3 100%);
    color: #000;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.3px;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 159, 243, 0.4);
    color: #000;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary i {
    font-size: 12px;
}

.btn {
    font-weight: 600;
    padding: 0.625rem 1.25rem;
    border-radius: var(--border-radius);
    background: linear-gradient(135deg, #ff9ff3 0%, #ff6fb3 100%);
    color: #000;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 159, 243, 0.3);
}

.btn-gift,
.add-btn,
a.add-btn,
button.add-btn {
    background: linear-gradient(135deg, #ff9ff3 0%, #ff6fb3 100%);
    color: #000;
    font-weight: 600;
    border: none;
    border-radius: var(--border-radius);
    padding: 0.625rem 1.25rem;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.btn-gift:hover,
.add-btn:hover,
a.add-btn:hover,
button.add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 159, 243, 0.3);
}

button#giftButton {
    background: linear-gradient(135deg, #9333ea 0%, #7c3aed 100%);
    color: #fff;
    padding: 0.625rem 1.25rem;
    border: none;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

button#giftButton:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(147, 51, 234, 0.3);
}

button#purchaseFromGift {
    background: linear-gradient(135deg, #ff9ff3 0%, #ff6fb3 100%);
    color: #000;
    padding: 0.625rem 1.25rem;
    border: none;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

button#closeGift {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    padding: 0.625rem 1.25rem;
    border: none;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.remove-btn {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    padding: 0.625rem 1.25rem;
    border: none;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.remove-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.3);
}

.btn-svg {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-svg span {
    color: #000;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-modal {
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-modal svg {
    height: 24px;
}

/* ============== MODULES / CARDS ============== */
.module,
.home-content,
.index-section,
.category-package,
.product-page,
.product-description {
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.module:hover,
.category-package:hover {
    border-color: rgba(255, 159, 243, 0.15);
}

.module-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.module-body {
    padding: 1.25rem;
}

h2.module-title {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 0.05em;
    margin: 0;
}

/* ============== INDEX SECTION ============== */
.index-section {
    padding: 1.5rem;
}

.index-section h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
}

.index-section-body {
    padding: 0;
}

.index-section-body p {
    margin-bottom: 1rem;
    color: #9ca3af;
    line-height: 1.6;
}

/* ============== HOME CONTENT ============== */
.home-content {
    padding: 2rem;
}

.home-content-sec {
    padding: 0;
}

h1.home-content-tit {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}

/* ============== CATEGORY PACKAGES ============== */
.category-package {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.category-package-details {
    padding: 0;
}

.category-package-img {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px 15px 0 0;
}

.category-package-img img.package-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-package:hover .category-package-img img.package-img {
    transform: scale(1.05);
}

span.category-package-name {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    color: #fff;
    padding: 1rem;
}

.package-bott {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.2);
    margin-top: auto;
}

.category-package-price-list {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #ff9ff3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 44px;
    justify-content: center;
}

span.category-package-price-disc {
    color: #ef4444;
    font-size: 12px;
    text-decoration: line-through;
    opacity: 0.8;
    line-height: 1;
}

span.category-package-price {
    color: #ff9ff3;
    line-height: 1.2;
}

.category-package-buttons {
    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 0.5rem;
}

.category-package-buttons a {
    border-radius: 10px;
}

/* Category Page */
.category-page {
    text-align: center;
}

h2.category-title {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 800;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, #ff9ff3 0%, #ff6fb3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.category-description {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    color: #9ca3af;
}

/* ============== PRODUCT PAGE ============== */
.product-page {
    padding: 1.5rem;
}

.product-page-image {
    aspect-ratio: 16 / 9;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

img.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.product-page-details {
    padding: 0;
}

.product-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
}

.product-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.product-name .text-gradient {
    font-size: 18px;
    font-weight: 900;
    text-transform: uppercase;
}

@media (min-width: 1024px) {
    .product-name .text-gradient {
        font-size: 24px;
    }
}

.product-price {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #ff9ff3;
}

.product-price h3 {
    margin: 0;
}

.product-details-top span {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #9ca3af;
}

.small-title {
    display: flex;
    align-items: center;
}

.small-title span {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.small-title svg path {
    fill: #ff9ff3;
}

span.product-det-border {
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    height: 1px;
    margin-left: 1rem;
}

.product-description {
    padding: 1.5rem;
}

/* ============== CART PAGE ============== */
span.cart-page-title {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ff9ff3 0%, #ff6fb3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nr-item {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    align-self: center;
    color: #fff;
}

/* ============== TABLES ============== */
table {
    max-width: 100%;
    background-color: transparent;
    width: 100%;
}

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
    padding: 15px 10px;
    line-height: 1.5;
    vertical-align: middle;
    text-align: left;
}

table > thead > tr > th {
    vertical-align: bottom;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #9ca3af;
    letter-spacing: 0.05em;
}

tbody tr {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(12px);
    border-top: 8px solid transparent;
    transition: all 0.3s ease;
}

tbody tr:hover {
    background: rgba(255, 159, 243, 0.05);
}

tbody tr:first-child {
    border: none;
}

table tbody .image { width: 10%; text-align: center; }
table tbody .name { width: 100%; }
table tbody .options { width: 25%; text-align: center; }
table tbody .price { width: 15%; text-align: center; }
table tbody .quantity { width: 5%; text-align: center; }
table tbody .total { width: 15%; text-align: center; }
table tbody .close { width: 5%; text-align: center; }

td.image {
    background: rgba(255, 255, 255, 0.03);
    padding: var(--spacing-xs) !important;
    border-radius: 8px 0 0 8px;
}

td.image .product-img {
    height: 65px;
    width: auto;
}

td.name {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-xs);
}

span.product-name {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
}

.name-sec {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #9ca3af;
}

td.price span {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #9ca3af;
}

td.total span {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #ff9ff3;
}

td.close {
    align-content: center;
}

table tbody .close a i {
    font-size: 18px;
    font-weight: 600;
    color: #ef4444;
    transition: all 0.3s ease;
}

table tbody .close a i:hover {
    transform: scale(1.2);
}

table input {
    width: 50px;
    text-align: center;
    border-radius: 8px;
}

.subtotal span {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
}

.subtotal p {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #ff9ff3;
}

hr {
    border-color: rgba(255, 255, 255, 0.1);
}

/* ============== FORMS / INPUTS ============== */
input {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: var(--border-radius) !important;
    color: #fff;
    padding: 0.875rem 1rem;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    transition: all 0.3s ease;
}

input::placeholder {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

input:focus {
    border-color: rgba(255, 159, 243, 0.5) !important;
    box-shadow: 0 0 0 3px rgba(255, 159, 243, 0.1);
}

:focus-visible {
    outline: none;
}

input:focus-visible {
    outline-offset: 0px;
}

/* ============== PAYMENT GOAL ============== */
.payment-goal {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    width: 100%;
    height: 12px;
    overflow: hidden;
}

.progress-bar {
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    height: 12px;
    background: linear-gradient(90deg, #ff9ff3, #ff6fb3);
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.goal-current {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: var(--spacing-s);
    color: #ff9ff3;
}

.payment-goal-display {
    display: flex;
    justify-content: space-between;
}

.payment-goal-data {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #9ca3af;
}

.payment-max {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #9ca3af;
}

/* ============== MESSAGES ============== */
.error-msg {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    margin: var(--spacing-s);
    border-radius: var(--border-radius);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-top: 0;
    padding: 1rem;
}

.success-msg {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    margin: var(--spacing-s);
    border-radius: var(--border-radius);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-top: 0;
    padding: 1rem;
}

/* ============== TEXT GRADIENT ============== */
.text-gradient {
    background: linear-gradient(135deg, #ff9ff3 0%, #ff6fb3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============== HERO BANNER ============== */
.hero-banner {
    min-height: 200px;
    aspect-ratio: 16/9;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .hero-banner {
        min-height: 280px;
        aspect-ratio: 21/9;
    }
}

@media (min-width: 1024px) {
    .hero-banner {
        min-height: 320px;
    }
}

/* ============== CATEGORY BANNER ============== */
.category-banner {
    height: 120px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .category-banner {
        height: 150px;
    }
}

/* ============== SECTION DIVIDER ============== */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 159, 243, 0.3), transparent);
    position: relative;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100%;
    background: linear-gradient(90deg, transparent, #ff9ff3, transparent);
    animation: divider-glow 3s ease-in-out infinite;
}

@keyframes divider-glow {
    0%, 100% { opacity: 0.3; transform: translateX(-50%) scaleX(0.8); }
    50% { opacity: 1; transform: translateX(-50%) scaleX(1); }
}

/* ============== FOOTER ============== */
footer {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(12px);
}

.footer-copyright {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
}

.footer-copyright span {
    color: #6b7280;
}

.footer-links a {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* ============== LINKS ============== */
a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ff9ff3;
    text-decoration: none;
}

/* ============== ANIMATIONS ============== */
@keyframes moveStripes {
    0% { background-position: 0 0; }
    100% { background-position: 40px 0; }
}

@keyframes pulseOpacity {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
}

.reveal.active {
    animation: fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ============== PREMIUM GLOW ============== */
.premium-glow {
    box-shadow: 0 0 30px rgba(255, 159, 243, 0.15);
}

/* ============== TOPBAR (legacy support) ============== */
.topbar {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(12px);
    padding: var(--spacing-s);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

li.nav-item a {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #e2e8f0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    flex-direction: row;
    gap: var(--spacing-xs);
    align-items: center;
    transition: color 0.3s ease;
}

li.nav-item a:hover {
    color: #ff9ff3;
}

li.nav-item.active a {
    color: #ff9ff3;
}

li.nav-item a i {
    opacity: 0.6;
}

/* ============== SOCIAL MEDIA (legacy) ============== */
.social-media {
    width: auto;
}

.header-account {
    width: auto;
}

.social-media li a i {
    font-size: 18px;
    color: #9ca3af;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.social-media li a i:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.social-media li a.twitch i:hover { color: #9147FF; }
.social-media-item.discord i:hover { color: #5865F2; }
.social-media-item.youtube i:hover { color: #DC2626; }
.social-media-item.twitter i:hover { color: #fff; }
.social-media-item.instagram i:hover { color: #ff00a5; }
.social-media-item.facebook i:hover { color: #3146dd; }

/* ============== SCROLLBAR ============== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(10, 10, 10, 0.5);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 159, 243, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 159, 243, 0.5);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 159, 243, 0.3) rgba(10, 10, 10, 0.5);
}

/* ============== FLOAT ANIMATION ============== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* ============== PREMIUM BADGE ============== */
.premium-badge {
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
    color: #fff !important;
    font-weight: 900;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(168, 85, 247, 0.3);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    width: fit-content;
}

/* ============== ACCORDION STYLES ============== */
.accordion-item {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--border-radius);
    margin-bottom: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover,
.accordion-item.active {
    border-color: rgba(255, 159, 243, 0.3);
    background: rgba(255, 159, 243, 0.02);
}

.accordion-header {
    padding: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #fff;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    color: #ff9ff3;
}

.accordion-content {
    padding: 0 1rem 1rem;
    color: #9ca3af;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============== MODAL/DRAWER STYLES ============== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: fixed;
    top: 0;
    right: 0;
    max-width: 800px;
    width: 100%;
    height: 100vh;
    background: #0a0a0a;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

.modal-backdrop.active .modal-content {
    transform: translateX(0);
}

/* ============== ENHANCED SCROLLBAR ============== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 159, 243, 0.3);
    border-radius: 4px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 159, 243, 0.5);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 159, 243, 0.3) rgba(255, 255, 255, 0.05);
}

/* ============== SELECT/DROPDOWN STYLING ============== */
select {
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    color: #fff;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.25rem;
    transition: all 0.3s ease;
}

select:focus {
    border-color: rgba(255, 159, 243, 0.5);
    box-shadow: 0 0 0 3px rgba(255, 159, 243, 0.1);
    outline: none;
}

select option {
    background: #0a0a0a;
    color: #fff;
    padding: 0.5rem;
}

/* ============== BADGE STYLES ============== */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem 0.75rem;
    font-size: 12px;
    font-weight: 600;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-primary {
    background: linear-gradient(135deg, #ff9ff3 0%, #ff6fb3 100%);
    color: #000;
}

.badge-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
}

.badge-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #000;
}

.badge-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
}

/* ============== TOOLTIP ============== */
.tooltip {
    position: relative;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    padding: 0.5rem 0.75rem;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 12px;
    color: #fff;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1000;
}

.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-4px);
}

/* ============== RESPONSIVE ============== */
@media (max-width: 768px) {
    h2.category-title {
        font-size: 32px;
    }

    span.cart-page-title {
        font-size: 32px;
    }

    h1.home-content-tit {
        font-size: 24px;
    }

    .product-name {
        font-size: 20px;
    }

    .product-price {
        font-size: 18px;
    }

    .modal-content {
        max-width: 100%;
    }

    /* Mobile slider */
    .slider-container {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        margin: 0 -1rem;
        padding: 0 1rem;
    }

    .slider-container::-webkit-scrollbar {
        display: none;
    }

    .slider-wrapper {
        display: flex;
        gap: 0.75rem;
        padding-bottom: 0.5rem;
    }

    .slider-item {
        flex: 0 0 90%;
        scroll-snap-align: start;
    }
}

/* ============== ELO/RANK COLORS ============== */
.elo-gray { color: #9d9d9d; }
.elo-green { color: #1eff00; }
.elo-blue { color: #0070dd; }
.elo-purple { color: #a335ee; }
.elo-orange { color: #ff8000; }
.elo-red { color: #e6675c; }

/* ============== RANK BADGES ============== */
.rank-badge {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border-radius: 8px;
}

.rank-1 { background: linear-gradient(135deg, #FFD700, #FFA500); color: #000; }
.rank-2 { background: linear-gradient(135deg, #C0C0C0, #808080); color: #000; }
.rank-3 { background: linear-gradient(135deg, #CD7F32, #8B4513); color: #fff; }

/* ============== SPINNER ============== */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.spinner {
    animation: spin 1s linear infinite;
}

/* ============== COUNT UPDATE ============== */
@keyframes count-update {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.count-update {
    animation: count-update 0.3s ease;
}

/* ============== STEAM LOGIN BUTTON ============== */
.steam-login-btn {
    box-shadow: 0 4px 12px rgba(30, 112, 235, 0.3);
    transition: all 0.3s ease;
}

.steam-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 112, 235, 0.4);
}

/* ============== DISCORD BUTTON ============== */
.discord-btn svg {
    transition: transform 0.3s ease;
}

.discord-btn:hover svg {
    transform: scale(1.1);
}

/* ============== FEATURE CARDS ENHANCED ============== */
.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: scale(1.05);
    border-color: rgba(255, 159, 243, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 159, 243, 0.1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 159, 243, 0.2) 0%, rgba(255, 159, 243, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

/* ============== VIDEO PLAYER (Plyr) ============== */
.video-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    background: #000;
}

.plyr {
    --plyr-color-main: #ff9ff3;
    --plyr-video-control-color: #ffffff;
    --plyr-video-control-background-hover: rgba(255, 159, 243, 0.7);
    --plyr-badge-background: #ff6fb3;
    --plyr-video-progress-buffered-color: rgba(255, 159, 243, 0.25);
}

.plyr--full-ui input[type=range] {
    color: #ff9ff3;
}

.plyr__control--overlaid {
    background: linear-gradient(135deg, #ff9ff3 0%, #ff6fb3 100%);
    color: #000;
}

.plyr__control--overlaid:hover {
    background: linear-gradient(135deg, #ff6fb3 0%, #ff9ff3 100%);
}

/* ============== BODY GLOBAL ============== */
.body {
    position: relative;
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
    height: 100vh;
}

/* ============== ENHANCED HOVER EFFECTS ============== */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(255, 159, 243, 0.2);
}

.hover-border:hover {
    border-color: rgba(255, 159, 243, 0.3) !important;
}

/* ============== SELECTION STYLING ============== */
::selection {
    background: rgba(255, 159, 243, 0.3);
    color: #fff;
}

::-moz-selection {
    background: rgba(255, 159, 243, 0.3);
    color: #fff;
}
