/* 🌸 Base Styles */
body {
  margin: 0;
  font-family: 'Comic Sans MS', cursive;
  background: linear-gradient(to right, #ffd6f6, #d6f6ff);
  color: #5a005a;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
}

/* 🌸 Themed Scrollbars */
body::-webkit-scrollbar,
.center::-webkit-scrollbar,
.gallery-wrapper::-webkit-scrollbar {
  width: 10px;
}
body::-webkit-scrollbar-track,
.center::-webkit-scrollbar-track,
.gallery-wrapper::-webkit-scrollbar-track {
  background: #ffe0f0;
}
body::-webkit-scrollbar-thumb,
.center::-webkit-scrollbar-thumb,
.gallery-wrapper::-webkit-scrollbar-thumb {
  background: #ffb6d9;
  border-radius: 5px;
  border: 2px solid #fff0f5;
}

/* 🧁 Header */
header {
  position: relative;
  z-index: 2;
  text-align: center;
  font-weight: bold;
  padding: 0;
  height: 160px;
  overflow: visible;
  background-image: url('https://zavieracomplains.neocities.org/testsite/images/surelythiswontwork2.png');
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% 100%;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}
.header-content {
  padding: 1rem;
  position: relative;
  z-index: 3;
  color: #5a005a;
  font-weight: bold;
  text-align: center;
}

.sticky-banner {
  margin-top: 2rem;
  padding: 1rem;
  background: #fff8dc;
  border: 2px dashed #d4a373;
  box-shadow: 4px 4px 0 #e0c097;
  max-width: 600px;
  text-align: center;
  position: relative;
}

.sticky-banner::before,
.sticky-banner::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 20px;
  background: repeating-linear-gradient(
    45deg,
    #fdd,
    #fdd 5px,
    #fcc 5px,
    #fcc 10px
  );
  top: -10px;
}

.sticky-banner::before {
  left: 10px;
  transform: rotate(-5deg);
}

.sticky-banner::after {
  right: 10px;
  transform: rotate(5deg);
}

/* 🍥 Footer */
footer {
  position: relative;
  z-index: 2;
  text-align: center;
  font-weight: bold;
   height: 160px;
  overflow: visible;
  background: url('https://zavieracomplains.neocities.org/testsite/images/surelythiswontwork.png');
  background-repeat: no-repeat;
  background-position: center bottom;
   background-size: 100% 100%;
}
.footer-content {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 0.9rem;
}
/* 🧩 Layout Structure */
.layout {
  flex: 1;
  display: flex;
  width: 100%;
  overflow: hidden;
}
.side {
  width: 10%;
  min-width: 80px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top center;
}
.side.left {
  background-image: url('images/decor-snail.gif');
}
.side.right {
  background-image: url('images/decor-bat.gif');
}
.center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
  padding: 1rem;
  background: linear-gradient(to right, #ffd6f6, #d6f6ff);
  border-radius: 40px;
  mask-image: radial-gradient(circle at top center, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: radial-gradient(circle at top center, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 100%);
}

/* 🎚️ Filters */
.filters {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.filters .group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

/* 💖 Buttons */
button {
  background-image: url('https://zavieracomplains.neocities.org/testsite/images/sparkleonyoucrazydiamond.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  color: #5a005a;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
  transition: transform 0.2s ease;
  border: 2px solid #ffccf9;
  box-shadow: 0 0 4px rgba(255, 200, 255, 0.3);
}
button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 8px rgba(255, 182, 193, 0.5);
}
.selected {
  border: 2px solid #ff69b4;
  box-shadow: 0 0 5px #ff69b4;
}
/* 🌸 Gallery Wrapper */
.gallery-wrapper {
  width: 90%;
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  overflow-y: auto;
  overflow-x: hidden;
  background: #fff8fc;
  padding: 1rem;
  box-shadow: 0 0 10px rgba(255, 200, 255, 0.3);
  border-radius: 40px;
  mask-image: radial-gradient(circle at bottom center, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: radial-gradient(circle at bottom center, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 100%);
}

/* 🐾 Pet Gallery Grid */
.pet-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}

/* 🐣 Pet Card Container */
.pet-card {
  display: none;
  background: #fff0f8;
  background-size: cover;
  background-position: center;
  padding: 1.5rem;
  border-radius: 40px;
  box-shadow: 0 0 10px rgba(255, 200, 255, 0.3);
  flex-direction: column;
  align-items: center;
  position: relative;
  max-width: 530px;
  margin: 2rem auto;
  mask-image: radial-gradient(circle at bottom center, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: radial-gradient(circle at bottom center, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 100%);
}
.pet-card.active {
  display: flex;
}

/* 🎚️ Toggle Buttons */
.pet-toggle {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 1rem auto;
}
.pet-card button.toggle-age,
.pet-card button.toggle-info {
  background: linear-gradient(to right, #ffd6f6, #d6f6ff);
  border: 2px dashed #ccc;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  text-align: center;
  transition: transform 0.2s ease;
  margin: 0;
}
.pet-card button:hover {
  transform: scale(1.05);
}

/* 🧁 Pet Header (Name) */
.pet-header-row {
  background: url('https://zavieracomplains.neocities.org/testsite/images/rainbowdream.png');
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  padding: 0.6rem 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  color: #5a005a;
  margin: 0 auto 1rem auto;
  text-align: center;
  line-height: 1.3;
  max-width: fit-content;
  position: relative;
}
.pet-header-row span {
  background: rgba(255, 255, 255, 0.5);
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  border: 2px solid white;
}
.pet-name {
  margin-bottom: 0.15rem;
  color: #000000;
  font-size: 0.8rem;
}

/* 🖼️ Pet Image */
.pet-image {
  width: 500px;
  height: 250px;
  text-align: center;
  margin: 1rem 0;
  background: url('https://zavieracomplains.neocities.org/testsite/images/rainbowdream.png');
  background-size: cover;
  background-position: center;
  padding: 0.75rem;
  border-radius: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.pet-photo {
 max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  padding: 0.4rem;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid white;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.5),
    0 0 0 5px #ffccf9,
    2px 2px 6px rgba(0,0,0,0.1);
}

.pet-info {
  position: relative;
  background:
    url('https://zavieracomplains.neocities.org/testsite/images/rainbowdream.png'),
    rgba(255, 255, 255, 0.5);
  background-size: cover;
  background-position: center;
  border: 2px solid white;
  border-radius: 12px;
  padding: 1rem;
  flex-shrink: 0;
  width: 100%;
  max-width: 480px;
  margin: 1rem 0;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 0.5),
    0 0 0 5px #ffccf9,
    2px 2px 6px rgba(0,0,0,0.1);
  font-size: 0.85rem;
  line-height: 1.4;
  color: #5a005a;
}


.pet-info::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 80px;
  height: 20px;
  background: linear-gradient(135deg, #ffe0f0, #ffd6f6);
  border-radius: 4px;
  box-shadow:
    0 2px 4px rgba(0,0,0,0.1),
    inset 0 -2px 4px rgba(255,255,255,0.3);
  z-index: 2;
}
.species-toggle {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.species-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.species-option img {
  width: 80px; /* Adjust size as needed */
  height: auto;
  margin-bottom: 0.5rem;
}

.species-option button {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  background-color: #f0e6ff;
  border: 2px solid #caa6ff;
  border-radius: 8px;
  cursor: pointer;
}


/* 🫥 Utility */
.hidden {
  display: none !important;
}
