* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0f0f23;
    min-height: 100vh;
    padding: 20px;
    padding-top: 80px;
    position: relative;
    overflow-x: hidden;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(255, 0, 110, 0.3);
    padding: 15px 30px;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-size: 1.5em;
    font-weight: 700;
    background: linear-gradient(135deg, #ff006e, #ffbe0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.navbar-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.navbar-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1.05em;
}

.navbar-links a:hover {
    color: #ff006e;
}

.navbar-links a.active {
    color: #ff006e;
    border-bottom: 2px solid #ff006e;
}

.navbar-toggle {
    display: none;
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.2), rgba(255, 190, 11, 0.2));
    border: 2px solid rgba(255, 0, 110, 0.5);
    color: white;
    cursor: pointer;
    padding: 10px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    width: 45px;
    height: 45px;
    position: relative;
    overflow: hidden;
}

.navbar-toggle::before,
.navbar-toggle::after,
.navbar-toggle span {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background: linear-gradient(90deg, #ff006e, #ffbe0b);
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.navbar-toggle::before {
    top: 12px;
}

.navbar-toggle span {
    top: 21px;
}

.navbar-toggle::after {
    top: 30px;
}

.navbar-toggle:hover {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.4), rgba(255, 190, 11, 0.4));
    border-color: #ff006e;
    transform: scale(1.05);
}

.navbar-toggle.active::before {
    transform: translateX(-50%) rotate(45deg);
    top: 21px;
}

.navbar-toggle.active span {
    opacity: 0;
    transform: translateX(-50%) scale(0);
}

.navbar-toggle.active::after {
    transform: translateX(-50%) rotate(-45deg);
    top: 21px;
}

.navbar-toggle:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .navbar {
        padding: 12px 20px;
    }
    
    .navbar-brand {
        font-size: 1.3em;
    }
    
    .navbar-toggle {
        display: block;
    }
    
    .navbar-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(180deg, rgba(15, 15, 35, 0.98) 0%, rgba(20, 20, 40, 0.98) 100%);
        backdrop-filter: blur(15px);
        flex-direction: column;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }
    
    .navbar-links.active {
        max-height: 300px;
        border-bottom: 2px solid rgba(255, 0, 110, 0.5);
    }
    
    .navbar-links a {
        padding: 18px 25px;
        width: 100%;
        border-bottom: 1px solid rgba(255, 0, 110, 0.15);
        font-size: 1.1em;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    
    .navbar-links a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 4px;
        background: linear-gradient(180deg, #ff006e, #ffbe0b);
        transform: scaleY(0);
        transition: transform 0.3s ease;
    }
    
    .navbar-links a:hover::before,
    .navbar-links a.active::before {
        transform: scaleY(1);
    }
    
    .navbar-links a:hover {
        background: rgba(255, 0, 110, 0.1);
        padding-left: 30px;
    }
    
    .navbar-links a.active {
        background: rgba(255, 0, 110, 0.15);
        color: #ffbe0b;
        border-bottom-color: rgba(255, 190, 11, 0.3);
    }
    
    .navbar-links a:last-child {
        border-bottom: none;
    }
    
    body {
        padding-top: 70px;
    }
}

#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 0, 100, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 100, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 200, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

header {
    text-align: center;
    color: white;
    margin-bottom: 40px;
    padding: 30px 20px;
    position: relative;
    z-index: 1;
}

header h1 {
    font-size: 3.5em;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #ff006e, #ffbe0b, #fb5607);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    letter-spacing: 2px;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 10px rgba(255, 0, 110, 0.5)); }
    to { filter: drop-shadow(0 0 20px rgba(255, 190, 11, 0.8)); }
}

.subtitle {
    font-size: 1.3em;
    color: #a0a0a0;
    font-weight: 300;
}

