/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Variables de colores */
:root {
    --primary-green: #4CAF50;
    --secondary-green: #388E3C;
    --light-green: #C8E6C9;
    --primary-blue: #2196F3;
    --light-blue: #BBDEFB;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #2c3e50;
    --text-gray: #555;
    --earth-brown: #8D6E63;
    --leaf-green: #81C784;
    --sky-blue: #64B5F6;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 15px rgba(0, 0, 0, 0.15);
}

/* Navegación */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
}

.nav-logo i {
    margin-right: 10px;
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-green);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-green);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--dark-gray);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--light-blue) 100%);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%234CAF50" opacity="0.1"/><circle cx="80" cy="40" r="1.5" fill="%2381C784" opacity="0.1"/><circle cx="40" cy="80" r="1" fill="%2364B5F6" opacity="0.1"/></svg>');
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-green);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.cta-button:hover {
    background: var(--secondary-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.eco-elements {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.eco-elements i {
    position: absolute;
    font-size: 4rem;
    color: var(--primary-green);
    opacity: 0.8;
    animation: float 3s ease-in-out infinite;
}

.plant-1 {
    top: 20px;
    left: 20px;
    color: var(--leaf-green);
    animation-delay: 0s;
}

.plant-2 {
    top: 60px;
    right: 40px;
    color: var(--primary-green);
    animation-delay: 1s;
}

.plant-3 {
    bottom: 40px;
    left: 60px;
    color: var(--secondary-green);
    animation-delay: 2s;
}

.recycle-icon {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 6rem;
    color: var(--primary-blue);
    animation-delay: 0.5s;
}

.robot-icon {
    bottom: 20px;
    right: 20px;
    color: var(--sky-blue);
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Problem Section */
.problem-section {
    padding: 80px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-gray);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.problem-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.problem-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), var(--leaf-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    overflow: hidden;
}

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

.problem-icon i {
    font-size: 2rem;
    color: var(--white);
}

.problem-card h3 {
    font-size: 1.5rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.problem-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Upload Section */
.upload-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.upload-container {
    max-width: 800px;
    margin: 0 auto;
}

.upload-area {
    border: 3px dashed var(--primary-green);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    background: var(--white);
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    border-color: var(--secondary-green);
    background: var(--light-green);
    transform: scale(1.02);
}

.upload-area.dragover {
    border-color: var(--primary-blue);
    background: var(--light-blue);
}

.upload-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.upload-icons i {
    font-size: 3rem;
    color: var(--primary-green);
    animation: bounce 2s ease-in-out infinite;
}

.upload-icons i:nth-child(2) {
    animation-delay: 0.3s;
    color: var(--primary-blue);
}

.upload-icons i:nth-child(3) {
    animation-delay: 0.6s;
    color: var(--leaf-green);
}

.upload-content h3 {
    font-size: 1.8rem;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.upload-content p {
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.upload-btn {
    background: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-btn:hover {
    background: var(--secondary-green);
    transform: translateY(-2px);
}

.preview-container {
    margin-top: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.preview-header {
    background: var(--primary-green);
    color: var(--white);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-btn {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
}

.preview-image {
    padding: 2rem;
    text-align: center;
}

.preview-image img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.analysis-section {
    padding: 2rem;
    text-align: center;
}

.analyze-btn {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.analyze-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.result-container {
    margin-top: 2rem;
    background: var(--light-gray);
    border-radius: 10px;
    padding: 1.5rem;
}

.result-header h4 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

/* Tutorials Section */
.tutorials-section {
    padding: 80px 0;
    background: var(--white);
}

.tutorials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tutorial-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--primary-green);
    position: relative;
    overflow: hidden;
}

.tutorial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--leaf-green), var(--primary-blue));
    background-size: 200% 100%;
    animation: gradientMove 3s ease-in-out infinite;
}

.tutorial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.tutorial-icon {
    width: 60px;
    height: 60px;
    background: var(--light-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.tutorial-icon i {
    font-size: 1.5rem;
    color: var(--primary-green);
}

.tutorial-card h3 {
    font-size: 1.3rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.tutorial-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.tutorial-steps {
    margin-bottom: 1.5rem;
}

.step {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.step:hover {
    background-color: var(--light-green);
}

.step i {
    margin-right: 0.5rem;
    color: var(--primary-green);
    font-size: 0.9rem;
}

.step-number {
    width: 25px;
    height: 25px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 1rem;
}

.tutorial-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.tutorial-link:hover {
    color: var(--secondary-green);
}

/* Awareness Section */
.awareness-section {
    padding: 80px 0;
    background: var(--light-gray);
}

/* How It Works */
.how-section {
    padding: 80px 0;
    background: var(--white);
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.how-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.how-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.how-icon {
    width: 70px;
    height: 70px;
    background: var(--light-blue);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.6rem;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: var(--white);
    text-align: center;
}

#map {
    width: 90%;
    max-width: 1000px;
    height: 500px;
    margin: 30px auto;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.map-embed {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: var(--shadow);
    border-radius: 12px;
    overflow: hidden;
}

.map-embed iframe {
    display: block;
    width: 100%;
    height: 60vh;
    min-height: 360px;
    border: 0;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: var(--white);
}

.about-intro,
.about-mission {
    color: var(--text-gray);
    max-width: 1000px;
    margin: 0 auto 2rem;
}

.about-subtitle {
    text-align: center;
    color: var(--dark-gray);
    margin: 2rem 0 1.5rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.team-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.team-card .avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--light-green);
    color: var(--secondary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.team-info h4 {
    color: var(--dark-gray);
    margin-bottom: 0.25rem;
}

.team-info p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.contact-block {
    max-width: 800px;
    margin: 0 auto;
}

.contact-list {
    list-style: none;
}

.contact-list li {
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.contact-list i {
    color: var(--primary-green);
    margin-right: 8px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.stat-delta {
    color: #27ae60;
    font-weight: 600;
    margin-top: 0.3rem;
}

.awareness-text {
    color: var(--text-gray);
    max-width: 900px;
    margin: 0 auto 2rem;
    text-align: center;
}

.benefits-section h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--dark-gray);
    margin-bottom: 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card i {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.benefit-card h4 {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.footer-section p {
    margin-bottom: 0.5rem;
    color: #bdc3c7;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-green);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-green);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    text-align: center;
    color: #bdc3c7;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-image i {
        font-size: 8rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .problem-grid,
    .tutorials-grid,
    .stats-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .upload-area {
        padding: 2rem 1rem;
    }

    .upload-content i {
        font-size: 3rem;
    }

    .upload-content h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .problem-card,
    .tutorial-card,
    .benefit-card {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

/* Animaciones adicionales */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.problem-card,
.tutorial-card,
.benefit-card,
.stat-card {
    animation: fadeInUp 0.6s ease forwards;
}

.problem-card:nth-child(1) { animation-delay: 0.1s; }
.problem-card:nth-child(2) { animation-delay: 0.2s; }
.problem-card:nth-child(3) { animation-delay: 0.3s; }

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Estados de carga */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--primary-green);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

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

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

/* Elementos decorativos ambientales */
.eco-decoration {
    position: fixed;
    width: 100px;
    height: 100px;
    pointer-events: none;
    z-index: -1;
    opacity: 0.1;
}

.eco-decoration.leaf-1 {
    top: 10%;
    left: 5%;
    animation: float 6s ease-in-out infinite;
}

.eco-decoration.leaf-2 {
    top: 30%;
    right: 10%;
    animation: float 8s ease-in-out infinite reverse;
}

.eco-decoration.leaf-3 {
    bottom: 20%;
    left: 15%;
    animation: float 7s ease-in-out infinite;
}

/* Mejoras en las tarjetas de estadísticas */
.stat-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-green) 100%);
    border-left: 4px solid var(--primary-green);
}

/* Mejoras en las tarjetas de beneficios */
.benefit-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-blue) 100%);
    border-right: 4px solid var(--primary-blue);
}

/* Estilos para resultados de IA */
.result-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
}

.result-item i {
    font-size: 2rem;
    color: var(--primary-green);
    margin-top: 0.5rem;
}

.result-item.error i {
    color: #e74c3c;
}

.result-item.high-confidence {
    border-left: 4px solid var(--primary-green);
}

.result-item.low-confidence {
    border-left: 4px solid #f39c12;
}

.result-text h4 {
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.result-text h4 span {
    color: var(--primary-green);
    font-weight: 700;
}

.result-text p {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.result-message {
    font-style: italic;
    background: var(--light-gray);
    padding: 0.8rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.confidence-info {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 8px;
    border-left: 3px solid var(--primary-blue);
}

.confidence-info p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.low-confidence-warning {
    color: #e67e22 !important;
    font-weight: 600;
    background: #fef5e7;
    padding: 0.5rem;
    border-radius: 5px;
    border: 1px solid #f39c12;
}

/* Spinner de carga */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--light-gray);
    border-top: 4px solid var(--primary-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

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