/* ============================================================
   PROMOÇÕES WIKI — Modern Wikipedia Aesthetic
   Adapted for Promotions, Sweepstakes & Cultural Contests
   ============================================================ */

:root {
    --brand-primary: #2563eb;
    --brand-secondary: #7c3aed;
    --bg-main: #f6f6f6;
    --bg-content: #ffffff;
    --bg-sidebar: #f8f9fa;
    --text-main: #202122;
    --text-muted: #54595d;
    --border-color: #a2a9b1;
    --header-bg: #ffffff;
    --card-bg: #ffffff;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --radius-sm: 2px;
    --accent-success: #059669;
    --accent-warning: #d97706;
    --accent-danger: #dc2626;
    --accent-gold: #ca8a04;
    --primary-rgb: 37, 99, 235;
}

[data-theme="dark"] {
    --brand-primary: #60a5fa;
    --brand-secondary: #a78bfa;
    --bg-main: #101418;
    --bg-content: #1a1f24;
    --bg-sidebar: #121519;
    --text-main: #e1e4e8;
    --text-muted: #959da5;
    --border-color: #30363d;
    --header-bg: #1a1f24;
    --card-bg: #21262d;
    --shadow: 0 4px 12px rgba(0,0,0,0.3);
    --accent-success: #34d399;
    --accent-warning: #fbbf24;
    --accent-danger: #f87171;
    --accent-gold: #fbbf24;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: var(--font-main);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
}

/* === LAYOUT STRUCTURE === */
.top-navbar {
    background: var(--header-bg);
    border-bottom: 1px solid var(--border-color);
    height: 64px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    width: 100%;
    margin: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3rem;
}

.nav-logo a {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--brand-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
    white-space: nowrap;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-search input {
    padding: 0.5rem 1.2rem;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.85rem;
    width: 240px;
    background: var(--bg-main);
    color: var(--text-main);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-search input:focus {
    width: 320px;
    border-color: var(--brand-primary);
    outline: none;
    background: var(--bg-content);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.wiki-wrapper {
    display: flex;
    width: 100%;
    margin: 0;
    min-height: calc(100vh - 64px);
}

.wiki-sidebar {
    width: 260px;
    padding: 2.5rem 1.5rem;
    border-right: 1px solid var(--border-color);
    background: var(--bg-sidebar);
    flex-shrink: 0;
}

.sticky-sidebar {
    position: sticky;
    top: 64px;
    height: calc(100vh - 64px);
    overflow-y: auto;
}

.sidebar-placeholder {
    padding: 1rem;
    color: var(--text-muted);
    font-style: italic;
    font-size: 0.9rem;
}

.wiki-content-wrapper {
    flex: 1;
    background: var(--bg-content);
    padding: 2.5rem 5rem;
    min-width: 0;
}

body.institutional-page .wiki-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
}

/* === DARK MODE TOGGLE === */
.dark-mode-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 4px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    width: 32px;
    height: 32px;
}

.dark-mode-toggle:hover { background: rgba(0,0,0,0.05); }
[data-theme="dark"] .dark-mode-toggle:hover { background: rgba(255,255,255,0.1); }
.mode-icon-dark { display: none; }
[data-theme="dark"] .mode-icon-light { display: none; }
[data-theme="dark"] .mode-icon-dark { display: inline-block; }

/* === BREADCRUMBS === */
.breadcrumbs {
    font-size: 0.85rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

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

.breadcrumbs a:hover { text-decoration: underline; }

.breadcrumb-sep {
    margin: 0 0.5rem;
    color: var(--border-color);
}

.breadcrumb-current { font-weight: 600; }

/* === PAGE TITLE === */
.page-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin: 0 0 1rem 0;
    color: var(--text-main);
    letter-spacing: -1px;
    font-family: 'Outfit', sans-serif;
    border: none;
}

/* === PROMO BADGES === */
.promo-badges {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.promo-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.status-active {
    background: rgba(5, 150, 105, 0.1);
    color: var(--accent-success);
    border: 1px solid rgba(5, 150, 105, 0.3);
}
.status-ended {
    background: rgba(220, 38, 38, 0.1);
    color: var(--accent-danger);
    border: 1px solid rgba(220, 38, 38, 0.3);
}
.status-soon {
    background: rgba(217, 119, 6, 0.1);
    color: var(--accent-warning);
    border: 1px solid rgba(217, 119, 6, 0.3);
}
.status-result {
    background: rgba(37, 99, 235, 0.1);
    color: var(--brand-primary);
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.promo-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--type-color, var(--brand-primary));
    border: 1px solid currentColor;
    opacity: 0.9;
}

/* === WIKI HEADER & TABS === */
.wiki-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.editorial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.header-main { flex: 1; min-width: 250px; }

/* === INFOBOX (Wikipedia Style) === */
.infobox {
    float: right;
    width: 300px;
    margin: 0 0 1.5rem 1.5rem;
    background: var(--bg-sidebar);
    border: 1px solid var(--border-color);
    padding: 0.5rem;
    font-size: 0.85rem;
    border-radius: 8px;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow);
}
.infobox-title {
    font-weight: bold;
    text-align: center;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    color: #fff;
    padding: 0.6rem;
    border-radius: 6px;
}
.infobox-subtitle {
    text-align: center;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    font-size: 0.95rem;
    padding: 0.3rem;
}
.infobox img {
    width: 100%;
    height: auto;
    border: 1px solid var(--border-color);
    margin-bottom: 0.5rem;
    border-radius: 4px;
}
.infobox table { width: 100%; border-collapse: collapse; }
.infobox th {
    text-align: left;
    vertical-align: top;
    width: 40%;
    padding: 0.4rem 0.2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.82rem;
}
.infobox td {
    padding: 0.4rem 0.2rem;
    border-top: 1px solid var(--border-color);
}
.infobox-text { color: var(--text-main); font-weight: 500; }

