/*
Theme Name: Bet Cruzeiro
Theme URI: https://betcruzeiro.com
Author: Bet Cruzeiro Team
Author URI: https://betcruzeiro.com
Description: Tema moderno para Bet Cruzeiro com layout diagonal e design esportivo
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: betcruzeiro
*/

/* ============================================
   VARIÁVEIS E RESET
   ============================================ */
:root {
    --cruzeiro-blue: #010060;
    --cruzeiro-blue-dark: #000040;
    --cruzeiro-blue-light: #002E94;
    --white: #ffffff;
    --text-dark: #010060;
}

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

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

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

.header-logo-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-logo-extenso {
    width: 221px;
    height: 45px;
    object-fit: contain;
}

.header-logo-escudo {
    width: 59px;
    height: 59px;
    object-fit: contain;
}


.header-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-nav li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-nav a {
    color: var(--cruzeiro-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
}

.header-nav a:hover {
    color: var(--cruzeiro-blue-light);
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cruzeiro-blue);
    transition: width 0.3s ease;
}

.header-nav a:hover::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--cruzeiro-blue);
    cursor: pointer;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    margin-top: 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 20% 40%; /* esquerda e levemente pra cima */
}



/* Imagem Base (sem filtro) */
.hero-image-before {
    z-index: 1;
}

/* Imagem com Filtro Azul */
.hero-image-after {
    z-index: 2;
    clip-path: inset(0 0 0 50%);
    /* Inicia com 50% do filtro aplicado no lado direito */
    transition: clip-path 0.05s ease;
}

.hero-image-after img {
    filter: url('#duotone-azul');
}

/* Slider Wrapper */
.hero-slider-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: ew-resize;
    user-select: none;
    overflow: visible;
}

/* Slider Handle */
.hero-slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: left 0.05s ease;
    pointer-events: auto;
}

.slider-line {
    flex: 1;
    width: 4px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.slider-button {
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    cursor: ew-resize;
    gap: 2px;
    flex-shrink: 0;
}

.slider-button i {
    font-size: 1rem;
    color: #333;
}

.slider-button:hover {
    background-color: var(--cruzeiro-blue);
}

.slider-button:hover i {
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.hero-overlay-blue {
    background: var(--cruzeiro-blue);
    opacity: 1;
}

.hero-overlay-white {
    background: var(--white);
    clip-path: polygon(25% 0, 50% 0, 50% 100%, 0% 100%);
    opacity: 0;
    transition: clip-path 0.05s ease, opacity 0.1s ease;
    z-index: 5;
    /* Acima do azul para cobrir */
}

.hero-content-blue-text {
    color: var(--cruzeiro-blue) !important;
}

.hero-content-blue-text .highlight .azul {
    color: var(--cruzeiro-blue) !important;
}

.hero-content-blue-text .highlight .e,
.hero-content-blue-text .highlight span:not(.azul) {
    color: var(--cruzeiro-blue) !important;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: var(--white);
    text-align: right;
    padding-right: -20%;
    animation: fadeInRight 1s ease-out;
    transition: color 0.3s ease;
    margin-top: 150px;
    margin-right: -100px;
}

.hero-content h1 {
    font-family: 'bebas-kai', sans-serif;
    font-size: 99px;
    font-weight: 400;
    line-height: 88px;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 0;
    text-align: center;
}

.hero-fino {
    font-family: 'fino', sans-serif;
    font-weight: 400;
    font-style: italic;
    font-size: 119px;
    line-height: 96px;
    display: block;
    text-transform: lowercase;
}

/* Obsolete highlight styles removed */

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .header-container {
        padding: 0 30px;
    }
}

@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }

    .header-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 40px;
        gap: 15px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        display: none;
    }

    .header-nav.active {
        display: flex;
    }

    .hero-overlay {
        width: 60%;
        clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content {
        padding-right: 8%;
    }
}

/* Texto Mobile (apenas no mobile) */
.hero-text-mobile {
    display: none;
}

