/* style.css - Typo's Virtual Land (light mode) */
* { box-sizing: border-box; }
body {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  margin: 0;
  background: url('bg.png') center/cover fixed no-repeat;
  color: #03396c;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

#loading {
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(240,248,255,0.9));
  display:flex;
  align-items:center;
  justify-content:center;
  z-index: 9999;
  transition: opacity 0.8s ease, visibility 0.8s;
}
#loading.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-box { text-align:center; padding: 2em 3em; border-radius: 18px; background: rgba(255,255,255,0.8); box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.loader-box h1 { margin: 0 0 0.4em 0; color: #007aff; font-size: 1.4rem; }
.spinner { width: 50px; height: 50px; border-radius: 50%; border: 6px solid rgba(0,0,0,0.06); border-top-color: #007aff; animation: spin 1s linear infinite; margin: 0 auto; }

@keyframes spin { to { transform: rotate(360deg); } }

.cursor-area { position: relative; min-height: 100vh; padding: 3rem 1rem; }

/* floating items */
.floating { position: absolute; top: 20%; width: 220px; opacity: 0.95; }
.floating.right { right: 2%; animation: floatRight 6s ease-in-out infinite; }
.floating.left { left: 2%; animation: floatLeft 5.5s ease-in-out infinite; }
.floating.delay { top: 42%; animation-delay: 1.6s; }

@keyframes floatLeft {
  0%,100% { transform: translateY(0px) rotate(-2deg); }
  50% { transform: translateY(-18px) rotate(3deg); }
}
@keyframes floatRight {
  0%,100% { transform: translateY(0px) rotate(2deg); }
  50% { transform: translateY(-14px) rotate(-3deg); }
}

.screen {
  max-width: 980px;
  margin: 2rem auto;
  background: rgba(255,255,255,0.92);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(3,57,108,0.08);
}

header { text-align:center; }
header h1 { margin: 0; color: #007aff; font-size: 2rem; letter-spacing: 0.6px; }
.tagline { margin: 0.3rem 0 1.2rem 0; color: #1a63a8; font-weight: 500; }

.menu { display:flex; gap: 0.6rem; justify-content:center; margin-bottom:1.4rem; }
.menu-btn { background: linear-gradient(180deg,#f8fbff,#eaf6ff); border: 1px solid rgba(3,57,108,0.06); padding: 0.6rem 1rem; border-radius: 10px; cursor:pointer; font-weight:600; color:#024b86; box-shadow: 0 6px 18px rgba(3,57,108,0.04); transition: transform 0.18s ease; }
.menu-btn:hover { transform: translateY(-4px); }

main { min-height: 280px; }
.card { display:none; padding: 1rem; border-radius: 12px; background: linear-gradient(180deg, rgba(255,255,255,0.6), rgba(245,249,255,0.6)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.6); }
.card.active { display:block; }

footer { margin-top: 1.4rem; display:flex; justify-content:center; align-items:center; gap:1rem; }

.power-area { display:flex; gap:1rem; align-items:center; }
/* placeholder power button circle */
#power { width:56px; height:56px; border-radius:50%; border:0; background: radial-gradient(circle at 35% 30%, #7fc3ff, #007aff); box-shadow: 0 6px 18px rgba(3,57,108,0.12); cursor:pointer; position:relative; }
#power .power-ring { display:block; width:100%; height:100%; border-radius:50%; box-shadow: 0 0 18px rgba(0,122,255,0.35); }
#power.on { box-shadow: 0 0 30px rgba(0,122,255,0.5), inset 0 -6px 12px rgba(255,255,255,0.06); transform: scale(1.03); }

/* music toggle */
.music-toggle { font-size: 0.9rem; color:#034f86; }

/* responsive */
@media (max-width:900px){
  .floating { display:none; }
  .screen { margin: 1rem; padding: 1rem; }
}
