/*
Theme Name: TopApostasOn
Theme URI: https://topapostason.com
Author: TopApostasOn
Author URI: https://topapostason.com
Description: Theme profissional para o site de analises de casinos online TopApostasOn.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: topapostason
*/

:root {
    --ta-bg: #0a0f1a;
    --ta-bg-card: #111827;
    --ta-bg-card-hover: #1a2332;
    --ta-border: #1e293b;
    --ta-text: #f1f5f9;
    --ta-text-muted: #94a3b8;
    --ta-text-dim: #475569;
    --ta-blue: #00b0ff;
    --ta-blue-dark: #0091d5;
    --ta-green: #22c55e;
    --ta-gold: #f59e0b;
    --ta-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--ta-font);
    background: var(--ta-bg);
    color: var(--ta-text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

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

.topapostason-wrap {
    min-height: 100vh;
    overflow-x: hidden;
}

/* ── NAV ── */
.ta-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 40px;
    background: rgba(10, 15, 26, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--ta-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.ta-nav-logo {
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.5px;
}

.ta-nav-logo span {
    color: var(--ta-blue);
}

.ta-nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}

.ta-nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--ta-text-muted);
    transition: color 0.2s;
}

.ta-nav-links a:hover {
    color: var(--ta-text);
}

.ta-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.ta-hamburger span {
    width: 24px;
    height: 2px;
    background: var(--ta-text);
    border-radius: 2px;
    transition: 0.2s;
}

/* ── HERO ── */
.ta-hero {
    text-align: center;
    padding: 60px 20px 50px;
    background: linear-gradient(180deg, var(--ta-bg) 0%, #0d1525 100%);
}

.ta-hero h1 {
    font-size: 38px;
    font-weight: 900;
    line-height: 1.2;
    max-width: 700px;
    margin: 0 auto 16px;
    letter-spacing: -0.5px;
}

.ta-hero h1 em {
    color: var(--ta-blue);
    font-style: normal;
}

.ta-hero p {
    font-size: 16px;
    color: var(--ta-text-muted);
    max-width: 560px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

.ta-hero-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ta-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--ta-bg-card);
    border: 1px solid var(--ta-border);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ta-text-muted);
}

/* ── CASINO TABLE ── */
.ta-casino-section {
    padding: 40px 20px 60px;
}

.ta-casino-list {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ta-casino-row {
    display: grid;
    grid-template-columns: 200px 1fr 1fr 1fr 180px;
    align-items: center;
    background: var(--ta-bg-card);
    border: 1px solid var(--ta-border);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.ta-casino-row a.ta-casino-logo-cell {
    text-decoration: none;
    color: inherit;
}

.ta-casino-row:hover {
    border-color: var(--ta-blue);
}

.ta-casino-rank {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 24px;
    height: 24px;
    background: var(--ta-blue);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
}

.ta-casino-logo-cell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--ta-bg-card-hover);
    min-height: 80px;
}

.ta-casino-logo {
    max-height: 40px;
    max-width: 140px;
    object-fit: contain;
}

.ta-casino-logo-text {
    font-size: 16px;
    font-weight: 700;
    text-align: center;
}

.ta-rating-cell {
    padding: 16px 20px;
    text-align: center;
}

.ta-rating-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--ta-green);
}

.ta-rating-label {
    font-size: 11px;
    color: var(--ta-text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ta-stars-cell {
    padding: 16px 20px;
    text-align: center;
}

.ta-stars {
    color: var(--ta-gold);
    font-size: 16px;
    letter-spacing: 2px;
}

.ta-stars-label {
    font-size: 11px;
    color: var(--ta-text-dim);
    margin-top: 4px;
}

.ta-offer-cell {
    padding: 16px 20px;
}

.ta-offer-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--ta-gold);
    margin-bottom: 4px;
}

.ta-offer-desc {
    font-size: 12px;
    color: var(--ta-text-muted);
}

.ta-cta-cell {
    padding: 16px 20px;
    text-align: center;
}

.ta-cta-btn {
    display: inline-block;
    width: 100%;
    padding: 10px 20px;
    background: var(--ta-blue);
    color: #fff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    transition: background 0.2s;
}

