/*
Theme Name: HRL Classifieds
Theme URI: https://mysticbazaar.store
Author: Helcio Ramos de Lima
Author URI: https://astrallens.art
Description: Tema místico e esotérico para classificados globais. Leve, responsivo e multilíngue.
Version: 1.0.0
License: GPL v2 or later
Text Domain: hrlclassifieds
Domain Path: /languages
*/

/* ========================================
   VARIÁVEIS DE CORES
   ======================================== */
:root {
    --primary-purple: #5B3E86;
    --primary-purple-dark: #4A2E6E;
    --gold: #D4AF37;
    --gold-light: #E8C84A;
    --night-blue: #1C2541;
    --night-blue-light: #2A3A5A;
    --bg-light: #F8F6F0;
    --text-dark: #2D2A32;
    --text-light: #FFFFFF;
    --border-color: #E5E0D8;
    --shadow: 0 4px 20px rgba(91, 62, 134, 0.15);
    --radius: 12px;
    --transition: all 0.3s ease;
}

/* ========================================
   RESET E BASE
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    padding-top: 0;
}

a {
    color: var(--primary-purple);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: var(--gold);
}

img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   CONTAINER RESPONSIVO
   ======================================== */
.container {
    width: 100%;
    max-width: 100%;
    padding: 0 12px;
    margin: 0 auto;
}
@media (min-width: 600px) {
    .container {
        padding: 0 20px;
    }
}
@media (min-width: 1024px) {
    .container {
        max-width: 1280px;
        padding: 0 30px;
    }
}

/* ========================================
   HEADER - MOBILE FIRST (CORRIGIDO)
   ======================================== */
.site-header {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--night-blue) 100%);
    color: var(--text-light);
    padding: 6px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    position: relative; /* não fixo em mobile */
    z-index: 999;
    width: 100%;
}

/* Em tablets e desktop o header fica sticky */
@media (min-width: 769px) {
    .site-header {
        position: sticky;
        top: 0;
        padding: 10px 0;
    }
}

.header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 10px;
    padding: 0 12px;
}

/* Logo */
.site-logo {
    flex: 0 0 auto;
    max-width: 45%;
    display: flex;
    align-items: center;
}
.site-logo img {
    max-height: 36px;
    width: auto;
}
.site-logo .site-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: var(--text-light);
}
.site-logo .site-title a {
    color: var(--text-light);
    text-decoration: none;
}
@media (min-width: 480px) {
    .site-logo img {
        max-height: 40px;
    }
    .site-logo .site-title {
        font-size: 18px;
    }
}
@media (min-width: 769px) {
    .site-logo img {
        max-height: 50px;
    }
    .site-logo .site-title {
        font-size: 22px;
    }
}

/* Ações do header */
.header-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
    justify-content: flex-end;
}
.btn-post-ad,
.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    transition: 0.2s;
}
.btn-post-ad {
    background: var(--gold);
    color: var(--night-blue);
}
.btn-post-ad:hover {
    background: var(--gold-light);
    transform: scale(1.02);
}
.btn-login {
    background: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255,255,255,0.25);
}
.btn-login:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--gold);
    color: var(--gold);
}
/* Em mobile, esconder texto dos botões */
.btn-text {
    display: none;
}
.btn-icon {
    font-size: 16px;
    line-height: 1;
}
@media (min-width: 480px) {
    .btn-text {
        display: inline;
    }
    .btn-post-ad,
    .btn-login {
        padding: 6px 14px;
        font-size: 12px;
    }
}
@media (min-width: 769px) {
    .btn-post-ad,
    .btn-login {
        padding: 8px 20px;
        font-size: 14px;
    }
}

/* Promoção - esconder em mobile */
.header-promo {
    display: none;
    flex: 1;
    text-align: center;
    padding: 0 8px;
}
@media (min-width: 769px) {
    .header-promo {
        display: block;
        order: 2;
    }
    .promo-text {
        font-size: 14px;
        background: rgba(212,175,55,0.15);
        padding: 4px 16px;
        border-radius: 30px;
        display: inline-block;
        border: 1px solid rgba(212,175,55,0.2);
        animation: glow 2s ease-in-out infinite alternate;
    }
}

