:root {
    --primary-gradient: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    --bg-color: #0d0d0d;
    --surface-color: #1a1a1a;
    --text-color: #ffffff;
    --text-muted: #b3b3b3;
    --accent-color: #00d2ff;
    --border-color: #333;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    background-image:
        radial-gradient(circle at 15% 50%, rgba(106, 17, 203, 0.15), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(37, 117, 252, 0.15), transparent 25%);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    animation: bgPulse 10s infinite alternate;
}

@keyframes bgPulse {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 10% 10%;
    }
}

.marquee-container {
    background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    padding: 8px 0;
    font-size: 0.85rem;
    font-weight: 600;
    overflow: hidden;
    white-space: nowrap;
    position: fixed;
    top: 80px;
    width: 100%;
    z-index: 999;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-100%, 0);
    }
}

.main-content {
    flex: 1;
    padding-top: 100px;
    /* Navbar + Marquee height */
}

/* Navbar Update for Marquee offset */

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

/* Utilities */
.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
    padding-top: 120px;
    /* Navbar + Marquee adjustment */
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(13, 13, 13, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: var(--glass-border);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo .highlight {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-muted);
    font-weight: 500;
}

.nav-link:hover {
    color: var(--text-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: 0.3s ease;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 117, 252, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 117, 252, 0.4);
}

.btn-icon {
    font-size: 1.2rem;
    color: var(--text-color);
    padding: 8px;
    background: transparent;
}

.btn-icon:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at 50% 50%, rgba(106, 17, 203, 0.15) 0%, rgba(13, 13, 13, 1) 70%);
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Glass Card */
.glass-card {
    background: var(--glass-bg);
    border: var(--glass-border);
    backdrop-filter: blur(5px);
    border-radius: 20px;
    padding: 30px;
    transition: 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: var(--glass-border);
    text-align: center;
    color: var(--text-muted);
    margin-top: 50px;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--surface-color);
    color: var(--text-color);
    padding: 15px 25px;
    border-radius: 10px;
    border: var(--glass-border);
    transform: translateY(100px);
    transition: transform 0.3s ease;
    z-index: 2000;
}

.toast.show {
    transform: translateY(0);
}

#cart-badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background: var(--primary-gradient);
    color: white;
    font-size: 0.7rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Mobile menu needed if more links are added */
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
        padding: 0 10px;
    }

    .footer-container {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }

    .main-content {
        padding-top: 130px;
    }

    .marquee-container {
        top: 70px;
    }

    .navbar {
        height: 70px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .glass-card {
        padding: 20px;
    }
}