/* ============================================
   clover's corner — frutiger aero / y2k stylesheet
   ============================================ */

:root {
  --sky-top: #2e7fd6;
  --sky-mid: #6fb8ea;
  --sky-bottom: #cdeeff;
  --glass: rgba(255,255,255,0.42);
  --glass-strong: rgba(255,255,255,0.72);
  --glass-border: rgba(255,255,255,0.9);
  --aqua: #00c2a8;
  --aqua-deep: #0088c6;
  --lime: #baf23c;
  --text: #123a52;
  --text-soft: #386a86;
  --shadow: 0 8px 24px rgba(20, 70, 100, 0.25);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  color: var(--text);
  min-height: 100vh;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 45%, var(--sky-bottom) 100%);
  overflow-x: hidden;
}

/* ---------- scrollbar (webkit) ---------- */
::-webkit-scrollbar { width: 14px; }
::-webkit-scrollbar-track { background: var(--sky-bottom); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #fff, var(--aqua-deep));
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,0.6);
}

/* ---------- drifting sky layer ---------- */
.sky {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.cloud {
  position: absolute;
  background: radial-gradient(ellipse at 30% 30%, rgba(255,255,255,0.95), rgba(255,255,255,0.55) 60%, rgba(255,255,255,0) 75%);
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.8;
}
.c1 { width: 340px; height: 140px; top: 6%; left: -20%; animation: drift 55s linear infinite; }
.c2 { width: 220px; height: 100px; top: 18%; left: -30%; animation: drift 80s linear infinite; animation-delay: -20s; opacity: 0.6;}
.c3 { width: 420px; height: 170px; top: 2%; left: -40%; animation: drift 100s linear infinite; animation-delay: -50s; opacity: 0.5;}
@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(160vw); }
}
.sparkle {
  position: absolute;
  color: #fff;
  text-shadow: 0 0 6px #fff, 0 0 12px var(--aqua);
  animation: twinkle 3s ease-in-out infinite;
  font-size: 1.4rem;
}
.s1 { top: 12%; left: 15%; animation-delay: 0s; }
.s2 { top: 30%; left: 80%; animation-delay: 1s; }
.s3 { top: 50%; left: 40%; animation-delay: 2s; }
@keyframes twinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* ---------- page shell ---------- */
.page {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}

/* ---------- header ---------- */
.orb-header {
  text-align: center;
  padding: 20px 0 10px;
}
.orb-logo {
  width: 92px;
  height: 92px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #eaffff, var(--aqua) 55%, var(--aqua-deep) 85%);
  box-shadow: 0 10px 20px rgba(0,60,90,0.35), inset 0 -6px 10px rgba(0,50,70,0.35);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Comfortaa", sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,40,60,0.5);
}
.orb-logo.small { width: 64px; height: 64px; font-size: 1.4rem; }
.orb-shine {
  position: absolute;
  top: 10%;
  left: 18%;
  width: 40%;
  height: 30%;
  background: rgba(255,255,255,0.85);
  border-radius: 50%;
  filter: blur(3px);
  transform: rotate(-20deg);
}

.chrome-text {
  font-family: "Comfortaa", sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  margin: 6px 0 2px;
  letter-spacing: 1px;
  background: linear-gradient(180deg, #ffffff 0%, #cfe9f6 35%, #7fb8d6 50%, #ffffff 60%, #4a90c2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 1px rgba(255,255,255,0.6), 0 6px 14px rgba(10,60,90,0.35);
}
.tagline {
  color: #eaf7ff;
  text-shadow: 0 1px 3px rgba(10,50,80,0.4);
  font-size: 0.95rem;
  margin: 0 0 20px;
}

/* ---------- glass nav ---------- */
.glass-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.glass-pill {
  text-decoration: none;
  color: var(--text);
  font-weight: bold;
  font-size: 0.9rem;
  padding: 9px 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.35));
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 10px rgba(10,60,90,0.2), inset 0 1px 0 rgba(255,255,255,0.9);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.glass-pill:hover, .glass-pill.active {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(10,60,90,0.3), inset 0 1px 0 rgba(255,255,255,0.9);
  background: linear-gradient(180deg, #ffffff, var(--aqua));
  color: #06465c;
}

/* ---------- marquee ---------- */
.marquee-bar {
  margin: 22px 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0.15));
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 6px 0;
  box-shadow: var(--shadow);
  color: var(--text);
  font-weight: bold;
  font-size: 0.85rem;
}

