/* ANIMATED PURPLE SKY BACKGROUND */
body {
  margin: 0;
  font-family: "Pixelify Sans", sans-serif;
  background: url('https://i.imgur.com/HpGEfYV.gif') repeat;
  background-size: cover;
  color: #5a3b8f;
}

/* PAGE FRAME FOR BORDERS + DECORATIONS */
.page-frame {
  position: relative;
  width: 100%;
  min-height: 100vh;
}

/* LEFT & RIGHT BORDER IMAGES */
.left-border, .right-border {
  position: fixed;
  top: 0;
  width: 120px;
  height: 100%;
  background-image: url("https://d2bzx2vuetkzse.cloudfront.net/fit-in/0x450/unshoppable_producs/15171151-217e-4646-b7d3-b940eec0759e.png");
  background-size: contain;
  background-repeat: repeat-y;
  z-index: 1;
}

.left-border {
  left: 0;
  transform: scaleX(-1); /* flip horizontally */
}

.right-border {
  right: 0;
}



.bonus-center {
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

/* FLOAT ANIMATION */
@keyframes floaty {
  0% { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}

/* MAIN WRAPPER */
.wrapper {
  width: 900px;
  margin: 0 auto 40px auto;
  background: rgba(255,255,255,0.75);
  padding: 20px;
  border: 3px dashed #c9a6ff;
  border-radius: 15px;
  position: relative;
  z-index: 5;
}

/* HEADER */
.title {
  font-size: 60px;
  color: #c285ff;
  text-align: center;
  text-shadow: 2px 2px 0 #fff, 0 0 15px #e8d0ff;
}

/* NAVIGATION */
nav {
  text-align: center;
  margin-bottom: 20px;
}

nav a {
  margin: 0 15px;
  color: #b168ff;
  font-size: 22px;
  text-decoration: none;
}

nav a:hover {
  color: #d89bff;
}

/* CONTENT BOXES */
.content-box {
  background: rgba(240,220,255,0.8);
  border: 2px solid #dcb7ff;
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 0 6px rgba(180,140,255,0.4);
}

h2 {
  margin-top: 0;
  color: #a55fff;
}

/* LEFT SIDEBAR */
.sidebar {
  position: fixed;
  top: 50px;
  left: 140px;
  width: 170px;
  background: rgba(240,230,255,0.75);
  padding: 15px;
  border: 3px dashed #b899ff;
  border-radius: 12px;
  z-index: 10;
}

.title-box {
  background: #c9afff;
  border: 2px solid #a78de8;
  border-radius: 10px;
  padding: 3px 0;
  margin-bottom: 10px;
}

.title-box h3 {
  text-align: center;
  margin: 0;
  color: white;
  text-shadow: 1px 1px 0 #8f67d6;
}

.side-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.side-links li {
  margin: 6px 0;
}

.side-links a {
  text-decoration: none;
  color: #864dff;
  padding: 4px;
  display: block;
  border-radius: 6px;
}

.side-links a:hover {
  background: #e8d4ff;
}

/* RIGHT SIDEBAR */
.rightbar {
  position: fixed;
  top: 50px;
  right: 140px;
  width: 170px;
  z-index: 10;
}

.right-box {
  background: rgba(255,240,255,0.7);
  border: 2px dashed #d8a6ff;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 20px;
}

.right-box h3 {
  margin: 0 0 8px 0;
  color: #b567ff;
  text-align: center;
}

.right-box span {
  color: #bb5cff;
}

.guestbook-btn {
  display: block;
  text-align: center;
  padding: 6px;
  background: #f6d6ff;
  border-radius: 7px;
  color: #9b50ff;
  text-decoration: none;
}

.guestbook-btn:hover {
  background: #eec8ff;
}


.guestbook-btn {
  display: inline-block;
  text-align: center;
  padding: 10px 15px;
  background: #f0d6ff;
  border: 2px dashed #caa8ff;
  border-radius: 10px;
  color: #a058ff;
  text-decoration: none;
  font-family: "Pixelify Sans", sans-serif;
  font-size: 17px;
  box-shadow: 0 0 6px #e7c8ff;
  transition: 0.2s;
}

.guestbook-btn:hover {
  background: #e9c1ff;
  color: #ffffff;
  box-shadow: 0 0 10px #d8a6ff;
}

/* cute blinkies under header */
.blinkie-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: -10px; /* pull upward */
  margin-top: -10px;  /* extra lift */
  padding-bottom: 30px;  /* space between rows */
  animation: fadeIn 1s ease-in;
}




.blinkie-row img {
  height: 23px;            /* MUCH smaller */
  image-rendering: optimizeQuality;
  filter: drop-shadow(0 0 3px #c8a8ff);
}

/* fade in */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.shrine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.shrine-card {
  background: #f2dfff;
  border: 2px dashed #d0a4ff;
  padding: 15px;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  color: #9b59ff;
  font-size: 18px;
  transition: 0.2s;
  box-shadow: 0 0 6px #d5b3ff;
}

.shrine-card:hover {
  background: #ecd1ff;
  transform: translateY(-3px);
}

.shrine-card p {
  margin: 0;
}

/* neon glitchy header */
.glitch-title {
  font-size: 60px;
  color: #c77bff;
  position: relative;
  text-shadow:
    0 0 8px #d49cff,
    0 0 15px #b366ff,
    2px 2px 0 #fff;
  animation: glitch-flicker 1.5s infinite;
}

@keyframes glitch-flicker {
  0%, 100% { opacity: 1; }
  50% { opacity: .85; }
}

/* neon box outline */
.content-box.glitchy {
  border: 3px solid #d6a2ff;
  box-shadow:
    0 0 10px #d6a2ff,
    0 0 20px #c87cff inset,
    0 0 14px #e2b8ff;
  animation: borderPulse 2s ease-in-out infinite alternate;
}

@keyframes borderPulse {
  from { box-shadow: 0 0 8px #d6a2ff; }
  to { box-shadow: 0 0 18px #e2b8ff; }
}
.glitch-overlay {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://i.imgur.com/BxQH4Tz.gif");
  opacity: 0.08;
  mix-blend-mode: screen;
  z-index: 9999;
}
.confetti {
  position: fixed;
  width: 16px;
  height: 16px;
  background-size: 100%;
  image-rendering: pixelated;
  animation: fall 5s linear infinite;
  opacity: 0.85;
  pointer-events: none;
}

@keyframes fall {
  from { transform: translateY(-20px); }
  to { transform: translateY(120vh); }
}
.neon-divider {
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #b366ff, #d6a2ff, #f3ccff);
  box-shadow: 0 0 12px #d6a2ff;
  margin: 25px 0;
  border-radius: 3px;
}