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

body {
    font-family: 'Arial', sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
}

html,
body {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 15px 0;
    border-bottom: 2px solid #c9a961;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: center;
    /* Centraliza a logo no header */
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
    filter: brightness(1.2) drop-shadow(0 2px 8px rgba(201, 169, 97, 0.5));
}

/* Logo sem fundo já processada */
.logo-img {
    /* Fundo transparente - logo pronta! */
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

nav a:hover {
    color: #c9a961;
}

main {}

.hero-section {
    min-height: calc(100vh - 80px);
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('images/backgrounds/image.png') center/cover no-repeat;
    background-attachment: scroll, fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    text-align: center;
}

.hero-content2 p{
    text-align: center;
    justify-content: center;
    display: flex;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #ccc;
}

/* Botão Abrir Plataforma no Hero */
.btn-plataforma-hero {
    display: inline-block;
    background: linear-gradient(135deg, #c9a961 0%, #d4af37 100%);
    color: #000;
    font-size: 1.3em;
    font-weight: 700;
    text-transform: uppercase;
    padding: 18px 50px;
    border-radius: 50px;
    text-decoration: none;
    letter-spacing: 2px;
    box-shadow: 0 8px 25px rgba(193, 169, 97, 0.5);
    transition: all 0.3s ease;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.btn-plataforma-hero:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(193, 169, 97, 0.7);
    background: linear-gradient(135deg, #d4af37 0%, #c9a961 100%);
}

.btn-primary {
    background-color: #4169e1;
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary i,
.btn-plataforma-hero i {
    margin-right: 8px;
}

.btn-primary:hover {
    background-color: #3457c7;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(65, 105, 225, 0.4);
}

/* Botão CTA dourado (Gerar Sinais de Pênalti) */
.btn-cta {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff;
    font-weight: 800;
    border-radius: 50px;
    padding: 16px 48px;
    letter-spacing: 1.5px;
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.35);
    border: 1px solid rgba(34, 197, 94, 0.55);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

/* Evita o botão expandir como card dentro do grid (desktop) */
@media (min-width: 769px) {
    .sinais-grid>.btn-cta {
        justify-self: center;
        align-self: start;
        width: auto;
        height: auto;
        padding: 14px 40px;
        /* aproxima do visual mobile */
    }
}

.btn-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 34px rgba(34, 197, 94, 0.5);
    filter: brightness(1.05);
}

.btn-cta:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 6px 18px rgba(34, 197, 94, 0.45);
}

.btn-cta:focus-visible {
    outline: 3px solid rgba(34, 197, 94, 0.8);
    outline-offset: 3px;
}

/* Estado travado com loading nos cards de sinais */
.sinais-section.loading .sinal-image {
    position: relative;
    background: linear-gradient(90deg, #111 0%, #1a1a1a 20%, #111 40%);
    background-size: 200% 100%;
    animation: shimmer 1.2s linear infinite;
}

.sinais-section.loading .sinal-image img {
    opacity: 0;
}

.sinais-section.loading .sinal-info .chute span {
    color: #666;
}

.sinais-section.loading .sinal-info .confianca span {
    color: #666;
}

/* Loading literal central (spinner + texto) */
.sinais-section.loading .sinal-image::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 36px;
    height: 36px;
    margin: -18px 0 0 -18px;
    border: 3px solid rgba(255, 255, 255, 0.25);
    border-top-color: #d4af37;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 2;
}

.sinais-section.loading .sinal-image::after {
    content: "Aguardando gerar...";
    position: absolute;
    top: calc(50% + 28px);
    left: 50%;
    transform: translate(-50%, -50%);
    color: #d4af37 font-size: 13px;
    letter-spacing: 0.5px;
    z-index: 2;
    margin-top: 1rem;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Botão COMEÇAR dourado e interativo */
.btn-start {
    background: linear-gradient(135deg, #c9a961 0%, #d4af37 100%);
    color: #ffffff;
    font-weight: 800;
    border-radius: 50px;
    padding: 16px 44px;
    letter-spacing: 1.5px;
    box-shadow: 0 8px 24px rgba(201, 169, 97, 0.45);
    border: 1px solid rgba(217, 181, 86, 0.6);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    animation: pulse-gold 2.2s ease-in-out infinite;
    width: 350px;
}

.btn-start:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 34px rgba(201, 169, 97, 0.6);
    filter: brightness(1.05);
}

.btn-start2 {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #ffffff;
    font-weight: 800;
    border-radius: 50px;
    padding: 16px 44px;
    letter-spacing: 1.5px;
    box-shadow: 0 8px 24px #22c55e;
    border: 1px solid #16a34a;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    animation: pulse-green 2.2s ease-in-out infinite;
    width: 350px;
}

.btn-start2:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 34px  #22c55e;
    filter: brightness(1.05);
}

.btn-start:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 6px 18px rgba(201, 169, 97, 0.5);
    filter: brightness(0.98);
}

.btn-start:focus-visible {
    outline: 3px solid rgba(217, 181, 86, 0.8);
    outline-offset: 3px;
}

@keyframes pulse-gold {
    0% {
        transform: translateY(0) scale(1);
        box-shadow: 0 8px 24px rgba(201, 169, 97, 0.45);
        filter: brightness(1);
    }

    50% {
        transform: translateY(-1px) scale(1.03);
        box-shadow: 0 14px 36px rgba(201, 169, 97, 0.6);
        filter: brightness(1.06);
    }

    100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 8px 24px rgba(201, 169, 97, 0.45);
        filter: brightness(1);
    }
}