.infobox-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem 0.2rem;
    border-top: 1px solid var(--border-color);
    margin-top: 0.5rem;
}

.infobox-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.2s;
}

.infobox-link:hover {
    background: rgba(var(--primary-rgb), 0.08);
    text-decoration: underline;
}

/* === TOC === */
.toc {
    background: var(--bg-sidebar);
    border: 1px solid var(--border-color);
    padding: 1.2rem 1.5rem;
    display: inline-block;
    min-width: 280px;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}
.toc-title {
    font-weight: bold;
    text-align: center;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: var(--brand-primary);
}
.toc-list { list-style: none; padding-left: 0; counter-reset: none; }
.toc-list li { margin-bottom: 0.4rem; }
.toc-list a {
    color: var(--brand-primary);
    text-decoration: none;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.2s;
}
.toc-list a:hover {
    text-decoration: underline;
    background: rgba(var(--primary-rgb), 0.05);
}

.toc-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--brand-primary);
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 800;
    flex-shrink: 0;
}

/* === SECTION HEADERS === */
.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 2.5rem 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

[data-theme="dark"] .section-header {
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
    border-radius: 3px;
}

.section-header h2 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-main);
    border: none;
    font-family: 'Outfit', sans-serif;
}

.section-icon {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(var(--primary-rgb), 0.1);
    border-radius: 10px;
}

[data-theme="dark"] .section-icon {
    background: rgba(255, 255, 255, 0.05);
}

/* === ARTICLE STATS BAR === */
.article-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1rem 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
    color: var(--text-muted);
}

.stat-value {
    font-weight: 700;
    color: var(--brand-primary);
}

/* === ABOUT / CONTENT === */
.about-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-main);
}

.about-content p {
    margin-bottom: 1.5rem;
}

.about-content p:last-child { margin-bottom: 0; }

h2 {
    border-bottom: 1px solid var(--border-color);
    margin: 2rem 0 1rem;
    padding-bottom: 0.3rem;
    font-weight: normal;
    font-family: serif;
}

/* === STEP CARDS (Como Participar) === */
.promo-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1rem 0;
}

.step-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--bg-sidebar);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.step-card:hover {
    transform: translateX(5px);
    border-color: var(--brand-primary);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    color: white;
    border-radius: 50%;
    font-weight: 900;
    font-size: 1.1rem;
    font-family: 'Outfit', sans-serif;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

.step-content p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-main);
}

/* === PRIZE GRID === */
.prize-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1rem 0;
}

