/* Estilos Globais */
:root {
    --primary-color: #1a66ff;
    --secondary-color: #0e4bab;
    --accent-color: #ff6b00;
    --text-color: #333;
    --light-gray: #f5f7fa;
    --medium-gray: #e0e4e8;
    --dark-gray: #666;
    --border-color: #ddd;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --error-color: #e74c3c;
}

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

body {
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
}

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

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Botões */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-accent {
    background-color: var(--accent-color);
    color: #fff;
}

.btn-accent:hover {
    background-color: #e65c00;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--medium-gray);
    color: var(--text-color);
}

.btn-outline:hover {
    background-color: var(--light-gray);
}

.btn-large {
    padding: 12px 28px;
    font-size: 1.05rem;
}

.btn-play {
    background-color: var(--accent-color);
    color: #fff;
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-play:hover {
    background-color: #e65c00;
}

/* Cabeçalho */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.main-nav ul {
    display: flex;
}

.main-nav ul li {
    margin-left: 20px;
}

.main-nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 0;
    position: relative;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: var(--primary-color);
}

.main-nav ul li a.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
}

.cta-buttons {
    display: flex;
    gap: 10px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

/* Banner Principal Rotativo */
.main-slider {
    background: linear-gradient(145deg, #e6f0ff 0%, #f5f7fa 100%);
    position: relative;
    overflow: hidden;
    padding: 40px 0;
}

.slider-item {
    display: none;
}

.slider-item.active {
    display: block;
}

.slider-container .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.slider-content {
    flex: 1;
    padding-right: 40px;
}

.slider-content h1 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.slider-content p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 30px;
}

.slider-image {
    flex: 1;
    text-align: center;
}

.slider-image img {
    max-width: 90%;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.slider-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    background-color: var(--medium-gray);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}

.slider-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* Menu de Jogos */
.game-categories {
    background-color: #fff;
    padding: 20px 0;
    border-bottom: 1px solid var(--medium-gray);
}

.category-menu {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: var(--text-color);
}

.category-item:hover,
.category-item.active {
    background-color: var(--light-gray);
    color: var(--primary-color);
}

.category-item.active {
    color: var(--primary-color);
    font-weight: 500;
}

.category-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.category-name {
    font-size: 0.9rem;
}

/* Jogos em Destaque */
.featured-games,
.live-casino {
    padding: 60px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 10px;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.view-all {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.view-all:after {
    content: '→';
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.view-all:hover:after {
    transform: translateX(3px);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.game-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.game-image {
    position: relative;
    overflow: hidden;
    height: 180px;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.05);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.game-card h3 {
    padding: 15px 15px 5px;
    font-size: 1.1rem;
    color: var(--text-color);
}

.game-card p {
    padding: 0 15px 15px;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.game-tags {
    padding: 0 15px 15px;
    display: flex;
    gap: 5px;
}

.tag {
    padding: 3px 8px;
    font-size: 0.7rem;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

.tag-hot {
    background-color: #ffebee;
    color: #e53935;
}

.tag-new {
    background-color: #e8f5e9;
    color: #43a047;
}

.tag-live {
    background-color: #e3f2fd;
    color: #1e88e5;
}

.tag-exclusive {
    background-color: #fff8e1;
    color: #ffb300;
}

/* Seção de Bônus Promocional */
.bonus-promo {
    background: linear-gradient(135deg, #1a66ff 0%, #0e4bab 100%);
    padding: 60px 0;
    color: #fff;
}

.promo-content {
    display: flex;
    align-items: center;
}

.promo-text {
    flex: 1;
    padding-right: 30px;
}

.promo-text h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.promo-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.promo-features {
    margin: 25px 0;
}

.promo-features li {
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.promo-terms {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 15px;
}

.promo-image {
    flex: 1;
    text-align: center;
}

.promo-image img {
    max-width: 90%;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Casino ao Vivo */
.live-casino {
    background-color: var(--light-gray);
}

.live-casino-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.live-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.live-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.live-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.live-card:hover .live-image img {
    transform: scale(1.05);
}

.live-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.live-card:hover .live-overlay {
    opacity: 1;
}

.live-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #e53935;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.live-tag:before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #fff;
    border-radius: 50%;
    margin-right: 5px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.live-card h3 {
    padding: 15px 15px 5px;
    font-size: 1.2rem;
}

.live-card p {
    padding: 0 15px 10px;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.live-info {
    padding: 0 15px 15px;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--dark-gray);
    border-top: 1px solid var(--medium-gray);
    margin-top: 10px;
    padding-top: 10px;
}

.live-players:before {
    content: '👥 ';
}

.live-limits:before {
    content: '💰 ';
}

/* Por que escolher */
.why-choose-us {
    padding: 70px 0;
    text-align: center;
}

.why-choose-us h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.why-choose-us h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.benefit-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-8px);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.benefit-card p {
    font-size: 0.9rem;
    color: var(--dark-gray);
    line-height: 1.6;
}

/* App Mobile */
.mobile-app {
    padding: 70px 0;
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.mobile-app:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-color: #e6f0ff;
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
    z-index: 1;
}

.app-content {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.app-text {
    flex: 1;
    padding-right: 40px;
}

.app-text h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.app-text p {
    font-size: 1.05rem;
    margin-bottom: 25px;
    color: var(--text-color);
}

.app-features {
    margin-bottom: 30px;
}

.app-features li {
    margin-bottom: 10px;
    font-size: 1rem;
    color: var(--text-color);
}

.app-buttons {
    display: flex;
    gap: 15px;
}

.app-buttons .btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 25px;
}

.app-buttons .btn span {
    font-size: 0.8rem;
    margin-bottom: 2px;
}

.app-buttons .btn strong {
    font-size: 1.1rem;
}

.app-image {
    flex: 1;
    text-align: center;
}

.app-image img {
    max-height: 500px;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Fornecedores */
.providers {
    padding: 50px 0;
    text-align: center;
    border-bottom: 1px solid var(--medium-gray);
}

.providers h2 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.providers h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.providers-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

.provider-logo {
    flex: 1;
    min-width: 150px;
    padding: 15px;
    font-size: 1.1rem;
    color: var(--dark-gray);
    font-weight: 600;
}

/* Jogo Responsável */
.responsible-gaming {
    background-color: #f0f5ff;
    padding: 50px 0;
    text-align: center;
    border-top: 1px solid var(--medium-gray);
}

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

.responsible-content h2 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.responsible-content p {
    font-size: 1.05rem;
    margin-bottom: 25px;
    color: var(--text-color);
}

/* Rodapé */
footer {
    background-color: #1a1f36;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    flex-basis: 30%;
    margin-bottom: 30px;
}

.footer-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    display: inline-block;
}

.footer-logo p {
    color: #aaa;
    font-size: 0.9rem;
}

.footer-links {
    flex-basis: 65%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-column {
    flex-basis: 23%;
    margin-bottom: 30px;
}

.footer-column h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #aaa;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.payment-methods {
    margin-bottom: 30px;
    text-align: center;
}

.payment-methods h4 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 20px;
}

.payment-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.payment-icon {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

/* Botão Voltar ao Topo */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: none;
    font-size: 20px;
    z-index: 99;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Botão Chat Suporte */
.support-chat {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 99;
}

.chat-button {
    background-color: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.3);
    transition: transform 0.3s ease;
}

.chat-button:hover {
    transform: translateY(-3px);
}

.chat-icon {
    font-size: 1.2rem;
    margin-right: 8px;
}

.chat-text {
    font-weight: 600;
}

/* Responsividade - Media Queries */
@media (max-width: 1200px) {
    .hero-content h1,
    .slider-content h1 {
        font-size: 2.2rem;
    }
    
    .app-text h2,
    .promo-text h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 992px) {
    .slider-container .container,
    .promo-content,
    .app-content {
        flex-direction: column;
    }
    
    .slider-content,
    .promo-text,
    .app-text {
        padding-right: 0;
        margin-bottom: 30px;
        text-align: center;
        order: 2;
    }
    
    .slider-image,
    .promo-image,
    .app-image {
        order: 1;
        margin-bottom: 30px;
    }
    
    .live-casino-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .app-features li,
    .promo-features li {
        text-align: left;
    }
    
    .app-buttons {
        justify-content: center;
    }
    
    .footer-logo {
        flex-basis: 100%;
        text-align: center;
        margin-bottom: 40px;
    }
    
    .footer-links {
        flex-basis: 100%;
    }
    
    .footer-column {
        flex-basis: 48%;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-wrap: wrap;
    }
    
    .logo {
        order: 2;
        flex-grow: 1;
        text-align: center;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        order: 4;
    }
    
    .main-nav.show {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 20px 0;
    }
    
    .main-nav ul li {
        margin: 0;
    }
    
    .main-nav ul li a {
        padding: 15px 0;
        display: block;
        border-bottom: 1px solid var(--medium-gray);
    }
    
    .cta-buttons {
        order: 3;
        margin-left: auto;
    }
    
    .menu-toggle {
        display: block;
        order: 1;
    }
    
    .slider-content h1,
    .promo-text h2 {
        font-size: 1.8rem;
    }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-menu {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
        justify-content: flex-start;
        gap: 15px;
    }
    
    .category-item {
        flex: 0 0 auto;
    }
    
    .live-casino-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .providers-grid {
        justify-content: center;
    }
    
    .footer-column {
        flex-basis: 100%;
    }
    
    .support-chat {
        bottom: 20px;
        left: 20px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 576px) {
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons .btn {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .slider-content h1,
    .promo-text h2,
    .app-text h2 {
        font-size: 1.5rem;
    }
    
    .app-buttons {
        flex-direction: column;
        gap: 10px;
    }
}
