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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* Header y navegación */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #e74c3c;
}

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

.menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.menu a:hover {
    color: #e74c3c;
}

/* Contenido principal */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.hero {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem 1rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Contador */
.counter-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin: 3rem 0;
}

.click-area {
    cursor: pointer;
    padding: 2rem;
    transition: transform 0.2s;
}

.click-area:active {
    transform: scale(0.95);
}

.circle {
    width: 200px;
    height: 200px;
    background-color: #e74c3c;
    border-radius: 50%;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.3);
    transition: all 0.3s;
}

.circle:hover {
    background-color: #c0392b;
    transform: scale(1.05);
}

.counter-display {
    text-align: center;
}

.counter-display h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

#counter {
    color: #e74c3c;
    font-size: 2.5rem;
    font-weight: bold;
}

.buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn {
    background-color: #3498db;
    color: white;
}

.btn.secondary {
    background-color: #95a5a6;
    color: white;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Sección de contenido */
.content {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-top: 2rem;
}

.content h2 {
    color: #2c3e50;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #eee;
}

.content h3 {
    color: #34495e;
    margin: 1.5rem 0 0.5rem;
}

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

.use-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

ul, ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 1rem;
    color: #ecf0f1;
}

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

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

.footer-section a:hover {
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem;
    background-color: #1a252f;
    color: #95a5a6;
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .menu {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .circle {
        width: 150px;
        height: 150px;
    }
    
    .content {
        padding: 2rem 1rem;
    }
    
    .uses {
        grid-template-columns: 1fr;
    }
}

/* Estilos para páginas legales */
.legal-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #e74c3c;
    margin: 1rem 0 2rem;
}

.legal-info p {
    margin-bottom: 0.5rem;
}

.ads-notice {
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.ads-notice ul {
    margin-left: 2rem;
}

.important-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.important-notice h3 {
    color: #856404;
    margin-top: 0;
}

/* Mejoras para listas en páginas legales */
.content ul, .content ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Mejora de jerarquía de títulos */
.content h2 {
    color: #2c3e50;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #eee;
}

.content h3 {
    color: #34495e;
    margin: 1.5rem 0 0.8rem;
}