/* Mobile-first base */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif, sans-serif;
  line-height: 1.6;
  background: linear-gradient(135deg, #ffc0cb, #ff69b4);
  color: #333;
}

/* HEADER */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em;
  background: rgba(255,255,255,0.8);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
}
.logo img {
  width: 50px;
  height: 50px;
  margin-right: 0.5em;
  animation: logo-spin 5s linear infinite;
}
@keyframes logo-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.logo span {
  font-size: 1.4em;
  font-weight: bold;
  color: #900;
}

/* NAVIGATION (page list) */
.main-nav .page-list {
  list-style: none;
  display: flex;
  gap: 1em;
}
.main-nav .page-list a {
  text-decoration: none;
  padding: 0.5em 1em;
  border-radius: 4px;
  transition: background 0.3s, transform 0.2s;
}
.main-nav .page-list a:hover {
  background: #ff1493;
  color: #fff;
  transform: translateY(-2px);
}

/* GRID LAYOUT */
.grid-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2em;
  padding: 1em;
}
@media (min-width: 768px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* HERO */
.hero {
  background: rgba(255,255,255,0.7);
  padding: 1.5em;
  text-align: center;
  border-radius: 8px;
  position: relative;
}
.hero h1 {
  font-size: 2em;
  margin-bottom: 0.5em;
}
.btn-play {
  padding: 0.75em 1.5em;
  font-size: 1em;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  background: #ff69b4;
  color: #fff;
  transition: transform 0.2s;
  position: relative;
  z-index: 2;
}
.btn-play:hover {
  transform: scale(1.05);
}

/* 3D PHOTO ANIMATION */
.photo-3d {
  perspective: 800px;
}
.photo-3d img {
  width: 100%;
  display: block;
  transform-style: preserve-3d;
  animation: rotate3d 10s infinite linear;
}
@keyframes rotate3d {
  0%   { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}
.photo-3d figcaption {
  text-align: center;
  margin-top: 0.5em;
  font-style: italic;
}

/* VIDEO */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
}
.video-wrapper iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 0;
}

/* POEM BLOCKQUOTE */
.poem blockquote {
  border-left: 4px solid #900;
  padding-left: 1em;
  font-style: italic;
  margin: 1em 0;
}
.poem footer {
  text-align: right;
  margin-top: 0.5em;
}

/* COMMENTS */
.comments form {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}
.comments textarea {
  min-height: 80px;
  padding: 0.5em;
  resize: vertical;
}
.comments button {
  align-self: flex-start;
  padding: 0.5em 1em;
  border: none;
  cursor: pointer;
  background: #ff1493;
  color: #fff;
  border-radius: 4px;
}
#comment-list {
  margin-top: 1em;
}

/* SEPARATOR */
.separator {
  margin: 2em 0;
  border: 0;
  border-top: 2px dashed #900;
}

/* FOOTER */
.site-footer {
  text-align: center;
  padding: 1em;
  background: rgba(255,255,255,0.8);
}
.site-footer .social {
  margin-bottom: 0.5em;
}
.youtube-icon img {
  width: 32px;
  height: 32px;
  transition: transform 0.3s;
}
.youtube-icon:hover img {
  transform: scale(1.2) rotate(-10deg);
}

/* ADVANCED MOUSE EFFECT: custom cursor */
body {
  cursor: url('img/flower\ logo\ final_pages-to-jpg-0001.jpg'), auto;
}

/* STACKING EXAMPLE */
.hero::after {
  content: "";
  position: absolute;
  top: -10px; left: -10px;
  right: -10px; bottom: -10px;
  border: 2px solid rgba(255,20,147,0.5);
  z-index: 1;
  pointer-events: none;
}

/* ensure footer stays below */
.site-footer {
  position: relative;
  z-index: 0;
}