main {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.screen {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.screen.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.content-box h2 {
    color: white;
    margin-bottom: 20px;
    font-size: 2em;
}

.intro-text {
    color: #c0c0c0;
    line-height: 1.8;
    font-size: 1.1em;
    margin-bottom: 40px;
    text-align: center;
}

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 40px;
    border-radius: 20px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(15, 15, 35, 0.8) 100%);
    pointer-events: none;
}

.intro-text strong {
    color: #ff006e;
    font-weight: bold;
}

.start-box {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.btn-primary {
    background: linear-gradient(135deg, #ff006e, #fb5607);
    color: white;
    border: none;
    padding: 18px 50px;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(255, 0, 110, 0.3);
    display: inline-block;
    margin: 0 auto;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 0, 110, 0.5);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.disclaimer {
    color: #888;
    font-size: 0.9em;
    margin-top: 25px;
    text-align: center;
    font-weight: 300;
}

.view-profiles-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.btn-view-profiles {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
}

.btn-view-profiles:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6);
}

.profiles-note {
    margin-top: 12px;
    color: #aaa;
    font-size: 0.85em;
}

/* Quiz Screen */
.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff006e, #ffbe0b);
    width: 0%;
    transition: width 0.5s ease;
}

.question-counter {
    text-align: center;
    color: #888;
    margin-bottom: 30px;
    font-size: 1.1em;
}

.question-text {
    color: white;
    font-size: 1.8em;
    line-height: 1.4;
    margin-bottom: 40px;
    text-align: center;
}

.answers-container {
    display: grid;
    gap: 15px;
}

.answer-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 20px 30px;
    border-radius: 15px;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.answer-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffbe0b;
    transform: translateX(10px);
}

.answer-btn:active {
    transform: scale(0.98);
}

/* Quiz Navigation Buttons */
.quiz-navigation {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.nav-btn {
    padding: 16px 40px;
    font-size: 1.05rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 800;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
    background: linear-gradient(135deg, #ff006e, #fb5607);
    color: white;
    box-shadow: 0 10px 25px rgba(255, 0, 110, 0.35);
}

.nav-btn.secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: none;
}

.nav-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 14px 30px rgba(255, 0, 110, 0.45);
}

.nav-btn:active {
    transform: translateY(0);
}

/* Results Screen */
.results-box {
    text-align: center;
}

.result-badge {
    font-size: 6em;
    margin-bottom: 20px;
    animation: bounce 1s ease;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.result-title {
    font-size: 2.5em;
    color: white;
    margin-bottom: 20px;
}

.result-description {
    color: #c0c0c0;
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.result-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    margin: 30px auto;
    display: block;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.result-image:hover {
    transform: scale(1.02);
}

.score-display {
    margin: 40px 0;
}

.score-circle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.2), rgba(255, 190, 11, 0.2));
    border: 4px solid rgba(255, 190, 11, 0.5);
    position: relative;
}

#scorePercentage {
    font-size: 3.5em;
    font-weight: bold;
    color: #ffbe0b;
}

.score-label {
    font-size: 0.9em;
    color: #888;
    margin-top: 5px;
}

.result-details {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px;
    border-radius: 15px;
    margin: 30px 0;
    color: #c0c0c0;
    line-height: 1.8;
    text-align: left;
}

.result-details h3 {
    color: #ffbe0b;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.3em;
}

.axis-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.axis-detail {
    display: flex;
    align-items: center;
    gap: 15px;
}

.axis-name {
    min-width: 180px;
    font-weight: bold;
    color: white;
    font-size: 0.95em;
}

.axis-bar {
    flex: 1;
    height: 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.axis-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    transition: width 1s ease-out;
}

.axis-value {
    min-width: 50px;
    text-align: right;
    font-weight: bold;
    color: #ffbe0b;
    font-size: 1.1em;
}

