/* ═══════════════════════════════════════════
   ROHDEN.MARKETING — style.css
   Complementa o Tailwind com classes globais
═══════════════════════════════════════════ */

body {
    background-color: #020617;
    color: #e2e8f0;
    overflow-x: hidden;
}

/* ── Navbar glass ── */
.glass-effect {
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ── Cards ── */
.glass-card {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.8) 100%);
    border: 1px solid rgba(148, 163, 184, 0.08);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}
.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 10px 40px -10px rgba(37, 99, 235, 0.2);
}

/* ── Grid de fundo ── */
.bg-grid {
    background-size: 50px 50px;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    mask-image: linear-gradient(to bottom, transparent 0%, black 30%, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 30%, black 80%, transparent 100%);
}

/* ── Modal disponibilidade ── */
#availability-modal {
    transition: opacity 0.3s ease-in-out;
}
#availability-modal.hidden {
    opacity: 0;
    pointer-events: none;
}
#availability-modal:not(.hidden) {
    opacity: 1;
    pointer-events: auto;
}

/* ── Loader ── */
.loader {
    border: 3px solid rgba(255, 255, 255, 0.08);
    border-left-color: #3b82f6;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 0.9s linear infinite;
}
@keyframes spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ── Botão com shimmer no hover ── */
.btn-pulse {
    position: relative;
    overflow: hidden;
}
.btn-pulse::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.5s ease;
}
.btn-pulse:hover::after {
    left: 100%;
}

/* ── Reveal ao scroll ── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: none;
}

/* ── Glow card ── */
.glow-card {
    position: relative;
    transition: all 0.3s ease;
}
.glow-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(59,130,246,0), rgba(59,130,246,0.35), rgba(59,130,246,0));
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
    pointer-events: none;
}
.glow-card:hover::before { opacity: 1; }
.glow-card > * { position: relative; z-index: 1; }

/* ── Texto com brilho ── */
.text-glow {
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
}

/* ── Animação de entrada ── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up {
    animation: fadeInUp 0.75s ease-out forwards;
    opacity: 0;
}

/* ── Glass modal WhatsApp ── */
.glass-modal {
    background: rgba(15, 23, 42, 0.97);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

/* ── Paginação ── */
.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
    text-decoration: none;
    margin: 0 3px;
}
.page-numbers:hover,
.page-numbers.current {
    border-color: #3b82f6;
    color: #3b82f6;
}
.page-numbers.prev,
.page-numbers.next {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
}
.page-numbers.prev:hover,
.page-numbers.next:hover {
    background: #2563eb;
}

/* ── Reading progress bar ── */
#reading-progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    z-index: 9999;
    width: 0%;
    transition: width 0.1s linear;
}

/* ── Responsivo: esconde ticker em mobile ── */
@media (max-width: 767px) {
    .ticker-wrap { display: none; }
}