@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;600;800&display=swap');

:root {
    --accent: #6c63ff;
    --dark: #0f172a;
    --glass: rgba(255, 255, 255, 0.85);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: radial-gradient(circle at top right, #f3f0ff, #ffffff);
    color: var(--dark);
    line-height: 1.7;
}

/* --- ARTISTIC CLOSE BUTTON (No Text) --- */
.modern-close-btn {
    position: fixed;
    top: 40px;
    right: 40px;
    z-index: 9999;
    width: 55px;
    height: 55px;
    background: var(--dark);
    color: #fff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-close-btn:hover {
    transform: rotate(180deg) scale(1.1);
    background: var(--accent);
    box-shadow: 0 15px 30px rgba(108, 99, 255, 0.4);
}

/* --- PREMIUM HERO --- */
.project-hero {
    padding: 140px 0 100px;
    text-align: center;
}

.badge-category {
    background: #fff;
    color: var(--accent);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: inline-block;
    margin-bottom: 25px;
}

.display-title {
    font-weight: 800;
    font-size: 56px;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

/* --- GLASSMORPHISM CONTENT --- */
.main-content-card {
    background: var(--glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 40px;
    padding: 60px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.04);
    margin-bottom: 80px;
}

.sidebar-info {
    border-right: 1px solid #eee;
    padding-right: 30px;
}

.info-item { margin-bottom: 30px; }
.info-item label { 
    display: block; font-size: 10px; font-weight: 800; 
    color: #94a3b8; text-transform: uppercase; letter-spacing: 1px;
}
.info-item p { font-weight: 600; font-size: 16px; margin: 0; }

/* --- TECHNICAL STYLING --- */
.content-body h3 { font-weight: 800; font-size: 28px; margin-bottom: 20px; }

.modern-code-box {
    background: #1e293b;
    padding: 30px;
    border-radius: 20px;
    margin: 30px 0;
    position: relative;
    border-left: 5px solid var(--accent);
}

.modern-code-box code { color: #e2e8f0; font-family: 'Consolas', monospace; font-size: 14px; }

.image-wrapper {
    margin-top: 50px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.image-wrapper img { transition: 0.8s ease; width: 100%; }
.image-wrapper:hover img { transform: scale(1.05); }

/* --- ARTISTIC FOOTER --- */
.premium-footer {
    padding: 80px 0;
    text-align: center;
    background: #f8fafc;
}

.footer-logo { font-weight: 800; font-size: 20px; color: var(--dark); margin-bottom: 10px; }
.footer-tag { color: #94a3b8; font-size: 13px; }

/* KEEPING YOUR UI STYLE - ONLY FIXING VISIBILITY & NAV */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;600;800&display=swap');

:root {
    --accent: #6c63ff;
    --dark: #0f172a;
    --glass: rgba(255, 255, 255, 0.85);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: radial-gradient(circle at top right, #f3f0ff, #ffffff);
    color: var(--dark);
    line-height: 1.7;
}

/* --- THE ARTISTIC CLOSE BUTTON --- */
.modern-close-btn {
    position: fixed;
    top: 40px;
    right: 40px;
    z-index: 9999;
    width: 55px;
    height: 55px;
    background: var(--dark);
    color: #fff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

.modern-close-btn:hover {
    background: var(--accent);
    transform: rotate(90deg) scale(1.1);
}

/* --- THE REGISTRY BOX FIX --- */
.modern-code-box {
    background: #000000 !important; /* Solid Black */
    padding: 30px;
    border-radius: 20px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.modern-code-box code {
    color: #ffffff !important; /* Pure White Text */
    font-family: 'Consolas', monospace;
    font-size: 14px;
    word-break: break-all;
}

/* --- REST OF YOUR UI STYLE --- */
.project-hero { padding: 100px 0 60px; }
.display-title { font-weight: 800; font-size: 56px; letter-spacing: -2px; }
.main-content-card {
    background: var(--glass);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 40px;
    padding: 60px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.04);
    margin-bottom: 80px;
}
.sidebar-info { border-right: 1px solid #eee; padding-right: 30px; }
.info-item { margin-bottom: 30px; }
.info-item label { display: block; font-size: 10px; font-weight: 800; color: #94a3b8; text-transform: uppercase; }
.info-item p { font-weight: 600; font-size: 16px; margin: 0; }
.image-wrapper img { width: 100%; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.premium-footer { text-align: center; padding: 40px 0; color: #94a3b8; font-weight: 700; }

//* --- REGISTRY BOX: BLACK BACKGROUND & WHITE TEXT --- */
.modern-code-box {
    background: #000000 !important; /* Forces background to Black */
    padding: 25px;
    border-radius: 15px;
    margin: 25px 0;
    border: 1px solid #333;
    display: block;
    width: 100%;
}

.modern-code-box code {
    color: #ffffff !important; /* Forces font to White */
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 14px;
    word-break: break-all;
    white-space: pre-wrap;
}

/* --- CLOSE BUTTON STYLING --- */
.modern-close-btn {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    background: #0f172a; /* Dark circle */
    color: white !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: 0.3s ease;
}

.modern-close-btn:hover {
    background: #6c63ff; /* Purple on hover */
    transform: scale(1.1) rotate(90deg);
}

#registry-fix-box code {
    color: #ffffff !important;
}

/* FORCE BLACK BOX VISIBILITY */
body #FINAL_FIX_BOX {
    background: #000000 !important;
    display: block !important;
}

body #FINAL_FIX_BOX code {
    color: #ffffff !important;
}

/* FORCE BUTTON TO STAY ON TOP */
.modern-close-btn {
    position: fixed !important;
    top: 40px !important;
    right: 40px !important;
    background: #0f172a !important;
    color: #fff !important;
    z-index: 100000 !important;
}
