/* ═══════════════════════════════════════════════════════════════════════════
   Metelogo.com — Design System (TGNHOST)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── RESET ──────────────────────────────────────────────────────────────── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #15121c;
    color: #f5f5f5;
    padding-top: 60px;
}

/* ── HEADER ─────────────────────────────────────────────────────────────── */
.main-header {
    height: 60px;
    background: rgba(16, 13, 22, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 2px solid #a855f7;
}

.header-container {
    max-width: 100%;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    gap: 15px;
}

.logo-area {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-area a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-svg {
    height: 42px;
    width: auto;
}

/* Header search */
.header-search {
    flex: 1;
    max-width: 400px;
    margin: 0 auto;
}

.header-search input {
    width: 100%;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #332b42;
    border-radius: 20px;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.header-search input::placeholder {
    color: #8f8699;
}

.header-search input:focus {
    border-color: #a855f7;
}

/* Header actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.btn-new-ad {
    background-color: #ffcc00;
    color: #100d16;
    border: none;
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.btn-new-ad:hover {
    background-color: #e6b800;
}

.header-pontos-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 204, 0, 0.12);
    border: 1px solid #ffcc00;
    color: #ffcc00;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.login-btn {
    color: #fff;
    text-decoration: none;
    padding: 7px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    border: 1px solid #a855f7;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: background 0.2s;
}

.login-btn:hover {
    background: rgba(168, 85, 247, 0.12);
}

.login-btn.profile-active {
    border-color: #ffcc00;
}

.nav-link--logout {
    color: #999;
}
.nav-link--logout:hover {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.08);
}

.avatar-thumb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #332b42;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #9a93ab;
    overflow: hidden;
}

.avatar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Header navigation */
.header-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-link {
    color: #9a93ab;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 16px;
    border-radius: 6px;
    transition: all 0.2s;
    white-space: nowrap;
}

.nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* Mobile hamburger */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 35px;
    height: 35px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
    flex-shrink: 0;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: 0.3s;
}

/* ── MAIN LAYOUT ────────────────────────────────────────────────────────── */
.main-layout {
    display: flex;
    max-width: 100%;
    margin: 20px auto;
    padding: 0 20px;
    gap: 20px;
}

.sidebar {
    width: 230px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.container, .main-content {
    flex-grow: 1;
    min-width: 0;
}

/* ── PROMO BANNER ────────────────────────────────────────────────────────── */
.promo-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #1e1929 0%, #251f33 100%);
    border: 1px solid #ffcc00;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 18px;
    position: relative;
    animation: promoBannerIn 0.5s ease;
}
@keyframes promoBannerIn {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}
.promo-banner-icon {
    font-size: 36px;
    flex-shrink: 0;
    animation: promoPulse 2s ease-in-out infinite;
}
@keyframes promoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}
.promo-banner-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.promo-banner-text strong {
    color: #ffcc00;
    font-size: 15px;
    font-weight: 700;
}
.promo-banner-text span {
    color: #b0a9c2;
    font-size: 13px;
    line-height: 1.45;
}
.promo-banner-text em {
    color: #a855f7;
    font-weight: 700;
    font-style: normal;
}
.promo-banner-cta {
    flex-shrink: 0;
    background: #a855f7;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
}
.promo-banner-cta:hover { background: #9333ea; }
.promo-banner-close {
    position: absolute;
    top: 8px;
    right: 10px;
    background: none;
    border: none;
    color: #8f8699;
    font-size: 18px;
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
    transition: color 0.2s;
}
.promo-banner-close:hover { color: #a855f7; }

/* Mobile */
@media (max-width: 768px) {
    .promo-banner {
        flex-wrap: wrap;
        padding: 14px 16px;
        gap: 10px;
    }
    .promo-banner-icon { font-size: 28px; }
    .promo-banner-text strong { font-size: 14px; }
    .promo-banner-text span { font-size: 12px; }
    .promo-banner-cta {
        width: 100%;
        text-align: center;
        padding: 12px;
    }
}

/* ── CHAT PROMO BAR (permanente, site-wide) ─────────────────────────────── */
.chat-promo-bar {
    background: linear-gradient(135deg, #15121c 0%, #241e30 30%, #1e1927 60%, #1d1825 100%);
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, transparent 0%, #ffcc00 20%, #a855f7 50%, #ffcc00 80%, transparent 100%) 1;
    display: flex;
    justify-content: center;
    padding: 0;
    position: relative;
    overflow: hidden;
}
.chat-promo-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,204,0,0.03) 40%, rgba(168, 85, 247,0.04) 60%, transparent 100%);
    animation: promoShimmer 4s ease-in-out infinite;
}
@keyframes promoShimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}
.chat-promo-bar-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    max-width: 1100px;
    width: 100%;
    position: relative;
    z-index: 1;
}
.chat-promo-bar-icon {
    font-size: 22px;
    flex-shrink: 0;
    animation: promoPulse 2s ease-in-out infinite;
}
@keyframes promoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}
.chat-promo-bar-dot {
    width: 8px;
    height: 8px;
    background: #2ecc71;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(46,204,113,0.5);
    animation: promoDotPulse 2s ease-in-out infinite;
}
@keyframes promoDotPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 6px rgba(46,204,113,0.4); }
    50% { opacity: 0.5; box-shadow: 0 0 12px rgba(46,204,113,0.7); }
}
.chat-promo-bar-text {
    flex: 1;
    color: #c6c0d6;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.chat-promo-bar-text strong {
    color: #ffcc00;
    font-weight: 700;
}
.chat-promo-bar-link {
    flex-shrink: 0;
    background: linear-gradient(135deg, #ffcc00 0%, #f0b800 100%);
    color: #100d16;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.2s ease;
    box-shadow: 0 2px 12px rgba(255,204,0,0.2);
}
.chat-promo-bar-link:hover {
    background: linear-gradient(135deg, #ffd633 0%, #ffcc00 100%);
    box-shadow: 0 3px 16px rgba(255,204,0,0.35);
    transform: translateY(-1px);
}
.chat-promo-bar-link:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .chat-promo-bar-inner {
        padding: 8px 12px;
        gap: 8px;
    }
    .chat-promo-bar-icon {
        font-size: 18px;
    }
    .chat-promo-bar-dot {
        width: 6px;
        height: 6px;
    }
    .chat-promo-bar-text {
        font-size: 12px;
    }
    .chat-promo-bar-link {
        padding: 6px 14px;
        font-size: 12px;
    }
}

/* ── SEARCH TITLE ───────────────────────────────────────────────────────── */
.search-title {
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 15px;
    text-align: left;
    border-left: 4px solid #a855f7;
    padding-left: 10px;
}

/* ── HERO INTRO ────────────────────────────────────────────────────────── */
.hero-intro {
    position: relative;
    background: linear-gradient(135deg, #1b1526 0%, #17121f 55%, #1e1a26 100%);
    border: 1px solid #332b42;
    border-radius: 14px;
    padding: 40px 32px 36px;
    margin-bottom: 20px;
    overflow: hidden;
}

.hero-intro::after {
    content: '';
    position: absolute;
    top: -120px;
    right: -100px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.22) 0%, rgba(168, 85, 247, 0) 70%);
    pointer-events: none;
}