/* ---------- layout grid ---------- */
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
@media (max-width: 780px) {
  .content-grid { grid-template-columns: 1fr; }
}

/* ---------- glass card ---------- */
.glass-card {
  background: linear-gradient(160deg, var(--glass-strong), var(--glass));
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 24px 26px;
  margin-bottom: 22px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,0.8);
  backdrop-filter: blur(6px);
}
.section-title {
  font-family: "Comfortaa", sans-serif;
  color: #06465c;
  font-size: 1.3rem;
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.droplet {
  display: inline-block;
  width: 14px; height: 18px;
  background: radial-gradient(circle at 35% 30%, #fff, var(--aqua-deep) 70%);
  border-radius: 50% 50% 50% 0;
  transform: rotate(45deg);
  box-shadow: 0 2px 4px rgba(0,60,90,0.3);
}

/* ---------- buttons ---------- */
.button-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.glossy-btn {
  display: inline-block;
  text-decoration: none;
  font-weight: bold;
  font-family: "Trebuchet MS", sans-serif;
  color: #054a63;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #bdeaff 45%, var(--aqua-deep) 100%);
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 6px 12px rgba(10,60,90,0.3), inset 0 1px 0 rgba(255,255,255,0.9);
  cursor: pointer;
  transition: transform 0.12s ease;
}
.glossy-btn:hover { transform: translateY(-2px) scale(1.02); }
.glossy-btn:active { transform: translateY(1px) scale(0.99); }
.glossy-btn.alt { background: linear-gradient(180deg, #ffffff 0%, #e8ffb8 45%, var(--lime) 100%); }
.glossy-btn.small { padding: 6px 10px; font-size: 0.85rem; }
.glossy-btn.block { display: block; text-align: center; }

/* ---------- posts ---------- */
.post h3 { margin-bottom: 4px; color: #06465c; }
.pin { font-size: 0.7rem; background: var(--lime); padding: 2px 8px; border-radius: 8px; vertical-align: middle; }
.post-meta { font-size: 0.8rem; color: var(--text-soft); margin-top: 0; }
.mood-tag {
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--glass-border);
  padding: 1px 8px;
  border-radius: 8px;
  font-weight: bold;
}
.read-more { color: var(--aqua-deep); font-weight: bold; text-decoration: none; }
.wave-divider {
  border: none;
  height: 10px;
  margin: 18px 0;
  background: repeating-radial-gradient(circle at 10px -2px, transparent 0, transparent 6px, rgba(255,255,255,0.7) 7px, rgba(255,255,255,0.7) 8px);
  background-size: 20px 20px;
  opacity: 0.8;
}

/* ---------- music player ---------- */
.player {
  display: flex;
  gap: 20px;
  align-items: center;
  background: rgba(255,255,255,0.4);
  border-radius: 14px;
  padding: 16px;
  border: 1px solid var(--glass-border);
}
.disc {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, #7fd6e8, #0088c6 4px, #7fd6e8 8px);
  box-shadow: 0 4px 10px rgba(0,50,80,0.4);
  position: relative;
  animation: spin 4s linear infinite;
  flex-shrink: 0;
}
.disc-hole {
  position: absolute; top: 50%; left: 50%;
  width: 14px; height: 14px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%,-50%);
  box-shadow: 0 0 0 2px var(--aqua-deep);
}
@keyframes spin { to { transform: rotate(360deg); } }
.eq { display: flex; gap: 3px; align-items: flex-end; height: 24px; position: absolute; margin-left: 90px; }
.player-face { position: relative; }
.eq span {
  width: 4px; background: var(--aqua-deep);
  animation: bounce 1s ease-in-out infinite;
  border-radius: 2px;
}
.eq span:nth-child(1){height: 10px; animation-delay: 0s;}
.eq span:nth-child(2){height: 20px; animation-delay: .1s;}
.eq span:nth-child(3){height: 14px; animation-delay: .2s;}
.eq span:nth-child(4){height: 22px; animation-delay: .3s;}
.eq span:nth-child(5){height: 8px; animation-delay: .4s;}
@keyframes bounce { 0%,100%{ transform: scaleY(0.4);} 50%{ transform: scaleY(1);} }
.player-info { flex: 1; }
.track-title { font-weight: bold; margin: 0; color: #06465c; }
.track-artist { margin: 0 0 8px; color: var(--text-soft); }
.progress { height: 8px; border-radius: 6px; background: rgba(255,255,255,0.6); border: 1px solid var(--glass-border); overflow: hidden; }
.progress-fill { width: 42%; height: 100%; background: linear-gradient(90deg, var(--aqua), var(--aqua-deep)); }
.player-controls { margin-top: 10px; display: flex; gap: 6px; }
.rotation-label { text-align: center; font-weight: bold; color: #06465c; margin: 18px 0 6px; }
.track-list { list-style: none; padding: 0; margin: 0; }
.track-list li {
  padding: 8px 12px;
  background: rgba(255,255,255,0.35);
  border-radius: 8px;
  margin-bottom: 6px;
  border: 1px solid rgba(255,255,255,0.6);
}

/* ---------- about ---------- */
.about-grid { display: flex; gap: 20px; align-items: flex-start; }
.stat-list { list-style: none; padding: 0; margin: 0; }
.stat-list li { margin-bottom: 8px; }
.status-dot {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  background: #4ade80; box-shadow: 0 0 6px #4ade80;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:.4;} }

/* ---------- sidebar ---------- */
.sidebar-card { padding: 18px 20px; }
.sidebar-title {
  font-family: "Comfortaa", sans-serif;
  color: #06465c;
  font-size: 1rem;
  margin: 0 0 12px;
  text-align: center;
}
.small-note { font-size: 0.8rem; color: var(--text-soft); text-align: center; margin-top: -6px;}

.odometer {
  display: flex;
  justify-content: center;
  gap: 3px;
}
.odometer span {
  background: linear-gradient(180deg, #062a3a, #0a4661);
  color: #baf23c;
  font-family: 'Courier New', monospace;
  font-weight: bold;
  font-size: 1.4rem;
  width: 24px;
  text-align: center;
  border-radius: 3px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.6);
}
.counter-caption { text-align: center; font-size: 0.8rem; margin: 8px 0 0; }

.webring { text-align: center; }
.webring-name { font-size: 0.8rem; margin: 8px 0; color: var(--text-soft); }

.blinkie-row { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.blinkie {
  width: 130px; height: 34px;
  background: repeating-linear-gradient(45deg, var(--aqua-deep), var(--aqua-deep) 6px, #0aa0c9 6px, #0aa0c9 12px);
  color: #fff;
  font-size: 0.65rem;
  font-weight: bold;
  text-align: center;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid #fff;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.4);
  animation: blink 1s step-start infinite;
  line-height: 1.1;
}
.blinkie.alt { background: repeating-linear-gradient(45deg, var(--lime), var(--lime) 6px, #9fe62e 6px, #9fe62e 12px); color: #063a12; }
@keyframes blink { 50% { filter: brightness(1.3); } }

.button-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mini-btn {
  height: 31px;
  background: linear-gradient(180deg, #fff, var(--aqua-deep));
  border: 1px solid #fff;
  border-radius: 4px;
  font-size: 0.65rem;
  display: flex; align-items: center; justify-content: center;
  color: #054a63; font-weight: bold;
}

/* ---------- guestbook ---------- */
.guestbook-form { display: flex; flex-direction: column; gap: 10px; max-width: 420px; margin-top: 14px; }
.guestbook-form input, .guestbook-form textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.7);
  font-family: inherit;
  resize: vertical;
}
.guestbook-entries { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.gb-entry {
  background: rgba(255,255,255,0.5);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 10px 14px;
}
.gb-entry strong { color: #06465c; }
.gb-entry span { font-size: 0.75rem; color: var(--text-soft); float: right; }

/* ---------- footer ---------- */
footer { text-align: center; padding-top: 10px; }
.footer-blinkies { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.small-blinkie { width: 100px; height: 30px; font-size: 0.58rem; }
.footer-text { color: #eaf7ff; text-shadow: 0 1px 3px rgba(10,50,80,0.4); font-size: 0.85rem; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
