:root { --neon-blue: #00f2ff; --gold: #ffd700; --dark-bg: #020205; --card-bg: #0a0c14; }
body { background-color: var(--dark-bg); color: #e0e0e0; font-family: 'Inter', sans-serif; margin: 0; padding-bottom: 90px; overflow-x: hidden; }

.master-header { display: flex; justify-content: space-between; align-items: center; background: #000; padding: 12px 20px; border-bottom: 1px solid var(--neon-blue); position: sticky; top: 0; z-index: 9999; }
.header-left { display: flex; align-items: center; }
.master-avatar { width: 45px; height: 45px; border-radius: 50%; border: 2px solid var(--neon-blue); }
.master-status { margin-left: 10px; }
.master-status p { margin: 0; font-size: 0.7rem; color: #fff; font-style: italic; }
.online-dot { width: 8px; height: 8px; background: #00ff00; border-radius: 50%; display: inline-block; box-shadow: 0 0 5px #00ff00; }

.music-mini-btn { background: rgba(0, 242, 255, 0.1); border: 1px solid var(--neon-blue); color: var(--neon-blue); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.music-mini-btn.active { box-shadow: 0 0 15px var(--neon-blue); background: var(--neon-blue); color: black; }

.wallet-card { margin: 15px; padding: 20px; border-radius: 15px; background: var(--card-bg); border: 1px solid rgba(0, 242, 255, 0.2); text-align: center; }
.wallet-card h1 { font-size: 2.5rem; color: var(--neon-blue); margin: 5px 0; }

.grid-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 15px; }
.cyber-box { background: #0d1117; border: 1px solid #222; padding: 20px 10px; border-radius: 15px; text-align: center; }
.cyber-box i { font-size: 1.8rem; color: var(--neon-blue); margin-bottom: 8px; display: block; }
.full-width { grid-column: span 2; border: 1px solid var(--neon-blue); }

.content-page { padding: 15px; animation: fadeIn 0.3s forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.list-item { background: #0d1117; border: 1px solid #222; margin-bottom: 10px; padding: 15px; border-radius: 12px; display: flex; justify-content: space-between; align-items: center; }
.action-btn { background: var(--neon-blue); color: black; border: none; padding: 8px 15px; border-radius: 8px; font-weight: bold; font-size: 0.75rem; }

.imperial-nav { position: fixed; bottom: 0; width: 100%; height: 75px; background: #000; display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid #222; z-index: 10000; }
.nav-btn { color: #555; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; }
.nav-btn i { font-size: 1.2rem; margin-bottom: 3px; }
.nav-btn span { font-size: 0.5rem; }
.nav-btn.active { color: var(--neon-blue); }

/* Imperial Completion Updates */
.item-info { flex: 1; text-align: left; }
.item-info b { font-size: 0.95rem; color: var(--neon-blue); }
.item-info small { color: #888; font-size: 0.75rem; }

.action-btn-small {
    background: transparent; border: 1px solid var(--neon-blue);
    color: var(--neon-blue); padding: 5px 12px; border-radius: 8px;
    font-size: 0.75rem; font-weight: bold; cursor: pointer;
}

.back-link-btn { background: none; border: none; color: var(--neon-blue); font-size: 0.9rem; cursor: pointer; display: flex; align-items: center; gap: 5px; }

.nav-bar-top { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #222; padding-bottom: 10px; margin-bottom: 15px; }

/* Junior Grid Optimization */
.grid-layout { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 15px; 
    padding: 10px; 
}
.cyber-box {
    background: #0d1117;
    border: 1px solid rgba(0, 242, 255, 0.1);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}
.cyber-box:active { transform: scale(0.95); border-color: var(--neon-blue); }
