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

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 0;
}

.privacy-note {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 107, 107, 0.08);
    border: 1px solid rgba(255, 107, 107, 0.2);
    color: #e6e6e6;
    border-radius: 12px;
    padding: 12px 14px;
    margin: -10px auto 30px;
    margin-top: -60px;
    max-width: 700px;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.08);
}

.privacy-note .icon {
    display: inline-flex;
}

.privacy-note .text {
    font-size: 0.95rem;
    line-height: 1.4;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.1rem;
    color: #cccccc;
    opacity: 0.8;
}

main {
    flex: 1;
    margin-bottom: 40px;
}

#questions-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.question {
    background: #1a1a1a;
    border-radius: 15px;
    padding: 30px;
    border: 1px solid #2a2a2a;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: slideIn 0.5s ease forwards;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.question:hover {
    border-color: #ff6b6b;
    box-shadow: 0 12px 40px rgba(255, 107, 107, 0.1);
}

.question-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.options.horizontal {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.options.horizontal .option {
    flex: 0 1 auto;
    min-width: 120px;
    justify-content: center;
}

.option {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 15px 20px;
    border-radius: 10px;
    border: 2px solid #2a2a2a;
    background: #131313;
    transition: all 0.3s ease;
    position: relative;
}

.option:hover {
    border-color: #ff6b6b;
    background: #1f1f1f;
}

.option input[type="radio"] {
    margin-right: 15px;
    width: 18px;
    height: 18px;
    accent-color: #ff6b6b;
}

.option label {
    flex: 1;
    cursor: pointer;
    font-size: 1rem;
    color: #ffffff;
}

.option.selected {
    border-color: #ff6b6b;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(255, 142, 142, 0.05));
}

#calculate-section {
    text-align: center;
    margin-top: 40px;
}

.calculate-button {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.calculate-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.4);
}

.calculate-button:active {
    transform: translateY(0);
}

#result-section {
    text-align: center;
    margin-top: 40px;
}

.result-card {
    background: #1a1a1a;
    border-radius: 20px;
    padding: 40px;
    border: 1px solid #2a2a2a;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    margin: 0 auto;
}

.result-card h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #ff6b6b;
}

.percentage-display {
    font-size: 4rem;
    font-weight: 700;
    margin: 20px 0;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#result-message {
    font-size: 1.2rem;
    color: #cccccc;
    margin: 20px 0;
    line-height: 1.5;
}

.ai-description {
    margin: 25px 0;
    padding: 20px;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 107, 107, 0.2);
}

.loading-spinner {
    color: #ff6b6b;
    font-style: italic;
    text-align: center;
}

.description-text {
    font-size: 1rem;
    color: #e0e0e0;
    line-height: 1.4;
    font-style: italic;
    text-align: center;
    margin: 0;
}

.restart-button {
    background: transparent;
    color: #ff6b6b;
    border: 2px solid #ff6b6b;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.restart-button:hover {
    background: #ff6b6b;
    color: white;
    transform: translateY(-2px);
}

.hidden {
    display: none !important;
}

footer {
    margin-top: auto;
    padding: 30px 0 20px;
    border-top: 1px solid #2a2a2a;
}

.footer-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.footer-info {
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #888888;
}

.version {
    font-family: 'Courier New', monospace;
    color: #ff6b6b;
    font-weight: 600;
}

.separator {
    margin: 0 8px;
    color: #555555;
}

.copyright {
    color: #888888;
}



.footer-disclaimer {
    font-size: 0.75rem;
    color: #666666;
    line-height: 1.4;
}

.footer-disclaimer p {
    margin: 5px 0;
}

.densdev-link {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.densdev-link:hover {
    color: #ff8e8e;
    text-decoration: underline;
}

.footer-content {
    font-family: 'Poppins', sans-serif;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .question {
        padding: 20px;
    }
    
    .question-title {
        font-size: 1.1rem;
    }
    
    .option {
        padding: 12px 15px;
    }
    
    .percentage-display {
        font-size: 3rem;
    }
    
    .result-card {
        padding: 30px 20px;
    }
    
    .footer-disclaimer {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .percentage-display {
        font-size: 2.5rem;
    }
}