
:root { 
            --primary-red: #E50914; 
            --hover-red: #B80710; 
            --bg-dark: #0a0a0d; 
            --card-bg: rgba(18, 18, 24, 0.65); 
            --card-border: rgba(255, 255, 255, 0.05); 
            --text-main: #ffffff; 
            --text-muted: #8e8e9f; 
            --accent-green: #34d399; 
        }
        * { box-sizing: border-box; margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
        body { background-color: var(--bg-dark); color: var(--text-main); min-height: 100vh; display: flex; flex-direction: column; align-items: center; overflow-x: hidden; position: relative; }
        body::before { content: ''; position: absolute; top: -10%; left: 50%; transform: translateX(-50%); width: 80%; height: 600px; background: radial-gradient(circle, rgba(229, 9, 20, 0.12) 0%, transparent 70%); z-index: 1; pointer-events: none; }
        header { width: 100%; max-width: 1200px; padding: 2rem 1.5rem; display: flex; justify-content: space-between; align-items: center; z-index: 10; }
        .logo-text { font-size: 2.2rem; font-weight: 900; letter-spacing: -1px; text-decoration: none; color: white; }
        .logo-text span { color: var(--primary-red); }
        
        /* Pastila ta de status originala */
        .server-status-pill { background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.2); padding: 0.5rem 1rem; border-radius: 99px; display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; font-weight: 600; color: var(--accent-green); transition: all 0.4s ease; }
        .status-dot { width: 8px; height: 8px; background-color: var(--accent-green); border-radius: 50%; box-shadow: 0 0 10px var(--accent-green); animation: pulse 2s infinite; transition: all 0.4s ease; }
        @keyframes pulse { 0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); } 70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } 100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
        
        /* Clase dinamice pentru starea offline (ajustate automat din Javascript) */
        .server-status-pill.is-offline { background: rgba(239, 68, 68, 0.1); border-color: rgba(239, 68, 68, 0.2); color: #ef4444; }
        .server-status-pill.is-offline .status-dot { background-color: #ef4444; box-shadow: 0 0 10px #ef4444; animation: none; }

        .main-layout { width: 100%; max-width: 1200px; padding: 2rem 1.5rem 4rem 1.5rem; display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; z-index: 10; align-items: center; }
        @media (max-width: 900px) { .main-layout { grid-template-columns: 1fr; text-align: center; gap: 2rem; } .btn-container { justify-content: center; } .apps-grid { flex-wrap: wrap; } }
        .hero-text h1 { font-size: 3.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; }
        .hero-text h1 span { color: var(--primary-red); }
        .hero-text p { color: var(--text-muted); font-size: 1.15rem; line-height: 1.6; margin-bottom: 2.5rem; }
        .btn-container { display: flex; gap: 1rem; flex-wrap: wrap; }
        .btn { padding: 1.1rem 2rem; font-size: 1.05rem; font-weight: 700; border-radius: 12px; text-decoration: none; display: inline-flex; align-items: center; gap: 0.8rem; transition: all 0.25s ease; }
        .btn-primary { background-color: var(--primary-red); color: white; box-shadow: 0 8px 24px rgba(229, 9, 20, 0.3); }
        .btn-primary:hover { background-color: var(--hover-red); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(229, 9, 20, 0.45); }
        .btn-secondary { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--card-border); color: white; }
        .btn-secondary:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }
        
        .dashboard-card { background: var(--card-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--card-border); border-radius: 28px; padding: 2.5rem; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6); }
        .card-section { margin-bottom: 2rem; }
        .card-section:last-child { margin-bottom: 0; }
        .section-title { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
        .metrics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
        .metric-box { background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.03); padding: 1rem; border-radius: 14px; }
        .metric-val { font-size: 1.3rem; font-weight: 700; color: white; }
        .metric-lbl { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.2rem; }
        .connect-bar { display: flex; align-items: center; justify-content: space-between; background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.05); padding: 0.9rem 1.2rem; border-radius: 12px; font-size: 0.95rem; }
        .connect-bar code { font-family: monospace; color: #f3f4f6; }
        .copy-btn { background: transparent; border: none; color: var(--primary-red); cursor: pointer; padding: 0.2rem; transition: color 0.2s; }
        .copy-btn:hover { color: white; }
        .apps-grid { display: flex; gap: 0.8rem; }
        .app-icon-link { flex: 1; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--card-border); padding: 0.8rem; border-radius: 12px; text-align: center; color: white; text-decoration: none; font-size: 1.2rem; transition: all 0.2s; }
        .app-icon-link:hover { background: rgba(229, 9, 20, 0.1); border-color: rgba(229, 9, 20, 0.3); transform: scale(1.05); }
        .app-icon-link span { display: block; font-size: 0.65rem; color: var(--text-muted); margin-top: 0.3rem; }
        
        .showcase-container { width: 100%; max-width: 1200px; padding: 2rem 1.5rem 4rem 1.5rem; }
        .showcase-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.6rem; }
        .movie-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1.2rem; }
/* ===== BASTOSFLIX FOOTER ===== */

.bastos-footer{
    width:100%;
    margin-top:80px;
    padding:40px 20px;
    position:relative;
    z-index:10;
}

.footer-inner{

    max-width:1200px;
    margin:auto;

    background:rgba(18,18,24,.65);
    backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.05);

    border-radius:28px;

    padding:35px;

    text-align:center;

    box-shadow:
    0 20px 50px rgba(0,0,0,.45);
}

.footer-logo{
    font-size:2rem;
    font-weight:900;
    letter-spacing:-1px;
}

.footer-logo span{
    color:var(--primary-red);
}

.footer-line{
    width:120px;
    height:2px;

    margin:18px auto 22px;

    background:var(--primary-red);

    box-shadow:
    0 0 15px var(--primary-red);
}

.footer-meta{

    display:flex;
    justify-content:center;
    gap:25px;
    flex-wrap:wrap;

    color:var(--text-muted);

    margin-bottom:20px;
}

.footer-meta i{
    color:var(--primary-red);
    margin-right:6px;
}

.footer-copy{
    color:var(--text-muted);
    font-size:.9rem;
}

@media(max-width:768px){

    .footer-meta{
        flex-direction:column;
        gap:12px;
    }

    .footer-inner{
        padding:25px;
    }

}
.bastos-footer{
    width:100%;
    margin-top:80px;
    padding:40px 20px;
    position:relative;
    z-index:10;
    overflow:hidden;
}
.bastos-footer::before{
    content:'';
    position:absolute;

    bottom:-250px;
    left:50%;

    transform:translateX(-50%);

    width:900px;
    height:500px;

    background:radial-gradient(
        circle,
        rgba(229,9,20,.15) 0%,
        rgba(229,9,20,.06) 35%,
        transparent 70%
    );

    pointer-events:none;
}
.top-nav{
    display:flex;
    gap:30px;
    align-items:center;
}

.top-nav a{
    color:var(--text-muted);
    text-decoration:none;
    font-size:.95rem;
    font-weight:600;
    transition:.25s;
}

.top-nav a:hover{
    color:white;
}

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