/* --- CAMPUS VR CSS --- */

.screen-content-campus {
    padding: 10px 8px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.screen-map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.5rem;
    font-weight: 700;
    color: #18a855;
    background: rgba(24,168,85,0.15);
    border: 1px solid rgba(24,168,85,0.3);
    padding: 2px 6px;
    border-radius: 20px;
}

.live-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: #18a855;
    animation: livePulse 1.5s infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.screen-campus-map {
    flex: 1;
    background: rgba(142,21,130,0.08);
    border: 1px solid rgba(142,21,130,0.2);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.map-building {
    position: absolute;
    background: rgba(142,21,130,0.3);
    border: 1px solid rgba(142,21,130,0.5);
    border-radius: 3px;
}

.b1 { width: 35px; height: 30px; top: 20px; left: 20px; }
.b2 { width: 25px; height: 40px; top: 15px; left: 70px; }
.b3 { width: 40px; height: 25px; top: 30px; right: 15px; }

.map-path {
    position: absolute;
    bottom: 30px;
    left: 0; right: 0;
    height: 5px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
}

.map-player-dot {
    position: absolute;
    bottom: 35px;
    left: 40%;
    width: 10px; height: 10px;
    background: var(--uvci-purple);
    border-radius: 50%;
    border: 2px solid #fff;
}

.player-pulse {
    position: absolute;
    top: -5px; left: -5px;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: rgba(142,21,130,0.4);
    animation: playerPulse 2s infinite;
}

@keyframes playerPulse {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

.screen-stat-row {
    display: flex;
    gap: 6px;
}

.stat-chip {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 5px 6px;
    font-size: 0.5rem;
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    gap: 4px;
}

.stat-chip i { color: var(--uvci-purple); }

.screen-nav-bar {
    display: flex;
    justify-content: space-around;
    padding: 6px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.nav-ico {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.3);
}

.nav-ico.active { color: var(--uvci-purple); }

.campus-visual {
    padding: 20px;
}

.campus-sky {
    height: 80px;
    background: linear-gradient(to bottom, #0a0f2e, #1a1060);
    border-radius: 16px 16px 0 0;
    position: relative;
    overflow: hidden;
}

.campus-cloud {
    position: absolute;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    height: 20px;
}
.c1 { width: 80px; top: 20px; left: 30px; animation: cloudDrift 8s linear infinite; }
.c2 { width: 50px; top: 35px; left: 200px; animation: cloudDrift 12s linear infinite; opacity: 0.6; }

@keyframes cloudDrift {
    0% { transform: translateX(0); }
    100% { transform: translateX(300px); }
}

.campus-scene {
    height: 320px;
    background: linear-gradient(to bottom, #1a1060 0%, #0d1220 40%);
    border-radius: 0 0 16px 16px;
    border: 1px solid rgba(142,21,130,0.2);
    position: relative;
    overflow: hidden;
}

.campus-ground {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to top, rgba(24,168,85,0.15), transparent);
    border-top: 1px solid rgba(24,168,85,0.2);
}

.campus-road {
    position: absolute;
    bottom: 15px;
    left: 30%;
    width: 40%;
    height: 6px;
    background: rgba(255,255,255,0.06);
    border-radius: 3px;
}

.campus-building {
    position: absolute;
    background: linear-gradient(to top, #1e1060, #2a1580);
    border: 1px solid rgba(142,21,130,0.35);
    border-radius: 4px 4px 0 0;
    bottom: 60px;
}

.cb-main {
    width: 160px; height: 160px;
    left: 50%;
    transform: translateX(-50%);
}

.cb-left {
    width: 90px; height: 100px;
    left: 25px;
}

.cb-right {
    width: 90px; height: 110px;
    right: 25px;
}

.cb-windows {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    padding: 15px 12px;
}

.cb-left .cb-windows,
.cb-right .cb-windows {
    grid-template-columns: 1fr 1fr;
}

.cb-win {
    height: 18px;
    background: rgba(255,255,255,0.05);
    border-radius: 2px;
    border: 1px solid rgba(255,255,255,0.06);
}

.cb-win.w-on {
    background: rgba(255,200,50,0.25);
    border-color: rgba(255,200,50,0.4);
    box-shadow: 0 0 8px rgba(255,200,50,0.15);
    animation: winFlicker 4s ease-in-out infinite;
}

@keyframes winFlicker {
    0%, 90%, 100% { opacity: 1; }
    92%, 98% { opacity: 0.6; }
}

.cb-sign {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 3px;
    color: var(--uvci-purple);
    padding-bottom: 5px;
}

.campus-tree {
    position: absolute;
    bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.t1 { left: 15px; }
.t2 { right: 15px; }

.tree-top {
    width: 24px; height: 30px;
    background: rgba(24,168,85,0.3);
    border-radius: 50% 50% 30% 30%;
    border: 1px solid rgba(24,168,85,0.5);
}
.tree-trunk {
    width: 6px; height: 14px;
    background: rgba(100,60,20,0.5);
}

.campus-avatar-walk {
    position: absolute;
    bottom: 65px;
    font-size: 1.2rem;
    color: var(--uvci-purple);
    filter: drop-shadow(0 0 6px rgba(142,21,130,0.5));
}

.av-walk-1 {
    left: 35%;
    animation: walkRight 6s linear infinite;
}

.av-walk-2 {
    left: 55%;
    animation: walkRight 9s linear infinite reverse;
    animation-delay: -3s;
}

@keyframes walkRight {
    0% { transform: translateX(-60px); }
    100% { transform: translateX(60px); }
}

.campus-hud {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
}

.hud-minimap {
    width: 55px; height: 55px;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(142,21,130,0.4);
    border-radius: 8px;
    position: relative;
}

.minimap-dot {
    position: absolute;
    width: 6px; height: 6px;
    background: var(--uvci-purple);
    border-radius: 50%;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    box-shadow: 0 0 6px var(--uvci-purple);
}

.hud-task {
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 5px 10px;
    font-size: 0.6rem;
    color: rgba(255,255,255,0.7);
    white-space: nowrap;
}
/* ─── BASE ─── */
.cvr-main { background: #07030a; }

/* ─── HERO ─── */
.cvr-hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.cvr-hero-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
}
.cvr-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(7,3,10,0.55) 0%, rgba(7,3,10,0.9) 70%, #07030a 100%);
}
.cvr-hero-inner {
    position: relative; z-index: 2;
    text-align: center;
    padding: 140px 0 80px;
}
.cvr-h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: -2px;
    margin: 18px 0 20px;
    line-height: 1.05;
}
.cvr-lead {
    color: rgba(255,255,255,0.7);
    font-size: 1.15rem;
    max-width: 720px;
    margin: 0 auto 36px;
    line-height: 1.8;
}
.cvr-hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn-main-campus {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 32px; border-radius: 50px;
    background: linear-gradient(135deg, var(--uvci-purple), #a855f7);
    color: #fff; font-weight: 700; font-family: 'Syne', sans-serif;
    text-decoration: none; transition: all 0.3s;
    box-shadow: 0 8px 24px rgba(142,21,130,0.3);
}
.btn-main-campus:hover { opacity: 0.88; transform: translateY(-3px); color: #fff; text-decoration: none; }

.btn-ghost-campus {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 32px; border-radius: 50px;
    border: 1.5px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.7); font-weight: 600; font-family: 'Syne', sans-serif;
    text-decoration: none; transition: all 0.3s;
}
.btn-ghost-campus:hover { border-color: var(--uvci-green); color: var(--uvci-green); text-decoration: none; background: rgba(24,168,85,0.06); }

/* Scroll hint */
.cvr-scroll-hint { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2; }
.cvr-mouse { width: 24px; height: 38px; border: 2px solid rgba(255,255,255,0.25); border-radius: 12px; display: flex; justify-content: center; padding-top: 6px; }
.cvr-mouse-dot { width: 4px; height: 8px; background: rgba(255,255,255,0.5); border-radius: 2px; animation: scrollDot 2s ease-in-out infinite; }
@keyframes scrollDot { 0%,100%{transform:translateY(0);opacity:1;} 80%{transform:translateY(10px);opacity:0;} }

/* ─── SECTIONS ─── */
.cvr-section  { padding: 80px 0; position: relative; overflow: hidden; }
.cvr-dark     { background: #0a040f; }
.cvr-loader-section { background: #07030a; }

.cvr-h2 { font-family: 'Syne', sans-serif; font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 800; color: #fff; }
.cvr-text { color: rgba(255,255,255,0.68); font-size: 1.05rem; line-height: 1.85; margin-bottom: 28px; }

/* Checklist */
.cvr-checklist { list-style: none; padding: 0; margin: 0; }
.cvr-checklist li { color: rgba(255,255,255,0.75); padding: 8px 0; display: flex; align-items: center; gap: 12px; }
.cvr-checklist li i { color: var(--uvci-green); flex-shrink: 0; }

/* Concept card */
.cvr-concept-card { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255,255,255,0.08); }
.cvr-concept-card img { width: 100%; display: block; transition: transform 0.6s; }
.cvr-concept-card:hover img { transform: scale(1.04); }
.cvr-concept-label {
    position: absolute; bottom: 18px; left: 18px;
    background: rgba(0,0,0,0.65); backdrop-filter: blur(10px);
    color: #fff; padding: 7px 16px; border-radius: 50px;
    font-size: 0.82rem; font-weight: 600;
    display: flex; align-items: center; gap: 8px;
    border: 1px solid rgba(255,255,255,0.1);
}
.cvr-concept-label i { color: var(--uvci-green); }

/* Mission grid */
.cvr-mission-grid { display: flex; gap: 14px; flex-wrap: wrap; }
.cvr-m-card {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
    padding: 20px 16px; border-radius: 14px; text-align: center; flex: 1; min-width: 110px;
    transition: all 0.3s;
}
.cvr-m-card:hover { border-color: var(--uvci-purple); background: rgba(142,21,130,0.06); transform: translateY(-6px); }
.cvr-m-card i { font-size: 1.4rem; color: var(--uvci-purple); margin-bottom: 10px; display: block; }
.cvr-m-card span { color: #fff; font-size: 0.82rem; font-weight: 600; }

/* Robot */
.cvr-robot-wrap { position: relative; text-align: center; padding: 30px 0; }
.cvr-blob { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 280px; height: 280px; border-radius: 50%; background: var(--uvci-purple); filter: blur(70px); opacity: 0.22; }
.cvr-robot-wrap img { max-height: 380px; position: relative; z-index: 2; }
.cvr-float-badge {
    position: absolute; top: 18%; right: 10%; background: #fff; color: #1a0a2e;
    padding: 10px 20px; border-radius: 40px; font-weight: 700; font-size: 0.88rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); z-index: 3;
    animation: floating 3s ease-in-out infinite;
    display: flex; align-items: center; gap: 8px;
}
.cvr-float-badge i { color: #f59e0b; }
@keyframes floating { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-12px);} }

/* ─── LOADER CARD ─── */
.cvr-loader-card {
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 32px;
    padding: 60px 50px;
    max-width: 900px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}

/* Orbe 3D */
.cvr-orb-wrap { text-align: center; margin-bottom: 50px; }
.cvr-orb {
    width: 140px; height: 140px;
    position: relative;
    margin: 0 auto 18px;
    display: flex; align-items: center; justify-content: center;
}
.cvr-orb-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
    animation: spinRing linear infinite;
}
.cvr-orb-ring-1 {
    width: 140px; height: 140px;
    border-top-color: var(--uvci-green);
    border-right-color: rgba(24,168,85,0.3);
    animation-duration: 3s;
}
.cvr-orb-ring-2 {
    width: 108px; height: 108px;
    border-top-color: var(--uvci-purple);
    border-left-color: rgba(142,21,130,0.3);
    animation-duration: 2s;
    animation-direction: reverse;
}
.cvr-orb-ring-3 {
    width: 76px; height: 76px;
    border-bottom-color: #ffc832;
    border-right-color: rgba(255,200,50,0.3);
    animation-duration: 1.5s;
}
@keyframes spinRing { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.cvr-orb-core {
    width: 52px; height: 52px;
    background: rgba(24,168,85,0.12);
    border: 1.5px solid rgba(24,168,85,0.35);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    color: var(--uvci-green);
    position: relative; z-index: 2;
    animation: pulseCore 2s ease-in-out infinite;
}
@keyframes pulseCore {
    0%,100% { box-shadow: 0 0 0 0 rgba(24,168,85,0.3); }
    50%      { box-shadow: 0 0 0 14px rgba(24,168,85,0); }
}
.cvr-orb-glow {
    position: absolute; inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(24,168,85,0.08) 0%, transparent 70%);
    animation: glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse { 0%,100%{opacity:0.5;} 50%{opacity:1;} }

.cvr-orb-label {
    font-family: 'Syne', sans-serif;
    color: rgba(255,255,255,0.55);
    font-size: 0.88rem;
    letter-spacing: 0.5px;
}

/* Progress bars */
.cvr-progress-block { display: flex; flex-direction: column; gap: 22px; margin-bottom: 40px; }
.cvr-prog-item { display: flex; flex-direction: column; gap: 8px; }
.cvr-prog-header { display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.cvr-prog-header i { margin-right: 8px; }
.cvr-prog-pct { font-family: 'Syne', sans-serif; font-weight: 700; color: #fff; font-size: 0.88rem; }
.cvr-prog-bar { height: 6px; background: rgba(255,255,255,0.06); border-radius: 3px; overflow: hidden; }
.cvr-prog-fill { height: 100%; border-radius: 3px; animation: fillBar 1.4s cubic-bezier(0.4,0,0.2,1) forwards; transform-origin: left; }
@keyframes fillBar { from { width: 0 !important; } }
.cvr-fill-green  { background: linear-gradient(90deg, var(--uvci-green), rgba(24,168,85,0.5)); }
.cvr-fill-purple { background: linear-gradient(90deg, var(--uvci-purple), rgba(142,21,130,0.5)); }
.cvr-fill-gold   { background: linear-gradient(90deg, #ffc832, rgba(255,200,50,0.5)); }
.cvr-fill-pink   { background: linear-gradient(90deg, #e91e8c, rgba(233,30,140,0.5)); }

/* Status row */
.cvr-status-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.cvr-status-item { display: flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 50px; font-size: 0.82rem; font-weight: 600; }
.cvr-status-ok      { background: rgba(24,168,85,0.1);  color: var(--uvci-green);  border: 1px solid rgba(24,168,85,0.2); }
.cvr-status-wip     { background: rgba(255,200,50,0.08); color: #ffc832;            border: 1px solid rgba(255,200,50,0.2); }
.cvr-status-pending { background: rgba(255,255,255,0.04);color: rgba(255,255,255,0.4); border: 1px solid rgba(255,255,255,0.08); }
.cvr-status-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.cvr-status-ok .cvr-status-dot      { background: var(--uvci-green); box-shadow: 0 0 8px var(--uvci-green); animation: blink 1.5s infinite; }
.cvr-status-wip .cvr-status-dot     { background: #ffc832; box-shadow: 0 0 8px #ffc832; animation: blink 1s infinite; }
.cvr-status-pending .cvr-status-dot { background: rgba(255,255,255,0.25); }
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0.3;} }

/* Notify box */
.cvr-notify-box {
    display: flex; align-items: center; gap: 16px;
    background: rgba(24,168,85,0.05);
    border: 1px solid rgba(24,168,85,0.18);
    border-radius: 16px;
    padding: 20px 24px;
    flex-wrap: wrap;
}
.cvr-notify-icon { width: 44px; height: 44px; flex-shrink: 0; background: rgba(24,168,85,0.12); color: var(--uvci-green); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.cvr-notify-content { flex: 1; min-width: 180px; }
.cvr-notify-content strong { display: block; color: #fff; font-family: 'Syne', sans-serif; font-size: 0.95rem; margin-bottom: 3px; }
.cvr-notify-content span   { color: rgba(255,255,255,0.5); font-size: 0.82rem; }
.cvr-notify-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 22px; border-radius: 50px;
    background: linear-gradient(135deg, var(--uvci-green), rgba(24,168,85,0.7));
    color: #fff; font-weight: 700; font-size: 0.88rem;
    text-decoration: none; font-family: 'Syne', sans-serif;
    transition: all 0.3s; flex-shrink: 0;
}
.cvr-notify-btn:hover { opacity: 0.85; transform: translateX(4px); color: #fff; text-decoration: none; }

/* ─── RESPONSIVE ─── */
@media (max-width: 991px) {
    .cvr-hero-inner  { padding: 120px 0 60px; }
    .cvr-section     { padding: 60px 0; }
    .cvr-loader-card { padding: 36px 24px; }
}
@media (max-width: 640px) {
    .cvr-hero-actions { flex-direction: column; align-items: center; }
    .cvr-status-row   { gap: 8px; }
    .cvr-loader-card  { padding: 28px 18px; }
    .cvr-orb          { width: 110px; height: 110px; }
    .cvr-orb-ring-1   { width: 110px; height: 110px; }
    .cvr-orb-ring-2   { width: 84px; height: 84px; }
    .cvr-orb-ring-3   { width: 58px; height: 58px; }
    .cvr-notify-box   { flex-direction: column; text-align: center; }
}

.hud-task i { color: var(--uvci-purple); margin-right: 4px; }

