* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0a1f 0%, #1a0a2e 25%, #2d1b4e 50%, #1a0a2e 75%, #0a0a1f 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: #fff;
    overflow-x: hidden;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Grille animée en arrière-plan */
.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 0, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes gridMove {
    0% {
        transform: perspective(500px) rotateX(60deg) translateY(0);
    }
    100% {
        transform: perspective(500px) rotateX(60deg) translateY(50px);
    }
}

/* Particules flottantes */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    animation: float 10s infinite;
    opacity: 0;
}

@keyframes float {
    0%, 100% {
        opacity: 0;
        transform: translateY(0) translateX(0);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
    }
}

.container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    backdrop-filter: blur(20px);
    background: rgba(10, 10, 31, 0.8);
    border-bottom: 2px solid rgba(255, 0, 255, 0.3);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 10px 50px rgba(255, 0, 255, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2.5em;
    font-weight: 900;
    background: linear-gradient(45deg, #ff0080, #ff8c00, #40e0d0, #ff0080);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 4s ease infinite;
    text-shadow: 0 0 30px rgba(255, 0, 128, 0.8);
    filter: drop-shadow(0 0 20px rgba(64, 224, 208, 0.6));
    position: relative;
}

@keyframes gradientFlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a {
    color: #fff;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-weight: 600;
}

nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

nav a:hover::before {
    left: 100%;
}

nav a:hover {
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.3), rgba(64, 224, 208, 0.3));
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 0, 255, 0.5);
}

.cart {
    position: relative;
    padding: 12px 20px;
    background: linear-gradient(135deg, #ff0080, #ff8c00);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 0, 128, 0.5);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 140, 0, 0.8);
    }
}

.cart:hover {
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #00ff00;
    color: #000;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
    animation: bounce 1s ease infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* Hero Section */
.hero {
    margin: 60px auto;
    padding: 100px 40px;
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.1), rgba(64, 224, 208, 0.1));
    border: 2px solid rgba(255, 0, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 0, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero h1 {
    font-size: 5em;
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ff0080, #ff8c00, #40e0d0, #9d00ff);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 3s ease infinite;
    text-transform: uppercase;
    letter-spacing: 5px;
    filter: drop-shadow(0 0 30px rgba(255, 0, 128, 0.8));
}

.hero p {
    font-size: 1.5em;
    margin-bottom: 40px;
    color: #ccc;
    text-shadow: 0 0 20px rgba(64, 224, 208, 0.5);
}

.cta-button {
    display: inline-block;
    padding: 20px 50px;
    font-size: 1.3em;
    font-weight: bold;
    background: linear-gradient(135deg, #ff0080, #ff8c00, #40e0d0);
    background-size: 200% 200%;
    border: none;
    border-radius: 50px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    animation: gradientFlow 3s ease infinite;
    box-shadow: 0 10px 40px rgba(255, 0, 128, 0.5);
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 60px rgba(255, 0, 128, 0.8);
}

.cta-button::after {
    content: '▶';
    margin-left: 10px;
    animation: arrow 1s ease-in-out infinite;
}

@keyframes arrow {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

/* Section Produits */
.products-section {
    margin: 80px auto;
}

.section-title {
    font-size: 3em;
    font-weight: 900;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(45deg, #ff0080, #40e0d0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    filter: drop-shadow(0 0 20px rgba(255, 0, 128, 0.6));
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.product-card {
    background: rgba(20, 20, 40, 0.6);
    border-radius: 25px;
    padding: 30px;
    border: 2px solid rgba(255, 0, 255, 0.2);
    backdrop-filter: blur(20px);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 0, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.product-card:hover::before {
    left: 100%;
}

.product-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(255, 0, 255, 0.8);
    box-shadow: 0 20px 60px rgba(255, 0, 255, 0.5), 0 0 50px rgba(64, 224, 208, 0.3);
}

.product-image {
    width: 100%;
    height: 300px;
    border-radius: 20px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.product-card:nth-child(1) .product-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.product-card:nth-child(2) .product-image {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.product-card:nth-child(3) .product-image {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ff0080, #ff8c00);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9em;
    animation: pulse 2s ease-in-out infinite;
}

.product-info h3 {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: #fff;
}

.product-info p {
    color: #aaa;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 2em;
    font-weight: bold;
    background: linear-gradient(45deg, #ff0080, #ff8c00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.buy-button {
    padding: 12px 30px;
    background: linear-gradient(135deg, #ff0080, #ff8c00);
    border: none;
    border-radius: 50px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buy-button:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(255, 0, 128, 0.6);
}

/* Newsletter */
.newsletter {
    margin: 100px auto;
    padding: 80px 40px;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.15), rgba(64, 224, 208, 0.15));
    border-radius: 30px;
    border: 2px solid rgba(255, 0, 255, 0.3);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.newsletter h2 {
    font-size: 3em;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ff0080, #40e0d0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.newsletter-form {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.newsletter-form input {
    padding: 18px 30px;
    width: 400px;
    border: 2px solid rgba(255, 0, 255, 0.5);
    border-radius: 50px;
    background: rgba(20, 20, 40, 0.8);
    color: #fff;
    font-size: 1.1em;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: #ff0080;
    box-shadow: 0 0 30px rgba(255, 0, 128, 0.5);
}

.newsletter-form button {
    padding: 18px 40px;
    background: linear-gradient(135deg, #ff0080, #ff8c00);
    border: none;
    border-radius: 50px;
    color: #fff;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(255, 0, 128, 0.6);
}

/* Footer */
footer {
    background: rgba(10, 10, 31, 0.9);
    padding: 60px 0 30px;
    margin-top: 100px;
    border-top: 2px solid rgba(255, 0, 255, 0.3);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    font-size: 1.5em;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ff0080, #40e0d0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-column a {
    display: block;
    color: #aaa;
    text-decoration: none;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: #ff0080;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 0, 255, 0.2);
    color: #666;
}

.easter-egg {
    font-family: monospace;
    color: #333;
    margin-top: 10px;
    font-size: 0.8em;
}