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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

body.quiz-mode {
    background: #0f172a;
}

/* Header Styles */
.custom-header {
    width: 100%;
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-logo-img {
    height: 40px;
    width: auto;
}

.header-logo-text {
    font-size: 1.5rem;
    font-weight: bold;
}

.header-nav {
    display: flex;
    gap: 2rem;
}

.header-nav-item {
    text-decoration: none;
    color: inherit;
    font-weight: 500;
    transition: opacity 0.3s;
}

.header-nav-item:hover {
    opacity: 0.8;
}

.header-media {
    width: 100%;
    text-align: center;
    margin: 1rem 0;
}

.header-media.below-header {
    margin-top: 80px;
}

.header-media.background {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

/* Footer Styles */
.custom-footer {
    width: 100%;
    padding: 2rem;
    text-align: center;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-text {
    margin-bottom: 1rem;
}

.footer-policies-auto, .footer-custom-links {
    margin-top: 1rem;
}

.footer-policy-link, .footer-custom-link {
    color: inherit;
    text-decoration: none;
    margin: 0 0.5rem;
    transition: opacity 0.3s;
}

.footer-policy-link:hover, .footer-custom-link:hover {
    opacity: 0.8;
}

/* Policy Page Styles */
.policy-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.policy-container h1 {
    color: #333;
    margin-bottom: 1rem;
}

.policy-container h2 {
    color: #555;
    margin: 2rem 0 1rem 0;
}

.policy-container p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #666;
}

/* Adjust body layout when header is present */
body:has(.custom-header) {
    padding-top: 80px;
}

body:has(.custom-header) .quiz-container {
    margin-top: 2rem;
}

.quiz-container {
    max-width: 800px;
    width: 100%;
    position: relative;
}

.headline {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 20px;
}

.quiz-content {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    position: relative;
    
}

.logo {
    max-width: 150px;
    margin-bottom: 20px;
}

.welcome-message {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.main-title {
    color: #8b5cf6;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.subtitle {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.prize-message {
    color: #ec4899;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.restriction-message {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.question {
    margin-bottom: 30px;
}

.question h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

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

.option {
    background: #8b5cf6;
    color: #ffffff;
    border: none;
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.result-section {
    text-align: center;
}

.trophy-image, .prize-image {
    width: 100px;
    margin-bottom: 20px;
}

.human-check-section {
    margin: 30px 0;
}

.human-check-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.human-yes, .human-no {
    min-width: 120px;
}

.congratulations {
    color: #8b5cf6;
    font-size: 2rem;
    margin-bottom: 20px;
}

.prize-text {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.score-text {
    color: #ccc;
    margin-bottom: 25px;
}

.claim-button, .retry-button {
    background: #8b5cf6;
    color: #ffffff;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    margin: 10px;
    transition: all 0.3s ease;
}

.claim-button:hover, .retry-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.footer-policies {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    background: #374151;
    border-radius: 10px;
}

.footer-policies a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.9rem;
}

.footer-policies a:hover {
    text-decoration: underline;
}

/* Estilos específicos para verificação humano/bot */
.human-verification {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    border: 2px solid #8b5cf6;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.verification-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.verification-title {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.verification-subtitle {
    color: #666;
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
}

.verification-buttons {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.verification-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 80px;
}

.verification-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

@media (max-width: 768px) {
    .quiz-content {
        padding: 20px;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .options {
        gap: 10px;
    }
    
    .human-verification {
        padding: 30px 20px;
        margin: 0 10px;
    }
    
    .verification-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .verification-btn {
        width: 100%;
        min-width: auto;
    }
}