@keyframes pulse-green {
    0% {
        transform: translateY(0) scale(1);
        box-shadow: 0 8px 24px #22c55e;
        filter: brightness(1);
    }

    50% {
        transform: translateY(-1px) scale(1.03);
        box-shadow: 0 14px 36px #22c55e;
        filter: brightness(1.06);
    }

    100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 8px 24px #22c55e;
        filter: brightness(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn-start {
        animation: none;
    }
}

.sinais-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/backgrounds/image.png') center/cover no-repeat;
    background-attachment: scroll, fixed;
    padding: 40px 0 80px;
}

.sinais-section .hero-content {
    margin-bottom: 40px;
}

.sinais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 2rem;
    margin-bottom: 60px;
    align-items: start;
    /* evita esticar itens (ex.: botão) até a altura das cards */
}

.card-sinal {
    background-color: rgba(20, 20, 20, 0.9);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #333;
    transition: transform 0.3s;
}

.card-sinal:hover {
    transform: translateY(-5px);
    border-color: #c9a961;
}

.card-sinal h3 {
    color: #c9a961;
    margin-bottom: 15px;
    font-size: 18px;
    letter-spacing: 2px;
}

.sinal-image {
    width: 100%;
    height: 200px;
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

.sinal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(0.985);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.sinal-image img.img-show {
    opacity: 1;
    transform: scale(1);
}

.sinal-info {
    text-align: left;
}

.chute {
    font-size: 14px;
    margin-bottom: 8px;
}

.chute-destaque {
    color: #4169e1;
    font-weight: bold;
}

.estrategia {
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
}

.confianca {
    font-size: 14px;
}

.confianca-alta {
    color: #00ff00;
    font-weight: bold;
}

.validade-section {
    background-color: rgba(20, 20, 20, 0.95);
    border-radius: 15px;
    padding: 30px;
    max-width: 600px;
    margin: 0 auto 40px;
    border: 1px solid #333;
    text-align: center;
}

.validade-section h3 {
    color: #c9a961;
    font-size: 20px;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.validade-ate {
    font-size: 24px;
    margin-bottom: 10px;
}

.validade-ate span {
    color: #00ff00;
}

.expira-info {
    font-size: 14px;
    color: #888;
    margin-bottom: 15px;
}

.restante {
    font-size: 18px;
    margin-bottom: 20px;
}

.restante span {
    color: #ff9500;
    font-weight: bold;
    font-size: 22px;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background-color: #333;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 100%;
    background: linear-gradient(to right, #00ff00, #ffff00, #ff9500, #ff0000);
    transition: width 1s linear;
}

/* Botão para abrir plataforma */
.plataforma-cta {
    width: 100%;
    max-width: 800px;
    margin: 60px auto 0;
    background: linear-gradient(135deg, rgba(193, 169, 97, 0.2) 0%, rgba(65, 105, 225, 0.2) 100%);
    border: 3px solid #c9a961;
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(193, 169, 97, 0.4);
    animation: pulse 2s infinite;
}

.plataforma-cta h3 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #c9a961;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.plataforma-cta>p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #fff;
}

.btn-plataforma {
    display: inline-block;
    background: linear-gradient(135deg, #c9a961 0%, #d4af37 100%);
    color: #000;
    font-size: 1.5em;
    font-weight: 700;
    text-transform: uppercase;
    padding: 25px 60px;
    border-radius: 50px;
    text-decoration: none;
    letter-spacing: 2px;
    box-shadow: 0 10px 30px rgba(193, 169, 97, 0.5);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-plataforma:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(193, 169, 97, 0.7);
    background: linear-gradient(135deg, #d4af37 0%, #c9a961 100%);
}

.plataforma-cta .disclaimer {
    margin-top: 20px;
    font-size: 0.9em;
    color: #4caf50;
    font-weight: 500;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 15px 50px rgba(193, 169, 97, 0.4);
    }

    50% {
        box-shadow: 0 15px 50px rgba(193, 169, 97, 0.7);
    }
}

footer {
    background-color: #0a0a0a;
    padding: 40px 0 20px;
    border-top: 2px solid #c9a961;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    display: block;
    margin-bottom: 10px;
    filter: brightness(1.2) drop-shadow(0 2px 8px rgba(201, 169, 97, 0.5));
}

.footer-logo p {
    color: #888;
}

.footer-links h3,
.footer-site h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

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

.social-icon i {
    font-size: 20px;
    color: #000;
}

.social-icon:hover {
    transform: scale(1.1);
    background-color: #d4af37;
}

.site-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-links a {
    color: #888;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.site-links a:hover {
    color: #c9a961;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.footer-bottom a {
    color: #c9a961;
    text-decoration: none;
}

.hidden {
    display: none;
}

@media (max-width: 768px) {
    nav {
        display: none;
    }

    .logo img {
        height: 50px;
    }

    .hero-content h2 {
        font-size: 32px;
    }

    .btn-plataforma-hero {
        font-size: 1.1em;
        padding: 15px 35px;
        margin-bottom: 15px;
    }

    .sinais-grid {
        grid-template-columns: 1fr;
    }

    .plataforma-cta {
        padding: 40px 20px;
        margin: 40px 20px 0;
    }

    .plataforma-cta h3 {
        font-size: 1.8em;
    }

    .plataforma-cta>p {
        font-size: 1em;
    }

    .btn-plataforma {
        font-size: 1.2em;
        padding: 20px 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

#gerarNovamente {
    margin: 0 auto;
    display: flex;
    width: 100%;
    align-items: center;
    text-align: center;
    justify-content: center;
}

#gerarSinais2 {
    margin: 0 auto;
    display: flex;
    width: 100%;
    align-items: center;
    text-align: center;
    justify-content: center;
}

/* Scrollbar fino dourado (Chrome/Edge/Safari + Firefox) */
html {
    scrollbar-width: thin;
    /* Firefox */
    scrollbar-color: #c9a961 #101010;
    /* polegar + trilho */
}

/* WebKit browsers */
*::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

*::-webkit-scrollbar-track {
    background: #101010;
    border-radius: 8px;
}

*::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d4af37 0%, #c9a961 100%);
    border-radius: 8px;
    border: 2px solid #101010;
}

*::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #e0c766 0%, #d4af37 100%);
}