:root {
    --main-color: #E5BD63;
    --main-bg: #1a1a1a;
    --lighter-bg: #242424;
    --darker-main: #D4A843;
    --text-light: #ffffff;
    --text-gray: #c5c5c5;
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --success: #28a745;
    --danger: #dc3545;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Oswald', sans-serif;
    background-color: var(--main-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--main-bg);
    border-left: 1px solid var(--lighter-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--main-color);
    border-radius: 6px;
    border: 2px solid var(--main-bg);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--darker-main);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.store-header {
    background-color: var(--lighter-bg);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
}

.store-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.store-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.store-logo img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.store-logo:hover img {
    transform: scale(1.05);
}

.store-logo-text {
    display: flex;
    flex-direction: column;
}

.store-logo-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--main-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

.store-logo-subtitle {
    font-size: 0.85rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Navigation */
.store-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.store-nav-item {
    padding: 0.5rem 1rem;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    cursor: pointer;
    background: transparent;
    border: none;
    font-family: 'Oswald', sans-serif;
}

.store-nav-item:hover {
    color: var(--main-color);
    background: rgba(229, 189, 99, 0.1);
}

.store-nav-item.active {
    color: var(--main-color);
    background: rgba(229, 189, 99, 0.15);
}

/* Header Actions */
.store-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Login Button */
.header-login-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: var(--main-color);
    color: #0a0a0a;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-login-btn:hover {
    background: var(--darker-main);
    transform: translateY(-2px);
}

/* Account Dropdown */
.account-dropdown {
    position: relative;
}

.account-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Oswald', sans-serif;
}

.account-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(229, 189, 99, 0.3);
}

.account-toggle i:first-child {
    font-size: 1.2rem;
    color: var(--main-color);
}

.account-name {
    font-size: 0.9rem;
    font-weight: 600;
}

.account-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.account-dropdown.open .account-arrow {
    transform: rotate(180deg);
}

.account-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 250px;
    background: var(--lighter-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.account-dropdown.open .account-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.account-menu-section {
    padding: 0.75rem;
}

.account-menu-label {
    font-size: 0.75rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.account-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-weight: 600;
}

.account-info i {
    color: var(--main-color);
}

.account-discord {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.account-discord-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.5rem;
    background: #5865F2;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.account-discord-btn:hover {
    background: #4752C4;
}

.account-discord-connected {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid rgba(88, 101, 242, 0.3);
    border-radius: 6px;
}

.account-discord-connected .discord-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #5865F2;
    font-weight: 600;
}

.account-discord-connected .discord-reconnect {
    background: transparent;
    border: none;
    color: var(--text-gray);
    font-size: 0.8rem;
    cursor: pointer;
}

.account-discord-connected .discord-reconnect:hover {
    color: #5865F2;
}

.account-menu-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0.25rem 0;
}

.account-menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.account-menu-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--main-color);
}

.account-menu-item.logout {
    color: #dc3545;
}

.account-menu-item.logout:hover {
    background: rgba(220, 53, 69, 0.1);
}

/* Improved Cart Button */
.header-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.header-cart-btn:hover {
    background: rgba(229, 189, 99, 0.1);
    border-color: rgba(229, 189, 99, 0.3);
    color: var(--main-color);
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--main-color);
    color: #0a0a0a;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* Page Layout - Footer at bottom */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.store-main {
    flex: 1;
}

/* Confirm Modal */
.confirm-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.confirm-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.confirm-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--lighter-bg);
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    z-index: 2001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 2px solid rgba(229, 189, 99, 0.3);
    text-align: center;
}

.confirm-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.confirm-modal-icon {
    font-size: 3rem;
    color: var(--main-color);
    margin-bottom: 1rem;
}