/* Patrocinador - esconder em mobile */
.header-sponsor {
    display: none;
}
@media (min-width: 769px) {
    .header-sponsor {
        display: block;
        background: rgba(28,37,65,0.9);
        padding: 4px 0;
        text-align: center;
        font-size: 12px;
        border-top: 1px solid rgba(212,175,55,0.15);
    }
    .header-sponsor p {
        margin: 0;
        color: rgba(255,255,255,0.7);
    }
    .header-sponsor a {
        color: var(--gold);
        font-weight: 600;
    }
}

/* Banner topo - esconder em mobile */
.header-banner {
    display: none;
}
@media (min-width: 769px) {
    .header-banner {
        display: block;
        background: rgba(28,37,65,0.4);
        padding: 6px 0;
        text-align: center;
        border-top: 1px solid rgba(212,175,55,0.08);
    }
}

@keyframes glow {
    0% { box-shadow: 0 0 5px rgba(212,175,55,0.2); }
    100% { box-shadow: 0 0 20px rgba(212,175,55,0.4); }
}

/* ========================================
   LAYOUT PRINCIPAL (HOME COM SIDEBARS)
   ======================================== */
.site-content {
    padding: 20px 0;
}
@media (min-width: 769px) {
    .site-content {
        padding: 30px 0;
    }
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
@media (min-width: 769px) {
    .content-wrapper {
        flex-direction: row;
        gap: 30px;
        align-items: flex-start;
    }
}

/* Sidebars */
.sidebar-left,
.sidebar-right {
    width: 100%;
    background: var(--text-light);
    border-radius: var(--radius);
    padding: 15px;
    box-shadow: var(--shadow);
    position: static;
}
@media (min-width: 769px) {
    .sidebar-left {
        flex: 0 0 220px;
        position: sticky;
        top: 110px;
        order: 1;
    }
    .sidebar-right {
        flex: 0 0 240px;
        position: sticky;
        top: 110px;
        order: 3;
    }
}

.content-main {
    width: 100%;
    order: 1;
}
@media (min-width: 769px) {
    .content-main {
        flex: 1;
        order: 2;
    }
}

/* ========================================
   WIDGETS E SIDEBARS
   ======================================== */
.widget-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
    display: flex;
    align-items: center;
    gap: 8px;
}

.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.categories-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.categories-list li:last-child {
    border-bottom: none;
}
.categories-list a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
}
.categories-list a:hover {
    color: var(--primary-purple);
}
.categories-list .count {
    background: var(--primary-purple);
    color: var(--text-light);
    font-size: 11px;
    padding: 2px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.top-searched {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--border-color);
}
.top-searched .tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.top-searched .tag-cloud a {
    background: var(--bg-light);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-dark);
    transition: var(--transition);
}
.top-searched .tag-cloud a:hover {
    background: var(--primary-purple);
    color: var(--text-light);
}

.top-countries {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--border-color);
}
.top-countries ul {
    list-style: none;
    padding: 0;
}
.top-countries ul li {
    padding: 4px 0;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
}
.top-countries ul li .flag {
    margin-right: 8px;
}

.sidebar-right .btn-post-ad {
    width: 100%;
    justify-content: center;
    margin-bottom: 20px;
}

.search-box {
    margin-bottom: 20px;
}
.search-box input[type="search"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 14px;
    transition: var(--transition);
    background: var(--bg-light);
}
.search-box input[type="search"]:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(91, 62, 134, 0.1);
}
.search-box .btn-search {
    width: 100%;
    margin-top: 8px;
    background: var(--primary-purple);
    color: var(--text-light);
    border: none;
    padding: 10px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}
.search-box .btn-search:hover {
    background: var(--primary-purple-dark);
}

.sidebar-banner {
    margin-top: 15px;
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 10px;
    text-align: center;
    border: 1px dashed var(--border-color);
}

/* ========================================
   HOME SEARCH
   ======================================== */
.home-search {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--night-blue) 100%);
    padding: 20px 15px;
    border-radius: var(--radius);
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}
@media (min-width: 600px) {
    .home-search {
        padding: 30px 25px;
    }
}
@media (min-width: 769px) {
    .home-search {
        padding: 40px 30px;
    }
}

.search-fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
@media (min-width: 600px) {
    .search-fields {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }
}

