@import url('https://fonts.googleapis.com/css2?family=Syncopate:wght@400;700&family=Inter:wght@400;700;900&family=Playfair+Display:ital,wght@1,900&display=swap');

:root {
    --glass: rgba(0, 0, 0, 0.2);
    --border: rgba(255, 255, 255, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; cursor: default; }

body {
    background: #000;
    color: #fff;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    height: 100vh;
}

.bg-video {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.4);
}

.overlay {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    padding: 2rem 0;
    z-index: 10;
    transition: transform 0.1s ease-out;
}

#main-view {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Avatar */
.avatar-container {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 2px solid var(--border);
    padding: 5px;
    background: var(--glass);
    backdrop-filter: blur(10px);
    margin-bottom: 2.5rem;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.avatar { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

/* Title */
.title {
    font-family: 'Syncopate', sans-serif;
    font-size: 2.2rem;
    letter-spacing: 15px;
    text-transform: uppercase;
    text-shadow: 0 0 30px rgba(255,255,255,0.4);
    margin-bottom: 2.5rem;
}

/* Nav */
.main-nav { display: flex; gap: 3rem; }
.nav-btn { color: #fff; font-size: 1.8rem; opacity: 0.6; transition: 0.3s; text-decoration: none; cursor: pointer; }
.nav-btn:hover { opacity: 1; transform: scale(1.2); filter: drop-shadow(0 0 10px #fff); }

/* Sub-view System */
#sub-view-container {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 500;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
}

.sub-view-content {
    display: none;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border);
    padding: 3.5rem;
    border-radius: 40px;
    width: 90%;
    max-width: 500px;
    animation: menuIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes menuIn { from { opacity: 0; transform: translateY(40px) scale(0.9); } to { opacity: 1; transform: translateY(0) scale(1); } }

.view-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
}

.view-header h3 { font-family: 'Syncopate', sans-serif; font-size: 0.85rem; letter-spacing: 4px; opacity: 0.8; }

.menu-item, .p-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.02);
    padding: 2rem 3rem;
    border-radius: 25px;
    margin-bottom: 1.2rem;
    text-align: left;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.p-card:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4), 0 0 20px rgba(255,255,255,0.02);
}

.p-tag {
    font-size: 0.55rem;
    letter-spacing: 2px;
    opacity: 0.4;
    font-weight: 900;
    margin-bottom: 8px;
}

.p-info h4 { font-size: 1.2rem; font-weight: 800; }
.p-info p { font-size: 0.8rem; opacity: 0.4; margin-top: 2px; }

.p-action {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateX(20px);
    transition: 0.4s;
}

.p-card:hover .p-action {
    opacity: 0.8;
    transform: translateX(0);
}

.p-action i { font-size: 0.8rem; }

.btn-group { display: flex; gap: 1rem; margin-top: 1rem; }
.btn-group button {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    color: #fff;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-group button:hover { background: #fff; color: #000; }

.back-btn {
    margin-top: 2rem;
    background: #fff;
    color: #000;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 3px;
    cursor: pointer;
    transition: 0.3s;
}

.back-btn:hover { transform: scale(1.05); }

/* Footer Bar */
.bottom-bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.status-widget {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    display: flex;
    gap: 1.5rem;
}

.status-item { display: flex; align-items: center; gap: 8px; font-size: 0.75rem; font-weight: 700; }
.status-sep { width: 1px; height: 12px; background: var(--border); }
.online-dot { width: 8px; height: 8px; background: #22c55e; border-radius: 50%; box-shadow: 0 0 10px #22c55e; }

.meta-row { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.views-pill {
    background: var(--glass);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border);
}

.views-pill i { 
    width: 12px; 
    opacity: 0.6;
}

.social-bar { display: flex; gap: 1.5rem; }
.social-icon i { font-size: 1.6rem; color: #fff; opacity: 0.8; transition: 0.3s; }
.social-icon:hover i { opacity: 1; filter: drop-shadow(0 0 10px #fff); }

/* Music Overlay */
.music-overlay { position: fixed; bottom: 2.5rem; right: 2.5rem; display: flex; align-items: center; gap: 1rem; }
.viz-bars { display: flex; gap: 4px; align-items: flex-end; height: 18px; }
.bar { width: 3px; height: 100%; background: #fff; animation: viz 0.6s infinite alternate; animation-play-state: paused; }
@keyframes viz { from { height: 30%; } to { height: 100%; } }

/* Gate */
#gate { position: fixed; inset: 0; background: #000; z-index: 2000; display: flex; justify-content: center; align-items: center; transition: 1s cubic-bezier(0.85, 0, 0.15, 1); cursor: pointer; }
#gate.active { opacity: 0; pointer-events: none; transform: scale(1.5); }
.gate-text { font-family: 'Playfair Display', serif; font-size: 4rem; letter-spacing: 15px; font-style: italic; animation: pulse 2s infinite ease-in-out; }
@keyframes pulse { 0%, 100% { opacity: 0.5; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }
