html, body {
    height: 100%;
    /* NU adăuga overflow-x: hidden aici! */
}

/* 1. RESET & BAZĂ */
body {
    background-color: Black;
    color: White;
    margin: 0;
    padding: 0;
    text-align: center;
    font-family: system-ui, -apple-system, sans-serif;
}

/* 2. NAVIGAȚIE (STICKY ENGINE) */
/* Adăugăm 'body' în față pentru a forța prioritatea peste Bootstrap */
body .navbar-custom {
    background-color: #333333 !important; /* !important ca măsură de siguranță finală */
    min-height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    /* Sticky Fix */
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Eliminăm stilurile reziduale de listă de la Bootstrap */
.nav-links {
    list-style: none !important;
    padding: 0;
    margin: 0;
    display: flex;
}

.bar_block {
    display: block;
    color: white !important;
    padding: 14px 16px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.bar_block:hover {
    background-color: #111111;
    color: #dc3545 !important;
}

/* 3. HERO & IMAGINI (CLS PROTECTION) */
.hero-container {
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin: 20px 0;
    letter-spacing: 2px;
}

.hero-image {
    aspect-ratio: 16 / 9;
    width: 100%;
    max-width: 1200px;
    height: auto;
    object-fit: cover;
    background-color: #1a1a1a;
    border-radius: 10px;
}

.about-profile-img {
    aspect-ratio: 3 / 4;
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
    background-color: #1a1a1a;
    border-radius: 10px;
}

/* 4. FOOTER */
.footer-bar {
    background-color: #dc3545;
    width: 100%;
    margin-top: 50px;
}

.footer-bar a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    padding: 10px;
}

.footer-bar a:hover {
    opacity: 0.8;
    color: #f8f9fa;
}

/* 5. LINK TREE (pagina Links & Parteneri) */
.link-btn-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.link-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #1a1a1a;
    border: 1px solid #444;
    border-radius: 12px;
    padding: 16px 20px;
    text-decoration: none !important;
    color: white !important;
    text-align: center;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    position: relative;
}

.link-btn:hover {
    background-color: #dc3545;
    border-color: #dc3545;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(220, 53, 69, 0.4);
}

.link-btn-name {
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1.05rem;
}

.link-btn-handle,
.link-btn-desc {
    color: #adb5bd;
    font-size: 0.85rem;
    margin-top: 2px;
}

.link-btn:hover .link-btn-handle,
.link-btn:hover .link-btn-desc {
    color: #f8f9fa;
}

.link-btn-partner {
    border-color: #dc3545;
}

.link-btn-badge {
    position: absolute;
    top: -10px;
    right: 14px;
    background-color: #dc3545;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 999px;
}

/* 6. RESPONSIVE (MOBILE) */
@media (max-width: 768px) {
    body .navbar-custom {
        flex-direction: column;
        padding: 10px 0;
    }

    .nav-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .bar_block {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .time-tracker {
        width: 100%;
        font-size: 0.8rem;
        border-bottom: 1px solid #444;
        margin-bottom: 5px;
        padding-bottom: 5px;
    }

    .footer-bar .d-flex {
        flex-direction: column;
        gap: 15px;
    }
}