@media (max-width: 768px) {

    /* Remove layer diagonal no mobile */
    .hero-section {
        height: 60vh;
        min-height: 480px;
    }

    .hero-overlay {
        display: none;
    }

    /* Texto centralizado no mobile */
    /* Texto centralizado no mobile */
    .hero-text-mobile {
        display: flex;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        align-items: flex-start;
        padding-top: 110px;
        justify-content: center;
        z-index: 3;
        pointer-events: none;
        background-color: rgba(0, 0, 0, 0.4);
        /* Overlay preto suave */
    }

    .hero-text-mobile h1 {
        font-family: 'bebas-kai', sans-serif;
        font-size: 40px !important;
        font-weight: 400;
        color: var(--white);
        line-height: 1.1;
        margin: 0;
        text-align: center;
        text-transform: uppercase;
        letter-spacing: 0;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    }

    .hero-text-mobile .hero-fino {
        font-family: 'fino', sans-serif;
        font-size: 50px;
        line-height: 1.1;
        word-spacing: -2px;
        font-weight: bold;
        display: block;
        text-transform: lowercase;
        margin-top: -10px !important;
    }

    .header-container {
        padding: 0 20px;
    }

    .header-logo-extenso {
        width: 160px;
        height: auto;
    }

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

@media (max-width: 576px) {

    /* Remove layer diagonal no mobile */
    .hero-overlay {
        display: none;
    }

    .hero-text-mobile h1 {
        font-size: 2rem;
    }

    .header-nav {
        padding: 15px 20px;
    }

    .header-nav a {
        font-size: 0.85rem;
    }
}

/* ============================================
   SEÇÃO AZUL CABULOSO
   ============================================ */
.azul-cabuloso-section {
    position: relative;
    width: 100%;
    height: 864.73px;
    padding-right: 60px;
    padding-bottom: 1px;
    padding-left: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background-image:
        url('images/overlay_bg_azul_cabulos.png'),
        url('images/bg_azul_cabulos.png');
    background-position:
        center top,
        center top;
    background-size:
        180%,
        190%;
    background-repeat: no-repeat;
    overflow: hidden;
}

.azul-cabuloso-section .container {
    position: relative;
    z-index: 3;
}

/* Conteúdo à Esquerda */
.azul-cabuloso-row {
    position: relative;
    min-height: auto;
    align-items: flex-start;
    overflow: visible;
    padding-top: 20px;
}

.azul-cabuloso-row .col-lg-4 {
    overflow: visible;
}

.azul-cabuloso-content {
    padding: 20px 40px 20px 0;
    position: relative;
    z-index: 10;
}

.azul-cabuloso-title {
    font-size: 5.5rem;
    line-height: 1.1;
    color: var(--white);
    text-transform: uppercase;
    white-space: nowrap;
    position: relative;
    z-index: 11;
    overflow: visible;
}

.title-azul {
    font-family: 'bebas-kai', sans-serif;
    font-weight: normal;
    display: inline;
    letter-spacing: 2px;
    font-size: 55px;

}

.cabuloso-azul {
    font-family: 'bebas-kai', sans-serif;
    font-weight: 400;
    font-size: 115px;
    line-height: 88px;
    letter-spacing: 0%;
    vertical-align: middle;
    display: inline-block;
    margin-top: -20px;
}

.cabuloso-fino {
    font-size: 115px;
    font-family: 'fino', sans-serif;
    font-weight: 700;
    font-style: italic;
    display: inline-block;
    line-height: 96px;
    letter-spacing: 0%;
    vertical-align: middle;
    margin-top: -20px;
}

.azul-cabuloso-description {
    font-family: 'Helvetica', Arial, sans-serif;
    font-weight: 400;
    font-style: normal;
    color: var(--white);
    font-size: 17px;
    line-height: 28px;
    margin-top: 25px;
    width: 600px;
}

.azul-cabuloso-description-last {
    font-family: 'Helvetica', Arial, sans-serif;
    font-weight: 400;
    font-style: normal;
    color: var(--white);
    font-size: 17px;
    line-height: 28px;
    margin-top: 0px;
    width: 600px;
}

.azul-cabuloso-description+.azul-cabuloso-description {
    margin-top: 40px;
}

/* Card de Upload Centralizado */
.azul-cabuloso-upload-col {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 0px 30px;
    position: relative;
    z-index: 5;
    padding-top: 150px;
}

.upload-card {
    background: var(--white);
    width: 400px;
    min-height: 413.35px;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: width 0.3s ease, height 0.3s ease;
    margin-top: 100px;
}

.upload-card.show-result {
    width: 600px;
    height: 480px;
}

.upload-card-title {
    font-family: 'Helvetica', Arial, sans-serif;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.upload-card select {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.9rem;
}

.upload-card .form-label {
    color: #495057 !important;
    opacity: 1 !important;
    font-weight: 600;
}

#p5-canvas-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
}

#p5-canvas-container canvas {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.upload-area {
    position: relative;
    width: 100%;
    min-height: 200px;
    max-height: 250px;
    border: none;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
    overflow: hidden;
}


