:root {
    --primary-dark: #121212;
    --primary-darker: #0a0a0a;
    --primary-purple: #6c5ce7;
    --primary-light-purple: #a29bfe;
    --dark-bg: #1e1e1e;
    --medium-bg: #2d2d2d;
    --card-bg: #252525;
    --success: #00b894;
    --error: #d63031;
    --text-dark: #e0e0e0;
    --text-light: #f8f9fa;
    --text-muted: #a0a0a0;
    --border-color: #3d3d3d;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --gradient-dark: linear-gradient(135deg, #2d3436, #1e1e1e);
    --gradient-purple: linear-gradient(135deg, #6c5ce7, #a29bfe);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'San Francisco', system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Smooth scrolling for the entire page */
html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--primary-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-purple);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light-purple);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Component System Styles */
#component-container {
    min-height: 80vh;
    transition: opacity 0.3s ease;
}

/* Header & Navigation */
header {
    background: var(--primary-darker);
    color: var(--text-light);
    padding: 0.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px var(--shadow-color);
    border-bottom: 1px solid var(--border-color);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.logo span {
    color: var(--primary-light-purple);
    background: -webkit-linear-gradient(var(--primary-purple), var(--primary-light-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.premium-badge {
    font-size: 0.5rem;
    background: var(--gradient-purple);
    color: white;
    padding: 2px 5px;
    border-radius: 3px;
    position: relative;
    top: -15px;
    margin-left: 2px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(108, 92, 231, 0.3);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.8;
}

.cart-icon {
    position: relative;
    display: inline-block;
}

.nav-links .cart-link {
    position: relative;
    display: flex;
    align-items: center;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--error);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.auth-buttons button {
    margin-left: 1rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.login-btn {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid var(--primary-light-purple);
    transition: all 0.3s ease;
}

.login-btn:hover {
    background-color: rgba(108, 92, 231, 0.1);
    border-color: var(--primary-purple);
    transform: translateY(-2px);
}

.register-btn {
    background: var(--gradient-purple);
    color: var(--text-light);
    border: none;
    box-shadow: 0 4px 10px rgba(108, 92, 231, 0.3);
    transition: all 0.3s ease;
}

.register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(108, 92, 231, 0.4);
}

/* Mobile Menu Button */
#mobile-toggle {
    display: none; /* Hidden by default, shown in media query */
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 1002;
    background-color: rgba(108, 92, 231, 0.2);
    border: 2px solid var(--primary-light-purple);
    color: var(--text-light);
    font-size: 24px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

#mobile-toggle:hover {
    background-color: rgba(108, 92, 231, 0.3);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(18, 18, 18, 0.8), rgba(30, 30, 30, 0.9)), url('https://images.unsplash.com/photo-1613243555988-441166d4d6fd?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80') no-repeat center center/cover;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-light);
    margin-top: 55px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--dark-bg), transparent);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.badge {
    background: rgba(108, 92, 231, 0.2);
    color: var(--primary-light-purple);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--primary-purple);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.cta-btn {
    display: inline-block;
    background: var(--gradient-purple);
    color: var(--text-light);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
    position: relative;
    z-index: 10;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(108, 92, 231, 0.4);
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: var(--primary-dark);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    color: var(--text-light);
}