.confirm-modal-title {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

.confirm-modal-message {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.confirm-modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.confirm-modal-btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

.confirm-modal-btn.cancel {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
}

.confirm-modal-btn.cancel:hover {
    background: rgba(255, 255, 255, 0.1);
}

.confirm-modal-btn.confirm {
    background: #dc3545;
    border: none;
    color: white;
}

.confirm-modal-btn.confirm:hover {
    background: #c82333;
}

/* Smaller Discord Notification */
.discord-notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: rgba(30, 30, 30, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    max-width: 320px;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.discord-notification-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.discord-notification-icon {
    width: 32px;
    height: 32px;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #dc3545;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.discord-notification-text {
    flex: 1;
}

.discord-notification-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.discord-notification-message {
    font-size: 0.8rem;
    color: var(--text-gray);
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.discord-notification-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #5865F2;
    color: white;
    border: none;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.discord-notification-btn:hover {
    background: #4752C4;
}

.discord-notification-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: transparent;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    font-size: 0.8rem;
}

.discord-notification-close:hover {
    color: var(--text-light);
}

.discord-login-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #5865F2;
    color: white;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.discord-login-btn:hover {
    background: #4752C4;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(88, 101, 242, 0.4);
}

.discord-login-btn i {
    font-size: 1.1rem;
}

.discord-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--card-bg);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.discord-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.discord-username {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.9rem;
}

.discord-logout-btn {
    background: transparent;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.3s ease;
}

.discord-logout-btn:hover {
    color: #ff4757;
}

.store-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-cart-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--main-color);
    color: #0a0a0a;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Oswald', sans-serif;
    position: relative;
}

.header-cart-btn:hover {
    background-color: var(--darker-main);
    transform: translateY(-2px);
}