.hero-intro__title {
    position: relative;
    font-size: 34px;
    line-height: 1.15;
    font-weight: 800;
    color: #fff;
    margin: 0 0 14px;
    letter-spacing: -0.8px;
    max-width: 620px;
}

.hero-intro__title em {
    font-style: italic;
    color: #f0abfc;
}

.hero-intro__desc {
    position: relative;
    font-size: 15px;
    line-height: 1.65;
    color: #9a93ab;
    margin: 0 0 26px;
    max-width: 560px;
}

.hero-intro__desc strong {
    color: #d6cfe7;
    font-weight: 600;
}

.hero-intro__actions {
    position: relative;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-intro__cta {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: #a855f7;
    transition: background 0.2s, transform 0.2s, border-color 0.2s;
}

.hero-intro__cta:hover {
    background: #9333ea;
    transform: translateY(-1px);
}

.hero-intro__cta--ghost {
    background: transparent;
    border: 1px solid #4a4059;
    color: #d6cfe7;
}

.hero-intro__cta--ghost:hover {
    background: #251f30;
    border-color: #a855f7;
}

/* ── FILTER BAR ─────────────────────────────────────────────────────────── */
.filter-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #191520, #1e1a26);
    padding: 18px;
    border-radius: 10px;
    border: 1px solid #332b42;
    align-items: center;
}

.filter-bar select {
    flex: 1;
    min-width: 140px;
    padding: 11px 14px;
    background: #131019;
    border: 1px solid #332b42;
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.filter-bar select:hover {
    border-color: #4a4059;
}

.filter-bar select:focus {
    outline: none;
    border-color: #a855f7;
    box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.15);
}

/* ── MULTI-SELECT DROPDOWN ──────────────────────────────────────────────── */
.multi-select {
    flex: 1;
    min-width: 160px;
    position: relative;
    user-select: none;
}

.multi-select-trigger {
    width: 100%;
    padding: 11px 14px;
    background: #131019;
    border: 1px solid #332b42;
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    white-space: nowrap;
    overflow: hidden;
}

.multi-select-trigger:hover {
    border-color: #4a4059;
}

.multi-select-trigger:focus {
    outline: none;
    border-color: #a855f7;
    box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.15);
}

