:root {
            --primary: #7b2cbf;
            --secondary: #9d4edd;
            --accent: #c77dff;
            --background: #0a0014;
            --surface: #1a0026;
            --card-bg: rgba(26, 0, 38, 0.8);
            --text: #e0aaff;
            --text-secondary: #c8a8e9;
            --text-muted: #9d88b8;
            --success: #06ffa5;
            --warning: #ffb300;
            --error: #ff3860;
            --border: rgba(157, 78, 221, 0.2);
            --glow: rgba(157, 78, 221, 0.3);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            background: linear-gradient(135deg, var(--background) 0%, #1a0033 50%, var(--background) 100%);
            color: var(--text);
            line-height: 1.7;
            min-height: 100vh;
            overflow-x: hidden;
        }

        /* Animated background */
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: 
                radial-gradient(circle at 20% 80%, rgba(157, 78, 221, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(199, 125, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(123, 44, 191, 0.05) 0%, transparent 50%);
            z-index: -1;
            animation: backgroundPulse 20s ease-in-out infinite;
        }

        @keyframes backgroundPulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.8; }
        }

        /* Navigation */
        .navbar {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(10, 0, 20, 0.95);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border);
            z-index: 1000;
            padding: 1rem 0;
            transition: all 0.3s ease;
        }

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.8rem;
            font-weight: 800;
            color: var(--secondary);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.3s ease;
        }

        .logo:hover {
            color: var(--accent);
            text-shadow: 0 0 20px var(--glow);
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 2rem;
            align-items: center;
        }

        .nav-links a {
            color: var(--text);
            text-decoration: none;
            transition: all 0.3s ease;
            font-weight: 500;
            position: relative;
            padding: 0.5rem 0;
        }

        .nav-links a:hover {
            color: var(--secondary);
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            transition: width 0.3s ease;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .cart-icon {
            position: relative;
            color: var(--text);
            text-decoration: none;
            font-size: 1.2rem;
            padding: 0.5rem;
            border-radius: 50%;
            background: var(--card-bg);
            border: 1px solid var(--border);
            transition: all 0.3s ease;
        }

        .cart-icon:hover {
            color: var(--secondary);
            background: rgba(157, 78, 221, 0.2);
            transform: scale(1.1);
        }

        .cart-count {
            position: absolute;
            top: -5px;
            right: -5px;
            background: var(--error);
            color: white;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            font-weight: bold;
        }

        .theme-toggle {
            background: var(--card-bg);
            border: 1px solid var(--border);
            color: var(--text);
            border-radius: 50%;
            width: 45px;
            height: 45px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-right: 1rem;
        }

        .theme-toggle:hover {
            background: var(--secondary);
            color: white;
            transform: scale(1.1);
        }

        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .hero-content {
            text-align: center;
            max-width: 800px;
            z-index: 2;
            position: relative;
        }

        .hero h1 {
            font-size: clamp(3rem, 8vw, 6rem);
            font-weight: 900;
            background: linear-gradient(135deg, var(--secondary), var(--accent));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 1.5rem;
            text-shadow: 0 0 50px var(--glow);
            animation: glitch 2s infinite;
        }

        @keyframes glitch {
            0%, 98% { transform: translate(0); }
            2% { transform: translate(2px, -1px); }
            4% { transform: translate(-1px, 2px); }
            6% { transform: translate(1px, 1px); }
            8% { transform: translate(-2px, -1px); }
            10% { transform: translate(2px, 2px); }
        }

        .hero p {
            font-size: 1.3rem;
            color: var(--text-secondary);
            margin-bottom: 2.5rem;
            opacity: 0;
            animation: fadeInUp 1s ease 0.5s forwards;
        }

        .cta-button {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            border: none;
            padding: 1rem 2.5rem;
            font-size: 1.1rem;
            font-weight: 600;
            border-radius: 50px;
            cursor: pointer;
            transition: all 0.4s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.8rem;
            text-decoration: none;
            position: relative;
            overflow: hidden;
            opacity: 0;
            animation: fadeInUp 1s ease 1s forwards;
        }

        .cta-button::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;
        }

        .cta-button:hover::before {
            left: 100%;
        }

        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 20px 40px rgba(157, 78, 221, 0.4);
        }

        .floating-icon {
            position: absolute;
            font-size: 2rem;
            color: var(--accent);
            opacity: 0.3;
            animation: float 6s ease-in-out infinite;
            left: var(--x);
            top: var(--y);
            animation-delay: var(--delay);
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(10deg); }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Footer */
        .footer {
            background: var(--card-bg);
            border-top: 1px solid var(--border);
            padding: 3rem 0 2rem;
            margin-top: 6rem;
            backdrop-filter: blur(10px);
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 3rem;
            margin-bottom: 2rem;
        }

        .footer-content h4 {
            color: var(--secondary);
            font-size: 1.2rem;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .footer-content p {
            color: var(--text-secondary);
            margin-bottom: 1rem;
        }

        .footer-content a {
            color: var(--text-secondary);
            text-decoration: none;
            display: block;
            padding: 0.3rem 0;
            transition: color 0.3s ease;
        }

        .footer-content a:hover {
            color: var(--secondary);
        }

        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid var(--border);
            color: var(--text-muted);
        }

        /* Particles Canvas */
        #particles-canvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: -2;
        }

        /* Page transition */
        .page-transition {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: all 0.5s ease;
        }

        .transition-logo {
            color: white;
            font-size: 2rem;
            font-weight: bold;
            display: flex;
            align-items: center;
            gap: 1rem;
            animation: pulse 1s ease-in-out infinite;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }

        .fade-out {
            opacity: 0 !important;
            visibility: hidden !important;
        }

        /* Cart bounce animation */
        .cart-bounce {
            animation: cartBounce 0.5s ease;
        }

        @keyframes cartBounce {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.3); }
        }

        /* Responsive design */
        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }

            .nav-container {
                padding: 0 1rem;
            }

            .hero {
                padding: 0 1rem;
            }

            .footer-content {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .floating-icon {
                display: none;
            }
        }

        /* Smooth scrolling */
        html {
            scroll-behavior: smooth;
        }

/* large tables */
@media (max-width: 1024px) {
    .nav-links {
        gap: 1rem;
    }
    .hero h1 {
        font-size: clamp(2.5rem, 7vw, 4.5rem);
    }
}

/* small tables and large phones */
@media (max-width: 600px) {
  .hero h1 {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }
  .cta-button {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }
}

/* small phones */
@media (max-width: 400px) {
  .hero h1 {
    font-size: clamp(1.8rem, 9vw, 2.8rem);
  }
  .hero p {
    font-size: 1rem;
  }
  .cta-button {
    width: 100%;
    justify-content: center;
  }
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text);
  border-radius: 3px;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links.mobile-active {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    position: absolute;
    top: 60px;
    right: 0;
    width: 70%;
    max-width: 300px;
    padding: 2rem;
    border-left: 1px solid var(--border);
    gap: 1.5rem;
  }
}

button, .cta-button, .theme-toggle, .cart-icon {
  min-height: 44px; /* Google Material guideline */
  min-width: 44px;
  touch-action: manipulation;
}

img, video, canvas {
  max-width: 100%;
  height: auto;
}