.prize-card {
    background: var(--bg-sidebar);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.prize-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--accent-gold) 0%, var(--brand-primary) 100%);
}

.prize-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.prize-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.prize-info { flex: 1; }

.prize-position {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.prize-description {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: var(--text-main);
}

.prize-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.prize-value {
    font-weight: 800;
    color: var(--accent-gold);
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
}

.prize-quantity {
    font-size: 0.85rem;
    color: var(--text-muted);
    background: rgba(var(--primary-rgb), 0.08);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

/* === COUNTDOWN TIMER === */
.promo-countdown {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    text-align: center;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.countdown-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-value {
    font-size: 2.5rem;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.countdown-unit-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-top: 0.3rem;
}

/* === TIMELINE (Período) === */
.promo-timeline {
    position: relative;
    padding-left: 2.5rem;
    margin: 1.5rem 0;
}

.promo-timeline::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--brand-primary), var(--brand-secondary));
    border-radius: 3px;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.timeline-icon {
    position: absolute;
    left: -1.9rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-content);
    border: 3px solid var(--brand-primary);
    border-radius: 50%;
    font-size: 0.9rem;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.timeline-content {
    background: var(--bg-sidebar);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.2s;
}

.timeline-content:hover {
    transform: translateX(3px);
}

.timeline-label {
    font-weight: 700;
    color: var(--text-main);
    font-size: 0.95rem;
}

.timeline-date {
    color: var(--brand-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* === REGULATION BOX === */
.regulation-box {
    background: var(--bg-sidebar);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    margin: 1rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.regulation-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--brand-primary);
}

.regulation-header {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.regulation-icon {
    font-size: 2rem;
}

.regulation-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--text-main);
}

.regulation-header p {
    margin: 0.3rem 0 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.regulation-rules {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.regulation-rules li {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.5;
    padding-left: 1.5rem;
    position: relative;
}

.regulation-rules li::before {
    content: '⚖️';
    position: absolute;
    left: 0;
    font-size: 0.8rem;
}

.regulation-rules li:last-child { border-bottom: none; }

.regulation-cert, .regulation-cap {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.regulation-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
}

.regulation-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
}

/* === HOW IT WORKS === */
.how-it-works-content {
    background: var(--bg-sidebar);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

/* === TIPS BOX === */
.tips-box {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.05) 0%, rgba(37, 99, 235, 0.03) 100%);
    border: 1px solid rgba(217, 119, 6, 0.2);
    border-left: 5px solid var(--accent-warning);
    border-radius: 4px 12px 12px 4px;
    padding: 1.5rem 2rem;
    margin: 1rem 0;
}

.tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tips-list li {
    padding: 0.6rem 0;
    font-size: 1.05rem;
    line-height: 1.6;
    border-bottom: 1px dashed var(--border-color);
}

.tips-list li:last-child { border-bottom: none; }

/* === FAQ SECTION === */
.faq-section {
    margin: 1rem 0;
}

.faq-item {
    margin-bottom: 1.2rem;
    background: var(--bg-sidebar);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    transition: border-color 0.2s;
}

.faq-item:hover {
    border-color: var(--brand-primary);
}

.faq-question {
    color: var(--brand-primary);
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
    margin-top: 0;
    font-weight: 700;
}

.faq-answer {
    color: var(--text-main);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

/* === SEO CONTENT === */
.seo-section { margin: 1rem 0; }

.seo-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    text-align: justify;
}

/* === EMPRESA SECTION === */
.empresa-card {
    background: var(--bg-sidebar);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
    box-shadow: var(--shadow);
}

.empresa-logo {
    max-width: 200px;
    height: auto;
    margin: 0 auto 1rem;
    display: block;
    border-radius: 8px;
}

.empresa-card h3 {
    font-size: 1.4rem;
    margin: 0 0 0.5rem;
    color: var(--text-main);
}

.empresa-card p {
    color: var(--text-muted);
    margin: 0.3rem 0;
}

.empresa-card a {
    color: var(--brand-primary);
    text-decoration: none;
}

.empresa-card a:hover { text-decoration: underline; }

/* === CATEGORY LINKS === */
.catlinks {
    border: 1px solid var(--border-color);
    background: var(--bg-sidebar);
    padding: 0.8rem 1rem;
    margin-top: 2rem;
    font-size: 0.85rem;
    border-radius: 8px;
}
.catlinks-title { font-weight: bold; margin-right: 0.5rem; }
.catlinks a {
    color: var(--brand-primary);
    text-decoration: none;
    margin-right: 1rem;
    padding: 2px 8px;
    border-radius: 4px;
    transition: background 0.2s;
}
.catlinks a:hover {
    background: rgba(var(--primary-rgb), 0.08);
    text-decoration: underline;
}

/* === LAST EDITED === */
.last-edited {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 2rem;
    font-style: italic;
}

/* === RELATED SECTION === */
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1rem 0;
}