.upload-placeholder {
    text-align: center;
    padding: 20px;
}

.upload-icon {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 15px;
    display: block;
}

.upload-text {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: 18px;
    line-height: 27px;
    letter-spacing: 0%;
    color: #666;
    margin-bottom: 2px;
}

.upload-subtext {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16.5px;
    line-height: 24px;
    letter-spacing: 0%;
    color: #999;
    margin: 0;
}

.upload-preview {
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-preview img {
    max-width: 100%;
    max-height: 250px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 15px;
}

.btn-remove-preview {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    color: #333;
    transition: background-color 0.3s ease;
}

.btn-remove-preview:hover {
    background: rgba(255, 255, 255, 1);
}

.btn-upload {
    width: 100%;
    padding: 15px 30px;
    background: var(--cruzeiro-blue);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 17px;
    line-height: 18px;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    margin-top: 10px;
    flex-shrink: 0;
    transition: background-color 0.3s ease;
}

.btn-upload:hover {
    background: var(--cruzeiro-blue-dark);
    color: #ffffff;
}

/* Etapas do Upload */
.upload-step {
    width: 100%;
}

/* Loading Step */
.upload-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    min-height: 300px;
}

.loading-circle {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 30px;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-ring-circle {
    transition: stroke-dashoffset 0.1s;
    stroke-dasharray: 326.73 326.73;
    stroke-dashoffset: 326.73;
}

.loading-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #002E94;
}

.loading-text {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #002E94;
    text-align: center;
    margin: 0;
}

/* Result Step */
.upload-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.upload-result img {
    max-width: 100%;
    max-height: 250px;
    border-radius: 10px;
    object-fit: contain;
}

.result-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    width: 100%;
    margin-top: 10px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #000000;
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.btn-download:hover {
    background: #333333;
    color: var(--white);
}

