/* Blaze Bet - Brazilian SEO Site Styles */

:root {
    --primary-color: #ff6b00;
    --primary-dark: #e55a00;
    --secondary-color: #1a1a2e;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f5f5f5;
    --bg-white: #fff;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-light);
}

/* Header */
.header {
    background: var(--secondary-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.logo span {
    color: #fff;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Main Content */
.main-content {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.article-container {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

/* Typography */
h1 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

h2 {
    font-size: 1.6rem;
    color: var(--secondary-color);
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin: 1.5rem 0 0.75rem;
}

h4 {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin: 1.2rem 0 0.5rem;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    text-decoration: underline;
}

/* Lists */
ul, ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

th, td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background: var(--secondary-color);
    color: #fff;
    font-weight: 600;
}

tr:nth-child(even) {
    background: var(--bg-light);
}

tr:hover {
    background: #fff3e6;
}

/* Blockquotes (Warning/Info boxes) */
blockquote {
    background: #fff8e1;
    border-left: 4px solid var(--warning-color);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

blockquote h3 {
    margin-top: 0;
    color: #856404;
}

blockquote p:last-child {
    margin-bottom: 0;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
    text-decoration: none;
}

.cta-container {
    text-align: center;
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
    border-radius: 12px;
}

.cta-container p {
    color: #fff;
    margin-bottom: 1rem;
}

.cta-container .disclaimer {
    font-size: 0.85rem;
    color: #aaa;
    margin-top: 0.75rem;
    margin-bottom: 0;
}

/* Info Box */
.info-box {
    background: #e3f2fd;
    border: 1px solid #90caf9;
    border-radius: 8px;
    padding: 1.25rem;
    margin: 1.5rem 0;
}

.info-box h2, .info-box h3 {
    color: #1565c0;
    margin-top: 0;
    border: none;
    padding-bottom: 0;
}

/* Warning Box */
.warning-box {
    background: #fff3e0;
    border: 1px solid #ffb74d;
    border-radius: 8px;
    padding: 1.25rem;
    margin: 1.5rem 0;
}

.warning-box h3 {
    color: #e65100;
    margin-top: 0;
}

/* Responsible Gambling Section */
.responsible-gambling {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    border: 2px solid var(--danger-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
}

.responsible-gambling h2 {
    color: var(--danger-color);
    border: none;
    margin-top: 0;
}

/* Related Articles */
.related-articles {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.related-articles h2 {
    border: none;
    margin-top: 0;
}

.related-articles ul {
    list-style: none;
    padding: 0;
}

.related-articles li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.related-articles li:last-child {
    border-bottom: none;
}

.related-articles a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.related-articles a::before {
    content: "→";
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: #fff;
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section a {
    color: #ccc;
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #333;
    font-size: 0.85rem;
    color: #888;
}

.footer-disclaimer {
    max-width: 800px;
    margin: 0 auto 1rem;
    font-size: 0.8rem;
    color: #888;
    line-height: 1.5;
}

/* Homepage Hero */
.hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2d2d44 100%);
    color: #fff;
    padding: 4rem 1rem;
    text-align: center;
}

.hero h1 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Article Cards */
.articles-grid {
    max-width: 1200px;
    margin: -2rem auto 2rem;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 10;
}

.article-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.article-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.article-card h3 {
    margin-top: 0;
    font-size: 1.2rem;
}

.article-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.article-card .read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Code/Pre */
code {
    background: #f4f4f4;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
}

pre {
    background: #2d2d44;
    color: #f8f8f2;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
}

/* Updated Badge */
.updated-badge {
    display: inline-block;
    background: var(--success-color);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

/* TOC */
.toc {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}

.toc h2 {
    font-size: 1.2rem;
    margin: 0 0 0.75rem;
    border: none;
    padding: 0;
}

.toc ol {
    margin: 0;
    padding-left: 1.25rem;
}

.toc li {
    margin-bottom: 0.35rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--secondary-color);
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    .article-container {
        padding: 1.5rem;
    }

    table {
        font-size: 0.85rem;
    }

    th, td {
        padding: 0.5rem;
    }

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

/* Print Styles */
@media print {
    .header, .footer, .cta-button, .cta-container {
        display: none;
    }

    .article-container {
        box-shadow: none;
    }
}
