/* Explain: Base reset and typography defaults with dark theme background and animations. */
* {
    box-sizing: border-box;
}

html {
    background: var(--background-color);
    text-rendering: optimizeLegibility;
}

body {
    margin: 0;
    overflow-x: hidden;
    background-color: transparent;
    color: var(--text-color);
}

::selection {
    background: var(--accent-color);
    color: var(--text-color);
}

button,
a {
    cursor: pointer;
}

input,
button,
textarea,
select {
    font: inherit;
}

input.input, textarea.textarea {
    background-color: var(--surface-color);
    color: var(--text-color);
    border-color: var(--border-color);
}

:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--accent-color) 70%, transparent);
    outline-offset: 3px;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.animate-marquee {
    animation: marquee 40s linear infinite;
}
.animate-marquee-reverse {
    animation: marquee 45s linear infinite reverse;
}
.animate-marquee-slow {
    animation: marquee 50s linear infinite;
}

@keyframes whatsapp-pulse {
    0% { transform: scale(1); box-shadow: 0 6px 30px rgba(37, 211, 102, 0.75); }
    50% { transform: scale(1.04); box-shadow: 0 6px 45px rgba(37, 211, 102, 1); }
    100% { transform: scale(1); box-shadow: 0 6px 30px rgba(37, 211, 102, 0.75); }
}
.animate-whatsapp-pulse {
    animation: whatsapp-pulse 2.2s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
    .animate-whatsapp-pulse { animation: none; }
}