.social-share {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.social-icons-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.share-text {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #525252;
    margin: 0;
    text-align: center;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #525252;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 18px;
}

.social-icon:hover {
    background: var(--cruzeiro-blue);
    color: var(--white);
    transform: scale(1.1);
}


/* Imagem da Raposa */
.azul-cabuloso-raposa {
    position: absolute;
    right: 0;
    bottom: 30%;
    z-index: 2;
    pointer-events: none;
}

.azul-cabuloso-raposa img {
    max-width: 400px;
    width: auto;
    height: auto;
    display: block;
}

/* Responsive */
@media (max-width: 992px) {
    .azul-cabuloso-title {
        font-size: 3.5rem;
    }

    .azul-cabuloso-description {
        font-size: 1.51rem;
    }

    .azul-cabuloso-raposa {
        display: none;
    }
}

@media (max-width: 768px) {
    .azul-cabuloso-section {
        padding: 60px 0 100px 0;
        height: auto;
        min-height: auto;
        background-color: #010060;
        /* Fallback color to ensure text readability */
        background-size: cover;
        background-position: center;
    }

    .azul-cabuloso-content {
        padding: 40px 20px;
        text-align: center;
    }

    .azul-cabuloso-title {
        font-size: 3rem;
        margin-bottom: 30px;
        text-align: center;
        white-space: normal;
    }

    .azul-cabuloso-title .title-azul {
        display: block;
        font-size: 40px;
        line-height: 1.2;
    }

    .azul-cabuloso-title .cabuloso-azul {
        font-size: 60px;
        line-height: 1;
        display: inline-block;
        margin-top: -60px !important;
    }

    .azul-cabuloso-title .cabuloso-fino {
        font-size: 60px;
        line-height: 1;
        display: inline-block;
        margin-top: -40px !important;
    }

    .azul-cabuloso-description {
        font-size: 1rem;
        max-width: 100%;
        width: 100%;
    }

    .azul-cabuloso-description br,
    .azul-cabuloso-description-last br {
        display: none;
    }

    .azul-cabuloso-description-last {
        font-size: 1rem;
        max-width: 100%;
        width: 100%;
    }

    .azul-cabuloso-upload-col {
        padding: 20px;
        padding-top: 40px;
    }

    .azul-cabuloso-upload-col {
        padding: 20px;
        padding-top: 0px;
        margin-top: -100px;
    }

    .upload-card {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .azul-cabuloso-section {
        padding-bottom: 120px;
    }

    .azul-cabuloso-title {
        font-size: 2.5rem;
        text-align: center;
        white-space: normal;
    }

    .azul-cabuloso-title .title-azul {
        display: block;
    }

    .azul-cabuloso-title .title-cabuloso {
        display: block;
    }

    .upload-card {
        padding: 25px 15px;
    }

    .upload-area {
        min-height: 250px;
    }

    .azul-cabuloso-upload-col {
        padding-bottom: 40px;
    }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    width: 100%;
    height: 372px;
    padding: 113.39px 60px 20px 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background: #010060;
    margin: 0;
    position: relative;
}

.footer-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.footer-main-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0%;
    color: var(--white);
    text-align: justify;
    margin: 0 auto 40px auto;
    max-width: 1200px;
}

.footer-main-text br {
    display: block;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    justify-content: flex-start;
}

.footer-link {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 10px;
    line-height: 140%;
    letter-spacing: 4%;
    text-transform: uppercase;
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 0.8;
    color: var(--white);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .site-footer {
        padding: 60px 30px 20px 30px;
        height: auto;
        min-height: 372px;
        margin-top: 0;
        position: relative;
    }

    .footer-main-text {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
        justify-content: flex-start;
        width: 100%;
    }
}

/* ============================================
   SEÇÃO NOSSA HISTÓRIA
   ============================================ */
.nossa-historia-section {
    width: 100%;
    height: 865px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.nossa-historia-image {
    position: absolute;
    width: 273px;
    height: 342px;
    top: 0;
    right: 10%;
    opacity: 1;
    z-index: 1;
    object-fit: contain;
}

.nossa-historia-section .container {
    max-width: 1920px;
    margin: 0 auto;
    margin-top: -250px;
    padding: 0 40px;
    position: relative;
    width: 100%;
}

.nossa-historia-text {
    font-family: 'Helvetica', Arial, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 29.7px;
    letter-spacing: 0%;
    color: #002E94;
    text-align: left;
    margin: 60px 60px 60px 340px;
    max-width: 540px;
}

.nossa-historia-text p {
    margin-bottom: 20px;
}

.nossa-historia-text p:last-child {
    margin-bottom: 0;
}

.nossa-historia-title {
    font-size: 120px;
    text-align: center;
    margin: 0 auto 60px auto;
    color: #002E94;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 100px;
    position: relative;
    width: 100%;
}

.nossa-historia-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
}

.nossa-historia-title-nossa {
    font-family: 'bebas-kai', sans-serif;
    font-weight: 400;
    font-size: 159px;
    line-height: 88px;
}

.nossa-historia-title-historia {
    font-family: 'fino', sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 159px;
    line-height: 96px;
}

.nossa-historia-year-start {
    position: absolute;
    top: -40px;
    left: 1%;
    font-size: 28px;
    color: #002E94;
    font-family: 'bebas-kai', sans-serif;
    font-weight: 500;
    line-height: 1;
}

.nossa-historia-year-end {
    position: absolute;
    bottom: -40px;
    right: 1%;
    font-size: 28px;
    color: #002E94;
    font-family: 'bebas-kai', sans-serif;
    font-weight: 500;
    line-height: 1;
}

.nossa-historia-columns {
    position: relative;
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
    justify-content: center;
    padding: 0 40px;
}

.nossa-historia-col {
    width: 574px;
    height: 371px;
    background: transparent;
    position: relative;
}

/* Posicionamento específico das colunas */
.nossa-historia-col:nth-child(1) {
    position: absolute;
    top: 128px;
    left: 433px;
}

.nossa-historia-col:nth-child(2) {
    position: absolute;
    top: 128px;
    left: calc(433px + 574px + 20px);
}

.nossa-historia-col:nth-child(3) {
    position: absolute;
    top: 128px;
    left: calc(433px + 574px * 2 + 40px);
}

/* ============================================
   SEÇÃO BET NACIONAL E CRUZEIRO
   ============================================ */
.bet-nacional-cruzeiro-section {
    width: 100%;
    height: 332px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
}

.bet-nacional-cruzeiro-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.bet-nacional-cruzeiro-master-title {
    font-family: 'Helvetica', Arial, sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 21px;
    line-height: 29.7px;
    letter-spacing: 0%;
    text-align: center;
    color: #ffffff;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.bet-nacional-cruzeiro-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.betnacional-logo {
    width: 433px;
    height: 125px;
    object-fit: contain;
    margin-right: 20px;
    margin-top: 30px;
}

.cruzeiro-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.nossa-historia-taca-azul-image {
    position: absolute;
    width: 363px;
    height: 267px;
    bottom: 30px;
    left: 7%;
    opacity: 1;
    z-index: 1;
    object-fit: contain;
}

.nossa-historia-estrelas-image {
    position: absolute;
    width: 397px;
    height: 457px;
    left: -3%;
    top: 35%;
    opacity: 1;
    z-index: 1;
    object-fit: contain;
}

.nossa-historia-mg-image {
    position: absolute;
    top: 4%;
    left: 1%;
    z-index: 1;
    object-fit: contain;
}

.nossa-historia-raposa-image {
    position: absolute;
    width: 511px;
    height: 253px;
    bottom: -2.5%;
    right: 0;
    z-index: 1;
    object-fit: contain;
}

.nossa-historia-br-image {
    position: absolute;
    bottom: 8%;
    right: 2%;
    z-index: 2;
    object-fit: contain;
}

.nossa-historia-escudos-image {
    position: absolute;
    width: 272px;
    height: 108px;
    bottom: 15%;
    left: 50%;
    margin-left: -136px;
    z-index: 1;
    object-fit: contain;
}

.nossa-historia-texto-cabuloso-image {
    position: absolute;
    top: 5%;
    right: 3%;
    z-index: 1;
    object-fit: contain;
}

.nossa-historia-texto-cabuloso-invert-image {
    position: absolute;
    bottom: 5%;
    left: 3%;
    z-index: 1;
    object-fit: contain;
}

/* Modal de Dados do Usuário */
#userDataModal .modal-dialog {
    max-width: 400px;
}

