/* Estilos Globais */
:root {
    --primary-color: #8e44ad;
    --secondary-color: #2c3e50;
    --accent-color: #f1c40f;
    --text-color: #333;
    --text-light: #f5f5f5;
    --bg-color: #f9f9f9;
    --card-bg: #ffffff;
    --border-radius: 8px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: #7d32a1;
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: rgba(142, 68, 173, 0.1);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 15px;
    font-size: 14px;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 14px 28px;
    font-size: 18px;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 14px;
}

.section-title {
    font-size: 32px;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Cabeçalho */
header {
    background-color: var(--card-bg);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    gap: 20px;
}

nav a {
    padding: 8px 12px;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
}

nav a:hover, nav a.active {
    background-color: rgba(142, 68, 173, 0.1);
    color: var(--primary-color);
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 3px;
}

/* Banner Hero */
.hero-banner {
    background: linear-gradient(135deg, #6a3093 0%, #a044ff 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

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

.hero-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Filtros de Promoção */
.promotion-filters {
    background-color: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 70px;
    z-index: 90;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-tab {
    padding: 10px 20px;
    background: none;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    transition: var(--transition);
    color: #555;
}

.filter-tab:hover {
    color: var(--primary-color);
    background-color: rgba(142, 68, 173, 0.05);
}

.filter-tab.active {
    background-color: var(--primary-color);
    color: white;
}

/* Promoção em Destaque */
.featured-promotion {
    padding: 60px 0;
}

.featured-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .featured-card {
        flex-direction: row;
    }
}

.featured-image {
    position: relative;
    flex: 1;
    min-height: 300px;
    overflow: hidden;
}

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

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--accent-color);
    color: var(--secondary-color);
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

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

.promo-tag {
    display: inline-block;
    background-color: rgba(142, 68, 173, 0.1);
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.featured-content h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.featured-content p {
    color: #666;
    margin-bottom: 25px;
}

.promo-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.promo-detail {
    background-color: #f8f8f8;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 14px;
}

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

/* Grade de Promoções */
.promotions-grid {
    padding: 60px 0;
    background-color: var(--bg-color);
}

.promotions-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.promo-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

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

.promo-image .promo-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    margin: 0;
}

.promo-content {
    padding: 25px;
}

.promo-content h3 {
    margin-bottom: 12px;
    color: var(--secondary-color);
    font-size: 20px;
}

.promo-content p {
    color: #666;
    margin-bottom: 20px;
    font-size: 15px;
}

.promo-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.expiry {
    color: #888;
    font-size: 14px;
}

.load-more {
    text-align: center;
}

/* Seção de Promoções Sazonais */
.seasonal-promotions {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.seasonal-banner {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.seasonal-banner img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.seasonal-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0) 100%);
    color: white;
}

.seasonal-content h3 {
    font-size: 32px;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.seasonal-content p {
    max-width: 500px;
    margin-bottom: 25px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Seção de Jogos em Destaque */
.featured-games {
    padding: 60px 0;
}

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

.game-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

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

.game-image {
    position: relative;
    height: 200px;
}

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

.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: var(--transition);
}

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

.game-info {
    padding: 15px;
    background-color: var(--card-bg);
}

.game-info h4 {
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.game-provider {
    color: #888;
    font-size: 14px;
    margin-bottom: 8px;
}

.game-bonus {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
}

/* Seção de Termos */
.terms-section {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.terms-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.terms-item {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.terms-header {
    padding: 18px 20px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    color: var(--secondary-color);
    transition: background-color 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.terms-header:hover {
    background-color: rgba(142, 68, 173, 0.05);
}

.toggle-icon {
    font-size: 20px;
    color: var(--primary-color);
    transition: transform 0.3s;
}

.terms-item.active .toggle-icon {
    transform: rotate(45deg);
}

.terms-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.terms-item.active .terms-content {
    padding: 0 20px 20px;
    max-height: 500px;
}

.terms-content p {
    margin-bottom: 15px;
}

.terms-content ul {
    margin-bottom: 15px;
    padding-left: 20px;
    list-style-type: disc;
}

.terms-content ul li {
    margin-bottom: 5px;
}

/* Newsletter */
.newsletter {
    padding: 60px 0;
    background-color: var(--secondary-color);
    color: var(--text-light);
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.newsletter-text {
    flex: 1;
}

.newsletter-text h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.newsletter-text p {
    opacity: 0.9;
}

.newsletter-form {
    flex: 1;
    display: flex;
    max-width: 500px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
}

.newsletter-form button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 60px 0 20px;
}

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

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo a {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-color);
}

.footer-logo p {
    margin-top: 15px;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-column h4 {
    margin-bottom: 20px;
    color: var(--accent-color);
    position: relative;
}

.footer-column h4:after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--accent-color);
    margin-top: 10px;
}

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

.footer-column a {
    opacity: 0.8;
}

.footer-column a:hover {
    opacity: 1;
    color: var(--accent-color);
}

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

.footer-bottom p {
    opacity: 0.6;
    margin-bottom: 10px;
}

/* Responsividade */
@media (max-width: 991px) {
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    header .container {
        padding: 15px;
    }
    
    nav ul {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .cta-buttons {
        margin-left: auto;
        margin-right: 20px;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .filter-tabs {
        overflow-x: auto;
        padding-bottom: 10px;
        justify-content: flex-start;
    }
    
    .filter-tab {
        flex-shrink: 0;
    }
    
    .featured-content {
        padding: 30px 20px;
    }
    
    .promo-details {
        grid-template-columns: 1fr;
    }
    
    .games-slider {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 576px) {
    .hero-banner {
        padding: 60px 0;
    }
    
    .featured-buttons {
        flex-direction: column;
    }
    
    .featured-buttons .btn {
        width: 100%;
    }
    
    .promotions-container {
        grid-template-columns: 1fr;
    }
    
    .seasonal-content {
        padding: 20px;
    }
    
    .seasonal-content h3 {
        font-size: 24px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: var(--border-radius) var(--border-radius) 0 0;
    }
    
    .newsletter-form button {
        border-radius: 0 0 var(--border-radius) var(--border-radius);
        width: 100%;
    }
}