.axis-descriptions {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.axis-descriptions h3 {
    color: #ffbe0b;
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.4em;
}

.axis-description {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    border-left: 4px solid #667eea;
}

.axis-description h4 {
    color: #ffbe0b;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.axis-description p {
    color: #ccc;
    line-height: 1.6;
    font-size: 0.95em;
}

.profile-detailed-description {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid rgba(255, 190, 11, 0.3);
}

.profile-detailed-description h3 {
    color: #ffbe0b;
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.5em;
}

.profile-full-story {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #ffbe0b;
}

.profile-full-story p {
    color: #ddd;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1em;
}

.profile-full-story p:last-child {
    margin-bottom: 0;
}

.profile-full-story strong {
    color: #ffbe0b;
    font-weight: 600;
}

.result-details strong {
    color: #ffbe0b;
}

.share-section {
    margin: 40px 0;
}

.share-section h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3em;
}

.share-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.share-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-btn.twitter:hover {
    background: #1DA1F2;
    border-color: #1DA1F2;
}

.share-btn.whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
}

.share-btn.copy:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

footer {
    text-align: center;
    color: #666;
    margin-top: 60px;
    padding: 30px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.footer-note {
    font-size: 0.85em;
    margin-top: 10px;
    color: #555;
}

/* SEO Content Section */
.seo-content {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    text-align: left;
}

.seo-content h2 {
    color: #ffbe0b;
    font-size: 1.8em;
    margin-bottom: 20px;
    margin-top: 0;
}

.seo-content h3 {
    color: #ff006e;
    font-size: 1.4em;
    margin-top: 30px;
    margin-bottom: 15px;
}

.seo-content p {
    color: #999;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1em;
}

.seo-content strong {
    color: #ffbe0b;
    font-weight: 600;
}

.keywords-cloud {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.keywords-cloud span {
    background: rgba(255, 190, 11, 0.1);
    color: #ffbe0b;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    border: 1px solid rgba(255, 190, 11, 0.3);
}

/* Gráfico Radar */
.radar-container {
    margin: 30px auto;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#radarChart {
    max-height: 400px;
}

/* Estadísticas virales */
.viral-stats {
    margin: 25px 0;
    text-align: center;
}

.stat-highlight {
    font-size: 1.3em;
    color: #ffbe0b;
    margin: 15px 0;
    padding: 15px;
    background: rgba(255, 190, 11, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 190, 11, 0.3);
}

.test-counter {
    font-size: 1.5em;
    font-weight: bold;
    color: #ff006e;
}

.urgency-text {
    color: #ff006e;
    font-size: 1.1em;
    margin-top: 10px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Pantalla de carga */
.loading-box {
    text-align: center;
    padding: 60px 40px;
}

.loading-spinner {
    width: 80px;
    height: 80px;
    border: 6px solid rgba(255, 0, 110, 0.2);
    border-top-color: #ff006e;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 30px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    font-size: 1.8em;
    color: #ff006e;
    margin: 20px 0;
    animation: pulse 1.5s infinite;
}

.loading-subtext {
    font-size: 1.2em;
    color: #aaa;
    margin: 15px 0;
}

.loading-progress {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 30px;
}

.loading-bar {
    height: 100%;
    background: linear-gradient(90deg, #ff006e, #fb5607, #ffbe0b);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 10px;
}

/* Comparación con político */
.politician-comparison {
    margin: 30px 0;
    padding: 25px;
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.1), rgba(131, 56, 236, 0.1));
    border-radius: 15px;
    border: 2px solid rgba(255, 0, 110, 0.3);
    display: none; /* Oculto por defecto, solo se muestra si viral.js lo rellena */
}

.politician-card h3 {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #ffbe0b;
}

.politician-name {
    font-size: 2em;
    font-weight: bold;
    color: #ff006e;
    margin: 10px 0;
}

.politician-party {
    font-size: 1.2em;
    color: #8338ec;
    font-weight: bold;
    margin: 5px 0;
}

.politician-note {
    margin-top: 15px;
    color: #aaa;
    font-style: italic;
}

/* Estadísticas comparativas */
.stats-comparison {
    margin: 30px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    display: none; /* Oculto por defecto, solo se muestra si viral.js lo rellena */
}

.stats-card {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-around;
}

.stat-item {
    flex: 1;
    min-width: 150px;
    text-align: center;
    padding: 20px;
    background: rgba(255, 0, 110, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 0, 110, 0.2);
}

.stat-value {
    font-size: 2.5em;
    font-weight: bold;
    color: #ffbe0b;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.9em;
    color: #ccc;
    line-height: 1.4;
}

.live-counter .stat-value {
    color: #00ff88;
    animation: pulse 2s infinite;
}

/* Sección de certificado */
.certificate-section {
    margin: 30px 0;
    text-align: center;
}

.btn-certificate {
    background: linear-gradient(135deg, #ffbe0b, #fb5607);
    color: #0f0f23;
    font-size: 1.2em;
    font-weight: bold;
    padding: 18px 40px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 190, 11, 0.4);
}

.btn-certificate:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255, 190, 11, 0.6);
}