/* Modal de Resultado */
#resultModal .modal-dialog {
    max-width: 500px;
}

#resultModal .modal-body {
    padding: 30px;
}

#resultModal .upload-result {
    padding: 0;
}

#resultModal .upload-result img {
    max-height: 300px;
    margin-bottom: 20px;
}

/* ============================================
   MOBILE - NOSSA HISTÓRIA
   ============================================ */
@media (max-width: 768px) {
    .nossa-historia-section {
        height: auto;
        min-height: 600px;
        padding: 40px 0;
        flex-direction: column;
    }

    .nossa-historia-section .container {
        margin-top: 0;
        padding: 0 20px;
        display: flex;
        flex-direction: column;
    }

    .nossa-historia-text {
        font-size: 16px;
        line-height: 24px;
        text-align: center;
        margin: 0 auto 40px auto;
        max-width: 100%;
        order: 2;
    }

    .nossa-historia-title {
        font-size: 60px;
        margin-top: 40px;
        margin-bottom: 40px;
        order: 1;
        width: 100%;
        text-align: center;
    }

    .nossa-historia-title-wrapper {
        flex-direction: column;
        gap: 5px;
    }

    .nossa-historia-title-nossa {
        display: block;
        font-size: 80px;
        line-height: 1.1;
    }

    .nossa-historia-title-historia {
        display: block;
        font-size: 80px;
        line-height: 1.1;
    }

    .nossa-historia-year-start {
        position: static;
        display: block;
        margin-bottom: 10px;
    }

    .nossa-historia-year-end {
        position: static;
        display: block;
        margin-top: 10px;
    }

    /* Organiza imagens no mobile */
    .nossa-historia-image,
    .nossa-historia-taca-azul-image,
    /* .nossa-historia-estrelas-image, -> Removido para aparecer */
    /* .nossa-historia-raposa-image, -> Removido para aparecer */
    .nossa-historia-escudos-image,
    .nossa-historia-texto-cabuloso-image,
    .nossa-historia-texto-cabuloso-invert-image,
    .nossa-historia-br-image,
    .nossa-historia-mg-image {
        display: none !important;
    }

    .nossa-historia-raposa-image {
        display: block !important;
        position: static;
        width: 180px;
        height: auto;
        margin: 20px auto 0 auto;
        order: 3;
        transform: none;
    }

    .nossa-historia-estrelas-image {
        display: block !important;
        position: absolute;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 120px;
        height: auto;
        opacity: 0.5;
        z-index: 0;
    }

    .nossa-historia-columns {
        flex-direction: column;
        gap: 30px;
        padding: 0 20px;
    }

    .nossa-historia-col {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .nossa-historia-section {
        min-height: 500px;
        padding: 30px 0;
    }

    .nossa-historia-title {
        font-size: 45px;
    }

    .nossa-historia-text {
        font-size: 14px;
        line-height: 22px;
    }
}

/* ============================================
   MOBILE - BET NACIONAL E CRUZEIRO
   ============================================ */
@media (max-width: 768px) {
    .bet-nacional-cruzeiro-section {
        height: auto;
        min-height: 250px;
        padding: 40px 0;
    }

    .bet-nacional-cruzeiro-logos {
        gap: 15px;
    }

    .betnacional-logo {
        width: 250px;
        height: auto;
    }

    .cruzeiro-logo {
        height: 60px;
    }
}

@media (max-width: 576px) {
    .bet-nacional-cruzeiro-logos {
        flex-direction: column;
        gap: 20px;
    }
}

/* Custom Modal Styling for Result */
.custom-modal-size {
    max-width: 80vw !important;
    width: 80% !important;
}

.custom-modal-content {
    background-color: #F8F9FF;
    /* Light blue background as in the image */
    border-radius: 20px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.custom-modal-body {
    padding: 40px;
    position: relative;
}

.custom-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}


.result-modal-title {
    font-family: 'bebas-kai', sans-serif;
    font-weight: 400;
    font-size: 55px;
    line-height: 61px;
    color: var(--white);
    text-transform: uppercase;
    text-align: center;
    margin: 0;
    color: #0F0E58;

}

.result-images-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 220px;
    margin-bottom: 30px;
}