.ta-cta-btn:hover {
    background: var(--ta-blue-dark);
}

.ta-cta-terms {
    font-size: 10px;
    color: var(--ta-text-dim);
    margin-top: 6px;
}

/* ── STATS ── */
.ta-stats-section {
    padding: 40px 20px;
    background: linear-gradient(180deg, var(--ta-bg) 0%, #0d1525 100%);
}

.ta-stats {
    display: flex;
    justify-content: center;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.ta-stat-card {
    background: var(--ta-bg-card);
    border: 1px solid var(--ta-border);
    border-radius: 12px;
    padding: 24px 32px;
    text-align: center;
    flex: 1;
    min-width: 140px;
}

.ta-stat-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--ta-blue);
}

.ta-stat-label {
    font-size: 12px;
    color: var(--ta-text-muted);
    margin-top: 4px;
}

/* ── INFO ── */
.ta-info-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, #0d1525 0%, var(--ta-bg) 100%);
}

.ta-info-section h2 {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
}

.ta-info-section > p {
    text-align: center;
    color: var(--ta-text-muted);
    margin-bottom: 40px;
    font-size: 15px;
}

.ta-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto 24px;
}

.ta-info-card {
    background: var(--ta-bg-card);
    border: 1px solid var(--ta-border);
    border-radius: 16px;
    padding: 32px 24px;
    transition: transform 0.2s;
}

.ta-info-card:hover {
    transform: translateY(-3px);
}

.ta-info-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--ta-blue), #0066cc);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #fff;
    font-size: 20px;
}

.ta-info-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.ta-info-card p {
    font-size: 13px;
    color: var(--ta-text-muted);
    line-height: 1.6;
}

.ta-info-grid-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.ta-info-card-large {
    background: var(--ta-bg-card);
    border: 1px solid var(--ta-border);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: left;
}

.ta-info-card-large.highlight {
    border-color: var(--ta-text-dim);
}

.ta-info-card-large h3 {
    font-size: 18px;
    font-weight: 700;
}

/* ── FAQ ── */
.ta-faq-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, var(--ta-bg) 0%, #0d1525 100%);
    text-align: center;
}

.ta-faq-section h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--ta-blue);
    margin-bottom: 12px;
}

.ta-faq-section > p {
    color: var(--ta-text-muted);
    margin-bottom: 40px;
    font-size: 15px;
}

.ta-faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ta-faq-item {
    background: var(--ta-bg-card);
    border: 1px solid var(--ta-border);
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
}

.ta-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.2s;
    user-select: none;
}

.ta-faq-question:hover {
    background: var(--ta-bg-card-hover);
}

.ta-faq-toggle {
    font-size: 20px;
    color: var(--ta-blue);
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 16px;
}

.ta-faq-item.open .ta-faq-toggle {
    transform: rotate(45deg);
}

.ta-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 24px;
}

.ta-faq-item.open .ta-faq-answer {
    max-height: 300px;
    padding: 0 24px 20px;
}

.ta-faq-answer p {
    color: var(--ta-text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* ── GUIDES ── */
.ta-guides-section {
    padding: 60px 20px 80px;
    background: linear-gradient(180deg, #0d1525 0%, var(--ta-bg) 100%);
    text-align: center;
}

.ta-guides-section h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
}

.ta-guides-section > p {
    color: var(--ta-text-muted);
    max-width: 500px;
    margin: 0 auto 40px;
    font-size: 14px;
    line-height: 1.6;
}

.ta-guides-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}

.ta-guide-card {
    background: var(--ta-bg-card);
    border: 1px solid var(--ta-border);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: left;
    transition: transform 0.2s;
}

.ta-guide-card:hover {
    transform: translateY(-3px);
}

.ta-guide-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--ta-blue), #0066cc);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #fff;
    font-size: 18px;
}

.ta-guide-card h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.ta-guide-card p {
    font-size: 13px;
    color: var(--ta-text-muted);
    line-height: 1.5;
}