.related-card {
    background: var(--bg-sidebar);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.related-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-primary);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.related-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bg-main);
}

.related-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

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

.related-card-content {
    padding: 1.2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.related-type {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
    color: var(--brand-primary);
}

.related-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.3;
    margin: 0;
}

/* === PREMIUM HOMEPAGE === */
.no-sidebar .wiki-sidebar { display: none; }
.no-sidebar .wiki-content-wrapper { width: 100%; max-width: 100%; padding: 0; border: none; }

.wiki-homepage { width: 100%; }

.hero-banner {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: white;
    padding: 6rem 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -25%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-banner::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -25%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-banner h1 {
    font-size: 3.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    margin-bottom: 1.5rem;
    border-bottom: none;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-banner p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-search {
    max-width: 550px;
    margin: 0 auto;
}

.hero-search input {
    width: 100%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    padding: 16px 28px;
    font-size: 1.1rem;
    border-radius: 50px;
    outline: none;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
}

.hero-search input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.hero-search input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1);
}

/* === STATS SECTION === */
.stats-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 5rem 2rem;
    position: relative;
    border-top: 4px solid var(--brand-primary);
}

.stats-container {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    background: rgba(255,255,255,0.03);
    padding: 2.5rem 3rem;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.2);
}

.stat-card .value {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 0.8rem;
    font-family: 'Outfit', sans-serif;
}

.stat-card .label {
    font-size: 0.9rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
}

/* === HOMEPAGE SECTIONS === */
.homepage-section {
    padding: 2.5rem 5rem;
    background: var(--bg-content);
}

/* === PREMIUM GRID (Promo Cards) === */
.premium-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.premium-card {
    text-decoration: none;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.premium-card-image {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.12);
    margin-bottom: 1rem;
    background: var(--bg-sidebar);
    border: 1px solid var(--border-color);
    position: relative;
}

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

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

.premium-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 3rem;
    background: linear-gradient(135deg, rgba(37,99,235,0.05) 0%, rgba(124,58,237,0.05) 100%);
}

.promo-card-type-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    color: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 2;
}

.premium-card-info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.premium-card-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    color: var(--text-main);
}

.premium-card:hover .premium-card-info h4 {
    color: var(--brand-primary);
}

.card-prize {
    font-size: 0.85rem;
    color: var(--accent-gold);
    font-weight: 600;
}

.card-date {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* === GENRE PILLS === */
.genre-pills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 1rem;
    justify-content: flex-start;
}
.genre-pill {
    background: var(--bg-sidebar);
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 30px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.genre-pill:hover {
    background: var(--brand-primary);
    color: white;
    border-color: var(--brand-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(37, 99, 235, 0.2);
}

/* === CATEGORY PAGES === */
.category-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 3.5rem 5rem;
    position: relative;
    overflow: hidden;
    margin-bottom: 3rem;
}

.category-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(37, 99, 235, 0.15), transparent 70%);
}

.category-hero.centered { text-align: center; }
.category-hero.centered .category-hero-content { margin: 0 auto; }

.category-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
}

.category-hero-title {
    font-size: 3rem;
    font-weight: 900;
    color: #fff;
    margin: 0 0 1rem 0;
    letter-spacing: -1px;
    font-family: 'Outfit', sans-serif;
}

.category-hero-desc {
    font-size: 1.2rem;
    color: #94a3b8;
    max-width: 800px;
    line-height: 1.6;
    margin: 0 auto;
}

.wiki-body {
    padding: 0 5rem 4rem 5rem;
}

/* === SEARCH RESULTS === */
.search-results {
    max-width: 800px;
    padding: 2rem 0;
}