.certificate-note {
    margin-top: 10px;
    font-size: 0.9em;
    color: #aaa;
    font-style: italic;
}

/* Sección de desafío */
.challenge-section {
    margin: 30px 0;
    padding: 25px;
    background: rgba(131, 56, 236, 0.1);
    border-radius: 15px;
    border: 2px dashed rgba(131, 56, 236, 0.4);
    text-align: center;
}

.challenge-section h3 {
    font-size: 1.5em;
    color: #8338ec;
    margin-bottom: 10px;
}

.challenge-section p {
    color: #ccc;
    line-height: 1.6;
}

/* Botones de compartir mejorados */
.share-btn.telegram {
    background: linear-gradient(135deg, #0088cc, #229ED9);
}

.share-btn.telegram:hover {
    background: linear-gradient(135deg, #229ED9, #0088cc);
    box-shadow: 0 6px 20px rgba(34, 158, 217, 0.5);
}

/* Animaciones adicionales */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.politician-comparison, .stats-comparison, .certificate-section {
    animation: fadeInUp 0.6s ease-out;
}

.stat-item {
    animation: fadeInUp 0.8s ease-out;
}

.stat-item:nth-child(2) {
    animation-delay: 0.1s;
}

.stat-item:nth-child(3) {
    animation-delay: 0.2s;
}

/* Efecto hover mejorado en botones de respuesta */
.answer-btn {
    position: relative;
    overflow: hidden;
}

.answer-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.answer-btn:hover::before {
    width: 300%;
    height: 300%;
}

/* Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.5em;
    }
    
    .content-box {
        padding: 25px;
    }
    
    .question-text {
        font-size: 1.4em;
    }
    
    .result-title {
        font-size: 2em;
    }
    
    .score-circle {
        width: 150px;
        height: 150px;
    }
    
    #scorePercentage {
        font-size: 2.5em;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    header h1 {
        font-size: 2em;
    }
    
    .subtitle {
        font-size: 1em;
    }
    
    .content-box {
        padding: 20px;
    }
    
    .btn-primary {
        padding: 15px 35px;
        font-size: 1em;
    }
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 35, 0.98);
    backdrop-filter: blur(10px);
    border-top: 2px solid rgba(255, 0, 110, 0.3);
    padding: 15px 20px;
    z-index: 10000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    color: #e0e0e0;
    font-size: 0.95em;
    line-height: 1.5;
}

.cookie-content a {
    color: #ff006e;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s;
}

.cookie-content a:hover {
    color: #ffbe0b;
}

.cookie-btn {
    background: linear-gradient(135deg, #ff006e, #fb5607);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95em;
    white-space: nowrap;
}

.cookie-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 110, 0.4);
}

/* Privacy Modal */
.privacy-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.privacy-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid rgba(255, 0, 110, 0.3);
    border-radius: 15px;
    padding: 30px;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.privacy-content h2 {
    color: #ff006e;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.privacy-content p,
.privacy-content ul {
    color: #e0e0e0;
    line-height: 1.6;
    margin-bottom: 15px;
}

.privacy-content ul {
    padding-left: 25px;
}

.privacy-content li {
    margin-bottom: 10px;
}

.privacy-content strong {
    color: #ffbe0b;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2em;
    color: #ff006e;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.close-modal:hover {
    color: #ffbe0b;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cookie-btn {
        width: 100%;
    }
    
    .privacy-content {
        padding: 25px 20px;
        max-height: 90vh;
    }
    
    .privacy-content h2 {
        font-size: 1.3em;
        padding-right: 30px;
    }
}

/* Crypto Donation Section */
.donation-section {
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.15), rgba(255, 190, 11, 0.15));
    border: 2px solid rgba(255, 0, 110, 0.4);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    text-align: center;
    box-shadow: 0 10px 40px rgba(255, 0, 110, 0.2);
}