.multi-select-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.multi-select-arrow {
    font-size: 10px;
    color: #8f8699;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.multi-select.open .multi-select-arrow {
    transform: rotate(180deg);
}

.multi-select-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #1e1a26;
    border: 1px solid #332b42;
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    max-height: 360px;
    overflow-y: auto;
    display: none;
}

.multi-select.open .multi-select-dropdown {
    display: block;
}

.multi-select-group {
    padding: 6px 0;
}

.multi-select-group + .multi-select-group {
    border-top: 1px solid #282232;
}

.multi-select-group-label {
    padding: 8px 14px 4px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #8f8699;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.multi-select-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    font-size: 0.88rem;
    color: #bbb;
    cursor: pointer;
    transition: background 0.15s;
}

.multi-select-option:hover {
    background: #251f30;
}

.multi-select-option input[type="checkbox"] {
    accent-color: #a855f7;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    cursor: pointer;
}

.multi-select-option:has(input:checked) {
    color: #fff;
    background: rgba(168, 85, 247, 0.08);
}

/* ── SIDEBAR CARDS ──────────────────────────────────────────────────────── */
.sidebar-card {
    background-color: #1e1a26;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #a855f7;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: opacity 0.5s ease-in-out;
    position: relative;
}

.sidebar-img {
    width: 100%;
    height: 150px;
    background-color: #251f30;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffcc00;
    font-size: 13px;
    font-weight: bold;
    border-bottom: 1px solid #332b42;
}

.sidebar-info {
    padding: 10px;
    text-align: center;
}

.sidebar-info h4 {
    font-size: 15px;
    color: #fff;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-info p {
    color: #9a93ab;
    font-size: 12px;
}

