:root {
    --color-primary: #8a2be2;
    --color-secondary: #6a1bb2;
    --color-accent: #00d4ff;
    --color-bg: #0a0a0a;
    --color-card: #1a1a1a;
    --shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--color-bg);
    color: #fff;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Marca de agua */
.watermark {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vmin;
    height: 80vmin;
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
}

/* Header */
header {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(138, 43, 226, 0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-primary);
    text-decoration: none;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 50px;
    height: 50px;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--color-primary);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-primary);
    transition: 0.3s;
}

/* Hero */
.hero {
    text-align: center;
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(0, 212, 255, 0.1));
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.3rem;
    color: #ccc;
}

/* Secciones */
section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--color-primary);
}

/* Grid de productos */
.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2rem;
}

.producto-card {
    background: var(--color-card);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    position: relative;
}

.producto-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.5);
}

.producto-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: opacity 0.4s;
}

.producto-card img:hover {
    opacity: 0.85;
}

.producto-info {
    padding: 1.5rem;
}

.producto-nombre {
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 0.5rem;
}

.producto-descripcion {
    font-size: 0.95rem;
    color: #aaa;
    margin-bottom: 1rem;
}

.producto-precio {
    font-size: 1.5rem;
    color: var(--color-primary);
    font-weight: bold;
}

/* Contacto */
.contacto {
    text-align: center;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(26, 26, 26, 0.8));
    border-radius: 20px;
    padding: 3rem;
}

.contacto-btn {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contacto-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
}

/* Redes sociales */
.redes-sociales {
    text-align: center;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    color: white;
}

.social-btn:hover {
    transform: scale(1.05);
}

.instagram {
    background: linear-gradient(135deg, #833AB4, #FD1D1D, #FCB045);
}

.facebook {
    background: #1877F2;
}

.tiktok {
    background: linear-gradient(135deg, #000000, #EE1D52, #69C9D0);
}

.social-icon {
    font-size: 1.5rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: var(--color-card);
    color: #888;
    margin-top: 4rem;
}

/* WhatsApp flotante */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.5);
    z-index: 1000;
    transition: transform 0.3s;
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

/* Status */
#status-message {
    color: var(--color-primary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

#search {
    width: 100%;
    max-width: 500px;
    padding: 1rem;
    border: 2px solid var(--color-primary);
    border-radius: 50px;
    background: var(--color-card);
    color: white;
    font-size: 1rem;
    margin: 0 auto 2rem;
    display: block;
    outline: none;
    transition: box-shadow 0.3s;
}

#search:focus {
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 26, 26, 0.98);
        flex-direction: column;
        padding: 2rem;
        display: none;
    }

    .nav-links.active {
        display: flex;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .productos-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1rem;
    }

    .social-buttons {
        flex-direction: column;
        align-items: center;
    }
}