body {
  background: #0e0e0e;
  color: #eaeaea;
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
}

nav {
  display: flex;
  justify-content: center;
  background: #1a1a1a;
  border-bottom: 2px solid #000000;
}

nav button {
  padding: 12px 24px;
  border: none;
  background: #2a2a2a;
  color: #eee;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s, color 0.3s;
}

nav button:hover {
  background: #4b0082;
}

nav button.active {
  background: #800080;
  color: #fff;
}

section {
  display: none;
  padding: 30px;
  max-width: 900px;
  margin: 30px auto;
  background: #1c1c1c;
  border: 1px solid #800080;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(128, 0, 128, 0.5);
}

h2, h3 {
  color: #ff69b4;
}

ul {
  list-style: disc;
  padding-left: 20px;
}

.toy {
  width: 100px;
  height: 100px;
  background: radial-gradient(circle at 50% 50%, #ff69b4, #800080);
  border-radius: 50%;
  margin: 40px auto;
  box-shadow: 0 0 20px #800080;
}

body {
  background: #0e0e0e;
  color: #eaeaea;
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
}
nav {
  display: flex;
  justify-content: center;
  background: #1a1a1a;
  border-bottom: 2px solid #800080;
}

nav button {
  padding: 12px 24px;
  border: none;
  background: #2a2a2a;
  color: #eee;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s, color 0.3s;
}

nav button:hover {
  background: #4b0082;
}

nav button.active {
  background: #800080;
  color: #fff;
}

section {
  display: none;
  padding: 30px;
  max-width: 900px;
  margin: 30px auto;
  background: #1c1c1c;
  border: 1px solid #800080;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(128, 0, 128, 0.5);
}

h2, h3 {
  color: #ff69b4;
}

ul {
  list-style: disc;
  padding-left: 20px;
}

header .logo {
  width: 256px;
}

header {
  background: #000000;
  padding: 25px;
  text-align: center;
  color: #fff;
  font-size: 32px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.audio-player {
    width: 300px;
    text-align: center;
    background-color: #3d3a3a;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding-right: 7px;
}

.controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

#play-pause {
    background-color: #800080;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}

#seek-bar {
    flex-grow: 1;
    margin: 0 10px;
}

#current-time, #duration {
    font-size: 14px;
}

.page-layout {
  display: flex;
  min-height: 100vh;
}

.side-image {
  width: 120px; /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
}

.side-image img {
  max-width: 100%;
  height: auto;
}

.main-content {
  flex: 1;
  padding: 24px;
  background: #fff;
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.gallery-thumb {
  max-width: 120px;
  max-height: 120px;
  border-radius: 8px;
  border: 2px solid #c71585;
  object-fit: cover;
  background: #222;
}

.gallery-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
}

.gallery-modal-content {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 0 24px #000;
  display: block;
  margin: 0 auto;
}

.gallery-modal-close {
  position: absolute;
  top: 24px;
  right: 40px;
  color: #fff;
  font-size: 48px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  text-shadow: 0 0 10px #000;
}

/* Responsive Design for Mobile */
@media (max-width: 700px) {
  header .logo {
    width: 140px;
  }

  header {
    flex-direction: column;
    padding: 12px;
    font-size: 20px;
    gap: 8px;
  }

  nav {
    flex-direction: column;
    align-items: stretch;
    width: 100vw;
    min-width: 0;
    box-sizing: border-box;
  }

  nav button {
    font-size: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #333;
    border-radius: 0;
    width: 100%;
    text-align: left;
  }

  section {
    padding: 12px;
    margin: 12px 4px;
    max-width: 100vw;
    box-sizing: border-box;
  }

  .audio-player {
    width: 100%;
    min-width: 0;
    max-width: 100vw;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .controls {
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
  }

  #seek-bar {
    width: 100%;
    margin: 8px 0;
  }

  .page-layout {
    flex-direction: column;
    min-height: unset;
  }

  .side-image {
    display: none;
  }

  .main-content {
    padding: 10px;
    background: #fff;
  }

  .gallery-grid {
    gap: 6px;
    justify-content: center;
  }

  .gallery-thumb {
    max-width: 80px;
    max-height: 80px;
  }

  .gallery-modal-content {
    max-width: 98vw;
    max-height: 70vh;
  }

  .gallery-modal-close {
    top: 8px;
    right: 16px;
    font-size: 32px;
  }
}

/* Extra: Make audio controls and gallery scale on very small screens */
@media (max-width: 400px) {
  .audio-player {
    padding: 4px;
  }
  .gallery-thumb {
    max-width: 60px;
    max-height: 60px;
  }
  .gallery-modal-content {
    max-width: 99vw;
    max-height: 50vh;
  }
}