/* Reset e estilos gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Utilitários para responsividade */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

.desktop-winner, .desktop-game, .desktop-sport {
    display: block;
}

.mobile-winner, .mobile-game, .mobile-sport {
    display: none;
}

/* Header Desktop */
.desktop-header {
    background-color: #000000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.mobile-header {
    display: none;
}

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

.logo img {
    height: 45px;
    /* width: 70px; */
    margin-left: -70px;   /* Move para a esquerda */
    margin-top: 10px;    /* Move para baixo */
}

.main-nav ul {
    display: flex;
    gap: 20px;
}

.main-nav a {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #ffcc00;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.responsible-gaming {
    font-size: 14px;
    color: #ffffff;
}

.icon-button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: background-color 0.3s;
}

.icon-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.login-button {
    color: #ffcc00;
    font-weight: 600;
    font-size: 14px;
}

.register-button {
    background-color: #ffcc00;
    color: #0a1220;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.3s;
}

.register-button:hover {
    background-color: #e6b800;
}

/* Header Mobile */
.gift-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffcc00;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
}

.mobile-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Hero Section */
.hero-section {
    background-image: url(banner-1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;         /* reduz a largura */
    margin: 0 auto;     /* centraliza horizontalmente */
    text-align: center;
    position: relative;
    padding: 80px 0;
    overflow: hidden;    /* previne cortes indesejados */
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
    color: black;
    font-family: 'Arial', sans-serif;
}

.register-hero-button {
    background-color: #000000;
    color: #ffe900;
    padding: 12px 40px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    display: inline-block;
    transition: background-color 0.3s;
}

.register-hero-button:hover {
    background-color: #e6b800;
}

/* Seções comuns */
section {
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
}

.section-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 18px;
}

.section-icon.trophy {
    background-color: #ffcc00;
    color: #0a1220;
}

.section-icon.fire {
    background-color: #ff4d4d;
    color: #ffffff;
}

.section-icon.sports {
    background-color: #ffcc00;
    color: #ffffff;
}

.section-header h2 {
    font-size: 22px;
    font-weight: 700;
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-left: 15px;
}

.carousel-controls {
    display: flex;
    gap: 10px;
    margin-left: auto;
    margin-right: 20px;
}

.prev-button, .next-button {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.prev-button:hover, .next-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.view-all {
    color: #ffcc00;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    position: absolute;
    right: 0;
}

.view-all i {
    margin-left: 5px;
    font-size: 12px;
}

/* Seção de Ganhadores */
.winners-carousel {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: none; /* Firefox */
}

.winners-carousel::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.winner-card {
    min-width: 150px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

.winner-card:hover {
    transform: translateY(-5px);
}

.winner-image {
    height: 100px;
    background-color: #1a2a3a;
    position: relative;
}

.winner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.winner-info {
    padding: 10px;
}

.winner-info h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.winner-info p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.winner-info .amount {
    color: #ffcc00;
    font-weight: 600;
    font-size: 14px;
}

/* Seção de Jogos Populares */
.games-carousel {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: none;
}

.games-carousel::-webkit-scrollbar {
    display: none;
}

.game-card {
    min-width: 200px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

.game-card:hover {
    transform: translateY(-5px);
}

.game-image {
    width: 100%;
    position: relative;
    background-color: #1a2a3a;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #ff4d4d;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    font-size: 12px;
}

.game-info {
    padding: 15px;
}

.game-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.provider {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.payout-info {
    display: flex;
    align-items: center;
    gap: 5px;
}

.payout-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.payout-badge {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #ff4d4d;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 10px;
}

.payout-amount {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

/* Seção de Apostas Esportivas */
.sports-carousel {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: none;
}

.sports-carousel::-webkit-scrollbar {
    display: none;
}

.sport-card {
    min-width: 200px;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
    background-color: #1a2a3a;
}

.sport-card:hover {
    transform: translateY(-5px);
}

.sport-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sport-image {
    height: 150px;
    position: relative;
}

.sport-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: #ffcc00;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a1220;
    font-size: 12px;
}

.sport-info {
    padding: 10px;
}

.sport-type {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.sport-info h3 {
    font-size: 14px;
    font-weight: 600;
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #373434c9;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 100;
}

.mobile-bottom-nav {
    display: none;
    justify-content: space-around;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
}

.nav-item i {
    font-size: 18px;
    margin-bottom: 5px;
}

/* Responsividade */
@media (max-width: 768px) {
    .desktop-header {
        display: none;
    }
    
    .mobile-header {
        display: block;
        background-color: #373434c9;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        position: sticky;
        top: 0;
        z-index: 100;
    }
    
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
    
    .desktop-winner, .desktop-game, .desktop-sport {
        display: none;
    }
    
    .mobile-winner, .mobile-game, .mobile-sport {
        display: block;
    }
    
    .hero-section {
        padding: 40px 0;
        height: 170px;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .register-hero-button {
        width: 100%;
        padding: 12px 0;
        margin-top: 65px;
    }
    
    section {
        padding: 20px 15px;
    }
    
    .section-header {
        flex-wrap: wrap;
    }
    
    .view-all {
        position: absolute;
        right: 0;
        top: 10px;
    }
    
    .winner-card, .game-card {
        min-width: 140px;
    }
    
    .sport-card {
        min-width: 140px;
        height: auto;
    }
    
    .mobile-bottom-nav {
        display: flex;
        padding-bottom: env(safe-area-inset-bottom, 10px);
    }
    
    main {
        margin-bottom: 70px;
    }
}

@media (max-width: 480px) {
    .section-icon {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .section-header h2 {
        font-size: 18px;
    }
    
    .winner-card, .game-card, .sport-card {
        min-width: 120px;
    }
    
    .game-image {
        height: 120px;
    }
    
    .game-info h3 {
        font-size: 14px;
    }
}
