:root {
    --primary: #00ff88;
    --secondary: #1a1a1a;
    --bg: #000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: var(--bg);
    color: #fff;
}

.navbar {
    padding: 1.5rem 5%;
    background: var(--secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 0 20px rgba(0,255,136,0.1);
}

.logo {
    color: var(--primary);
    font-size: 2.5em;
    text-shadow: 0 0 15px rgba(0,255,136,0.5);
    animation: logoGlow 2s ease-in-out infinite alternate;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 5%;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background: var(--secondary);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transform: translateY(20px);
    opacity: 0;
    animation: cardEntrance 0.8s ease-out forwards;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, var(--primary), transparent);
    animation: rotate 6s linear infinite;
    opacity: 0.1;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0,255,136,0.2);
}

.price {
    font-size: 1.8em;
    color: var(--primary);
    margin: 1rem 0;
    text-shadow: 0 0 15px rgba(0,255,136,0.3);
}

.add-to-cart {
    background: var(--primary);
    color: #000;
    border: none;
    padding: 1rem 2rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.add-to-cart:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0,255,136,0.4);
}

.button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: var(--primary);
    color: #000;
    border: none;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0,255,136,0.4);
}

@keyframes logoGlow {
    from { text-shadow: 0 0 10px rgba(0,255,136,0.3); }
    to { text-shadow: 0 0 20px rgba(0,255,136,0.6), 0 0 30px rgba(0,255,136,0.4); }
}

@keyframes cardEntrance {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.product-card:nth-child(1) { animation-delay: 0.2s; }
.product-card:nth-child(2) { animation-delay: 0.4s; }
.product-card:nth-child(3) { animation-delay: 0.6s; }
.product-card:nth-child(4) { animation-delay: 0.8s; }
.product-card:nth-child(5) { animation-delay: 1.0s; }
.product-card:nth-child(6) { animation-delay: 1.2s; }
.product-card:nth-child(7) { animation-delay: 1.4s; }

.scroll-anim {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.scroll-anim.visible {
    opacity: 1;
    transform: translateY(0);
}