.sidebar-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 9px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 3px;
    text-transform: uppercase;
    z-index: 1;
}
.sidebar-badge--ouro { background: #ffd700; color: #100d16; }
.sidebar-badge--prata { background: #c0c0c0; color: #100d16; }
.sidebar-badge--bronze { background: #cd7f32; color: #fff; }

/* ── Sidebar & In-Grid Promo Cards ──────────────────────────────────────── */

.sidebar-promo-card {
  background: linear-gradient(135deg, rgba(255,204,0,0.08) 0%, rgba(168, 85, 247,0.06) 100%);
  border: 1px solid rgba(255,204,0,0.25); border-radius: 6px;
  padding: 12px; cursor: pointer; text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.sidebar-promo-card:hover { border-color: #ffcc00; box-shadow: 0 0 12px rgba(255,204,0,0.1); }
.sidebar-promo-emoji { font-size: 28px; margin-bottom: 6px; }
.sidebar-promo-title { font-size: 13px; font-weight: 700; color: #ffcc00; margin: 0 0 4px; }
.sidebar-promo-text { font-size: 11px; color: #aaa; line-height: 1.4; margin: 0; }

.promo-search-card {
  background: linear-gradient(135deg, rgba(255,204,0,0.06) 0%, rgba(168, 85, 247,0.04) 100%);
  border: 2px dashed rgba(255,204,0,0.3); border-radius: 8px;
  padding: 32px 20px; text-align: center; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
  min-height: 280px; justify-content: center;
}
.promo-search-card:hover { border-color: #ffcc00; box-shadow: 0 0 20px rgba(255,204,0,0.1); }
.promo-search-emoji { font-size: 42px; }
.promo-search-title { font-size: 18px; font-weight: 700; color: #ffcc00; margin: 0; }
.promo-search-text { font-size: 13px; color: #aaa; line-height: 1.5; margin: 0; max-width: 260px; }
.promo-search-text strong { color: #fff; }
.promo-search-btn {
  display: inline-block; padding: 10px 28px; background: #a855f7; color: #fff;
  border-radius: 6px; font-size: 14px; font-weight: 700; text-decoration: none;
  transition: background 0.2s;
}
.promo-search-btn:hover { background: #c084fc; }

@media (max-width: 768px) {
  .promo-search-card { min-height: 200px; padding: 24px 16px; }
  .promo-search-emoji { font-size: 32px; }
  .promo-search-title { font-size: 16px; }

  /* Hero intro — compact on mobile */
  .hero-intro { padding: 26px 18px 24px; border-radius: 12px; }
  .hero-intro__title { font-size: 24px; margin-bottom: 12px; }
  .hero-intro__desc { font-size: 13.5px; margin-bottom: 20px; }
  .hero-intro__actions { flex-direction: column; }
  .hero-intro__cta { text-align: center; padding: 12px 20px; }
}

/* ── BUTTONS ────────────────────────────────────────────────────────────── */
.btn {
    background-color: #a855f7;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
}

.btn:hover {
    background-color: #7e22ce;
}

.btn:disabled {
    background-color: #4a4059;
    color: #9a93ab;
    cursor: not-allowed;
}

.btn-premium {
    background-color: #ffcc00;
    color: #100d16;
}

.btn-premium:hover {
    background-color: #e6b800;
}

.btn-secondary {
    background-color: #4a4059;
    color: white;
}

.btn-secondary:hover {
    background-color: #3a3248;
}

/* ── BACK BUTTON ────────────────────────────────────────────────────────── */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #9a93ab;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 16px;
    background: #1e1a26;
    border: 1px solid #332b42;
    border-radius: 6px;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-back:hover {
    color: #fff;
    background: #251f30;
    border-color: #a855f7;
}

.btn-whats {
    background-color: #25d366;
    color: white;
}

.btn-whats:hover {
    background-color: #1ebd58;
}

.btn-whats:disabled {
    background-color: #4a4059;
    color: #9a93ab;
    cursor: not-allowed;
}

.btn-danger {
    background-color: #e74c3c;
    color: white;
}

.btn-danger:hover {
    background-color: #c0392b;
}

/* ── FORM ELEMENTS ──────────────────────────────────────────────────────── */
select, input, textarea {
    width: 100%;
    padding: 14px;
    background-color: #1e1a26;
    border: 1px solid #332b42;
    color: white;
    border-radius: 5px;
    font-size: 15px;
    cursor: pointer;
    display: block;
}

select:focus, input:focus, textarea:focus {
    outline: none;
    border-color: #a855f7;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #9a93ab;
}

.form-group small {
    color: #9a93ab;
    display: block;
    margin-top: 4px;
}

/* ── ADS GRID ───────────────────────────────────────────────────────────── */
.ads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.gp-card {
    display: block;
    background-color: #1e1a26;
    border-radius: 8px;
    border: 1px solid #332b42;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, border-color 0.2s;
    cursor: pointer;
}

.gp-card:hover {
    transform: translateY(-3px);
    border-color: #a855f7;
}

.gp-card--impulso-ouro {
    border-color: #7a6a20;
    box-shadow: 0 0 16px rgba(255, 215, 0, 0.12);
}
.gp-card--impulso-ouro:hover {
    border-color: #ffd700;
    box-shadow: 0 0 24px rgba(255, 215, 0, 0.25);
}
.gp-card--impulso-prata {
    border-color: #5c5568;
    box-shadow: 0 0 10px rgba(192, 192, 192, 0.08);
}
.gp-card--impulso-prata:hover {
    border-color: #c0c0c0;
    box-shadow: 0 0 18px rgba(192, 192, 192, 0.18);
}
.gp-card--impulso-bronze {
    border-color: #5a3d2b;
    box-shadow: 0 0 8px rgba(205, 127, 50, 0.08);
}
.gp-card--impulso-bronze:hover {
    border-color: #cd7f32;
    box-shadow: 0 0 14px rgba(205, 127, 50, 0.18);
}

.gp-card__vip {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.gp-card__vip--ouro {
    background: linear-gradient(135deg, #ffd700, #b8960f);
    color: #100d16;
}
.gp-card__vip--prata {
    background: linear-gradient(135deg, #c0c0c0, #8a8a8a);
    color: #100d16;
}
.gp-card__vip--bronze {
    background: linear-gradient(135deg, #cd7f32, #8b5a2b);
    color: #fff;
}

/* ── AD CARD COVER ──────────────────────────────────────────────────────── */
.gp-card__cover {
    width: 100%;
    height: 200px;
    background: #251f30;
    position: relative;
    overflow: hidden;
}

.gp-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gp-card__cover--placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #8f8699;
}

/* ── AD CARD BODY ───────────────────────────────────────────────────────── */
.gp-card__body {
    padding: 15px;
}

.gp-card__body h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gp-card__city {
    color: #9a93ab;
    font-size: 13px;
    margin-bottom: 4px;
}

/* ── AD CARD ACTIONS ────────────────────────────────────────────────────── */
.gp-card__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-top: 1px solid #251f30;
}

.ad-stat {
    color: #9a93ab;
    font-size: 13px;
}

.ad-stat--views {
    color: #8f8699;
}

/* ── FILTER ACTIONS ─────────────────────────────────────────────────────── */
.filter-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 15px;
}

.filter-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    font-size: 13px;
    border-radius: 6px;
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.25);
    color: #e88;
    transition: all 0.2s;
}

.filter-actions .btn:hover {
    background: rgba(231, 76, 60, 0.2);
    border-color: #e74c3c;
    color: #fff;
}

/* ── SKELETONS (carregamento) ───────────────────────────────────────────── */
/* Substituem o "Carregando anúncios...": o grid já nasce com a forma dos
   cards, então o layout não "pula" quando os dados chegam. */
.gp-card--skeleton {
    pointer-events: none;
    cursor: default;
}

.gp-card--skeleton:hover {
    transform: none;
    border-color: #332b42;
}

.gp-skel {
    display: block;
    position: relative;
    overflow: hidden;
    background: #251f30;
    border-radius: 4px;
}

.gp-skel::after {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.10), transparent);
    animation: gpShimmer 1.3s infinite;
}

@keyframes gpShimmer {
    100% { transform: translateX(100%); }
}

.gp-skel--cover {
    border-radius: 0;
    height: 200px; /* casa com .gp-card__cover */
}

.gp-skel--title {
    height: 14px;
    width: 80%;
    margin-bottom: 10px;
}

.gp-skel--text {
    height: 11px;
    width: 55%;
}

@media (prefers-reduced-motion: reduce) {
    .gp-skel::after { animation: none; }
}

/* Skeleton das sidebars (a borda violeta é do card real, não do placeholder). */
.sidebar-card--skeleton {
    pointer-events: none;
    border-color: #332b42;
}

.sidebar-card--skeleton .sidebar-img {
    border-radius: 0;
    display: block;
}

.sidebar-card--skeleton .sidebar-info .gp-skel {
    margin: 0 auto 8px;
}

.sidebar-card--skeleton .sidebar-info .gp-skel:last-child {
    margin-bottom: 0;
}

/* ── ESTADO VAZIO DO GRID ───────────────────────────────────────────────── */
.gp-empty {
    grid-column: 1 / -1; /* atravessa o grid inteiro */
    text-align: center;
    padding: 60px 20px;
    color: #8f8699;
}

.gp-empty__icon {
    font-size: 44px;
    margin-bottom: 12px;
}

.gp-empty__text {
    font-size: 15px;
    margin-bottom: 18px;
}

.gp-empty__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    font-size: 13px;
    border-radius: 6px;
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #d8b4fe;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.gp-empty__btn:hover {
    background: rgba(168, 85, 247, 0.22);
    border-color: #a855f7;
    color: #fff;
}

/* ── PAGINAÇÃO DO GRID ──────────────────────────────────────────────────── */
.btn-carregar-mais {
    /* fit-content + margin auto centralizam sem esticar a largura */
    display: block;
    width: fit-content;
    margin: 24px auto 0;
    padding: 11px 28px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #d8b4fe;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn-carregar-mais:hover {
    background: rgba(168, 85, 247, 0.2);
    border-color: #a855f7;
    color: #fff;
}

.btn-carregar-mais:disabled {
    opacity: 0.6;
    cursor: wait;
}

/* Sentinel invisível: alimenta o IntersectionObserver do "carregar mais". */
.ads-sentinel {
    height: 1px;
    width: 100%;
}

/* ── FOCO VISÍVEL (teclado) ─────────────────────────────────────────────── */
/* Sem isto não havia indicador algum ao navegar por Tab. */
:focus-visible {
    outline: 2px solid #a855f7;
    outline-offset: 2px;
}

/* ── MODAL SYSTEM ───────────────────────────────────────────────────────── */
/* Modal large variant (global ad modal) */
.modal-card--lg {
    max-width: 850px;
}

/* ── AD FORM GRID (Modal Global) ──────────────────────────────────────── */
.ad-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.ad-form-inputs {
    min-width: 0;
}

.ad-form-upload {
    min-width: 0;
}

.ad-form-upload > label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #9a93ab;
    font-size: 14px;
}

/* ── DROP ZONE ────────────────────────────────────────────────────────── */
.drop-zone {
    border: 2px dashed #332b42;
    border-radius: 8px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    background: #131019;
    margin-bottom: 10px;
}

.drop-zone:hover,
.drop-zone.drag-over {
    border-color: #a855f7;
    background: rgba(168, 85, 247, 0.05);
}

.drop-zone .upload-icon {
    font-size: 32px;
    color: #8f8699;
    display: block;
    margin-bottom: 8px;
}

.drop-zone p {
    color: #9a93ab;
    font-size: 14px;
    margin-bottom: 4px;
}

.drop-zone small {
    color: #8f8699;
    font-size: 11px;
}

/* ── FOTO PREVIEWS ────────────────────────────────────────────────────── */
.foto-previews {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-height: 250px;
    overflow-y: auto;
}

.foto-preview-item {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #332b42;
    flex-shrink: 0;
}

.foto-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.foto-preview-item .foto-remove {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    background: rgba(231, 76, 60, 0.9);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

.foto-preview-item .foto-remove:hover {
    background: #e74c3c;
}

/* ── FORM ACTIONS ─────────────────────────────────────────────────────── */
.ad-form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #332b42;
}

/* ── PROCESSING OVERLAY ────────────────────────────────────────────────── */
.processing-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(16, 13, 22, 0.92);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    z-index: 10;
    gap: 15px;
}

.processing-overlay p {
    color: #9a93ab;
    font-size: 14px;
}

/* Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #332b42;
    border-top-color: #a855f7;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ── MODAL SYSTEM ───────────────────────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-card {
    background: #1e1a26;
    padding: 30px;
    border-radius: 10px;
    position: relative;
    max-width: 600px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    border: 1px solid #332b42;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    animation: modalIn 0.25s ease;
}

@keyframes modalIn {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: #9a93ab;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: #a855f7;
}

.modal-card h2 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 20px;
    border-bottom: 2px solid #a855f7;
    padding-bottom: 10px;
}

.modal-card h3 {
    color: #a855f7;
    font-size: 14px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── CUSTOM CONFIRM MODAL ───────────────────────────────────────────────── */
.custom-confirm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalIn 0.25s ease;
}

.custom-confirm-card {
    background: #1e1a26;
    padding: 30px;
    border-radius: 10px;
    max-width: 420px;
    width: 90%;
    border: 1px solid #a855f7;
    text-align: center;
}

.custom-confirm-card h3 {
    color: #fff;
    margin-bottom: 10px;
}

.custom-confirm-card p {
    color: #9a93ab;
    margin-bottom: 20px;
    font-size: 14px;
}

.custom-confirm-card input {
    margin-bottom: 15px;
}

.custom-confirm-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* ── TOAST NOTIFICATIONS ────────────────────────────────────────────────── */
#toast-container {
    position: fixed;
    top: 70px;
    right: 20px;
    z-index: 5000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.toast {
    background: #1e1a26;
    color: #fff;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    border-left: 4px solid #a855f7;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    animation: toastIn 0.3s ease;
    max-width: 380px;
    pointer-events: auto;
}

.toast.success {
    border-left-color: #25d366;
}

.toast.error {
    border-left-color: #e74c3c;
}

.toast.fade-out {
    animation: toastOut 0.3s ease forwards;
}

@keyframes toastIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes toastOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

/* ── STATUS BAR ─────────────────────────────────────────────────────────── */
.status-bar {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    padding: 10px 20px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    z-index: 1500;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.status-bar.show {
    transform: translateY(0);
}

.status-bar.success {
    background: #1b5e20;
    color: #fff;
    border-bottom: 2px solid #25d366;
}

.status-bar.error {
    background: #5e1b1b;
    color: #fff;
    border-bottom: 2px solid #e74c3c;
}

/* ── SERVICE CATEGORIES ─────────────────────────────────────────────────── */
.service-category {
    background: #131019;
    border: 1px solid #332b42;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
}

.service-category h4 {
    color: #a855f7;
    font-size: 14px;
    margin-bottom: 10px;
    border-bottom: 1px solid #332b42;
    padding-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #a855f7;
}

.checkbox-item span {
    font-size: 14px;
    color: #f5f5f5;
}

/* ── TERMS OF USE ───────────────────────────────────────────────────────── */
.terms-box {
    background-color: #131019;
    border: 1px solid #332b42;
    color: #9a93ab;
    font-size: 12px;
    height: 120px;
    overflow-y: scroll;
    padding: 12px;
    border-radius: 5px;
    line-height: 1.5;
    margin-bottom: 12px;
}

.terms-box h5 {
    color: #fff;
    margin-bottom: 8px;
    font-size: 13px;
}

/* ── FOOTER ─────────────────────────────────────────────────────────────── */
.site-footer {
    background: #100d16;
    border-top: 1px solid #332b42;
    padding: 20px;
    text-align: center;
    margin-top: 30px;
}

.site-footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.site-footer .footer-links a {
    color: #9a93ab;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
}

.site-footer .footer-links a:hover {
    color: #a855f7;
}

.site-footer .footer-copy {
    color: #8f8699;
    font-size: 12px;
}

/* ── PAYMENT ────────────────────────────────────────────────────────────── */
.payment-box {
    background: #fff;
    color: #333;
    padding: 25px;
    border-radius: 8px;
    margin-top: 25px;
    display: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.panel-box {
    max-width: 500px;
    margin: 0 auto;
    background: #1e1a26;
    padding: 25px;
    border-radius: 6px;
    border: 1px solid #332b42;
}

.link-recuperar {
    display: block;
    text-align: right;
    color: #a855f7;
    font-size: 13px;
    text-decoration: none;
    margin-top: -10px;
    margin-bottom: 20px;
    cursor: pointer;
}

/* ── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .main-header {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        pointer-events: none;
    }

    /* re-enable pointer events on interactive header children */
    .main-header .mobile-menu-toggle,
    .main-header .header-actions,
    .main-header .header-actions *,
    .main-header .header-nav,
    .main-header .header-nav *,
    .main-header .logo-area,
    .main-header .logo-area *,
    .main-header.active,
    .main-header.active * {
        pointer-events: auto;
    }

    .header-search {
        display: none;
    }

    .header-nav {
        display: none;
    }

    .header-actions .btn-new-ad {
        display: none !important; /* overrides inline style from JS */
    }

    .header-pontos-badge {
        position: absolute;
        left: 48px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 11px;
        padding: 4px 9px;
        z-index: 1002;
    }

    /* FAB visible only on mobile */
    .fab-new-ad.visible {
        display: block;
    }

    .logo-area {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .logo-svg {
        height: 32px;
    }

    .login-btn {
        padding: 6px 10px;
        font-size: 12px;
    }

    .header-container {
        padding: 0 12px;
        position: relative;
    }

    .main-layout {
        padding: 0 8px;
        gap: 0;
    }

    .container {
        padding: 0;
    }

    .ads-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }

    .filter-bar {
        flex-direction: column;
        gap: 8px;
        padding: 12px;
    }

    .filter-bar select {
        width: 100%;
        min-width: auto;
    }

    .gp-card__cover {
        height: 150px;
    }

    .gp-card__body h4 {
        font-size: 14px;
    }

    .gp-card__city {
        font-size: 11px;
    }

    /* ── Age gate overlay — remove backdrop-filter on mobile (GPU compositing bug) ── */
    .age-gate-overlay {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(0, 0, 0, 0.92);
    }

    /* ── Mobile menu dropdown ── */
    .main-header.active .header-nav {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: rgba(16, 13, 22, 0.98);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        padding: 16px;
        gap: 4px;
        border-bottom: 2px solid #a855f7;
        z-index: 1001;
    }

    .main-header.active .header-nav .nav-link {
        padding: 14px 16px;
        border-radius: 6px;
        font-size: 15px;
    }

    /* Hamburger → X animation */
    .main-header.active .mobile-menu-toggle span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .main-header.active .mobile-menu-toggle span:nth-child(2) {
        opacity: 0;
    }
    .main-header.active .mobile-menu-toggle span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* ── Modal "Novo Anúncio" full-width ── */
    #modal-global-ad .modal-card {
        width: 100%;
        max-width: 100%;
        margin: 0;
        border-radius: 0;
        min-height: 100vh;
        padding: 16px;
    }

    .ad-form-grid {
        grid-template-columns: 1fr;
    }

    .drop-zone {
        padding: 24px 16px;
    }

    .foto-previews {
        gap: 8px;
    }

    /* ── Modal close sticky no mobile ── */
    #modal-global-ad .modal-close {
        position: sticky;
        top: 0;
        float: right;
        z-index: 10;
        background: #1e1a26;
        border-radius: 50%;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* ── Touch targets ── */
    .btn, .nav-link, .login-btn, .btn-action, .btn-new-ad,
    .age-gate-buttons button, .gp-card__actions button {
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    .ads-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .gp-card__cover {
        height: 130px;
    }

    .ad-info h3 {
        font-size: 15px;
    }

    .gp-card__body h4 {
        font-size: 12px;
    }

    /* ── Age Gate mobile ── */
    .age-gate-card {
        padding: 30px 20px;
        width: 95%;
    }

    .age-gate-card h2 {
        font-size: 1.1rem;
    }

    .age-gate-field input {
        padding: 12px;
        font-size: 16px;
    }

    .age-gate-buttons button {
        padding: 14px;
        font-size: 0.9rem;
    }

    /* ── Footer mobile ── */
    .site-footer .footer-links {
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }

    .footer-copy {
        font-size: 11px;
    }

    /* ── Toast mobile full-width ── */
    #toast-container {
        top: auto;
        left: 8px;
        right: 8px;
        bottom: 10px;
    }

    .toast {
        width: 100%;
    }

    /* ── Static pages ── */
    .static-page {
        padding: 20px 12px 40px;
        font-size: 13px;
    }

    .static-page h1 {
        font-size: 22px;
    }

    .static-page h2 {
        font-size: 16px;
    }

    /* ── Legal pages (termos, privacidade) ── */
    .legal-page {
        padding: 20px 12px 40px;
        font-size: 13px;
    }

    .legal-page h1 {
        font-size: 22px;
    }

    .legal-page h2 {
        font-size: 16px;
    }

    /* ── Filter bar full width ── */
    .filter-actions {
        flex-direction: column;
        gap: 8px;
    }

    .filter-actions .btn {
        width: 100%;
    }

    /* ── Modal general compact ── */
    .modal-card {
        padding: 18px;
        width: 95%;
    }
}

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

    .gp-card__cover {
        height: 200px;
    }

    .logo-svg {
        height: 26px;
    }

    .mobile-menu-toggle {
        width: 30px;
        height: 30px;
    }

    .mobile-menu-toggle span {
        width: 20px;
    }

    .header-pontos-badge {
        left: 40px;
        font-size: 10px;
        padding: 3px 7px;
    }
}

/* ── AGE GATE ─────────────────────────────────────────────────────────── */
.age-gate-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    align-items: safe center;
    justify-content: safe center;
    overflow-y: auto;
    padding: 20px 0;
}

.age-gate-card {
    background: #1e1a26;
    border: 1px solid #a855f7;
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    max-width: 440px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    margin: auto;
}

.age-gate-card .age-gate-logo {
    margin-bottom: 25px;
}

.age-gate-card h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.age-gate-card p {
    font-size: 0.9rem;
    color: #9a93ab;
    margin-bottom: 25px;
    line-height: 1.5;
}

.age-gate-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.age-gate-buttons button {
    padding: 14px 20px;
    border-radius: 8px;
    border: none;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: filter 0.2s;
}

.age-gate-buttons button:hover { filter: brightness(1.1); }

.age-gate-btn-yes {
    background: #25d366;
    color: #fff;
}

.age-gate-btn-no {
    background: transparent;
    color: #e74c3c;
    border: 1px solid #e74c3c !important;
}

.age-gate-fields {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 18px;
    text-align: left;
}

.age-gate-field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #9a93ab;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.age-gate-field input {
    width: 100%;
    padding: 12px 14px;
    background: #131019;
    border: 1px solid #332b42;
    border-radius: 6px;
    color: #ffffff;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.age-gate-field input:focus {
    outline: none;
    border-color: #a855f7;
}

.age-gate-field input.input-error {
    border-color: #e74c3c;
}

.age-gate-error {
    font-size: 0.82rem;
    color: #e74c3c;
    margin-bottom: 14px;
    padding: 8px 12px;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 4px;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

/* ── Preference Modal (pós-age gate) ────────────────────────────────────── */
.pref-modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 99998;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    align-items: safe center;
    justify-content: safe center;
    overflow-y: auto;
    padding: 20px 0;
}

.pref-modal-card {
    background: #1e1a26;
    border: 1px solid #a855f7;
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    max-width: 440px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    margin: auto;
}

.pref-modal-card .pref-modal-logo {
    margin-bottom: 20px;
}

.pref-modal-card h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.pref-modal-card p {
    font-size: 0.9rem;
    color: #9a93ab;
    margin-bottom: 25px;
    line-height: 1.5;
}

.pref-modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pref-modal-buttons button {
    padding: 14px 20px;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: filter 0.2s, transform 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pref-modal-buttons button:hover {
    filter: brightness(1.15);
    transform: scale(1.02);
}

.pref-modal-icon {
    font-size: 1.2rem;
}

.pref-modal-btn-mulher {
    background: #e91e63;
    color: #fff;
}

.pref-modal-btn-homem {
    background: #2563eb;
    color: #fff;
}

.pref-modal-btn-casais {
    background: #ffcc00;
    color: #100d16;
}

.pref-modal-btn-ambos {
    background: #6b21a8;
    color: #fff;
}

.pref-modal-skip {
    display: block;
    margin: 16px auto 0;
    background: transparent;
    color: #8f8699;
    border: none;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 8px 16px;
    text-decoration: underline;
}

.pref-modal-skip:hover {
    color: #9a93ab;
}

/* ── STATIC PAGE (Termos, Privacidade, Denúncia) ────────────────────────── */
.static-page {
    max-width: 780px;
    margin: 30px auto;
    padding: 30px 24px 50px;
    color: #bbb;
    font-size: 14px;
    line-height: 1.75;
}
.static-page h1 {
    color: #fff;
    font-size: 28px;
    margin: 0 0 8px;
}
.static-page h2 {
    color: #ffcc00;
    font-size: 18px;
    margin: 30px 0 10px;
}
.static-page p {
    margin: 0 0 14px;
}
.static-page ul, .static-page ol {
    margin: 0 0 16px 20px;
    padding: 0;
}
.static-page li {
    margin-bottom: 6px;
}
.static-page a {
    color: #a855f7;
}
.static-section {
    margin-bottom: 20px;
}

/* ── FAB: Novo Anúncio (floating action button) ────────────────────────── */
.fab-new-ad {
    display: none;
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #a855f7;
    color: #fff;
    border: none;
    box-shadow: 0 4px 16px rgba(168, 85, 247, 0.35);
    font-size: 28px;
    line-height: 56px;
    text-align: center;
    cursor: pointer;
    z-index: 1500;
    transition: transform 0.2s, box-shadow 0.2s;
    -webkit-tap-highlight-color: transparent;
}
.fab-new-ad:active {
    transform: scale(0.92);
}
.fab-new-ad:hover {
    box-shadow: 0 6px 24px rgba(168, 85, 247, 0.5);
}
