/* ============================================
   BASE / RESET / GLOBALS
   ============================================ */

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    background-image: linear-gradient(to bottom, rgba(9, 9, 11, 0.4), var(--bg-dark)), url(../fondo.jpeg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Decoration */
.bg-blob {
    position: fixed;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    filter: blur(120px);
    opacity: 0.38;
    z-index: -1;
    pointer-events: none;
    animation: blobFloat 25s infinite alternate;
}

.blob-1 { top: -250px; left: -250px; }
.blob-2 {
    bottom: -250px;
    right: -250px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    animation-delay: -12s;
}

@keyframes blobFloat {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, 120px) scale(1.1); }
    100% { transform: translate(-60px, 60px) scale(0.9); }
}

/* Glassmorphism Utility */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

/* Global Form Styles */
input, select, textarea {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--glass-border) !important;
    color: white !important;
    border-radius: 10px !important;
    padding: 12px 15px !important;
    font-family: inherit;
    transition: var(--transition);
}

select option {
    background-color: #121214 !important;
    color: white !important;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary) !important;
    box-shadow: 0 0 10px rgba(0, 212, 212, 0.3);
}

/* Scroll Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Keyframes */
@keyframes pulse-cart {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

.pulse-cart {
    animation: pulse-cart 0.4s ease-out;
    color: var(--primary) !important;
}

@keyframes pulse-skeleton {
    0%, 100% { opacity: 0.5; }
    50%       { opacity: 1; }
}
