/* ===================================
   APOSTAS.CSS
   Estilos da página de apostas
   =================================== */

/* Hero Section */
.betting-hero {
    padding: 3rem 5%;
    background: linear-gradient(135deg, #0F0D1A 0%, #1E1B2E 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

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

.hero-content p {
    color: #A78BFA;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-buttons a {
    text-decoration: none;
    color: white;
}

/* Info Card */
.info-card {
    background: linear-gradient(135deg, #8B5CF6, #6D28D9);
    padding: 2rem;
    border-radius: 15px;
    min-width: 320px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.info-card p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.btn-signup {
    background: white;
    color: #8B5CF6;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: all 0.3s;
}

.btn-signup:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

/* Benefits Section */
.benefits-section {
    padding: 4rem 5%;
    background: #1E1B2E;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background: #2D2A3E;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.benefit-card:hover {
    border-color: #8B5CF6;
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    margin-bottom: 1rem;
    color: #8B5CF6;
}

.benefit-card p {
    color: #A78BFA;
}

/* Filters Section */
.filters-section {
    padding: 2rem 5%;
    background: #1E1B2E;
    border-bottom: 2px solid #2D2A3E;
}

.filters-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    background: #2D2A3E;
    border: 2px solid transparent;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
}

.filter-btn:hover {
    border-color: #8B5CF6;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, #8B5CF6, #6D28D9);
    border-color: #8B5CF6;
}

/* Matches Section */
.matches-section {
    padding: 3rem 5%;
    background: #0F0D1A;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.matches-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Match Card */
.match-card {
    background: #1E1B2E;
    border-radius: 15px;
    padding: 1.5rem;
    border: 2px solid transparent;
    transition: all 0.3s;
    position: relative;
}

.match-card:hover {
    border-color: #8B5CF6;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.match-card.live {
    border-color: #EF4444;
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0%, 100% { border-color: #EF4444; }
    50% { border-color: #DC2626; }
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #2D2A3E;
}

.match-game {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.game-icon {
    font-size: 1.5rem;
}

.live-badge {
    background: #EF4444;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.match-status {
    background: #2D2A3E;
    color: #A78BFA;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.match-info {
    margin-bottom: 1.5rem;
}

.tournament-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.match-time {
    color: #A78BFA;
    font-size: 0.9rem;
}

/* Match Teams */
.match-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.team {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex: 1;
}

.team-2 {
    justify-content: flex-end;
}

.team-logo {
    width: 50px;
    height: 50px;
    background: #2D2A3E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.team-details {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.team-2 .team-details {
    align-items: flex-end;
}

.team-name {
    font-weight: 600;
    font-size: 1rem;
}

.team-score {
    font-size: 1.5rem;
    font-weight: 800;
    color: #8B5CF6;
}

.vs-divider {
    background: #2D2A3E;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    color: #A78BFA;
}

/* Match Odds */
.match-odds {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.odd-display {
    background: #2D2A3E;
    padding: 1rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
}

.odd-team {
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.odd-value {
    color: #F59E0B;
    font-weight: 800;
    font-size: 1.5rem;
}

/* Login Overlay */
.login-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 13, 26, 0.95);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.3s;
    backdrop-filter: blur(5px);
}

.match-card:hover .login-overlay {
    opacity: 1;
}

.login-overlay p {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
}

.btn-login-overlay {
    background: linear-gradient(135deg, #8B5CF6, #6D28D9);
    color: white;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    display: inline-block;
}

.btn-login-overlay:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.6);
}

/* Final CTA Section */
.final-cta {
    padding: 5rem 5%;
    background: linear-gradient(135deg, #8B5CF6, #6D28D9);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.highlight-gold {
    color: #F59E0B;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons-final {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: white;
    color: #8B5CF6;
    text-decoration: none;
    padding: 1.2rem 3rem;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 700;
    transition: all 0.3s;
    display: inline-block;
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.btn-cta-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    padding: 1.2rem 3rem;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 700;
    border: 2px solid white;
    transition: all 0.3s;
    display: inline-block;
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
    .betting-hero {
        flex-direction: column;
        text-align: center;
    }

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

    .info-card {
        width: 100%;
    }

    .matches-container {
        grid-template-columns: 1fr;
    }

    .filters-container {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }

    .filter-btn {
        flex-shrink: 0;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .match-teams {
        flex-direction: column;
        gap: 0.5rem;
    }

    .team {
        width: 100%;
        justify-content: flex-start;
    }

    .team-2 {
        justify-content: flex-start;
    }

    .team-2 .team-details {
        align-items: flex-start;
    }

    .vs-divider {
        width: 100%;
        text-align: center;
    }

    .cta-buttons,
    .cta-buttons-final {
        flex-direction: column;
    }

    .cta-buttons a,
    .cta-buttons-final a {
        width: 100%;
    }
}
