/*
 * DownRadar V2 - CSS base premium
 * Instale em: /public_html/downradar/assets/css/base.css
 */

:root {
    --dr-bg: #03070d;
    --dr-bg-2: #071526;
    --dr-card: rgba(9, 20, 34, .78);
    --dr-card-2: rgba(12, 31, 50, .72);
    --dr-line: rgba(92, 191, 255, .18);
    --dr-line-strong: rgba(44, 152, 255, .45);
    --dr-text: #f8fbff;
    --dr-muted: rgba(241, 247, 255, .66);
    --dr-muted-2: rgba(241, 247, 255, .48);
    --dr-blue: #1a8cff;
    --dr-cyan: #6ffcff;
    --dr-green: #34ff8d;
    --dr-green-2: #13c96e;
    --dr-youtube: #ff123e;
    --dr-radius: 28px;
    --dr-shadow: 0 32px 90px rgba(0, 0, 0, .46);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: var(--dr-text);
    background: var(--dr-bg);
    text-rendering: geometricPrecision;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

.dr-bg-grid {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        linear-gradient(rgba(111, 252, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(111, 252, 255, .035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(circle at 50% 10%, black 0%, transparent 70%);
}

.dr-brand,
.dr-mini-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-weight: 1000;
}
.dr-brand-text,
.dr-mini-brand strong {
    letter-spacing: -.045em;
    color: #fff;
}
.dr-brand-text span,
.dr-mini-brand strong span { color: var(--dr-green); }
.dr-brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    position: relative;
    background:
        radial-gradient(circle at 30% 22%, rgba(255,255,255,.72), transparent 19%),
        linear-gradient(135deg, var(--dr-blue), var(--dr-green));
    box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 0 32px rgba(26, 140, 255, .35);
}
.dr-brand-mark span,
.dr-brand-mark::before,
.dr-brand-mark::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 9px;
    border: 3px solid rgba(3, 7, 13, .92);
    border-radius: 999px;
    transform: rotate(-42deg);
}
.dr-brand-mark::before { margin-left: -9px; margin-top: 8px; }
.dr-brand-mark::after { margin-left: 9px; margin-top: -8px; }
.dr-brand-mark span { width: 14px; border-color: rgba(255,255,255,.92); opacity: .9; }

.dr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 13px 20px;
    border-radius: 999px;
    border: 0;
    font-weight: 1000;
    cursor: pointer;
    transition: transform .18s ease, filter .18s ease, border-color .18s ease, box-shadow .18s ease;
    white-space: nowrap;
}
.dr-btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.dr-btn-primary {
    background: linear-gradient(180deg, #5bff9d 0%, var(--dr-green) 42%, var(--dr-green-2) 100%);
    color: #021009;
    box-shadow: 0 20px 55px rgba(52, 255, 141, .26), inset 0 1px 0 rgba(255,255,255,.55);
}
.dr-btn-secondary {
    background: rgba(7, 19, 35, .68);
    color: #fff;
    border: 1px solid rgba(88, 171, 255, .36);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.09);
}
.dr-btn-youtube {
    background: linear-gradient(135deg, #ff0035, #ff586f);
    color: #fff;
    box-shadow: 0 18px 42px rgba(255, 18, 62, .24), inset 0 1px 0 rgba(255,255,255,.34);
}
.dr-btn-xl { min-height: 58px; padding: 16px 24px; }

.dr-ad {
    width: 100%;
    min-height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 24px 0;
    border-radius: 22px;
    overflow: hidden;
}
.dr-ad-placeholder {
    color: rgba(255,255,255,.54);
    background:
        linear-gradient(135deg, rgba(12,31,50,.82), rgba(7,16,30,.7));
    border: 1px dashed rgba(111,252,255,.26);
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.dr-hidden-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.dr-alert { padding: 14px 16px; border-radius: 18px; margin: 18px 0; font-weight: 900; }
.dr-alert-success { background: rgba(52,255,141,.12); color: #a4ffc9; border: 1px solid rgba(52,255,141,.30); }
.dr-alert-error { background: rgba(255,80,80,.12); color: #ffb6b6; border: 1px solid rgba(255,80,80,.30); }

@media (max-width: 720px) {
    .dr-btn { width: 100%; }
}
