/* VishvaX Stream — Ultra-Futuristic Header, Theater & Core Home Layout */

/* Site Header */
.site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(3, 5, 9, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
    transition: background .2s ease, border-color .2s ease;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    gap: 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -.02em;
    color: #ffffff;
    user-select: none;
    flex-shrink: 0;
    position: relative;
    transition: transform .2s ease;
}

.brand:hover {
    transform: translateY(-1px);
}

.brand img {
    filter: drop-shadow(0 0 10px rgba(229, 9, 20, 0.6));
    transition: filter .3s ease;
}

.brand:hover img {
    filter: drop-shadow(0 0 16px rgba(255, 42, 75, 0.9));
}

.brand span {
    background: linear-gradient(135deg, #ffffff 30%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand b {
    background: linear-gradient(135deg, var(--brand-neon) 0%, #ff6b81 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Futuristic Telemetry Badge in Header */
.header-telemetry {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background: rgba(0, 245, 160, 0.08);
    border: 1px solid rgba(0, 245, 160, 0.25);
    font-family: var(--font-mono);
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--cyber-emerald);
    box-shadow: 0 0 12px rgba(0, 245, 160, 0.15);
}

.telemetry-radar {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyber-emerald);
    box-shadow: 0 0 8px var(--cyber-emerald);
    animation: vx-radar-pulse 1.8s infinite;
}

@media (max-width: 900px) {
    .header-telemetry {
        display: none;
    }
}

.header-center {
    flex: 1;
    max-width: 480px;
    margin: 0 16px;
}

/* Futuristic Search Input */
.search-box {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.search-box svg {
    position: absolute;
    left: 14px;
    color: var(--text-dim);
    pointer-events: none;
    transition: color .2s ease;
}

.search-input {
    width: 100%;
    height: 42px;
    padding: 0 64px 0 42px;
    background: rgba(14, 20, 36, 0.7);
    border: 1px solid var(--border);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-full);
    color: var(--text);
    font-size: .88rem;
    font-family: var(--font);
    outline: none;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.search-input:focus {
    background: rgba(18, 26, 48, 0.95);
    border-color: var(--cyber-cyan);
    box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.18), 0 0 20px rgba(0, 242, 254, 0.25);
}

.search-input:focus + .search-box svg {
    color: var(--cyber-cyan);
}

.search-kbd {
    position: absolute;
    right: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 4px;
    font-family: var(--font-mono);
    font-size: .68rem;
    font-weight: 700;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border);
    border-radius: 4px;
    pointer-events: none;
}

.search-clear {
    position: absolute;
    right: 12px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 50%;
    transition: color .15s ease, background .15s ease;
}

.search-clear:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
}

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

.nav-admin-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-display);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .03em;
    color: var(--text-muted);
    padding: 7px 14px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    transition: color .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.nav-admin-link:hover {
    color: #ffffff;
    border-color: rgba(99, 102, 241, 0.5);
    background: rgba(99, 102, 241, 0.12);
    box-shadow: 0 0 16px rgba(99, 102, 241, 0.25);
    transform: translateY(-1px);
}

/* Active Theater Container with Ambient Light */
.theater-wrap {
    position: relative;
    margin-top: 20px;
    margin-bottom: 32px;
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.9), 
        0 0 50px rgba(99, 102, 241, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    scroll-margin-top: 90px;
    transition: box-shadow .3s ease;
}

.theater-wrap[hidden] {
    display: none;
}

.now-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: rgba(11, 16, 29, 0.85);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    gap: 16px;
    flex-wrap: wrap;
}

.now-info {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.now-thumb {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: #000;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.now-text {
    min-width: 0;
}

.now-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -.01em;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.now-meta {
    font-family: var(--font-mono);
    font-size: .75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 3px;
}

.now-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    border: 1px solid var(--border);
    transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}

.btn-icon:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

/* Minimal Clean Futuristic Footer */
.site-footer {
    margin-top: auto;
    padding: 32px 0;
    border-top: 1px solid var(--border-subtle);
    background: rgba(3, 5, 9, 0.6);
    font-size: .82rem;
    color: var(--text-dim);
}

.footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-brand-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
}

.footer-links {
    display: flex;
    gap: 20px;
    font-weight: 600;
}

.footer-links a {
    color: var(--text-muted);
    transition: color .2s ease;
}

.footer-links a:hover {
    color: var(--cyber-cyan);
}

@media (max-width: 640px) {
    .header-row {
        height: 60px;
    }
    .header-center {
        margin: 0 8px;
    }
    .search-input {
        font-size: .82rem;
        height: 36px;
        padding-right: 40px;
    }
    .search-kbd {
        display: none;
    }
    .now-strip {
        padding: 12px 14px;
    }
}