.result-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Alinhado à esquerda da foto */
    gap: 20px;
}

.result-column-action {
    display: flex;
    justify-content: flex-start;
    /* Alinhado à esquerda */
    width: 100%;
}

.result-image-wrapper {
    background: transparent;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-image-wrapper img {
    border-radius: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    max-width: 100%;
    height: auto;
    display: block;
}

/* Separator Removed */
/* .result-separator { ... } */

/* Actions */
/* .result-actions-centered { ... } Removed */

.btn-download-black {
    background-color: #002E94;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.3s;
    white-space: nowrap;
}

.btn-download-black:hover {
    background-color: #002E94;
    color: #fff;
}

/* Compartilhamento removido */

/* Specific Sizes requested */
#resultModalImage1,
#resultModalImage2 {
    max-height: 519px;
    width: auto;
}

@media (max-width: 768px) {

    /* Modal Full Width */
    .custom-modal-size {
        max-width: 95vw !important;
        width: 95% !important;
    }

    #resultModal .modal-body {
        padding: 20px;
    }

    /* Smaller Text */
    .result-modal-title {
        font-size: 18px;
        line-height: 1.1;
        margin-bottom: 20px;
    }

    /* Images Side by Side */
    .result-images-container {
        flex-direction: row;
        align-items: flex-start;
        /* Center items on mobile */
        gap: 10px;
    }

    .result-column {
        align-items: center;
        /* Center content within column */
        width: 50%;
    }

    .result-column-action {
        justify-content: center;
        /* Center button */
        width: 100%;
    }

    .btn-download-black {
        padding: 8px 5px;
        font-size: 11px;
        width: 100%;
        text-align: center;
        white-space: normal;
        line-height: 1.2;
    }

    #resultModalImage1,
    #resultModalImage2 {
        max-height: 200px;
        /* Reduce max-height for mobile screens */
        max-width: 100%;
        /* Ensure it fits screen */
        height: auto;
    }

    /* Remanescentes não usados mas mantidos por segurança */
    .result-separator {
        flex-direction: row;
        height: auto;
        width: 200px;
        margin: 20px 0;
    }
}