@font-face {
    font-family: "FF8Font";
    src: url("FF8.ttf") format("truetype");
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: #000;
    overflow: hidden;
    font-family: "FF8Font", sans-serif;
    font-size: 1rem;
    color: #ededed;
    text-shadow: #414131 2px 2px;
    line-height: 1.2;
}

#viewport {
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    justify-content: center;
}

/* Info Box */
.info-box {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    padding: 1rem 1.5rem;
    background: linear-gradient(90deg, rgba(50, 50, 50, 0.9), rgba(100, 100, 100, 0.9));
    border-style: groove ridge ridge groove;
    border-width: 4px;
    border-radius: 2px;
    border-color: #747474 #313131 #313131 #747474;
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-box h1 { margin: 0; font-size: 1.4rem; font-weight: normal; }
.info-box p { margin: 0; font-size: 1rem; opacity: 0.9; }

/* Moogle Icon */
.moogle-icon {
    width: 32px; height: 32px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.4);
    flex-shrink: 0;
}

.moogle-icon::before {
    content: "M";
    font-family: Arial, sans-serif;
    font-weight: 900;
    font-size: 20px;
    background: linear-gradient(to bottom, #ff71ce 0%, #fffb96 33%, #05ffa1 66%, #b967ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    transform: translateY(-1px);
    text-shadow: none;
}

/* Mini Map (Rectangle) */
.mini-map {
    position: absolute;
    bottom: 25px;
    left: 15px;
    width: 140px;
    height: 90px;
    z-index: 10;
    border: 2px solid #444;
    border-radius: 5px;
    background-color: #222;
    overflow: hidden;
    box-shadow: 1px 1px 6px rgba(0,0,0,0.7);
    transition: width 0.3s ease, height 0.3s ease;
    cursor: pointer;
}

.mini-map:hover {
    width: 250px;
    height: 180px;
}

.mini-map img { width: 100%; height: 100%; object-fit: cover; }

/* Footer */
.streetview-footer {
    position: absolute;
    bottom: 0; right: 0;
    z-index: 10;
    display: flex; gap: 12px;
    font-family: Arial, sans-serif;
    font-size: 10px;
    color: white;
    background: rgba(0, 0, 0, 0.6);
    padding: 2px 10px;
    border-top-left-radius: 2px;
    text-shadow: none;
}

.streetview-footer a { color: white; text-decoration: none; opacity: 0.8; }

/* Navigation */
.nav-zone { position: absolute; cursor: pointer; z-index: 5; }
.ff-cursor { width: 75px; filter: drop-shadow(3px 3px 2px rgba(0,0,0,0.8)); }
@keyframes bounce-vertical { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(12px); } }
.nav-zone:hover { animation: bounce-vertical 0.6s infinite ease-in-out; }