.search-field {
    flex: 1 1 100%;
    min-width: 0;
}
@media (min-width: 600px) {
    .search-field {
        flex: 1 1 160px;
        min-width: 140px;
    }
    .search-field.search-term {
        flex: 2 1 220px;
    }
    .search-field.search-submit {
        flex: 0 0 auto;
    }
}

.search-field select,
.search-field input[type="search"] {
    width: 100%;
    padding: 10px 14px;
    border: none;
    border-radius: 50px;
    background: rgba(255,255,255,0.95);
    font-size: 14px;
    transition: var(--transition);
    color: var(--text-dark);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.search-field select:focus,
.search-field input[type="search"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--gold);
}
.search-submit button {
    width: 100%;
    padding: 10px 20px;
    background: var(--gold);
    color: var(--night-blue);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.search-submit button:hover {
    background: var(--gold-light);
    transform: scale(1.02);
}

/* ========================================
   CARROSSÉIS E LISTAS
   ======================================== */
.section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
@media (min-width: 769px) {
    .section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
}

.home-featured,
.home-premium,
.home-new-ads {
    margin-bottom: 30px;
}
@media (min-width: 769px) {
    .home-featured,
    .home-premium,
    .home-new-ads {
        margin-bottom: 40px;
    }
}

.featured-carousel-wrapper,
.premium-carousel-wrapper,
.new-ads-carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0 30px;
}
@media (min-width: 600px) {
    .featured-carousel-wrapper,
    .premium-carousel-wrapper,
    .new-ads-carousel-wrapper {
        padding: 0 35px;
    }
}
@media (min-width: 769px) {
    .featured-carousel-wrapper,
    .premium-carousel-wrapper,
    .new-ads-carousel-wrapper {
        padding: 0 40px;
    }
}

.carousel-track-container {
    overflow: hidden;
    border-radius: 12px;
}
.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 15px;
    padding: 10px 0;
}
@media (min-width: 600px) {
    .carousel-track {
        gap: 20px;
    }
}