.search-result-item {
    background: var(--bg-content);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
    transition: box-shadow 0.2s, transform 0.2s;
    box-shadow: var(--shadow);
}

.search-result-item:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.search-result-item h3 { margin: 0 0 0.5rem 0; font-size: 1.4rem; }
.search-result-item h3 a { color: var(--brand-primary); text-decoration: none; }
.search-result-item h3 a:hover { text-decoration: underline; }
.search-result-item .result-snippet { color: var(--text-main); line-height: 1.6; font-size: 1rem; }

.search-result-item mark {
    background-color: rgba(37, 99, 235, 0.15);
    color: var(--brand-primary);
    padding: 0 0.2rem;
    border-radius: 4px;
    font-weight: bold;
}

/* === VIEW ALL BUTTON === */
.btn-view-all {
    display: inline-block;
    padding: 12px 32px;
    background: var(--bg-sidebar);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.btn-view-all:hover {
    background: var(--brand-primary);
    color: white;
    border-color: var(--brand-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

/* === MODERN FOOTER === */
.wiki-footer-modern {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #e2e8f0;
    padding: 4rem 2rem 0 2rem;
    font-family: 'Inter', sans-serif;
    border-top: 4px solid var(--brand-primary);
    margin-top: 5rem;
}

.footer-modern-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    padding-bottom: 3rem;
}

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

.footer-col.brand-col h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
    color: #fff;
}

.footer-col.brand-col p { color: #94a3b8; line-height: 1.6; margin-bottom: 1.5rem; }

.footer-social { display: flex; gap: 1rem; }

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: background 0.3s, transform 0.3s;
}

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

.footer-col.links-col h4 { font-size: 1.2rem; color: #fff; margin: 0 0 1.5rem 0; font-weight: 600; }
.footer-col.links-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col.links-col ul li { margin-bottom: 0.8rem; }
.footer-col.links-col ul li a { color: #94a3b8; text-decoration: none; transition: color 0.2s; }
.footer-col.links-col ul li a:hover { color: #60a5fa; text-decoration: underline; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: #94a3b8;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .nav-links { display: none; }
    .nav-container { padding: 0 1.5rem; }
    .wiki-wrapper { display: block !important; }
    .wiki-sidebar {
        position: static !important;
        width: 100% !important;
        border-right: none !important;
        border-bottom: 1px solid var(--border-color);
        padding: 1rem 0 !important;
    }
    .sticky-sidebar {
        position: static !important;
        height: auto !important;
        overflow-y: visible !important;
    }
}

@media (max-width: 768px) {
    .wiki-content-wrapper {
        width: 100% !important;
        padding: 1.5rem 1rem !important;
    }

    .infobox {
        float: none !important;
        width: 100% !important;
        margin: 0 0 1.5rem 0 !important;
    }

    .hero-banner { padding: 4rem 1.5rem; }
    .hero-banner h1 { font-size: 2.5rem; }

    .stats-container { gap: 1.5rem; }
    .stat-card { padding: 1.5rem 2rem; }
    .stat-card .value { font-size: 2rem; }

    .homepage-section { padding: 2rem 1.5rem; }
    .premium-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .prize-grid { grid-template-columns: 1fr; }

    .category-hero {
        padding: 3rem 1.5rem;
    }
    .category-hero-title { font-size: 2.2rem; }

    .wiki-body { padding: 0 1.5rem 3rem 1.5rem; }

    .footer-modern-container { flex-direction: column; gap: 2rem; }
    .footer-bottom-content { flex-direction: column; text-align: center; }

    .countdown-value { font-size: 1.8rem; }
    .countdown-timer { gap: 1rem; }

    .page-title { font-size: 1.8rem; }
    .promo-timeline { padding-left: 2rem; }

    .genre-pills-container { justify-content: center; }
    .related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .premium-grid { grid-template-columns: 1fr; }
    .hero-banner h1 { font-size: 2rem; }
    .step-card { flex-direction: column; text-align: center; }
    .step-number { margin: 0 auto; }
}

/* === AMAZON AFFILIATE STYLES === */
.amazon-btn {
    background: linear-gradient(135deg, #ff9900 0%, #e47911 100%) !important;
    color: #111111 !important;
    border: 1px solid #a65205 !important;
    box-shadow: 0 4px 10px rgba(228, 121, 17, 0.25) !important;
}

.amazon-btn:hover {
    background: linear-gradient(135deg, #ffac33 0%, #f38f13 100%) !important;
    box-shadow: 0 6px 15px rgba(228, 121, 17, 0.35) !important;
}

.amazon-buy-box {
    background: var(--bg-sidebar);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.amazon-buy-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 6px; height: 100%;
    background: #e47911;
}

.amazon-buy-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.amazon-buy-content {
    flex: 1;
}

.amazon-buy-content h3 {
    font-size: 1.3rem;
    margin: 0 0 0.5rem;
    color: var(--text-main);
    border-bottom: none;
    padding-bottom: 0;
}

.amazon-buy-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0 0 1.25rem;
    line-height: 1.5;
}

.amazon-buy-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ff9900 0%, #e47911 100%);
    color: #111111 !important;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid #a65205;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(228, 121, 17, 0.25);
}

.amazon-buy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(228, 121, 17, 0.35);
}

@media (max-width: 600px) {
    .amazon-buy-box {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
}

/* === ARTICLE HERO BANNER === */
.article-banner {
    margin: 0 auto 1.5rem;
    max-width: 650px;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
}

.promo-hero-banner {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.promo-hero-banner:hover {
    transform: scale(1.02);
}

/* === SEARCH PAGE STYLE === */
body.search-page .wiki-content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
}
.search-page-input {
    width: 100%;
    max-width: 600px;
    padding: 1rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 1.1rem;
    background: var(--bg-card);
    color: var(--text-main);
    font-family: var(--font-main);
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}
.search-page-input:focus {
    border-color: var(--brand-primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
    background: var(--bg-content);
}
.search-results {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}
.search-result-item {
    background: var(--bg-content);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.search-result-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: var(--brand-primary);
}
.search-result-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
}
.search-result-item h3 a {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 700;
}
.search-result-item h3 a:hover {
    text-decoration: underline;
}
.search-result-item .result-snippet {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}
.search-result-item mark {
    background: rgba(251, 191, 36, 0.25);
    color: inherit;
    padding: 0 2px;
    border-radius: 2px;
    font-weight: 600;
}

/* === INSTITUTIONAL WIKI CONTENT === */
.wiki-content {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-main);
}
.wiki-content p {
    margin-bottom: 1.5rem;
}
.wiki-content h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 2.5rem 0 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-main);
}
.wiki-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--text-main);
}
.wiki-content ul, .wiki-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.8rem;
}
.wiki-content li {
    margin-bottom: 0.6rem;
    line-height: 1.6;
}
.wiki-content blockquote.regulatory-note {
    border-left: 4px solid var(--brand-primary) !important;
    padding: 1.2rem 1.5rem !important;
    background: var(--bg-sidebar) !important;
    margin: 2.5rem 0 !important;
    border-radius: 0 8px 8px 0 !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    color: var(--text-main) !important;
}

/* Contact Page Styles */
.contact-container {
    box-shadow: var(--shadow);
}
.contact-container input, .contact-container textarea {
    font-family: var(--font-main);
    transition: all 0.2s ease;
}
.contact-container input:focus, .contact-container textarea:focus {
    border-color: var(--brand-primary) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    background: var(--bg-content) !important;
    outline: none;
}

/* Hub Pages (Categorias, Marcas, Calendários) */
.hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0 4rem 0;
}

.hub-card {
    background: var(--bg-sidebar);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.hub-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-primary), var(--accent-orange, #f59e0b));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hub-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--brand-primary);
    background: var(--bg-content);
}

.hub-card:hover::before {
    opacity: 1;
}

.hub-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.hub-card:hover .hub-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.hub-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: var(--text-main);
}

.hub-card-desc {
    font-size: 0.925rem;
    line-height: 1.5;
    color: var(--text-muted);
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
}

.hub-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    margin-top: auto;
}

.hub-card-count {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-primary);
    background: var(--bg-content);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.hub-card-arrow {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-muted);
    transition: transform 0.3s ease;
    display: inline-block;
}

.hub-card:hover .hub-card-arrow {
    color: var(--brand-primary);
    transform: translateX(5px);
}

