/* Body & Fonts */
body {
  font-family: 'Lexend', 'Poppins', sans-serif;
  margin:0;
  background:#0b001a;
  color:#f0f0f0;
  overflow-x:hidden;
}

/* Header */
header {
  text-align:center;
  padding:2rem;
  z-index:5;
}
header h1 {
  font-size:2.5rem;
  background:linear-gradient(45deg,#72f0ff,#c592ff,#ff72f8,#a6ffe2);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  filter: drop-shadow(0 0 8px rgba(114,240,255,0.7));
}
header p { color:#a6ffe2cc; }
.profile-gif { width:100px; height:100px; border-radius:50%; border:2px solid #c592ff; margin-bottom:1rem; }

/* Main Column */
.main-column {
  max-width:800px;
  margin:0 auto;
  padding:2rem 1rem;
  background: rgba(20,0,40,0.7);
  border-radius:12px;
  box-shadow:0 0 20px rgba(0,255,255,0.2);
  backdrop-filter:blur(5px);
}

/* Boxes */
.box {
  background: rgba(30,0,60,0.7);
  border:1px solid rgba(180,150,255,0.2);
  border-radius:10px;
  padding:1rem;
  margin-bottom:1.5rem;
  transition:all 0.3s ease;
}
.box:hover { box-shadow:0 0 15px rgba(180,150,255,0.5); }

/* Art Grid */
.art-grid { display:flex; gap:10px; flex-wrap:wrap; }
.art-grid img { width:calc(33% - 6px); border-radius:6px; border:1px solid rgba(255,255,255,0.1); }

/* Links / Anchor Tags */
a {
  color: #72f0ff; /* Brighter cyan for readability */
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
a:hover {
  color: #ffffff;
  text-shadow: 0 0 8px #72f0ff;
}

/* Guestbook Form */
#guestbook-form input,#guestbook-form textarea {
  width:100%;
  padding:8px;
  margin-bottom:8px;
  border-radius:6px;
  border:1px solid #888;
  background: rgba(20,0,40,0.7);
  color:#fff;
}
#guestbook-form button {
  padding:8px 12px;
  border-radius:6px;
  background:#72f0ff;
  border:none;
  cursor:pointer;
  color:#0b001a;
  font-weight:500;
}
#guestbook-entries { margin-top:15px; display:flex; flex-direction:column; gap:10px; }
.guest-entry { padding:10px; background: rgba(30,0,60,0.7); border-radius:8px; border:1px solid rgba(180,150,255,0.2); }
.guest-entry h4 { margin:0; color:#a6ffe2; }
.guest-entry p { margin:5px 0 0 0; }

/* Side Tabs */
.side-tab {
  position: fixed;
  top: 150px;
  width: 160px; /* Wider for readability */
  background: rgba(30,0,60,0.7);
  border:1px solid rgba(180,150,255,0.2);
  border-radius:10px;
  padding:0.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index:5;
}
.side-tab h3 { margin-top:0; font-size:1.1rem; color:#a6ffe2; }
.side-tab.left { left: 60px; transform: translateX(-20%);}
.side-tab.right { right: 60px; transform: translateX(20%);}
.side-tab:hover { transform: translateX(0); box-shadow: 0 0 15px rgba(180,150,255,0.45);}

/* Right Art Tab */
.art-link {
  color: #72f0ff; /* Matches left links */
  text-decoration: none;
  font-weight:500;
  display:block;
  margin-top:5px;
}
.art-link:hover { text-decoration: underline; text-shadow:0 0 8px #72f0ff; }

/* Floating GIFs/images container */
#floating-container {
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  pointer-events:none;
  z-index:0;
}
.floating-gif {
  position:absolute;
  width:60px;
  height:60px;
  pointer-events:none;
  border-radius:6px;
  border:1px solid rgba(255,255,255,0.1);
}

/* Music Widget */
.music-widget {
  margin-top:10px;
  background: rgba(20,0,40,0.85);
  border-radius:8px;
  padding:8px;
  text-align:center;
  border:1px solid rgba(114,240,255,0.3);
}
.music-header { font-weight:500; margin-bottom:5px; color:#72f0ff; }
.music-track { font-size:0.85rem; margin-bottom:5px; color:#ffffff; }

.dropdown {
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 10px;
  transition: all 0.3s ease;
}

.dropdown-btn {
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  text-align: left;
  font-size: 1.1rem;
  cursor: pointer;
  transition: 0.3s;
}

.dropdown-btn:hover {
  color: #a59bff;
}

.tldr {
  font-size: 0.9rem;
  opacity: 0.8;
  margin: 5px 0 10px;
}

.dropdown-content {
  display: none;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #dcdcdc;
  padding-top: 5px;
  animation: fadeIn 0.4s ease;
}

.dropdown.open .dropdown-content {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Custom Music Player */
.custom-player {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.play-btn {
  background: rgba(114,240,255,0.1);
  border: 1px solid rgba(114,240,255,0.3);
  color: #72f0ff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.play-btn:hover {
  background: rgba(114,240,255,0.3);
  transform: scale(1.1);
}

.progress-container {
  width: 80px;
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #72f0ff, #c592ff, #ff72f8);
  border-radius: 3px;
  transition: width 0.2s linear;
}

/* Equalizer Bars */
.equalizer {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin-top: 5px;
  height: 12px;
}

.equalizer span {
  display: block;
  width: 3px;
  height: 5px;
  background: #72f0ff;
  animation: eqAnim 1s ease-in-out infinite;
  border-radius: 2px;
}

.equalizer span:nth-child(2) { animation-delay: 0.2s; }
.equalizer span:nth-child(3) { animation-delay: 0.4s; }
.equalizer span:nth-child(4) { animation-delay: 0.6s; }
.equalizer span:nth-child(5) { animation-delay: 0.8s; }

@keyframes eqAnim {
  0%, 100% { height: 4px; opacity: 0.5; }
  50% { height: 12px; opacity: 1; }
}

/* Hide animation when paused */
.equalizer.paused span {
  animation-play-state: paused;
  opacity: 0.5;
}