.header-cart-count {
    background-color: #0a0a0a;
    color: var(--main-color);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.store-hero {
    background: linear-gradient(135deg, #0d0d0d 0%, var(--main-bg) 50%, var(--lighter-bg) 100%);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
}

.store-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: linear-gradient(90deg, var(--main-color) 0%, var(--darker-main) 25%, var(--main-color) 50%, var(--darker-main) 75%, var(--main-color) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }

    100% {
        background-position: 0% center;
    }
}

.store-hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.store-main {
    padding: 3rem 0;
}

.category-tabs {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(229, 189, 99, 0.15);
    justify-content: center;
}

.category-tab {
    padding: 0.75rem 1.75rem;
    background-color: var(--lighter-bg);
    border: 2px solid rgba(229, 189, 99, 0.2);
    border-radius: var(--radius-md);
    color: var(--text-gray);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Oswald', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-tab:hover {
    border-color: var(--main-color);
    color: var(--main-color);
    background-color: rgba(229, 189, 99, 0.1);
}

.category-tab.active {
    background-color: var(--main-color);
    border-color: var(--main-color);
    color: #0a0a0a;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: var(--lighter-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid rgba(229, 189, 99, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--main-color);
    box-shadow: 0 15px 40px rgba(229, 189, 99, 0.2);
}

.product-image {
    width: 100%;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, rgba(229, 189, 99, 0.15) 0%, rgba(229, 189, 99, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-image-placeholder {
    font-size: 4rem;
    color: var(--main-color);
    opacity: 0.4;
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-badge.sale {
    background-color: var(--success);
    color: white;
}

.product-badge.new {
    background-color: var(--main-color);
    color: #0a0a0a;
}

.product-badge.popular {
    background-color: #6f42c1;
    color: white;
}

.product-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 0.75rem;
    color: var(--main-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.product-description {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(229, 189, 99, 0.1);
}

.product-price-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.product-price-old {
    font-size: 0.9rem;
    color: var(--text-gray);
    text-decoration: line-through;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--main-color);
}

.product-add-btn {
    padding: 0.7rem 1.4rem;
    background-color: var(--main-color);
    color: #0a0a0a;
    border: none;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Oswald', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-add-btn:hover {
    background-color: var(--darker-main);
    transform: translateY(-2px);
}

.product-add-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.product-add-btn.in-cart {
    background-color: var(--success);
}

.product-add-btn.loading {
    background-color: rgba(229, 189, 99, 0.5);
    pointer-events: none;
}

.loading-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.loading-dots span {
    animation: loadingDots 1.4s infinite;
    opacity: 0;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes loadingDots {

    0%,
    80%,
    100% {
        opacity: 0;
    }

    40% {
        opacity: 1;
    }
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
}

.product-badge.sale {
    background: linear-gradient(135deg, #ff4757, #ff6b6b);
    color: white;
    box-shadow: 0 2px 10px rgba(255, 71, 87, 0.4);
}

.product-badge.in-cart {
    background: var(--success);
    color: white;
    top: auto;
    bottom: 1rem;
}

.product-tags {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    z-index: 3;
}

.product-custom-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.product-custom-tag i {
    font-size: 0.65rem;
}

.product-price-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.product-price-old {
    font-size: 0.85rem;
    color: var(--text-gray);
    text-decoration: line-through;
    opacity: 0.7;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--main-color);
}

.product-card.has-sale .product-price {
    color: #ff4757;
}

.cart-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 90%;
    max-width: 1000px;
    height: 85vh;
    background-color: var(--secondary-bg);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    visibility: hidden;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.cart-modal.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
}

.cart-modal-header {
    padding: 1.5rem 2rem;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--main-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-transform: uppercase;
}

.cart-modal-close {
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
    border-radius: var(--radius-sm);
}

.cart-modal-close:hover {
    color: var(--main-color);
    background-color: rgba(229, 189, 99, 0.1);
}

/* Wrapper for body + footer to create side-by-side layout on large screens */
.cart-modal-body-wrapper {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.cart-modal-items {
    flex: 2;
    padding: 2rem;
    overflow-y: auto;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .cart-modal-body-wrapper {
        flex-direction: column;
    }

    .cart-modal-items {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
}

/* Legal Links in Cart */
.cart-legal-links {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-legal-links a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.cart-legal-links a:hover {
    color: var(--main-color);
}

/* Floating Notification */
.floating-notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    animation: slideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideIn {
    from {
        transform: translateY(100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.floating-content {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 400px;
}

.floating-icon {
    width: 40px;
    height: 40px;
    background: rgba(88, 101, 242, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5865F2;
    /* Discord color or brand color */
    font-size: 1.2rem;
}

.floating-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.floating-title {
    font-weight: 700;
    color: #5865F2;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.floating-msg {
    font-size: 0.85rem;
    color: var(--text-light);
}

.floating-code {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.code-label {
    font-size: 0.7rem;
    color: var(--text-gray);
    text-transform: uppercase;
}

.code-value {
    font-family: monospace;
    font-weight: 700;
    color: var(--main-color);
    letter-spacing: 1px;
}

.floating-close {
    background: transparent;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    font-size: 1rem;
    padding: 0.25rem;
    align-self: flex-start;
}

.floating-close:hover {
    color: white;
}

.cart-empty {
    text-align: center;
    color: var(--text-gray);
    padding: 3rem 1rem;
}

.cart-empty i {
    font-size: 4rem;
    color: rgba(229, 189, 99, 0.2);
    margin-bottom: 1rem;
    display: block;
}

.cart-empty p {
    font-size: 1.1rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background-color: var(--main-bg);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    border: 1px solid rgba(229, 189, 99, 0.1);
    transition: all 0.3s ease;
}

.cart-item:hover {
    border-color: rgba(229, 189, 99, 0.3);
}

.cart-item-image {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(229, 189, 99, 0.1) 0%, rgba(229, 189, 99, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-image i {
    color: var(--main-color);
    opacity: 0.5;
    font-size: 1.5rem;
}

.cart-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.35rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-category {
    font-size: 0.75rem;
    color: var(--main-color);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.cart-item-price {
    font-size: 1.1rem;
    color: var(--main-color);
    font-weight: 700;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
    align-self: flex-start;
    border-radius: var(--radius-sm);
}

.cart-item-remove:hover {
    color: var(--danger);
    background-color: rgba(220, 53, 69, 0.1);
}

.cart-modal-footer {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(229, 189, 99, 0.1) 0%, rgba(229, 189, 99, 0.03) 100%);
    border-top: 2px solid rgba(229, 189, 99, 0.2);
}

.cart-coupon {
    margin-bottom: 1.25rem;
}

.cart-coupon-input-group {
    display: flex;
    gap: 0.5rem;
}

.cart-coupon-input {
    flex: 1;
    padding: 0.75rem 1rem;
    background-color: var(--main-bg);
    border: 2px solid rgba(229, 189, 99, 0.2);
    border-radius: var(--radius-md);
    color: var(--text-light);
    font-size: 0.95rem;
    font-family: 'Oswald', sans-serif;
    transition: all 0.3s ease;
}

.cart-coupon-input:focus {
    outline: none;
    border-color: var(--main-color);
}

.cart-coupon-input::placeholder {
    color: var(--text-gray);
    opacity: 0.6;
}

.cart-coupon-btn {
    padding: 0.75rem 1.25rem;
    background-color: transparent;
    border: 2px solid var(--main-color);
    border-radius: var(--radius-md);
    color: var(--main-color);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

.cart-coupon-btn:hover {
    background-color: var(--main-color);
    color: #0a0a0a;
}

.cart-coupon-applied {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid var(--success);
    border-radius: var(--radius-md);
    margin-top: 0.75rem;
}

.cart-coupon-applied span {
    color: var(--success);
    font-weight: 600;
}

.cart-coupon-remove {
    background: none;
    border: none;
    color: var(--success);
    cursor: pointer;
    font-size: 1.2rem;
    transition: opacity 0.3s ease;
}

.cart-coupon-remove:hover {
    opacity: 0.7;
}

.cart-summary {
    margin-bottom: 1.25rem;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.cart-summary-row.discount {
    color: var(--success);
}

.cart-summary-row.total {
    padding-top: 1rem;
    border-top: 1px solid rgba(229, 189, 99, 0.2);
    margin-top: 0.5rem;
}

.cart-summary-label {
    color: var(--text-gray);
    font-size: 1rem;
}

.cart-summary-value {
    font-weight: 600;
    font-size: 1rem;
}

.cart-summary-row.total .cart-summary-label {
    font-size: 1.1rem;
    color: var(--text-light);
    text-transform: uppercase;
}

.cart-summary-row.total .cart-summary-value {
    font-size: 1.5rem;
    color: var(--main-color);
}

.cart-checkout-btn {
    width: 100%;
    padding: 1.1rem;
    background-color: var(--main-color);
    color: #0a0a0a;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Oswald', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.cart-checkout-btn:hover {
    background-color: var(--darker-main);
    transform: translateY(-2px);
}

.cart-checkout-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.store-footer {
    background-color: var(--lighter-bg);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
    border-top: 2px solid rgba(229, 189, 99, 0.15);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--main-color);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-logo {
    height: 80px;
    margin-bottom: 1rem;
}

.footer-text {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--main-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(229, 189, 99, 0.1);
}

.footer-bottom p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 0;
}

.loading-spinner::after {
    content: '';
    width: 50px;
    height: 50px;
    border: 4px solid rgba(229, 189, 99, 0.2);
    border-top-color: var(--main-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-text {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-top: 1rem;
}

.error-message {
    text-align: center;
    padding: 3rem;
    color: var(--danger);
}

.error-message i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.toast-container {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toast {
    padding: 1rem 1.5rem;
    background-color: var(--lighter-bg);
    border-radius: var(--radius-md);
    border: 2px solid var(--main-color);
    color: var(--text-light);
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    animation: toastIn 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toast.success {
    border-color: var(--success);
}

.toast.success i {
    color: var(--success);
}

.toast.error {
    border-color: var(--danger);
}

.toast.error i {
    color: var(--danger);
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.product-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.product-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    background-color: var(--lighter-bg);
    border-radius: var(--radius-lg);
    z-index: 1101;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 2px solid rgba(229, 189, 99, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.product-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.product-modal-header {
    display: flex;
    justify-content: flex-end;
    padding: 1rem;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
}

.product-modal-close {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.75rem;
    transition: all 0.3s ease;
    border-radius: var(--radius-md);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-modal-close:hover {
    background: var(--main-color);
    color: #0a0a0a;
}

.product-modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow-y: auto;
}

.product-modal-image {
    aspect-ratio: 1;
    background: linear-gradient(135deg, rgba(229, 189, 99, 0.15) 0%, rgba(229, 189, 99, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-modal-image .product-image-placeholder {
    font-size: 6rem;
}

.product-modal-image .product-badge {
    font-size: 1rem;
    padding: 0.5rem 1.25rem;
}

.product-modal-details {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.product-modal-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.product-modal-description {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.8;
    flex: 1;
    margin-bottom: 1.5rem;
    overflow-y: auto;
    max-height: 250px;
}

.product-modal-description p {
    margin-bottom: 0.75rem;
}

.product-modal-description ul,
.product-modal-description ol {
    margin-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.product-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(229, 189, 99, 0.2);
    margin-top: auto;
}

.product-modal-footer .product-price {
    font-size: 2rem;
}

.product-modal-footer .product-price-old {
    font-size: 1.1rem;
}

.product-add-btn.large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.cart-giftcard {
    margin-bottom: 1rem;
}

.cart-giftcard-input-group {
    display: flex;
    gap: 0.5rem;
}

.cart-giftcard-input {
    flex: 1;
    padding: 0.75rem 1rem;
    background-color: var(--main-bg);
    border: 2px solid rgba(229, 189, 99, 0.2);
    border-radius: var(--radius-md);
    color: var(--text-light);
    font-size: 0.95rem;
    font-family: 'Oswald', sans-serif;
    transition: all 0.3s ease;
}

.cart-giftcard-input:focus {
    outline: none;
    border-color: var(--main-color);
}

.cart-giftcard-input::placeholder {
    color: var(--text-gray);
    opacity: 0.6;
}

.cart-giftcard-btn {
    padding: 0.75rem 1.25rem;
    background-color: transparent;
    border: 2px solid var(--main-color);
    border-radius: var(--radius-md);
    color: var(--main-color);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
}

.cart-giftcard-btn:hover {
    background-color: var(--main-color);
    color: #0a0a0a;
}

.cart-giftcard-applied {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid var(--success);
    border-radius: var(--radius-md);
    margin-top: 0.75rem;
}

.cart-giftcard-applied span {
    color: var(--success);
    font-weight: 600;
}

.cart-giftcard-remove {
    background: none;
    border: none;
    color: var(--success);
    cursor: pointer;
    font-size: 1.2rem;
    transition: opacity 0.3s ease;
}

.cart-giftcard-remove:hover {
    opacity: 0.7;
}

.cart-summary-row.giftcard {
    color: var(--success);
}

.product-card {
    cursor: pointer;
}

@media (max-width: 768px) {
    .store-header-content {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .store-logo-title {
        font-size: 1.2rem;
    }

    .store-logo-subtitle {
        font-size: 0.7rem;
    }

    .store-hero-title {
        font-size: 2.5rem;
    }

    .store-hero-subtitle {
        font-size: 1rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .cart-modal {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto 1rem;
    }

    .product-modal {
        width: 95%;
        max-height: 95vh;
    }

    .product-modal-body {
        grid-template-columns: 1fr;
    }

    .product-modal-image {
        aspect-ratio: 16/9;
    }

    .product-modal-details {
        padding: 1.5rem;
    }

    .product-modal-title {
        font-size: 1.5rem;
    }

    .product-modal-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .product-modal-footer .product-price-wrapper {
        text-align: center;
    }

    .product-add-btn.large {
        width: 100%;
        justify-content: center;
    }
}

.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.auth-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.auth-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 450px;
    background-color: var(--lighter-bg);
    border-radius: var(--radius-lg);
    z-index: 1201;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 2px solid rgba(229, 189, 99, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.auth-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.auth-modal-header-bar {
    display: flex;
    justify-content: flex-end;
    padding: 1rem;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
}

.auth-modal-close {
    background: rgba(0, 0, 0, 0.3);
    border: none;
    color: var(--text-light);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
    border-radius: var(--radius-sm);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-modal-close:hover {
    background: var(--main-color);
    color: #0a0a0a;
}

.auth-modal-body {
    padding: 2.5rem;
    text-align: center;
}

.auth-modal-header {
    margin-bottom: 2rem;
}

.auth-modal-header i {
    font-size: 4rem;
    color: var(--main-color);
    margin-bottom: 1rem;
    display: block;
}

.auth-modal-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-modal-header p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.6;
}

.auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Oswald', sans-serif;
}

.auth-btn i {
    font-size: 1.25rem;
}

.auth-btn-steam {
    background: linear-gradient(135deg, #1b2838 0%, #171a21 100%);
    color: #ffffff;
    border: 2px solid #66c0f4;
}

.auth-btn-steam:hover {
    background: linear-gradient(135deg, #2a475e 0%, #1b2838 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 192, 244, 0.3);
}

.auth-btn-cfx,
.auth-btn-fivem {
    background: linear-gradient(135deg, #f40552 0%, #d1044a 100%);
    color: #ffffff;
    border: 2px solid #f40552;
}

.auth-btn-cfx:hover,
.auth-btn-fivem:hover {
    background: linear-gradient(135deg, #ff1a66 0%, #f40552 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(244, 5, 82, 0.3);
}

.auth-btn-discord {
    background: linear-gradient(135deg, #5865F2 0%, #4752c4 100%);
    color: #ffffff;
    border: 2px solid #5865F2;
}

.auth-btn-discord:hover {
    background: linear-gradient(135deg, #6b78f7 0%, #5865F2 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(88, 101, 242, 0.3);
}

.auth-btn-minecraft {
    background: linear-gradient(135deg, #62B47A 0%, #4a9d64 100%);
    color: #ffffff;
    border: 2px solid #62B47A;
}

.auth-btn-minecraft:hover {
    background: linear-gradient(135deg, #7dc990 0%, #62B47A 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(98, 180, 122, 0.3);
}

.auth-note {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-gray);
    opacity: 0.8;
}

.cart-login-btn {
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    background-color: var(--main-color);
    color: #0a0a0a;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Oswald', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-login-btn:hover {
    background-color: var(--darker-main);
    transform: translateY(-2px);
}

.user-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background-color: transparent;
    border: 2px solid rgba(229, 189, 99, 0.3);
    border-radius: var(--radius-md);
    color: var(--text-gray);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Oswald', sans-serif;
}

.user-status:hover {
    border-color: var(--main-color);
    color: var(--main-color);
}

.user-status.authenticated {
    border-color: var(--success);
    color: var(--success);
    cursor: default;
}

.user-status.authenticated:hover {
    border-color: var(--success);
    color: var(--success);
}

.header-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 45px;
    height: 45px;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.header-cart-btn:hover {
    background: var(--main-color);
    border-color: var(--main-color);
    transform: scale(1.05);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--main-color);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fivem-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.fivem-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.fivem-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--lighter-bg);
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 450px;
    width: 90%;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 2px solid rgba(229, 189, 99, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.fivem-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.fivem-modal-header-bar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

.fivem-modal-close {
    background: transparent;
    border: none;
    color: var(--text-gray);
    font-size: 1.25rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.fivem-modal-close:hover {
    color: var(--main-color);
}

.fivem-modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.fivem-modal-header i {
    font-size: 3rem;
    color: var(--main-color);
    margin-bottom: 1rem;
}

.fivem-modal-header h2 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fivem-modal-header p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Custom Notification (Red Alert Box) */
.custom-notification-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.custom-notification-overlay.active {
    opacity: 1;
    visibility: visible;
}

.custom-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    max-width: 400px;
    width: 90%;
    z-index: 2001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(220, 53, 69, 0.4);
}

.custom-notification.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.custom-notification-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    cursor: pointer;
}

.custom-notification-close:hover {
    color: white;
}

.custom-notification-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.custom-notification-icon {
    font-size: 1.5rem;
    color: white;
    background: rgba(0, 0, 0, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.custom-notification-text {
    flex: 1;
}

.custom-notification-title {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.custom-notification-message {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    line-height: 1.4;
}

.custom-notification-btn {
    margin-top: 1rem;
    background: white;
    color: #dc3545;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.custom-notification-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.fivem-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.fivem-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: #F97316;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.fivem-btn:hover {
    background: #EA580C;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(249, 115, 22, 0.4);
}

.fivem-note {
    text-align: center;
    color: var(--text-gray);
    font-size: 0.85rem;
    margin-top: 1rem;
}

.fivem-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #F97316;
    color: white;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.fivem-login-btn:hover {
    background: #EA580C;
    transform: translateY(-2px);
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    margin-bottom: 0.75rem;
}

.cart-item-image {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--lighter-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-image i {
    font-size: 1.25rem;
    color: var(--text-gray);
}

.cart-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    display: block;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-price {
    color: var(--main-color);
    font-weight: 600;
}

.cart-item-remove {
    background: transparent;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.cart-item-remove:hover {
    color: #ff4757;
}

.product-card.in-cart {
    border-color: var(--main-color);
}

.product-add-btn.in-cart {
    background: var(--success);
    cursor: default;
}

.product-add-btn.in-cart:hover {
    transform: none;
    box-shadow: none;
}

.product-badge.in-cart {
    background: var(--success);
    top: auto;
    bottom: 1rem;
    right: 1rem;
}

.cart-codes {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.cart-code-input {
    display: flex;
    gap: 0.5rem;
}

.cart-code-input input {
    flex: 1;
    background: var(--lighter-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.cart-code-input input::placeholder {
    color: var(--text-gray);
}

.cart-code-btn {
    background: var(--main-color);
    border: none;
    border-radius: 8px;
    padding: 0 1rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cart-code-btn:hover {
    background: var(--main-color-darker);
    transform: scale(1.05);
}

.cart-code-applied {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid var(--success);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    color: var(--success);
    font-size: 0.9rem;
}

.cart-code-applied i {
    margin-right: 0.5rem;
}

.cart-code-remove {
    background: transparent;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.3s ease;
}

.cart-code-remove:hover {
    color: #ff4757;
}

.cart-summary {
    margin-bottom: 1rem;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.cart-summary-row.discount {
    color: var(--success);
}

.cart-summary-row.total {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 0.75rem;
    margin-top: 0.5rem;
    color: var(--text-light);
    font-weight: 600;
    font-size: 1.1rem;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
    margin-right: 0.5rem;
}

.cart-qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.cart-qty-btn:hover {
    background: var(--main-color);
    border-color: var(--main-color);
}

.cart-qty-value {
    min-width: 24px;
    text-align: center;
    font-weight: 600;
    color: var(--text-light);
}

.cart-qty-fixed {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-left: auto;
    margin-right: 0.5rem;
}
/* Extended Footer Styles */
.store-footer-extended { background: var(--lighter-bg); padding: 2rem 0; border-top: 1px solid rgba(229, 189, 99, 0.1); margin-top: auto; }
.store-footer-extended .footer-links { display: flex; justify-content: center; gap: 2rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.store-footer-extended .footer-links a { color: var(--text-gray); text-decoration: none; font-size: 0.95rem; transition: color 0.2s; display: flex; align-items: center; gap: 0.5rem; font-family: 'Oswald', sans-serif; }
.store-footer-extended .footer-links a:hover, .store-footer-extended .footer-links a.active { color: var(--main-color); }
.store-footer-extended .footer-legal { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.store-footer-extended .footer-legal a { color: var(--text-gray); text-decoration: none; font-size: 0.85rem; opacity: 0.7; transition: opacity 0.2s; }
.store-footer-extended .footer-legal a:hover { opacity: 1; color: var(--main-color); }
.store-footer-extended .footer-credit { text-align: center; color: var(--text-gray); font-size: 0.85rem; margin-bottom: 0.5rem; opacity: 0.7; }
.store-footer-extended .footer-powered { text-align: center; color: var(--text-gray); font-size: 0.8rem; opacity: 0.5; display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
