* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Besley', serif;
}

html {
    scroll-behavior: auto !important;
}

body {
    background-color: #e8d79d;
    color: #ffffff;
    overflow-x: hidden;
}

/* Age Gate Styles */
.age-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #0B2340;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.age-gate-content {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
}

.age-gate-legal {
    position: absolute;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 90vw;
    margin: 0;
    display: block;
    z-index: 10;
}

.age-gate-logo {
    width: 420px;
    max-width: 80vw;
    margin: 40px auto 0 auto;
    display: block;
}

.age-gate-title {
    color: #fff;
    font-size: 2.8em;
    font-weight: bold;
    text-align: center;
    margin: 40px 0 40px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: 'Besley', serif;
}

.age-gate-buttons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 60px;
    margin-bottom: 30px;
}

.age-button {
    padding: 18px 60px;
    font-size: 2em;
    text-transform: uppercase;
    border: 3px solid #C5A572;
    background: transparent;
    color: #fff;
    cursor: pointer;
    border-radius: 0;
    font-family: 'Besley', serif;
    font-weight: bold;
    transition: background 0.2s, color 0.2s;
    outline: none;
}

.age-button:focus,
.age-button:hover {
    background: #C5A572;
    color: #0A1F3F;
}

.age-gate-message {
    color: #C5A572;
    font-size: 1.1em;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 20px 0 0 0;
    text-align: center;
    font-family: 'Besley', serif;
    font-weight: 500;
    z-index: 2;
}

.age-gate-foot {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100vw;
    max-width: 100vw;
    height: auto;
    z-index: -1;
    pointer-events: none;
}

@media (max-width: 900px) {
    .age-gate-legal {
        width: 220px;
    }
    .age-gate-logo {
        width: 260px;
    }
    .age-gate-title {
        font-size: 2em;
    }
    .age-button {
        font-size: 1.2em;
        padding: 12px 30px;
    }
    .age-gate-buttons {
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .age-gate-content {
        padding: 0;
    }
    .age-gate-legal {
        width: 95vw;
        margin-top: 20px;
    }
    .age-gate-logo {
        width: 80vw;
        margin-top: 20px;
    }
    .age-gate-title {
        font-size: 1.1em;
        margin: 20px 0 20px 0;
    }
    .age-gate-foot {
        width: 100vw;
    }
    .age-button {
        font-size: 1em;
        padding: 10px 18px;
    }
    .age-gate-message {
        font-size: 0.9em;
    }
}

/* Header Styles */
.main-header {
    position: relative;
    width: 100%;
    max-height: 100vh;
    overflow: hidden;
}

.header-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Fixed Header Styles */
.fixed-header {
    position: fixed;
    top: -150px;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: top 0.3s ease-in-out;
}

.fixed-header.visible {
    top: 0;
}

.fixed-header-image {
    width: 100%;
    height: auto;
    display: block;
}

.fixed-header-image.mobile {
    display: none;
}

.header-overlay {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 400px;
    width: 90%;
}

.logo {
    width: 100%;
    height: auto;
}

.warning-banner {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #ffffff;
    color: #000000;
    padding: 15px;
    display: flex;
    align-items: center;
    max-width: 300px;
}

.minsal-logo {
    width: 60px;
    margin-right: 15px;
}

.warning-text h2 {
    font-size: 1.2em;
    margin-bottom: 5px;
}

.warning-text p {
    font-size: 0.9em;
}

/* Main Content Styles */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.celebration-section {
    text-align: center;
    padding: 20px;
    background-color: #e8d79d;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.celebration-section h1 {
    color: #a38142;
    font-size: 2.5em;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    line-height: 1.2;
    /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); */
}

.celebration-section h2 {
    color: #E3C18D;
    font-size: 2em;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.decoration {
    text-align: center;
    margin: 10px auto;
    max-width: 800px;
}

.decoration-img {
    width: auto;
    max-width: 100%;
    height: 50px;
}

.questions {
    margin: 20px auto;
    max-width: 1000px;
}

.questions p {
    margin: 25px 0;
    font-size: 1.6em;
    color: #0b2340;
    letter-spacing: 2px;
    line-height: 1px;
    font-weight: 800;
}

.questions p:last-child {
    margin-top: 40px;
}

/* Form Section */
.form-section {
    text-align: center;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 60px 20px;
    background-image: url('/concursos/assets/img/bgform.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    scroll-margin-top: 0;
}

.form-section h2 {
    color: #ffffff;
    /* margin-bottom: 10px; */
    text-transform: uppercase;
    font-size: 2em;
    font-weight: bold;
    letter-spacing: 1px;
}

.subtitle {
    color: #C5A572;
    margin-bottom: 40px;
    font-size: 2em;
    text-transform: uppercase;
    font-weight: bold;
}

/* TrustArc Form Styles */
.ta-upm.ta-upm-modal-content {
    max-width: 800px;
    margin: 0 auto;
    background: transparent !important;
}

.ta-upm.ta-upm-modal-header {
    display: none;
}

.ta-upm.ta-upm-modal-body {
    padding: 0;
}

.ta-upm.ta-upm-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ta-upm.ta-upm-form-group {
    margin-bottom: 15px;
}

.ta-upm.ta-upm-label {
    color: #ffffff !important;
    font-family: 'Besley', serif !important;
    font-size: 1em !important;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.ta-upm.ta-upm-input,
.ta-upm-select__control,
.ta-upm-date-picker-input-container,
.ta-upm-date-field-container input,
.react-datepicker__input-container input {
    width: 100%;
    padding: 15px !important;
    border: 2px solid #ffffff !important;
    background: transparent !important;
    border-radius: 50px !important;
    color: #ffffff !important;
    font-size: 1em !important;
    text-transform: uppercase;
    font-family: 'Besley', serif !important;
}

.ta-upm-select__single-value,
.ta-upm-select__placeholder {
    color: #ffffff !important;
    text-transform: uppercase;
}

.ta-upm-select__indicator-separator {
    display: none !important;
}

.ta-upm-select__dropdown-indicator svg {
    fill: #ffffff !important;
}

/* Date picker specific styles */
.ta-upm-date-picker-input-container,
.ta-upm-date-field-container input,
.react-datepicker__input-container input {
    outline: none !important;
    background-color: transparent !important;
}

.ta-upm-date-picker-input-container::placeholder,
.ta-upm-date-field-container input::placeholder,
.react-datepicker__input-container input::placeholder {
    color: #ffffff !important;
}

.ta-upm-date-field-container,
.react-datepicker-wrapper,
.react-datepicker__input-container {
    width: 100% !important;
    background: transparent !important;
}

/* Checkbox styles */
.ta-upm-checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

.ta-upm-checkbox-styled {
    width: 18px !important;
    height: 18px !important;
    margin-top: 2px !important;
    position: relative !important;
}

.ta-upm-checkbox-styled input[type="checkbox"] {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    width: 16px !important;
    height: 16px !important;
}

.ta-upm-static-text-container {
    color: #ffffff;
    font-size: 0.8em;
    line-height: 1.4;
}

/* Submit button */
.ta-upm.ta-upm-modal-footer {
    margin-top: 20px;
}

.ta-upm-button.ta-upm-button__primary {
    background-color: #1a237e !important;
    color: #ffffff !important;
    border: none !important;
    padding: 15px 60px !important;
    border-radius: 50px !important;
    font-size: 1.2em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease !important;
    font-family: 'Besley', serif !important;
    width: auto !important;
    min-width: 200px !important;
    letter-spacing: 1px !important;
}

.ta-upm-button.ta-upm-button__primary:hover {
    background-color: #0d47a1 !important;
}

.ta-upm-button.ta-upm-button__secondary {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    padding: 15px 60px !important;
    border-radius: 50px !important;
    font-size: 1.2em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-family: 'Besley', serif !important;
    width: auto !important;
    min-width: 200px !important;
    display: block !important;
    letter-spacing: 1px !important;
}

.ta-upm-button.ta-upm-button__secondary:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

/* Hide TrustArc branding but keep buttons visible */
.ta-upm.ta-upm-modal-footer > div:last-child:not(.sc-dvXYtj) {
    /* display: none !important; */
}

.ta-upm.ta-upm-modal-footer .sc-dvXYtj {
    display: flex;
    justify-content: center;
    gap: 30px;
    width: 100%;
    padding: 0 20px;
}

.ta-upm.ta-upm-modal-footer .sc-dvXYtj > div {
    flex: 0 1 auto;
}

@media (max-width: 1024px) {
    .celebration-section h1 {
        font-size: 3em;
    }

    .celebration-section h2 {
        font-size: 2.5em;
    }

    .questions p {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    /* Header adjustments */
    .main-header {
        position: relative;
    }

    .header-image {
        content: url('assets/img/header-mobile.jpg');
    }

    .banner-image {
        content: url('assets/img/banner-mobile.jpg');
    }

    .warning-banner {
        position: relative;
        max-width: 100%;
        padding: 10px;
    }

    .warning-banner .warning-text h2 {
        font-size: 1em;
    }

    .warning-banner .warning-text p {
        font-size: 0.8em;
    }

    /* Celebration section */
    .celebration-section {
        padding: 20px 15px;
    }

    .celebration-section h1 {
        font-size: 1.8em;
        letter-spacing: 1px;
        margin-bottom: 10px;
    }

    .celebration-section h2 {
        font-size: 1.4em;
        letter-spacing: 1px;
        margin-bottom: 20px;
    }

    .questions p {
        font-size: 0.9em;
        letter-spacing: 1px;
        margin: 15px 0;
        /* line-height: 1em; */
    }

    /* Form section */
    .form-section {
        padding: 30px 15px;
        background-image: none;
        background-color: #0A1F3F;
    }

    .form-section h2 {
        font-size: 1em;
        font-weight: 700;
        margin-bottom: 5px;
    }

    .subtitle {
        font-size: 1em;
        font-weight: 700;
        margin-bottom: 25px;
    }

    .ta-upm.ta-upm-form {
        gap: 15px;
    }

    .ta-upm.ta-upm-label {
        font-size: 0.9em !important;
    }

    .ta-upm.ta-upm-input,
    .ta-upm-select__control,
    .ta-upm-date-picker-input-container,
    .ta-upm-date-field-container input,
    .react-datepicker__input-container input {
        padding: 12px 15px !important;
        font-size: 0.9em !important;
    }

    .ta-upm-checkbox-container {
        padding: 0 10px;
    }

    .ta-upm-static-text-container {
        font-size: 0.7em;
    }

    .ta-upm-button.ta-upm-button__primary,
    .ta-upm-button.ta-upm-button__secondary {
        padding: 12px 40px !important;
        font-size: 1em !important;
        min-width: 160px !important;
    }

    .ta-upm.ta-upm-modal-footer {
        margin-top: 15px;
    }

    .ta-upm.ta-upm-modal-footer .sc-dvXYtj {
        gap: 20px;
        padding: 0 10px;
    }

    /* Prizes section */
    .prizes-section {
        width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        padding: 0;
    }

    .prizes-grid {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .prize-item {
        aspect-ratio: 1;
        padding: 20px 10px;
    }

    .prize-item h3 {
        font-size: 3.2em;
        margin-bottom: 5px;
    }

    .prize-item p {
        font-size: 0.9em;
        padding: 0 5px;
        line-height: 1.2;
    }

    .reference {
        font-size: 0.7em;
        margin: 10px 0;
    }

    /* Footer */
    footer {
        padding: 20px 15px;
    }

    .legal-text {
        font-size: 0.7em;
        line-height: 1em;
        margin: 3px 0;
    }

    .social-links {
        margin-top: 15px;
        gap: 20px;
    }

    .social-link {
        font-size: 20px;
    }

    .fixed-header-image.desktop {
        display: none;
    }
    
    .fixed-header-image.mobile {
        display: block;
    }
}

/* Ajustes específicos para móviles más pequeños */
@media (max-width: 480px) {
    .celebration-section h1 {
        font-size: 1.6em;
    }

    .celebration-section h2 {
        font-size: 1.2em;
    }

    .questions p {
        font-size: 1.6em;
    }

    .prize-item {
        padding: 15px 5px;
    }

    .prize-item h3 {
        font-size: 2.8em;
    }

    .prize-item p {
        font-size: 0.8em;
    }

    .social-link {
        font-size: 18px;
    }

    .ta-upm-button.ta-upm-button__primary,
    .ta-upm-button.ta-upm-button__secondary {
        padding: 10px 30px !important;
        font-size: 0.9em !important;
        min-width: 140px !important;
    }

    .ta-upm.ta-upm-modal-footer {
        margin-top: 10px;
    }

    .ta-upm.ta-upm-modal-footer .sc-dvXYtj {
        gap: 15px;
        flex-direction: column-reverse;
        align-items: center;
    }

    .ta-upm.ta-upm-modal-footer .sc-dvXYtj > div {
        width: 100%;
        max-width: 280px;
    }
}

/* Prizes Section */
.prizes-section {
    text-align: center;
    background-color: #0A1F3F;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
}

.prizes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    margin: 0;
    padding: 0;
}

.prize-item {
    position: relative;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    padding: 20px;
}

.prize-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.prize-item h3 {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-size: 5em;
    margin: 0;
    line-height: 1;
}

.prize-item p {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-size: 1.2em;
    margin-top: 10px;
    text-transform: uppercase;
}

.reference {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7em;
    color: #ffffff;
    z-index: 3;
    width: 100%;
    text-align: center;
}

@media (max-width: 1024px) {
    .prize-item h3 {
        font-size: 4em;
    }
    
    .prize-item p {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .prizes-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .prize-item {
        padding: 15px;
    }

    .prize-item h3 {
        font-size: 3.5em;
    }

    .prize-item p {
        font-size: 0.9em;
        margin-top: 5px;
    }
}

@media (max-width: 480px) {
    .prize-item {
        padding: 10px;
    }

    .prize-item h3 {
        font-size: 8em;
    }

    .prize-item p {
        font-size: 0.8em;
    }

    .reference {
        font-size: 0.6em;
        bottom: 10px;
    }
}

/* Footer Styles */
footer {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: #C5A572;
    padding: 40px 20px;
    text-align: center;
}

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

.legal-text {
    color: #ffffff;
    font-size: 0.7em;
    margin: 5px 0;
    letter-spacing: 0.5px;
    line-height: 1em;
}

.social-links {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    color: #ffffff;
    font-size: 24px;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.social-link:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    footer {
        padding: 30px 15px;
    }

    .legal-text {
        font-size: 0.8em;
    }

    .social-links {
        margin-top: 25px;
        gap: 15px;
    }

    .social-link {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 25px 10px;
    }

    .legal-text {
        font-size: 0.6em;
        line-height: 1em;
    }

    .social-links {
        margin-top: 20px;
        gap: 12px;
    }

    .social-link {
        font-size: 18px;
    }
}

.prize-item.bg1 {
    background-image: url('/concursos/assets/img/bg1.png');
}

.prize-item.bg2 {
    background-image: url('/concursos/assets/img/bg2.png');
}

.prize-item.bg3 {
    background-image: url('/concursos/assets/img/bg3.png');
}

.prize-item.bg4 {
    background-image: url('/concursos/assets/img/bg4.png');
}

#form-container {
    scroll-margin: 0;
}

#form-container input,
#form-container select,
#form-container textarea {
    scroll-margin: 0;
    scroll-behavior: auto !important;
}

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: opacity 0.5s ease;
    background-color: #000000b3;
    border-radius: 12px;
}

.scroll-indicator .arrow-container {
    width: 24px;
    height: 40px;
    border: 2px solid #ffffff;
    border-radius: 12px;
    position: relative;
    display: flex;
    justify-content: center;
}

.scroll-indicator .arrow {
    width: 6px;
    height: 6px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(45deg);
    animation: scrollAnimation 2s infinite;
    position: absolute;
    top: 8px;
}

@keyframes scrollAnimation {
    0% {
        top: 8px;
        opacity: 0;
    }
    50% {
        top: 20px;
        opacity: 1;
    }
    100% {
        top: 28px;
        opacity: 0;
    }
}

.scroll-indicator.hide {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    .scroll-indicator {
        bottom: 30px;
        width: 34px;
        height: 50px;
    }

    .scroll-indicator .arrow-container {
        width: 20px;
        height: 34px;
    }

    .scroll-indicator .arrow {
        width: 5px;
        height: 5px;
    }
} 

#c2f1d2a2-d3ef-4237-bee6-7847e4123d76-reset { 
    display: none !important;
}