/* --- GENERAL --- */
body {
  background-color: #1a0d1a;
  background-image: url('PinkForest.gif'); /* change if needed */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  font-family: Arial, sans-serif;
}

header {
  text-align: center;
  color: #ff4fa3; /* neon pink text */
}

h1:hover {
  text-shadow: 0 0 15px #ff4fa3, 0 0 30px #ff4fa3, 0 0 45px #ff4fa3;
  transition: text-shadow 0.3s ease-in-out;
}

/* --- NAVIGATION --- */
nav {
  width: 50%;
  margin: 0 auto;
  text-align: center;
  word-spacing: 70px;
  padding: 10px;
  background-color: rgba(20, 0, 10, 0.9);
  box-shadow: 0 0 20px rgba(255, 79, 163, 0.4);
  border: 1px solid #ff4fa3;
  border-radius: 8px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

nav:hover {
  box-shadow: 0 0 10px 5px rgba(255, 79, 163, 0.8);
}

nav a {
  color: #ffb7da;
  text-decoration: none;
  font-size: larger;
  font-weight: bold;
  text-shadow: 0 0 8px #ff4fa3;
}

nav a:hover {
  text-shadow: 0 0 15px #ff4fa3, 0 0 30px #ff4fa3, 0 0 45px #ff4fa3;
  transition: text-shadow 0.3s ease-in-out;
}

/* --- LAYOUT --- */
.layout-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  margin: 5vh auto;
}

.rectangle {
  position: relative;
  flex: 0 0 60%;
  height: 70vh;
  background-color: rgba(0, 0, 0, 0.85);
  background-size: cover;
  background-position: center;
  border: 2px solid #ff4fa3;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(255, 79, 163, 0.5);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  color: #ffb7da; /* text inside rectangle readable */
}

.rectangle:hover {
  box-shadow: 0 0 20px 10px rgba(255, 79, 163, 0.8);
}

.sidebox {
  flex: 0 0 15%;
  height: 70vh;
  background-color: rgba(25, 10, 25, 0.9);
  border: 2px solid #ff4fa3;
  box-shadow: 0 0 20px rgba(255, 79, 163, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  transition: box-shadow 0.3s ease;
}

/* Hover glow on sideboxes */
.sidebox:hover {
  box-shadow: 0 0 15px 8px rgba(255, 79, 163, 0.8);
}

/* --- BUTTONS --- */
.gif-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: #ffb7da;
  cursor: pointer;
  font-size: 18px;
  font-family: inherit;
  text-shadow: 0 0 8px #ff4fa3;
  transition: text-shadow 0.3s ease-in-out, transform 0.3s ease;
}

.gif-button:hover {
  text-shadow: 0 0 20px #ff4fa3, 0 0 40px #ff4fa3, 0 0 60px #ff4fa3;
  transform: scale(1.1);
}

.gif-button img {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 0 10px #ff4fa3);
}

/* --- ADDED: MATCH INDEX TEXT STYLE --- */

/* All important text uses same glow style as index */
p, span, li, h2, h3, h4, h5, h6 {
  font-family: Arial, sans-serif;
  color: #ffb7da;
  text-shadow: 0 0 8px #ff4fa3;
}

/* Titles match index look but pink */
.gooben-title,
.iivari-title {
  font-family: Arial, sans-serif;
  color: #ff4fa3;
  text-shadow: 0 0 12px #ff4fa3;
}

/* Body text inside gooben rectangle */
.gooben-text,
.iivari-text {
  font-family: Arial, sans-serif;
  color: #ffb7da;
  text-shadow: 0 0 8px #ff4fa3;
}

/* --- PICTURE SLOTS --- */
@keyframes pinkPulse {
  0% { box-shadow: 0 0 8px #ff4fa3; }
  50% { box-shadow: 0 0 20px #ff4fa3; }
  100% { box-shadow: 0 0 8px #ff4fa3; }
}

.picture-slot,
.gooben-slot {
  border: 2px solid #ff4fa3;
  border-radius: 8px;
  width: 90%;
  height: 30%;
  background-color: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 12px #ff4fa3;
  animation: pinkPulse 2.5s ease-in-out infinite;
  overflow: hidden;
}

.picture-slot img,
.gooben-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

/* --- RIGHT BOX pulsing --- */
.right-box {
  animation: pinkPulse 3s ease-in-out infinite;
}

.right-box .gif-button img {
  filter: drop-shadow(0 0 12px #ff4fa3);
  animation: pinkPulse 3s ease-in-out infinite;
}

/* --- MAIN BIG PHOTO IN CENTER RECTANGLE --- */
.main-gooben-slot {
  width: 60%;
  height: 35%;
  margin: 15px auto 20px auto;
  border: 2px solid #ff4fa3;
  border-radius: 10px;
  overflow: hidden;
  background-color: rgba(0,0,0,0.6);
  box-shadow: 0 0 20px #ff4fa3;
  animation: pinkPulse 2.5s ease-in-out infinite;
}

.main-gooben-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- SMALL PHOTO GRID UNDER MAIN IMAGE --- */
.gooben-small-grid {
  width: 90%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-bottom: 10px;
}

.gooben-small-slot {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 2px solid #ff4fa3;
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 12px #ff4fa3;
  overflow: hidden;
  animation: pinkPulse 2.5s ease-in-out infinite;
}

.gooben-small-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}