.section-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 1rem 2rem;
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(45, 45, 45, 0.4), rgba(30, 30, 30, 0.4));
    border-top: 1px solid rgba(108, 92, 231, 0.2);
    border-bottom: 1px solid rgba(108, 92, 231, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.highlight {
    color: var(--primary-light-purple);
    background: -webkit-linear-gradient(var(--primary-purple), var(--primary-light-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px var(--shadow-color);
    border-color: var(--primary-purple);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Products Section */
.products {
    padding: 5rem 0;
    background-color: var(--dark-bg);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-color);
    border-color: var(--primary-purple);
}

/* Gold Card Styles */
.gold-card {
    border: 1px solid #d4af37;
    background: linear-gradient(145deg, var(--card-bg), #252520);
}

.gold-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #d4af37, #f9d423, #d4af37);
    z-index: -1;
    border-radius: 12px;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.gold-card:hover {
    border-color: #d4af37;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.gold-card:hover::before {
    opacity: 0.6;
}

.gold-card .product-title {
    color: #f9d423;
}

.gold-card .product-price {
    color: #d4af37;
}

.gold-card .add-to-cart {
    background: linear-gradient(45deg, #d4af37, #f9d423);
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

.gold-card .add-to-cart:hover {
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.5);
}

/* Black Card Styles */
.black-card {
    border: 1px solid #333;
    background: linear-gradient(145deg, #111, #222);
}

.black-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #333, #666, #333);
    z-index: -1;
    border-radius: 12px;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.black-card:hover {
    border-color: #444;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.black-card:hover::before {
    opacity: 0.6;
}

.black-card .product-title {
    color: #fff;
}

.black-card .add-to-cart {
    background: linear-gradient(45deg, #333, #666);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.black-card .add-to-cart:hover {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

/* Platinum Card Styles */
.platinum-card {
    border: 1px solid #e5e4e2;
    background: linear-gradient(145deg, var(--card-bg), #2a2a2a);
}

.platinum-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #e5e4e2, #a9a9a9, #e5e4e2);
    z-index: -1;
    border-radius: 12px;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.platinum-card:hover {
    border-color: #e5e4e2;
    box-shadow: 0 10px 25px rgba(229, 228, 226, 0.3);
}

.platinum-card:hover::before {
    opacity: 0.6;
}

.platinum-card .product-title {
    color: #e5e4e2;
}

.platinum-card .product-price {
    color: #a9a9a9;
}

.platinum-card .add-to-cart {
    background: linear-gradient(45deg, #a9a9a9, #e5e4e2);
    color: #333;
    box-shadow: 0 4px 10px rgba(169, 169, 169, 0.3);
}

.platinum-card .add-to-cart:hover {
    box-shadow: 0 6px 15px rgba(169, 169, 169, 0.5);
}

/* Diamond Card Styles */
.diamond-card {
    border: 1px solid #b9f2ff;
    background: linear-gradient(145deg, var(--card-bg), #252530);
}

.diamond-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #b9f2ff, #e0ffff, #b9f2ff);
    z-index: -1;
    border-radius: 12px;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.diamond-card:hover {
    border-color: #b9f2ff;
    box-shadow: 0 10px 25px rgba(185, 242, 255, 0.3);
}

.diamond-card:hover::before {
    opacity: 0.6;
}

.diamond-card .product-title {
    color: #b9f2ff;
}

.diamond-card .product-price {
    color: #b9f2ff;
}

.diamond-card .add-to-cart {
    background: linear-gradient(45deg, #b9f2ff, #e0ffff);
    color: #333;
    box-shadow: 0 4px 10px rgba(185, 242, 255, 0.3);
}

.diamond-card .add-to-cart:hover {
    box-shadow: 0 6px 15px rgba(185, 242, 255, 0.5);
}

/* Infinite Card Styles */
.infinite-card {
    border: 1px solid #8a2be2;
    background: linear-gradient(145deg, var(--card-bg), #252535);
}

.infinite-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #8a2be2, #9370db, #8a2be2);
    z-index: -1;
    border-radius: 12px;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.infinite-card:hover {
    border-color: #8a2be2;
    box-shadow: 0 10px 25px rgba(138, 43, 226, 0.3);
}

.infinite-card:hover::before {
    opacity: 0.6;
}

.infinite-card .product-title {
    color: #9370db;
}

.infinite-card .product-price {
    color: #8a2be2;
}

.infinite-card .add-to-cart {
    background: linear-gradient(45deg, #8a2be2, #9370db);
    box-shadow: 0 4px 10px rgba(138, 43, 226, 0.3);
}

.infinite-card .add-to-cart:hover {
    box-shadow: 0 6px 15px rgba(138, 43, 226, 0.5);
}

/* World Card Styles */
.world-card {
    border: 1px solid #4169e1;
    background: linear-gradient(145deg, var(--card-bg), #252540);
}

.world-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #4169e1, #6495ed, #4169e1);
    z-index: -1;
    border-radius: 12px;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.world-card:hover {
    border-color: #4169e1;
    box-shadow: 0 10px 25px rgba(65, 105, 225, 0.3);
}

.world-card:hover::before {
    opacity: 0.6;
}

.world-card .product-title {
    color: #6495ed;
}

.world-card .product-price {
    color: #4169e1;
}

.world-card .add-to-cart {
    background: linear-gradient(45deg, #4169e1, #6495ed);
    box-shadow: 0 4px 10px rgba(65, 105, 225, 0.3);
}

.world-card .add-to-cart:hover {
    box-shadow: 0 6px 15px rgba(65, 105, 225, 0.5);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.product-number {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.product-limit {
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.price-conversion {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.add-to-cart {
    width: 100%;
    padding: 0.7rem;
    background: var(--gradient-purple);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(108, 92, 231, 0.2);
}

.add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(108, 92, 231, 0.3);
}

/* Dashboard */
.dashboard {
    padding: 5rem 0;
    min-height: 80vh;
    background-color: var(--dark-bg);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.welcome-message {
    font-size: 1.8rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.dashboard-card {
    background: linear-gradient(145deg, var(--card-bg), var(--medium-bg));
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-color);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-color);
    border-color: var(--primary-purple);
}

.dashboard-card-header {
    background: var(--gradient-purple);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.dashboard-card-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.dashboard-card-body {
    padding: 2rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.info-value {
    color: var(--text-light);
    font-weight: 500;
}

.status-active {
    color: var(--success);
    font-weight: 600;
    background: rgba(0, 184, 148, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.empty-state {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 3rem;
    color: var(--primary-purple);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.browse-btn {
    background: var(--gradient-purple);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.browse-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(108, 92, 231, 0.4);
}

.dashboard-actions {
    text-align: center;
    margin-top: 2rem;
}

.action-btn {
    background: linear-gradient(135deg, var(--error), #e74c3c);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(214, 48, 49, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(214, 48, 49, 0.4);
}

.action-btn i {
    font-size: 1.1rem;
}

.sidebar {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px var(--shadow-color);
    height: fit-content;
    border: 1px solid var(--border-color);
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 1rem;
}

.sidebar-menu a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 0.5rem 0;
}

.sidebar-menu a:hover, .sidebar-menu a.active {
    color: var(--primary-purple);
    font-weight: 500;
}

.sidebar-menu i {
    margin-right: 0.5rem;
    width: 20px;
    text-align: center;
}

.dashboard-content {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px var(--shadow-color);
    border: 1px solid var(--border-color);
}

/* Cart Page */
.cart, .cart-page {
    padding: 5rem 0;
    min-height: 80vh;
}

.cart-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .cart-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.cart-title {
    font-size: 2rem;
}

.continue-shopping {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 500;
}

.continue-shopping:hover {
    text-decoration: underline;
}

.cart-items {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px var(--shadow-color);
    border: 1px solid var(--border-color);
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto;
    gap: 2rem;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-item:last-child {
    border-bottom: none;
}

.empty-cart-message {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.empty-cart-message a {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 600;
}

.empty-cart-message a:hover {
    text-decoration: underline;
}
/* Cart Item Card Type Styling - Only color changes, no layout conflicts */
.gold-cart-item .cart-item-details h3 {
    color: #f9d423;
}

.gold-cart-item .cart-item-price {
    color: #d4af37;
}

.black-cart-item .cart-item-details h3 {
    color: #fff;
}

.black-cart-item .cart-item-price {
    color: #888;
}

.platinum-cart-item .cart-item-details h3 {
    color: #e5e4e2;
}

.platinum-cart-item .cart-item-price {
    color: #a9a9a9;
}

.diamond-cart-item .cart-item-details h3 {
    color: #b9f2ff;
}

.diamond-cart-item .cart-item-price {
    color: #b9f2ff;
}

.infinite-cart-item .cart-item-details h3 {
    color: #9370db;
}

.infinite-cart-item .cart-item-price {
    color: #8a2be2;
}

.world-cart-item .cart-item-details h3 {
    color: #6495ed;
}

.world-cart-item .cart-item-price {
    color: #4169e1;
}

.cart-item-image {
    width: 100px;
    height: 60px;
    border-radius: 5px;
    overflow: hidden;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details h3 {
    margin-bottom: 0.5rem;
}

.cart-item-number {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.cart-item-price {
    font-weight: 600;
    color: var(--primary-purple);
}

.cart-item-conversion {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.remove-item {
    background-color: var(--error);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.remove-item:hover {
    opacity: 0.8;
}

.cart-summary {
    margin-top: 2rem;
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px var(--shadow-color);
    border: 1px solid var(--border-color);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.summary-total {
    font-size: 1.2rem;
    font-weight: 700;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    margin-top: 1rem;
}

.checkout-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background: var(--gradient-purple);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 2rem;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(108, 92, 231, 0.4);
}

/* Payment Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    overflow-y: auto;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: linear-gradient(145deg, #323232, #252525);
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem;
    position: relative;
    transform: translateY(-30px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    border: 1px solid rgba(108, 92, 231, 0.3);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 5px 15px rgba(108, 92, 231, 0.2);
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

/* Payment Modal Specific Styles */
.payment-modal {
    background: #2a2a2a;
    padding: 0;
    max-width: 400px;
    border-radius: 0;
}

.payment-header-teal {
    background: linear-gradient(135deg, #20b2aa, #008b8b);
    color: white;
    padding: 1.5rem;
    text-align: center;
    margin: 0;
}

.payment-header-teal h2 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.payment-content {
    padding: 1.5rem;
    background: #2a2a2a;
}

.payment-instructions-section {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.money-icon-container {
    flex-shrink: 0;
}

.money-icon {
    width: 80px;
    height: 60px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.money-bills {
    position: relative;
    width: 70px;
    height: 50px;
}

.bill {
    position: absolute;
    width: 60px;
    height: 35px;
    border: 3px solid white;
    border-radius: 8px;
    background: transparent;
}

.bill-1 {
    top: 0;
    left: 0;
    z-index: 3;
}

.bill-2 {
    top: 5px;
    left: 5px;
    z-index: 2;
}

.bill-3 {
    top: 10px;
    left: 10px;
    z-index: 1;
}

.bill::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: #ff4444;
    border-radius: 50%;
}

.instructions-container {
    flex: 1;
}

.instructions-container h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.instructions-container ol {
    color: #ccc;
    padding-left: 1.2rem;
    margin: 0;
}

.instructions-container li {
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.instructions-container strong {
    color: white;
}

.payment-guide-section {
    margin-bottom: 2rem;
}

.payment-guide-section h4 {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.payment-guide-section > p {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.invoice-number {
    color: white;
    font-weight: 600;
}

.payment-amount-display {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid #00ff88;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.payment-amount-display h4 {
    color: #00ff88;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.payment-amount-display .payment-amount {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.payment-details-box {
    background: transparent;
    border: 2px solid #00ff88;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.payment-details-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.payment-details-box li {
    color: white;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1rem;
}

.payment-details-box li::before {
    content: '○';
    position: absolute;
    left: 0;
    color: white;
}

.payment-details-box .phone-number {
    color: #4da6ff;
    font-weight: 600;
}

.upload-instruction {
    margin-bottom: 1rem;
}

.upload-instruction p {
    color: #ccc;
    font-size: 0.9rem;
    margin: 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.required {
    color: #ff4444;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #333;
    box-sizing: border-box;
}

.form-group input::placeholder {
    color: #999;
}

.upload-section {
    margin-bottom: 2rem;
}

.upload-btn {
    background: #00ff88;
    color: #333;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.upload-btn:hover {
    background: #00e67a;
    transform: translateY(-1px);
}

.file-name {
    margin-top: 0.5rem;
    color: #ccc;
    font-size: 0.8rem;
}

.website-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #444;
    color: #888;
    font-size: 0.8rem;
}

.website-footer i {
    color: #888;
}

.confirm-btn {
    background: #00ff88;
    color: #333;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.confirm-btn:hover {
    background: #00e67a;
    transform: translateY(-1px);
}

.confirm-btn:disabled {
    background: #666;
    cursor: not-allowed;
    transform: none;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.close-modal:hover {
    color: white;
    background: var(--error);
    transform: rotate(90deg);
}

.modal-title {
    font-size: 1.8rem;
    margin-bottom: 1.8rem;
    color: var(--text-light);
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: -webkit-linear-gradient(var(--primary-purple), var(--primary-light-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.payment-header {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-light-purple));
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 8px 20px rgba(108, 92, 231, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeIn 0.6s ease-out;
}

.payment-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.payment-header p {
    font-size: 1rem;
    opacity: 0.95;
    line-height: 1.5;
}

.payment-steps {
    background: linear-gradient(145deg, rgba(45, 45, 45, 0.6), rgba(37, 37, 37, 0.8));
    border-radius: 12px;
    padding: 1.8rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(108, 92, 231, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    animation: fadeIn 0.8s ease-out;
}

.payment-steps h3 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    color: var(--text-light);
    font-weight: 600;
    display: flex;
    align-items: center;
}

.payment-steps h3::before {
    content: '✓';
    display: inline-block;
    margin-right: 10px;
    color: var(--primary-light-purple);
    font-weight: bold;
}

.payment-steps ol {
    padding-left: 2rem;
    margin-bottom: 1.2rem;
    counter-reset: steps;
}

.payment-steps li {
    margin-bottom: 0.8rem;
    font-size: 1rem;
    line-height: 1.6;
    position: relative;
    padding-left: 0.5rem;
}

.payment-steps li::marker {
    color: var(--primary-light-purple);
    font-weight: bold;
}

.payment-steps strong {
    color: var(--primary-light-purple);
    font-weight: 600;
}

.payment-guide {
    background: linear-gradient(145deg, rgba(45, 45, 45, 0.4), rgba(37, 37, 37, 0.6));
    border-left: 4px solid var(--primary-light-purple);
    padding: 1.5rem;
    margin-bottom: 2rem;
    font-size: 1rem;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease-out;
}

.payment-guide p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.payment-guide .highlight {
    font-weight: 600;
    color: var(--primary-light-purple);
}

.payment-details {
    margin-bottom: 2rem;
    background: rgba(45, 45, 45, 0.3);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    animation: fadeIn 1.2s ease-out;
}

.payment-details p {
    margin-bottom: 0.8rem;
    font-size: 1rem;
    line-height: 1.6;
}

.payment-details .amount {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-light-purple);
    letter-spacing: 0.5px;
}

.upload-section {
    border: 2px dashed rgba(108, 92, 231, 0.4);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(145deg, rgba(45, 45, 45, 0.3), rgba(37, 37, 37, 0.5));
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1.4s ease-out;
}

.upload-section:hover {
    border-color: var(--primary-light-purple);
    background: linear-gradient(145deg, rgba(45, 45, 45, 0.4), rgba(37, 37, 37, 0.6));
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(108, 92, 231, 0.2);
}

.upload-icon {
    font-size: 3rem;
    color: var(--primary-light-purple);
    margin-bottom: 1.2rem;
    animation: pulse 2s infinite;
}

.upload-text {
    margin-bottom: 1.2rem;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
}

.upload-btn {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-light-purple));
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 6px 15px rgba(108, 92, 231, 0.3);
}

.upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(108, 92, 231, 0.4);
}

#payment-screenshot {
    display: none;
}

.preview-image {
    width: 320px;
    height: 250px;
    max-height: 200px;
    margin-top: 1.5rem;
    display: none;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
    margin-bottom: 2rem;
    animation: fadeIn 1.6s ease-out;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-light);
}

.form-group input {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(108, 92, 231, 0.3);
    background: rgba(45, 45, 45, 0.5);
    color: var(--text-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.form-group input:focus {
    border-color: var(--primary-light-purple);
    outline: none;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.2);
    background: rgba(45, 45, 45, 0.7);
}

.confirm-btn {
    display: block;
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-light-purple));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(108, 92, 231, 0.3);
    margin-top: 2rem;
    letter-spacing: 0.5px;
    animation: fadeIn 1.8s ease-out;
}

.confirm-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(108, 92, 231, 0.5);
}

.confirm-btn:disabled {
    background: linear-gradient(135deg, #505050, #707070);
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    opacity: 0.7;
}

/* Success Modal */
.success-modal {
    text-align: center;
    padding: 4rem 2.5rem;
    background: linear-gradient(145deg, #1a4d3a, #0f3d2f);
    border-radius: 20px;
    border: 2px solid var(--success);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(0, 184, 148, 0.3) inset,
        0 0 30px rgba(0, 184, 148, 0.2);
    animation: fadeIn 0.6s ease-out, successGlow 2s ease-in-out infinite alternate;
    position: relative;
    overflow: hidden;
}

.success-modal::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 184, 148, 0.1) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
    z-index: -1;
}

@keyframes successGlow {
    0% { box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 184, 148, 0.3) inset, 0 0 30px rgba(0, 184, 148, 0.2); }
    100% { box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 184, 148, 0.6) inset, 0 0 50px rgba(0, 184, 148, 0.4); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.success-icon {
    font-size: 7rem;
    color: var(--success);
    margin-bottom: 2rem;
    animation: scaleIn 0.8s cubic-bezier(0.19, 1, 0.22, 1), successPulse 2s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(0, 184, 148, 0.5);
}

@keyframes successPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes scaleIn {
    0% { transform: scale(0); opacity: 0; }
    70% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

.success-title {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-weight: 700;
    background: linear-gradient(135deg, var(--success), #4cd3c2, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeIn 1s ease-out;
    text-shadow: 0 2px 10px rgba(0, 184, 148, 0.3);
}

.success-message {
    margin-bottom: 2.5rem;
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--text-light);
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 1.2s ease-out;
    background: rgba(0, 184, 148, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 184, 148, 0.2);
}

.success-message .highlight {
    color: var(--success);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 184, 148, 0.5);
}

.back-to-shop {
    display: inline-block;
    background: linear-gradient(135deg, var(--success), #4cd3c2);
    color: white;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 184, 148, 0.4);
    animation: fadeIn 1.4s ease-out, pulse 2s infinite 2s;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.back-to-shop::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.back-to-shop:hover::before {
    left: 100%;
}

.back-to-shop:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 184, 148, 0.6);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Success Modal Close Button */
.success-modal .close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.8rem;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.success-modal .close-modal:hover {
    color: white;
    background: rgba(214, 48, 49, 0.8);
    border-color: rgba(214, 48, 49, 0.6);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 15px rgba(214, 48, 49, 0.4);
}

/* Dashboard Cards */
.dashboard-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.dashboard-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.dashboard-card h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.dashboard-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.status-active {
    color: #00b894;
    font-weight: 600;
}

/* Recent Orders */
.no-orders {
    text-align: center;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.6);
}

.no-orders i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-orders p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.browse-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.browse-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.order-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.order-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.order-id {
    font-weight: 600;
    color: #667eea;
}

.order-date {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.order-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.order-items {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.item-name {
    margin-right: 0.5rem;
}

.order-total {
    font-weight: 600;
    color: #00b894;
}

.order-status {
    text-align: right;
}

.status {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.status-completed {
    background: rgba(0, 184, 148, 0.2);
    color: #00b894;
    border: 1px solid rgba(0, 184, 148, 0.3);
}

.status-failed {
    background: rgba(214, 48, 49, 0.2);
    color: #d63031;
    border: 1px solid rgba(214, 48, 49, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .dashboard-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .dashboard-card {
        padding: 1.5rem;
    }
    
    .order-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .order-status {
        text-align: left;
    }
}

/* Auth Modal */
.auth-modal {
    max-width: 500px;
}

.auth-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.auth-tab {
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-muted);
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.auth-tab.active {
    color: var(--primary-purple);
    border-bottom: 3px solid var(--primary-purple);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    background-color: var(--medium-bg);
    color: var(--text-light);
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: var(--primary-purple);
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 0, 224, 0.1);
}

.auth-btn {
    width: 100%;
    padding: 1rem;
    background: var(--gradient-purple);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(108, 92, 231, 0.4);
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-muted);
}

.switch-auth {
    color: var(--primary-purple);
    cursor: pointer;
    font-weight: 500;
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 5px;
    color: white;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 3000;
    transform: translateX(200%);
    transition: all 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background-color: var(--success);
}

.notification.error {
    background-color: var(--error);
}

/* Mobile Footer Navigation */
.mobile-footer-nav {
    display: none; /* Hidden by default, shown in media query */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--primary-darker);
    border-top: 1px solid var(--border-color);
    z-index: 1000;
    padding: 5px 0;
    box-shadow: 0 -2px 10px var(--shadow-color);
}

.footer-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    padding: 5px 0;
    transition: all 0.3s ease;
    position: relative;
}

.footer-nav-item i {
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.footer-nav-item span {
    font-size: 0.65rem;
    font-weight: 500;
}

.footer-nav-item.active {
    color: var(--primary-light-purple);
}

.footer-nav-item:hover {
    color: var(--primary-purple);
}

.footer-cart-count {
    position: absolute;
    top: 0;
    right: calc(50% - 15px);
    background-color: var(--error);
    color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: bold;
}

/* Loading and Error States */
.loading-state, .error-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    color: #666;
    font-size: 16px;
    min-height: 200px;
}

.loading-state i {
    font-size: 24px;
    margin-bottom: 10px;
    color: #007bff;
}

.error-state i {
    font-size: 24px;
    margin-bottom: 10px;
    color: #dc3545;
}

.loading-state .fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Hide desktop navigation and show mobile footer nav */
    .navbar .nav-links, .navbar .auth-buttons {
        display: none;
    }
    
    /* Hide mobile toggle button */
    #mobile-toggle {
        display: none;
    }
    
    /* Show mobile footer navigation */
    .mobile-footer-nav {
        display: flex;
        justify-content: space-evenly;
    }
    
    .footer-nav-item {
        flex: 1;
        max-width: 25%; /* Since we now have 4 items instead of 5 */
    }
    
    /* Add padding to the bottom of the page to account for the footer nav */
    body {
        padding-bottom: 55px;
    }
    
    /* Hide desktop navigation */
    .nav-links, .auth-buttons {
        position: fixed;
        top: 55px;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: linear-gradient(135deg, var(--medium-bg), var(--card-bg));
        flex-direction: column;
        padding: 2rem;
        transition: all 0.3s ease;
        z-index: 999;
        box-shadow: 2px 0 15px var(--shadow-color);
        border-right: 1px solid var(--border-color);
    }
    
    /* Animations */
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    @keyframes slideInUp {
        from {
            transform: translateY(50px);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
    
    @keyframes pulse {
        0% { transform: scale(1); }
        50% { transform: scale(1.05); }
        100% { transform: scale(1); }
    }
    
    .hero-content h1 {
        animation: fadeIn 1s ease-out;
    }
    
    .hero-content p {
        animation: fadeIn 1s ease-out 0.3s forwards;
        opacity: 0;
        animation-fill-mode: forwards;
    }
    
    .hero-badges {
        animation: fadeIn 1s ease-out 0.6s forwards;
        opacity: 0;
        animation-fill-mode: forwards;
    }
    
    .cta-btn {
        animation: fadeIn 1s ease-out 0.9s forwards, pulse 2s infinite 2s;
        opacity: 0;
        animation-fill-mode: forwards;
    }
    
    .feature-card {
        animation: slideInUp 0.8s ease-out;
    }
    
    .feature-card:nth-child(2) {
        animation-delay: 0.2s;
    }
    
    .feature-card:nth-child(3) {
        animation-delay: 0.4s;
    }
    
    /* Glass effect for certain elements */
    .glass-effect {
        background: rgba(45, 45, 45, 0.25);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    /* Show mobile menu when active */
    .nav-links.active, .auth-buttons.active {
        left: 0;
    }
    
    /* Mobile navigation styling */
    .nav-links {
        display: flex;
    }
    
    .nav-links li {
        margin: 1.5rem 0;
        margin-left: 0;
        position: relative;
    }
    
    .nav-links a {
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
        border-radius: 5px;
        display: flex;
        align-items: center;
        transition: all 0.3s ease;
    }
    
    .nav-links a:hover {
        background: rgba(108, 92, 231, 0.1);
        transform: translateX(5px);
    }
    
    .nav-links a i {
        margin-right: 10px;
        font-size: 1.2rem;
        color: var(--primary-purple);
    }
    
    .nav-links a.active {
        background: rgba(108, 92, 231, 0.2);
        border-left: 3px solid var(--primary-purple);
    }
    
    /* Auth buttons in mobile view */
    .auth-buttons {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding-top: 2rem;
        border-top: 1px solid var(--border-color);
        margin-top: 1rem;
    }
    
    .auth-buttons button {
        margin: 0.8rem 0;
        margin-left: 0;
        width: 100%;
        padding: 0.8rem;
    }
    
    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid var(--border-color);
    }
    
    .mobile-menu-title {
        font-size: 1.2rem;
        font-weight: 600;
        color: var(--primary-light-purple);
    }
    
    .mobile-menu-close {
        background: none;
        border: none;
        color: var(--text-light);
        font-size: 1.5rem;
        cursor: pointer;
    }
    
    /* Overlay for closing mobile menu */
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 998;
        display: none;
    }
    
    .overlay.active {
        display: block;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .sidebar {
        display: none;
    }

    .cart-item {
        grid-template-columns: 80px 1fr auto;
        gap: 1rem;
    }

    .cart-item-price {
        grid-column: 2;
        text-align: right;
    }
    
    /* Dashboard mobile styles */
    .dashboard-card-header {
        padding: 1rem;
    }
    
    .dashboard-card-header h3 {
        font-size: 1.1rem;
    }
    
    .dashboard-card-body {
        padding: 1.5rem;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.8rem 0;
    }
    
    .empty-state {
        padding: 1.5rem;
    }
    
    .empty-state i {
        font-size: 2.5rem;
    }
    
    .action-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Fix mobile footer navigation responsiveness */
    .mobile-footer-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 8px 0;
    }
    
    .footer-nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 8px 4px;
        min-width: 0;
        text-align: center;
    }
    
    .footer-nav-item i {
        font-size: 1.1rem;
        margin-bottom: 3px;
    }
    
    .footer-nav-item span {
        font-size: 0.6rem;
        font-weight: 500;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 70vh;
        margin-top: 50px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .cta-btn {
        padding: 0.7rem 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cart-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cart-item-image {
        margin: 0 auto;
    }

    .cart-item-price, .remove-item {
        justify-self: center;
    }

    .payment-header h2 {
        font-size: 1.1rem;
    }

    .payment-steps li {
        font-size: 0.9rem;
    }
    
    /* Payment Modal Mobile Styles */
    .payment-modal {
        width: 95%;
        max-width: 350px;
        margin: 1rem;
    }
    
    .payment-header-teal {
        padding: 1rem;
    }
    
    .payment-header-teal h2 {
        font-size: 1rem;
        line-height: 1.2;
    }
    
    .payment-content {
        padding: 1rem;
    }
    
    .payment-instructions-section {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .money-icon {
        width: 60px;
        height: 45px;
        margin: 0 auto;
    }
    
    .money-bills {
        width: 55px;
        height: 40px;
    }
    
    .bill {
        width: 45px;
        height: 28px;
        border-width: 2px;
    }
    
    .bill::after {
        width: 8px;
        height: 8px;
    }
    
    .instructions-container {
        text-align: left;
    }
    
    .instructions-container h3 {
        font-size: 1rem;
        text-align: center;
        margin-bottom: 0.6rem;
    }
    
    .instructions-container ol {
        padding-left: 1rem;
    }
    
    .instructions-container li {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }
    
    .payment-guide-section h4 {
        font-size: 0.8rem;
    }
    
    .payment-guide-section > p {
        font-size: 0.8rem;
    }
    
    .payment-details-box {
        padding: 0.8rem;
    }
    
    .payment-details-box li {
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
    }
    
    .upload-instruction p {
        font-size: 0.8rem;
    }
    
    .form-group label {
        font-size: 0.8rem;
    }
    
    .form-group input {
        padding: 0.7rem;
        font-size: 0.8rem;
    }
    
    .upload-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.8rem;
    }
    
    .website-footer {
        font-size: 0.7rem;
        margin-top: 1.5rem;
        padding-top: 0.8rem;
    }
    
    /* Mobile confirm button styles */
    .confirm-btn {
        width: 100%;
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        font-weight: 600;
        margin-top: 1rem;
        margin-bottom: 1rem;
        border-radius: 6px;
        display: block !important;
        visibility: visible !important;
    }
    
    .confirm-btn:disabled {
        opacity: 0.6;
        background: #666 !important;
    }
    
    /* Success modal mobile styles */
    .success-modal {
        padding: 2rem 1.5rem;
        margin: 1rem;
        max-width: 90vw;
    }
    
    .success-icon {
        font-size: 4rem;
        margin-bottom: 1.5rem;
    }
    
    .success-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .success-message {
        font-size: 1rem;
        padding: 1rem;
        margin-bottom: 2rem;
        max-width: 100%;
    }
    
    .back-to-shop {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 320px) {
    .payment-modal {
        width: 98%;
        margin: 0.5rem;
    }
    
    .payment-header-teal {
        padding: 0.8rem;
    }
    
    .payment-header-teal h2 {
        font-size: 0.9rem;
    }
    
    .payment-content {
        padding: 0.8rem;
    }
    
    .instructions-container li {
        font-size: 0.75rem;
    }
    
    .payment-details-box li {
        font-size: 0.75rem;
    }
}