/* ── FOOTER ── */
.ta-footer {
    background: var(--ta-bg);
    border-top: 1px solid var(--ta-border);
    padding: 60px 40px 30px;
}

.ta-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding-bottom: 40px;
}

.ta-footer-columns {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.ta-footer-brand-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 12px;
}

.ta-footer-brand-logo span {
    color: var(--ta-blue);
}

.ta-footer-brand p {
    font-size: 13px;
    color: var(--ta-text-muted);
    line-height: 1.6;
    max-width: 320px;
}

.ta-footer-links h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-left: 12px;
    border-left: 3px solid var(--ta-blue);
}

.ta-footer-links ul {
    list-style: none;
}

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

.ta-footer-links a {
    color: var(--ta-text-muted);
    font-size: 13px;
}

.ta-footer-links a:hover {
    color: var(--ta-text);
}

.ta-footer-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ta-footer-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--ta-bg-card);
    border-radius: 10px;
}

.ta-footer-feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--ta-blue), #0066cc);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    font-size: 16px;
}

.ta-footer-feature-text strong {
    font-size: 13px;
    display: block;
}

.ta-footer-feature-text span {
    font-size: 11px;
    color: var(--ta-text-muted);
}

.ta-footer-orgs h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-left: 12px;
    border-left: 3px solid var(--ta-blue);
}

.ta-footer-orgs ul {
    list-style: none;
}

.ta-footer-orgs li {
    margin-bottom: 6px;
    font-size: 13px;
    color: var(--ta-text-muted);
}