.donation-section h3 {
    color: #ffbe0b;
    font-size: 2em;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ff006e, #ffbe0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.donation-section p {
    color: #e0e0e0;
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 25px;
}

.crypto-wallet {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(15, 15, 35, 0.6));
    border: 2px solid rgba(255, 0, 110, 0.5);
    border-radius: 15px;
    padding: 35px;
    margin: 30px auto;
    max-width: 700px;
    box-shadow: 
        0 0 30px rgba(255, 0, 110, 0.2),
        inset 0 0 20px rgba(255, 0, 110, 0.05);
}

.wallet-label {
    color: #ffbe0b;
    font-weight: 700;
    font-size: 1.15em;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 190, 11, 0.5);
}

.wallet-address {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.1), rgba(255, 190, 11, 0.1));
    border: 2px solid rgba(255, 0, 110, 0.4);
    border-radius: 12px;
    padding: 18px 25px;
    color: #ffffff;
    font-family: 'Courier New', monospace;
    font-size: 1em;
    font-weight: 600;
    word-break: break-all;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.3),
        inset 0 0 15px rgba(255, 0, 110, 0.1);
    letter-spacing: 0.5px;
}

.wallet-address:hover {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.2), rgba(255, 190, 11, 0.2));
    border-color: #ff006e;
    box-shadow: 
        0 6px 20px rgba(255, 0, 110, 0.3),
        inset 0 0 20px rgba(255, 0, 110, 0.15);
    transform: scale(1.02);
}

.copy-btn {
    background: linear-gradient(135deg, #ff006e, #fb5607);
    color: white;
    border: 2px solid rgba(255, 0, 110, 0.5);
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.05em;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 
        0 5px 20px rgba(255, 0, 110, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.copy-btn:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 25px rgba(255, 0, 110, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #ff006e, #ffbe0b);
    border-color: #ffbe0b;
}

.copy-btn:active {
    transform: translateY(-1px);
    box-shadow: 
        0 4px 15px rgba(255, 0, 110, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.copy-message {
    color: #4ade80;
    font-weight: 700;
    margin-top: 18px;
    font-size: 1.15em;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.5);
    animation: fadeIn 0.3s ease-out;
}

.donation-note {
    font-size: 1.05em !important;
    color: #c0c0c0 !important;
    font-style: italic;
    margin-top: 30px !important;
    margin-bottom: 0 !important;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .donation-section {
        padding: 30px 20px;
        margin-top: 40px;
    }
    
    .donation-section h3 {
        font-size: 1.6em;
    }
    
    .crypto-wallet {
        padding: 25px 18px;
    }
    
    .wallet-label {
        font-size: 1em;
        letter-spacing: 1px;
    }
    
    .wallet-address {
        font-size: 0.85em;
        padding: 15px 18px;
        letter-spacing: 0.3px;
    }
    
    .copy-btn {
        width: 100%;
        padding: 16px 25px;
        font-size: 1em;
    }
}