.featured-card,
.premium-card,
.new-ad-card {
    flex: 0 0 calc(100% - 10px);
    min-width: 0;
    border-radius: 14px;
    padding: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
@media (min-width: 500px) {
    .featured-card,
    .premium-card,
    .new-ad-card {
        flex: 0 0 calc(50% - 10px);
    }
}
@media (min-width: 769px) {
    .featured-card,
    .premium-card,
    .new-ad-card {
        flex: 0 0 calc(33.333% - 15px);
    }
}
@media (min-width: 1024px) {
    .featured-card,
    .premium-card,
    .new-ad-card {
        flex: 0 0 calc(25% - 15px);
    }
}
.featured-card {
    background: linear-gradient(145deg, var(--primary-purple) 0%, #3D2A5E 100%);
    color: #fff;
}
.premium-card {
    background: linear-gradient(145deg, var(--gold) 0%, #B8932E 100%);
    color: var(--night-blue);
}
.new-ad-card {
    background: linear-gradient(145deg, var(--night-blue) 0%, #2A3A5A 100%);
    color: #fff;
}
.featured-card:hover,
.premium-card:hover,
.new-ad-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.card-link {
    display: block;
    padding: 15px 16px 18px;
    text-decoration: none;
    color: inherit;
    height: 100%;
}
@media (min-width: 769px) {
    .card-link {
        padding: 18px 20px 22px;
    }
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-size: 12px;
}
@media (min-width: 600px) {
    .card-header {
        font-size: 13px;
    }
}
.card-author {
    font-weight: 600;
    opacity: 0.85;
}
.card-time {
    opacity: 0.7;
    font-size: 11px;
}
@media (min-width: 600px) {
    .card-time {
        font-size: 12px;
    }
}
.card-badge {
    background: rgba(255,255,255,0.2);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.premium-badge {
    background: rgba(28,37,65,0.15);
    color: var(--night-blue);
}
.card-title {
    font-size: 15px;
    font-weight: 600;
    margin: 4px 0 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.4em;
}
@media (min-width: 600px) {
    .card-title {
        font-size: 16px;
    }
}
@media (min-width: 769px) {
    .card-title {
        font-size: 17px;
    }
}
.featured-card .card-title,
.new-ad-card .card-title {
    color: #fff;
}
.premium-card .card-title {
    color: var(--night-blue);
}
.card-price {
    font-weight: 700;
    font-size: 17px;
    margin: 4px 0 6px;
}
@media (min-width: 600px) {
    .card-price {
        font-size: 18px;
    }
}
@media (min-width: 769px) {
    .card-price {
        font-size: 20px;
    }
}
.featured-card .card-price,
.new-ad-card .card-price {
    color: var(--gold);
}
.premium-card .card-price {
    color: var(--night-blue);
}
.card-meta {
    font-size: 12px;
    opacity: 0.9;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    margin-top: 4px;
}
@media (min-width: 600px) {
    .card-meta {
        font-size: 13px;
        gap: 6px 12px;
    }
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}
@media (min-width: 600px) {
    .carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 22px;
    }
}
@media (min-width: 769px) {
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 26px;
    }
}
.carousel-btn:hover {
    background: rgba(0,0,0,0.8);
}
.carousel-prev,
.premium-prev,
.new-ads-prev {
    left: 0;
}
.carousel-next,
.premium-next,
.new-ads-next {
    right: 0;
}

/* Lista infinita */
.infinite-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
@media (min-width: 600px) {
    .infinite-list {
        gap: 15px;
    }
}
.list-item {
    background: #fff;
    padding: 14px 16px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    border-left: 4px solid var(--gold);
    transition: all 0.3s ease;
}
@media (min-width: 600px) {
    .list-item {
        padding: 16px 22px;
    }
}
.list-item:hover {
    border-left-color: var(--primary-purple);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
    flex-wrap: wrap;
    gap: 4px;
}
@media (min-width: 600px) {
    .list-header {
        font-size: 13px;
    }
}
.list-author {
    font-weight: 600;
    color: var(--primary-purple);
}
.list-plan {
    background: #f0f0f0;
    padding: 2px 12px;
    border-radius: 12px;
    font-size: 11px;
    color: #555;
}
.list-title {
    font-size: 16px;
    margin: 2px 0 6px;
}
@media (min-width: 600px) {
    .list-title {
        font-size: 17px;
    }
}
@media (min-width: 769px) {
    .list-title {
        font-size: 18px;
    }
}
.list-title a {
    color: var(--text-dark);
    text-decoration: none;
}
.list-title a:hover {
    color: var(--primary-purple);
}
.list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 13px;
    color: #666;
    margin: 4px 0;
}
@media (min-width: 600px) {
    .list-meta {
        font-size: 14px;
        gap: 12px 20px;
    }
}
.list-price {
    font-weight: 700;
    color: var(--primary-purple);
}
.list-excerpt {
    margin-top: 6px;
    color: #555;
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (min-width: 600px) {
    .list-excerpt {
        font-size: 14px;
    }
}

/* Loading */
.infinite-loader {
    text-align: center;
    padding: 20px;
}
.spinner {
    display: inline-block;
    width: 32px;
    height: 32px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-purple);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.infinite-end {
    text-align: center;
    padding: 15px;
    color: #999;
    font-style: italic;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: var(--night-blue);
    color: var(--text-light);
    padding: 30px 0 15px;
    margin-top: 30px;
}
@media (min-width: 769px) {
    .site-footer {
        padding: 40px 0 20px;
        margin-top: 40px;
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
@media (min-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
}
@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
        gap: 30px;
    }
}

.footer-column h4 {
    color: var(--gold);
    font-size: 15px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
@media (min-width: 769px) {
    .footer-column h4 {
        font-size: 16px;
        margin-bottom: 15px;
    }
}
.footer-column ul {
    list-style: none;
    padding: 0;
}
.footer-column ul li {
    padding: 4px 0;
}
@media (min-width: 769px) {
    .footer-column ul li {
        padding: 5px 0;
    }
}
.footer-column ul li a {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    transition: var(--transition);
}
@media (min-width: 769px) {
    .footer-column ul li a {
        font-size: 14px;
    }
}
.footer-column ul li a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-stats .stat-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 13px;
}
@media (min-width: 769px) {
    .footer-stats .stat-item {
        font-size: 14px;
        padding: 6px 0;
    }
}
.footer-stats .stat-item .stat-number {
    color: var(--gold);
    font-weight: 700;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    text-align: center;
}
@media (min-width: 600px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        font-size: 13px;
    }
}
.footer-bottom .footer-lang-switcher select {
    background: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}
@media (min-width: 600px) {
    .footer-bottom .footer-lang-switcher select {
        padding: 5px 10px;
        font-size: 13px;
    }
}
.footer-bottom .footer-lang-switcher select option {
    color: var(--text-dark);
}

/* ========================================
   RESPONSIVIDADE GLOBAL
   ======================================== */
/* Ajustes adicionais para telas muito pequenas */
@media (max-width: 480px) {
    .btn-post-ad,
    .btn-login {
        padding: 3px 8px;
        font-size: 10px;
    }
    .btn-icon {
        font-size: 14px;
    }
    .card-title {
        font-size: 14px;
    }
    .card-price {
        font-size: 15px;
    }
    .list-title {
        font-size: 15px;
    }
    .section-title {
        font-size: 18px;
    }
    .container {
        padding: 0 8px;
    }
}

/* Correção de overflow em todos os elementos */
* {
    max-width: 100%;
}

img,
svg,
video,
iframe {
    max-width: 100%;
    height: auto;
}

/* ========================================
   UTILITÁRIOS
   ======================================== */
.text-center {
    text-align: center;
}
.mt-20 {
    margin-top: 20px;
}
.mb-20 {
    margin-bottom: 20px;
}

/* ========================================
   BOTÕES DO HEADER - CORRIGIDOS
   ======================================== */
.btn-post-ad,
.btn-login,
.btn-blog {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    line-height: 1.4;
}

/* Botão Post Ad (dourado) */
.btn-post-ad {
    background: var(--gold);
    color: var(--night-blue);
}
.btn-post-ad:hover {
    background: var(--gold-light);
    transform: scale(1.04);
    box-shadow: 0 2px 12px rgba(212, 175, 55, 0.4);
}

/* Botão BLOG (elegante: fundo transparente com borda dourada e texto dourado) */
.btn-blog {
    background: transparent;
    color: var(--gold);
    border: 1.5px solid var(--gold);
}
.btn-blog:hover {
    background: var(--gold);
    color: var(--night-blue);
    transform: scale(1.04);
    box-shadow: 0 2px 12px rgba(212, 175, 55, 0.3);
}

/* Botão Login/Dashboard (fundo transparente, borda branca) */
.btn-login {
    background: transparent;
    color: var(--text-light);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}
.btn-login:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold);
    color: var(--gold);
}