.ta-footer-orgs a {
    color: var(--ta-text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.ta-footer-orgs a:hover {
    color: var(--ta-blue);
}

.ta-footer-logos {
    padding: 32px 20px 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.ta-footer-logos-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: nowrap;
}

.ta-footer-logo-link {
    display: block;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.ta-footer-logo-link:hover {
    opacity: 1;
}

.ta-footer-logo {
    height: 48px;
    width: auto;
    display: block;
}

.ta-footer-bottom {
    border-top: 1px solid var(--ta-border);
    padding-top: 24px;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
}

.ta-footer-copy {
    font-size: 12px;
    color: var(--ta-text-dim);
}

/* ── SUBPAGE HERO ── */
.ta-subpage-hero {
    text-align: center;
    padding: 60px 20px 40px;
    background: linear-gradient(180deg, var(--ta-bg) 0%, #0d1525 100%);
}

.ta-subpage-hero h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
}

.ta-subpage-hero h1 em {
    color: var(--ta-blue);
    font-style: normal;
}

.ta-subpage-hero p {
    color: var(--ta-text-muted);
    font-size: 15px;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── SUBPAGE BODY ── */
.ta-subpage-body {
    max-width: 820px;
    margin: 0 auto;
    padding: 40px 20px 80px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ── GLOW CARDS ── */
.ta-glow-card {
    background: linear-gradient(135deg, #111d2e 0%, #0f1825 100%);
    border: 1px solid rgba(0, 176, 255, 0.12);
    border-radius: 14px;
    padding: 32px;
    box-shadow: 0 0 12px rgba(0, 176, 255, 0.05), 0 0 24px rgba(0, 176, 255, 0.02);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.ta-glow-card:hover {
    border-color: rgba(0, 176, 255, 0.25);
    box-shadow: 0 0 16px rgba(0, 176, 255, 0.1), 0 0 40px rgba(0, 176, 255, 0.04);
}

.ta-glow-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.ta-glow-card p {
    font-size: 14px;
    color: var(--ta-text-muted);
    line-height: 1.7;
    margin-bottom: 0;
}

.ta-glow-card p + h3 {
    margin-top: 24px;
}

.ta-glow-card strong {
    color: var(--ta-text);
}

.ta-glow-card ul {
    color: var(--ta-text-muted);
    margin: 8px 0 0 20px;
    font-size: 14px;
    line-height: 1.7;
}

.ta-glow-card li {
    margin-bottom: 6px;
}

.ta-glow-card-highlight {
    border-color: rgba(0, 176, 255, 0.25);
    box-shadow: 0 0 20px rgba(0, 176, 255, 0.08), 0 0 40px rgba(0, 176, 255, 0.04);
}

.ta-glow-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.ta-criteria-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 32px;
}

.ta-criteria-grid ul {
    list-style: disc;
    margin-left: 20px;
}

.ta-date-card {
    text-align: center;
}

.ta-date-card p {
    font-size: 13px;
    color: var(--ta-text-dim);
}

/* ── CONTACT FORM ── */
.ta-contact-card {
    max-width: 620px;
    margin: 0 auto;
    width: 100%;
}

.ta-contact-form {
    display: flex;
    flex-direction: column;
}

.ta-contact-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--ta-text);
}

.ta-contact-form input,
.ta-contact-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--ta-bg);
    border: 1px solid var(--ta-border);
    border-radius: 8px;
    color: var(--ta-text);
    font-size: 14px;
    font-family: var(--ta-font);
    margin-bottom: 20px;
    transition: border-color 0.2s;
}

.ta-contact-form input:focus,
.ta-contact-form textarea:focus {
    outline: none;
    border-color: var(--ta-blue);
}

.ta-contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.ta-submit-btn {
    width: 100%;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--ta-blue) 0%, #6c5ce7 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
    font-family: var(--ta-font);
}

.ta-submit-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .ta-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ta-footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .ta-nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--ta-bg);
        padding: 20px;
        gap: 16px;
        border-bottom: 1px solid var(--ta-border);
    }
    .ta-nav-links.open {
        display: flex;
    }
    .ta-hamburger {
        display: flex;
    }
    .ta-hero h1 {
        font-size: 28px;
    }
    .ta-casino-row {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto auto auto;
        text-align: left;
        align-items: stretch;
    }
    .ta-casino-logo-cell {
        grid-column: 1 / -1;
        grid-row: 1;
        border-bottom: 1px solid var(--ta-border);
    }
    .ta-offer-cell {
        grid-column: 1;
        grid-row: 2 / 4;
        text-align: left;
        padding: 16px 12px 16px 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .ta-offer-desc {
        font-size: 13px;
        order: -1;
        margin-bottom: 6px;
    }
    .ta-offer-text {
        font-size: 20px;
        font-weight: 800;
        color: #fff;
        line-height: 1.3;
    }
    .ta-rating-cell {
        grid-column: 2;
        grid-row: 2;
        text-align: center;
        padding: 16px 20px 2px 12px;
    }
    .ta-rating-value {
        font-size: 32px;
    }
    .ta-stars-cell {
        grid-column: 2;
        grid-row: 3;
        text-align: center;
        padding: 0 20px 16px 12px;
    }
    .ta-cta-cell {
        grid-column: 1 / -1;
        grid-row: 4;
        padding: 4px 20px 20px;
    }
    .ta-cta-btn {
        padding: 14px 20px;
        font-size: 15px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    .ta-cta-terms {
        padding-top: 10px;
    }
    .ta-info-grid {
        grid-template-columns: 1fr;
    }
    .ta-info-grid-bottom {
        grid-template-columns: 1fr;
    }
    .ta-guides-grid {
        grid-template-columns: 1fr;
    }
    .ta-stats {
        gap: 12px;
    }
    .ta-stat-card {
        padding: 20px 24px;
        min-width: 120px;
    }
    .ta-footer-columns {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-top: 32px;
    }
    .ta-footer-logos-inner {
        gap: 20px;
    }
    .ta-footer-logo {
        height: 36px;
    }
    .ta-glow-grid-2 {
        grid-template-columns: 1fr;
    }
    .ta-criteria-grid {
        grid-template-columns: 1fr;
    }
    .ta-subpage-hero h1 {
        font-size: 28px;
    }
    .ta-glow-card {
        padding: 24px 20px;
    }
}

@media (max-width: 480px) {
    .ta-nav {
        padding: 12px 16px;
    }
    .ta-hero {
        padding: 50px 16px 40px;
    }
    .ta-hero h1 {
        font-size: 24px;
    }
    .ta-stat-card {
        min-width: 100px;
    }
    .ta-footer {
        padding: 40px 16px 20px;
    }
}
