* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    color: #e0e0e0;
    scroll-behavior: smooth;
    overflow-x: hidden;
    position: relative;
}

#sparksCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Header */
header {
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(12px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #E63946;
    box-shadow: 0 0 20px rgba(230,57,70,0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    border-radius: 12px;
    filter: drop-shadow(0 0 8px #E63946);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.logo-img:hover {
    transform: scale(1.08) rotate(3deg);
    filter: drop-shadow(0 0 20px #E63946);
}

.logo-text h1 {
    font-size: 1.3rem;
    letter-spacing: 2px;
}

.logo-text h1 span {
    color: #E63946;
    text-shadow: 0 0 8px #E63946;
}

.logo-text small {
    font-size: 0.7rem;
    color: #ffaa33;
}

nav ul {
    display: flex;
    gap: 25px;
    list-style: none;
}

nav ul li a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    position: relative;
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

nav ul li a i {
    font-size: 14px;
    transition: 0.3s;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: #E63946;
    transition: 0.3s;
    box-shadow: 0 0 5px #E63946;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a:hover {
    color: #E63946;
    text-shadow: 0 0 10px #E63946;
}

nav ul li a:hover i {
    transform: translateY(-2px);
}

.cart-badge {
    background: linear-gradient(135deg, #E63946, #8B0000);
    border-radius: 50%;
    padding: 2px 8px;
    font-size: 12px;
    margin-left: 5px;
    box-shadow: 0 0 8px #E63946;
    display: inline-block;
    transition: 0.2s;
}

.menu-icon {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* Hero */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(0,0,0,0.5), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?w=1920&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: 70px;
    position: relative;
}

.welding-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.sparks-line {
    font-size: 2rem;
    animation: blinkRed 0.5s infinite alternate;
}

@keyframes blinkRed {
    0% { opacity: 0.5; text-shadow: 0 0 0 #E63946; }
    100% { opacity: 1; text-shadow: 0 0 15px #E63946; }
}

.glitch {
    font-size: 3.5rem;
    font-weight: 800;
    position: relative;
    color: #E63946;
    letter-spacing: 5px;
    animation: glitchText 2s infinite;
}

@keyframes glitchText {
    0%, 100% { transform: skew(0deg); text-shadow: 0 0 0 #ffaa33; }
    95% { transform: skew(2deg); text-shadow: -2px 0 #E63946, 2px 0 #ffaa33; }
    96% { transform: skew(-2deg); }
    97% { transform: skew(1deg); }
}

.subtitle {
    font-size: 1.2rem;
    color: #ffaa33;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.tools-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 20px 0;
    font-size: 1.5rem;
}

.tools-icons i {
    color: #E63946;
    transition: all 0.3s ease;
    animation: toolFloat 2s infinite ease-in-out;
}

.tools-icons i:nth-child(1) { animation-delay: 0s; }
.tools-icons i:nth-child(2) { animation-delay: 0.3s; }
.tools-icons i:nth-child(3) { animation-delay: 0.6s; }
.tools-icons i:nth-child(4) { animation-delay: 0.9s; }

@keyframes toolFloat {
    0%, 100% { transform: translateY(0px); color: #E63946; }
    50% { transform: translateY(-8px); color: #ffaa33; }
}

.verse-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    background: rgba(230,57,70,0.15);
    padding: 12px 24px;
    border-radius: 50px;
    width: fit-content;
    margin: 20px auto;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(230,57,70,0.3);
    transition: 0.3s;
}

.verse-box:hover {
    border-color: #E63946;
    box-shadow: 0 0 20px rgba(230,57,70,0.3);
}

.verse {
    font-size: 1.1rem;
}

.slogan {
    font-style: italic;
    color: #ffcc88;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-wsp, .btn-catalogo {
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn-wsp::before, .btn-catalogo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-wsp:hover::before, .btn-catalogo:hover::before {
    width: 300px;
    height: 300px;
}

.btn-wsp {
    background: linear-gradient(45deg, #25D366, #128C7E);
    color: white;
    box-shadow: 0 0 15px rgba(37,211,102,0.4);
}

.btn-wsp:hover {
    transform: scale(1.08);
    box-shadow: 0 0 30px #25D366;
}

.btn-catalogo {
    background: linear-gradient(45deg, #E63946, #8B0000);
    color: white;
    box-shadow: 0 0 15px rgba(230,57,70,0.4);
}

.btn-catalogo:hover {
    transform: scale(1.08);
    box-shadow: 0 0 30px #E63946;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.catalogo, .carrito-section, .pagos, .contacto {
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.section-title span {
    color: #E63946;
    text-shadow: 0 0 10px #E63946;
}

.section-title::after {
    content: '🔥🔥🔥';
    display: block;
    font-size: 1rem;
    margin-top: 10px;
    letter-spacing: 5px;
    animation: blinkRed 0.8s infinite alternate;
}

/* Filtros */
.filtros {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    background: #1a1a1a;
    border: 1px solid #333;
    color: #e0e0e0;
    padding: 10px 24px;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    font-weight: 600;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.filter-btn i {
    transition: 0.3s;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(230,57,70,0.4), transparent);
    transition: 0.5s;
}

.filter-btn:hover::before {
    left: 100%;
}

.filter-btn.active, .filter-btn:hover {
    background: #E63946;
    color: white;
    border-color: #E63946;
    box-shadow: 0 0 20px rgba(230,57,70,0.6);
    transform: translateY(-3px);
}

.filter-btn.active i, .filter-btn:hover i {
    transform: rotate(10deg);
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 35px;
}

.producto-card {
    background: linear-gradient(145deg, #151515, #0a0a0a);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    cursor: pointer;
    border: 1px solid #2a2a2a;
    position: relative;
}

.producto-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #E63946, #ffaa33, #E63946);
    border-radius: 24px;
    opacity: 0;
    transition: 0.5s;
    z-index: -1;
}

.producto-card:hover::before {
    opacity: 1;
}

.producto-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(230,57,70,0.4);
    border-color: transparent;
}

.producto-img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: 0.6s;
}

.producto-card:hover .producto-img {
    transform: scale(1.12);
    filter: brightness(1.15) contrast(1.1);
}

.producto-info {
    padding: 20px;
}

.producto-titulo {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.producto-categoria {
    color: #E63946;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.producto-descripcion {
    font-size: 0.85rem;
    color: #aaa;
    margin-bottom: 12px;
}

.producto-precio {
    font-size: 1.7rem;
    font-weight: bold;
    color: #ffd966;
    margin: 12px 0;
    text-shadow: 0 0 8px rgba(255,217,102,0.5);
}

.btn-agregar {
    background: linear-gradient(90deg, #E63946, #8B0000);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 40px;
    width: 100%;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-agregar:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px #E63946;
    gap: 12px;
}

/* Carrito */
.carrito-section {
    background: #0a0a0a;
}

.carrito-container {
    background: linear-gradient(145deg, #151515, #0e0e0e);
    border-radius: 24px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #2a2a2a;
}

.carrito-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid #333;
    transition: all 0.3s ease;
}

.carrito-item:hover {
    background: rgba(230,57,70,0.1);
    transform: translateX(8px);
    border-radius: 12px;
}

.btn-cantidad {
    background: linear-gradient(135deg, #E63946, #8B0000);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s;
}

.btn-cantidad:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px #E63946;
}

.btn-eliminar {
    background: #333;
    border: none;
    color: #ff6666;
    padding: 6px 10px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.2s;
}

.btn-eliminar:hover {
    background: #E63946;
    color: white;
    transform: scale(1.05);
}

.carrito-total {
    text-align: right;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 20px 0;
    color: #ffd966;
}

.btn-pedir-wsp {
    background: linear-gradient(45deg, #25D366, #128C7E);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.btn-pedir-wsp:hover {
    transform: scale(1.02);
    box-shadow: 0 0 25px #25D366;
}

/* Pagos */
.pagos {
    background: #0d0d0d;
}

.pagos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.pago-card {
    background: linear-gradient(145deg, #181818, #101010);
    padding: 30px 25px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 1px solid #2a2a2a;
    position: relative;
    overflow: hidden;
}

.pago-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(230,57,70,0.1), rgba(255,170,51,0.1));
    transition: 0.5s;
    z-index: 0;
}

.pago-card:hover::before {
    top: 0;
}

.pago-icon {
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.pago-card i {
    font-size: 50px;
    color: #E63946;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    filter: drop-shadow(0 0 5px rgba(230,57,70,0.5));
}

.pago-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 40px rgba(230,57,70,0.3);
    border-color: #E63946;
}

.pago-card:hover i {
    transform: scale(1.2) rotate(5deg);
    color: #ffaa33;
    filter: drop-shadow(0 0 15px #E63946);
}

.pago-card h3 {
    margin: 15px 0;
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
}

.pago-card p {
    margin: 8px 0;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
    transition: 0.3s;
}

.pago-card:hover p {
    color: #CCCCDD;
}

/* Contacto */
.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contacto-info p {
    margin: 15px 0;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 12px;
}

.contacto-info p:hover {
    transform: translateX(12px);
    background: rgba(230,57,70,0.1);
}

.contacto-info i {
    width: 35px;
    color: #E63946;
    transition: 0.3s;
}

.contacto-info p:hover i {
    transform: scale(1.2);
    color: #ffaa33;
}

.welder-tools {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    font-size: 1.8rem;
}

.welder-tools i {
    color: #E63946;
    transition: all 0.3s ease;
    animation: toolFloat 2s infinite ease-in-out;
}

.welder-tools i:nth-child(1) { animation-delay: 0s; }
.welder-tools i:nth-child(2) { animation-delay: 0.4s; }
.welder-tools i:nth-child(3) { animation-delay: 0.8s; }

.mapa-iframe {
    margin-top: 15px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.mapa-iframe:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 35px rgba(230,57,70,0.3);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.98);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    max-width: 90%;
    max-height: 90%;
    border-radius: 24px;
    padding: 20px;
    position: relative;
    border: 2px solid #E63946;
    box-shadow: 0 0 50px rgba(230,57,70,0.5);
}

.close-modal {
    position: absolute;
    right: 25px;
    top: 15px;
    font-size: 35px;
    cursor: pointer;
    color: white;
    transition: 0.3s;
}

.close-modal:hover {
    color: #E63946;
    transform: rotate(90deg) scale(1.2);
}

.modal-main-image img {
    width: 100%;
    max-height: 60vh;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.8); filter: blur(2px); }
    to { opacity: 1; transform: scale(1); filter: blur(0); }
}

.modal-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.modal-thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 2px solid transparent;
}

.modal-thumb:hover, .modal-thumb.active {
    border-color: #E63946;
    transform: scale(1.1);
    box-shadow: 0 0 20px #E63946;
}

footer {
    text-align: center;
    padding: 30px;
    background: #050505;
    border-top: 2px solid #E63946;
}

footer i {
    margin: 0 10px;
    animation: pulseRed 1s infinite alternate;
}

@keyframes pulseRed {
    0% { color: #E63946; }
    100% { color: #ffaa33; }
}

/* Responsive */
@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }
    nav ul {
        position: fixed;
        top: 80px;
        left: -100%;
        background: #0a0a0a;
        width: 100%;
        flex-direction: column;
        text-align: center;
        padding: 20px;
        transition: 0.3s;
        z-index: 999;
        border-bottom: 2px solid #E63946;
    }
    nav ul.active {
        left: 0;
    }
    .glitch {
        font-size: 2rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .contacto-grid {
        grid-template-columns: 1fr;
    }
}