/* Reset e estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00a551;
    --primary-dark: #008c45;
    --secondary-color: #2d2d2d;
    --accent-color: #ffcc00;
    --text-color: #333333;
    --text-light: #ffffff;
    --text-muted: #777777;
    --bg-light: #f8f8f8;
    --bg-dark: #1a1a1a;
    --bg-gradient: linear-gradient(135deg, #00a551, #008c45);
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-light);
    min-height: 100vh;
}

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

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

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

ul {
    list-style: none;
}

section {
    padding: 80px 0;
}

/* Skip navigation para acessibilidade */
.skip-nav {
    position: absolute;
    left: -9999px;
    z-index: 999;
}

.skip-nav__button:focus {
    position: fixed;
    left: 10px;
    top: 10px;
    padding: 10px 15px;
    background: var(--primary-color);
    color: white;
    font-weight: bold;
    outline: none;
    border-radius: var(--radius);
}

/* Estilos de botões */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 10px rgba(0, 165, 81, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 165, 81, 0.4);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #3a3a3a;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
}

/* Animação de pulso para botões CTA */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(0, 165, 81, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 20px rgba(0, 165, 81, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 10px rgba(0, 165, 81, 0.3);
    }
}

/* Estilos do cabeçalho */
.main-header {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 15px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo a {
    color: var(--primary-color);
}

.main-nav {
    margin-left: auto;
    margin-right: 20px;
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin: 0 12px;
}

.nav-menu a {
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a:after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover:after,
.nav-menu a.active:after {
    width: 100%;
}

.user-actions {
    display: flex;
    gap: 10px;
}

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

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 3px;
}

/* Seção Hero */
.hero-section {
    background: var(--bg-gradient);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="10" cy="10" r="2" fill="rgba(255, 255, 255, 0.1)"/></svg>');
    opacity: 0.7;
}

.hero-section .container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

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

.hero-image {
    flex: 0 0 45%;
    position: relative;
}

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-15deg);
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-section .subtitle {
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
}

/* Seção Como Funciona */
.how-works-section {
    background-color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin: 0 auto;
}

.step-item {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 30px 20px;
    background-color: var(--bg-light);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
}

.step-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(0, 165, 81, 0.3);
}

.step-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.step-content p {
    color: var(--text-muted);
}

.cta-center {
    text-align: center;
    margin-top: 50px;
}

/* Seção de recursos */
.features-section {
    background-color: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: white;
    padding: 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-gradient);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-muted);
}

/* Seção de mercados */
.markets-section {
    background-color: white;
}

.markets-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.tab-button {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
    background-color: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.tab-button.active {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

.tab-button:hover {
    color: var(--primary-color);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.market-category {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.market-category:hover {
    transform: translateY(-3px);
    box-shadow: var(--card-shadow);
}

.market-category h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.market-list li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.market-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Seção de exemplos */
.example-section {
    background-color: var(--bg-light);
}

.example-card {
    background-color: white;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--card-shadow);
    margin: 0 auto;
    max-width: 800px;
}

.example-header {
    padding-bottom: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.example-teams {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: 700;
}

.team-vs {
    margin: 0 15px;
    color: var(--text-muted);
    font-weight: 400;
}

.bet-selections {
    margin: 25px 0;
}

.bet-selection {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.bet-selection:last-child {
    border-bottom: none;
}

.selection-name {
    font-weight: 500;
}

.selection-odds {
    background-color: var(--bg-light);
    padding: 5px 10px;
    border-radius: var(--radius);
    font-weight: 700;
    color: var(--primary-color);
}

.bet-details {
    background-color: var(--bg-light);
    border-radius: var(--radius);
    padding: 20px;
    margin-top: 20px;
}

.bet-details .row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.bet-details .row:last-child {
    margin-bottom: 0;
    padding-top: 10px;
    border-top: 1px dashed var(--border-color);
    font-weight: 700;
}

.bet-details .label {
    color: var(--text-muted);
}

.bet-details .value {
    font-weight: 600;
}

.bet-details .value.highlight {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Seção de dicas */
.tips-section {
    background-color: white;
}

.tip-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tip-card {
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.tip-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--card-shadow);
}

.tip-card:before {
    content: '\f0eb';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 8rem;
    opacity: 0.05;
    z-index: 0;
}

.tip-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
}

.tip-title i {
    color: var(--primary-color);
    margin-right: 10px;
}

.tip-content {
    position: relative;
    z-index: 1;
}

.expert-tip {
    margin-top: 30px;
    background: linear-gradient(135deg, #f8f8f8, #e8e8e8);
    padding: 20px;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary-color);
}

.expert-label {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.expert-content {
    font-style: italic;
}

/* Seção FAQ */
.faq-section {
    background-color: var(--bg-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: var(--radius);
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(0, 165, 81, 0.05);
}

.faq-toggle {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-toggle.active {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
    color: var(--text-muted);
}

.faq-answer.active {
    max-height: 300px;
    padding: 0 20px 20px;
}

.faq-answer p {
    margin-bottom: 10px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* Seção CTA */
.cta-section {
    background: var(--bg-gradient);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="120" height="120" viewBox="0 0 120 120"><circle cx="60" cy="60" r="50" fill="none" stroke="rgba(255, 255, 255, 0.15)" stroke-width="2"/></svg>');
    opacity: 0.4;
}

.cta-container {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Rodapé */
.main-footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 70px 0 0;
}

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

@media (max-width: 1024px) {
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-columns {
        grid-template-columns: 1fr;
    }
}

.footer-column h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

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

.footer-links a {
    color: var(--text-light);
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.responsible-gaming {
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    margin-top: 20px;
}

.responsible-gaming p {
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-bottom p {
    margin-bottom: 5px;
}

/* Media Queries para responsividade */
@media (max-width: 1024px) {
    section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section .subtitle {
        font-size: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .hero-section .container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        padding-bottom: 40px;
        text-align: center;
    }
    
    .hero-description {
        margin: 0 auto 30px;
    }
    
    .hero-image {
        width: 100%;
    }
    
    .hero-image img {
        transform: none;
        width: 100%;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        z-index: 90;
    }
    
    .main-nav.active {
        max-height: 300px;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu li {
        margin: 0;
    }
    
    .steps-container,
    .cta-buttons {
        flex-direction: column;
    }
    
    .markets-tabs {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 10px;
    }
    
    .tab-button {
        white-space: nowrap;
        padding: 10px 20px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 40px 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .subtitle {
        font-size: 1.2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .btn-large {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .example-teams {
        font-size: 1.2rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .team-vs {
        margin: 5px 0;
    }
    
    .bet-selection {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .faq-question {
        font-size: 1rem;
    }
}
