﻿:root {
    --bg: #0d0d0d;
    --panel: #111;
    --text: #fff;
    --muted: #a7a7a7;
    --line: rgba(255,255,255,.10);
    --info: #00c3ff;
    --green: #7CFF00;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Segoe UI",sans-serif;
}

.site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.content {
    flex: 1;
    padding-top: 10px;
}

/* Topbar */
.topbar {
    position: sticky;
    top: 0;
    z-index: 1200;
    background: rgba(13,13,13,.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
}

.brand-logo {
    height: 34px;
    width: auto;
}

.brand-text {
    font-weight: 900;
    letter-spacing: .4px;
}

.topnav {
    display: flex;
    gap: 18px;
}

.toplink {
    text-decoration: none;
    color: var(--muted);
    font-weight: 700;
}

    .toplink:hover {
        color: var(--text);
    }

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-btn {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--text);
    border-radius: 10px;
    padding: 6px 10px;
}

/* Mobile Drawer */
.mobile-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 1250;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: min(320px, 86vw);
    background: var(--panel);
    z-index: 1260;
    border-left: 1px solid var(--line);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 10px;
}

.drawer-link {
    padding: 12px 10px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text);
    background: rgba(255,255,255,.04);
    font-size: 1.2rem;
}

    .drawer-link:hover {
        background: rgba(255,255,255,.08);
    }

/* Footer */
.footer {
    border-top: 1px solid var(--line);
    padding: 14px 0;
    background: rgba(255,255,255,.02);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.footer-links {
    display: flex;
    gap: 14px;
}

.footer-link {
    color: var(--muted);
    text-decoration: none;
}

    .footer-link:hover {
        color: var(--text);
    }



@keyframes blink {
    0%, 50% {
        opacity: 1;
    }

    51%, 100% {
        opacity: .2;
    }
}


@keyframes blink {
    0%,100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Feature cards */
.grid-3 {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, 1fr);
}

.feature-card {
    background: rgba(255,255,255,.03);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px;
}

.feature-icon {
    font-size: 1.4rem;
}

.feature-title {
    font-weight: 900;
    margin-top: 6px;
}

.feature-text {
    color: var(--muted);
    margin-top: 6px;
}

/* CTA block */
.cta-block {
    background: linear-gradient(180deg, rgba(0,195,255,.12), rgba(124,255,0,.06));
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px;
}

.cta-block-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.cta-title {
    margin: 0;
    font-weight: 900;
}

.cta-text {
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===== Nav user (Authorized) ===== */
.navuser {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255,255,255,.03);
    margin-bottom: 10px;
}

/* botão logout no drawer parecer link */
.btn-logout {
    text-align: left;
    width: 100%;
    border: 0;
    background: rgba(255,255,255,.04);
}

    .btn-logout:hover {
        background: rgba(255,255,255,.08);
    }
/* ====== APP LAYOUT ====== */
.app-shell {
    min-height: 100vh;
    background: #0b0f14;
}

.app-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10, 14, 20, .85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.app-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo {
    height: 52px;
    width: auto;
    display: block;
}

.app-nav {
    display: flex;
    align-items: center;
}

/* ====== NAV LINKS ====== */
.navlinks {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.navlink {
    color: #d7e6ff;
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
    padding: 8px 10px;
    border-radius: 10px;
    transition: .2s ease;
    border: 1px solid transparent;
    background: transparent;
}

    .navlink:hover {
        border-color: rgba(0,195,255,.35);
        box-shadow: 0 0 18px rgba(0,195,255,.15);
        transform: translateY(-1px);
    }

.navbtn {
    cursor: pointer;
}

/* ====== RESPONSIVO ====== */
@media (max-width: 768px) {
    .app-header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .brand-logo {
        height: 44px;
    }

    .navlinks {
        width: 100%;
        gap: 8px;
    }
}

.match-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 16px;
    padding: 16px;
    height: 100%;
    transition: transform .12s ease, border-color .12s ease, background .12s ease;
    cursor: pointer;
}

    .match-card:hover {
        transform: translateY(-2px);
        background: rgba(255,255,255,.09);
        border-color: rgba(124,255,0,.35); /* seu verde */
    }

    .match-card:focus-visible {
        outline: 2px solid rgba(124,255,0,.55);
        outline-offset: 3px;
    }

.match-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.match-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0,0,0,.35);
    border: 1px solid rgba(255,255,255,.10);
    font-size: .9rem;
    color: #eaeaea;
}

    .match-pill .sep {
        opacity: .6;
    }

.match-city {
    font-size: .9rem;
    color: #bdbdbd;
}

.match-title {
    margin-top: 10px;
    font-weight: 800;
    font-size: 1.15rem;
    color: #fff;
}

    .match-title .vs {
        opacity: .7;
        font-weight: 700;
        margin: 0 6px;
    }

.match-meta {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #c9c9c9;
    font-size: .95rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: .95;
}

.match-cta {
    margin-top: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,.10);
    color: #7CFF00;
    font-weight: 700;
}

.badge.text-bg-dark.border {
    color: rgba(255,255,255,.75) !important;
}


.segment-preview {
    width: 100%;
    height: 420px; /* 👈 CONTROLE DE ALTURA */
    max-height: 60vh; /* não explode no desktop */
    object-fit: contain; /* MOSTRA FRAME SEM CORTAR */
    border-radius: 12px;
    background: #000;
    pointer-events: none;
}

.segment-timeline {
    margin-top: 14px;
}

.segment-options {
    margin-top: 18px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.segment-timeline input[type=range] {
    width: 100%;
    accent-color: #7CFF00;
}

.timeline-labels {
    display: flex;
    justify-content: space-between;
    font-size: .9rem;
    color: #bdbdbd;
    margin-top: 4px;
}

.segment-video {
    position: relative;
    max-width: 960px; /* limita largura */
    margin: 0 auto;
}


.video-wrapper {
    position: relative;
}

.preview-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.35);
    color: #fff;
    font-weight: 700;
    gap: 8px;
    pointer-events: none;
}
.timeline-wrapper {
    position: relative;
    width: 100%;
}

    .timeline-wrapper input[type=range] {
        width: 100%;
        position: relative;
        z-index: 2;
        accent-color: #7CFF00;
    }

.timeline-highlight {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 6px;
    background: linear-gradient(90deg, #7CFF00, #4bd000);
    border-radius: 4px;
    z-index: 1;
    pointer-events: none;
}

/* ===== Badge Cidade / UF (VARena) ===== */
.match-location-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 700;
    color: rgba(255,255,255,.85);
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.12);
    transition: all .15s ease;
    white-space: nowrap;
}

    .match-location-badge i {
        opacity: .8;
    }

/* interação leve quando passa o mouse no card */
.match-card:hover .match-location-badge {
    border-color: rgba(124,255,0,.45);
    color: #fff;
    box-shadow: 0 0 14px rgba(124,255,0,.25);
    transform: translateY(-1px);
}