/* ========================================
   BOTÃO RENEW - CORRIGIDO E MELHORADO
   ======================================== */
.btn-renew {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gold);
    color: var(--night-blue);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    line-height: 1.4;
    white-space: nowrap;
}
.btn-renew:hover {
    background: var(--gold-light);
    color: var(--night-blue);
    transform: scale(1.04);
    box-shadow: 0 2px 12px rgba(212, 175, 55, 0.4);
}

/* Em dispositivos móveis, ajustar tamanho */
@media (max-width: 480px) {
    .btn-renew {
        padding: 4px 12px;
        font-size: 11px;
        gap: 4px;
    }
}

/* Dentro da tabela do dashboard, manter compacto */
.dashboard-ads .btn-renew {
    padding: 4px 12px;
    font-size: 12px;
}
/* Ícones - todos brancos para contraste */
.btn-icon {
    font-size: 18px;
    line-height: 1;
    color: #fff; /* branco puro */
}
.btn-post-ad .btn-icon {
    color: var(--night-blue); /* para o Post Ad, ícone escuro para contraste com fundo dourado */
}
.btn-blog .btn-icon {
    color: var(--gold); /* ícone dourado para combinar com o texto */
}
.btn-login .btn-icon {
    color: #fff; /* branco para contraste com fundo escuro */
}

/* Em mobile, esconder texto, manter ícones */
.btn-text {
    display: none;
}
@media (min-width: 480px) {
    .btn-text {
        display: inline;
    }
    .btn-post-ad,
    .btn-login,
    .btn-blog {
        padding: 6px 14px;
        font-size: 12px;
    }
}
@media (min-width: 769px) {
    .btn-post-ad,
    .btn-login,
    .btn-blog {
        padding: 8px 22px;
        font-size: 14px;
    }
}