/* ============================================
   BIG MACS CORNER - OOTD PAGE CSS
   Purple Y2K Vibes ~ Outfit of the Day
   ============================================ */

/* 💜 GENERAL PAGE STYLE 💜 */
body {
  background: url('https://kennababy123.neocities.org/ootd/PCC%202041%20LISA%20FRANK%20NEON%20Transfer%20Paper%20_%20POLYMER%20CLAY.jpg');
  background-repeat: repeat;
  background-attachment: fixed;
  font-family: "Trebuchet MS", "Comic Sans MS", cursive, sans-serif;
  color: #fff;
  margin: 0;
  padding: 0;
  text-align: center;
  min-height: 100vh;
}

/* Page wrapper */
.page-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 15px;
  position: relative;
}

/* ============================================
   BLINKIE MARQUEE SCROLL
   ============================================ */

.blinkie-scroll {
  width: 100%;
  overflow: hidden;
  background: linear-gradient(90deg, #ff00ff 0%, #9932cc 50%, #ff1493 100%);
  border: 5px ridge #ff00ff;
  box-shadow: 0 0 15px rgba(255, 0, 255, 0.6), inset 0 0 10px rgba(255,255,255,0.3);
  padding: 8px 0;
  margin-bottom: 15px;
  border-radius: 0;
}

.blinkie-track {
  display: flex;
  gap: 25px;
  width: max-content;
  animation: scrollBlinkies 20s linear infinite;
}

.blinkie-track img {
  height: 35px;
  width: auto;
  image-rendering: pixelated;
  filter: drop-shadow(2px 2px 0px rgba(0,0,0,0.4));
}

@keyframes scrollBlinkies {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   HEADER
   ============================================ */

header {
  background: linear-gradient(135deg, #ff00ff 0%, #9932cc 50%, #ff1493 100%);
  border: 6px ridge #ff00ff;
  box-shadow: 8px 8px 0px #9932cc, 12px 12px 0px rgba(255, 0, 255, 0.3);
  padding: 20px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

header::before, header::after {
  content: "★";
  position: absolute;
  font-size: 2.5rem;
  color: #fff;
  text-shadow: 2px 2px 0px #ff00ff;
}

header::before {
  top: -12px;
  left: -8px;
}

header::after {
  top: -12px;
  right: -8px;
}

header h1 {
  font-family: "Lucida Handwriting", "Comic Sans MS", cursive;
  font-size: 2.8rem;
  color: #fff;
  text-shadow: 
    3px 3px 0px #ff00ff,
    -2px -2px 0px #ff69b4,
    0 0 20px rgba(255,255,255,0.8);
  margin: 0;
  letter-spacing: 3px;
}

header h1 img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.fallback-title {
  display: none;
}

.subtitle {
  font-family: "Comic Sans MS", cursive;
  font-size: 1.1rem;
  color: #ffe6f9;
  text-shadow: 2px 2px 0px #9932cc;
  margin: 8px 0 0 0;
  letter-spacing: 2px;
}

/* ============================================
   SIDE GIFS (floating)
   ============================================ */

.side-gifs-left,
.side-gifs-right {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 100;
  pointer-events: none;
}

.side-gifs-left {
  left: 10px;
}

.side-gifs-right {
  right: 10px;
}

.side-gifs-left img,
.side-gifs-right img {
  width: 80px;
  height: auto;
  filter: drop-shadow(3px 3px 0px rgba(0,0,0,0.4));
  animation: floaty 3s ease-in-out infinite;
}

.side-gifs-left img:nth-child(2) {
  animation-delay: 0.5s;
}

.side-gifs-right img:nth-child(2) {
  animation-delay: 1s;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

/* ============================================
   MAIN & OUTFIT GRID
   ============================================ */

main {
  position: relative;
  padding: 0 100px; /* space for side gifs */
}

.outfit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  padding: 10px;
}

/* ============================================
   OUTFIT CARDS
   ============================================ */

.outfit-card {
  background: linear-gradient(145deg, #ff00ff 0%, #9932cc 50%, #ff1493 100%);
  border: 5px ridge #ff00ff;
  box-shadow: 6px 6px 0px rgba(153, 50, 204, 0.5), 0 0 15px rgba(255, 0, 255, 0.3);
  padding: 12px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.outfit-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 10px 14px 0px rgba(153, 50, 204, 0.6), 0 0 25px rgba(255, 0, 255, 0.5);
  border-color: #ff69b4;
}

.outfit-card::before {
  content: "✨";
  position: absolute;
  top: 4px;
  right: 8px;
  font-size: 1.3rem;
  opacity: 0.7;
  text-shadow: 1px 1px 0px #fff;
}

/* Photo frame inside card */
.photo-frame {
  background: #fff;
  border: 4px solid #ff00ff;
  padding: 6px;
  box-shadow: inset 0 0 10px rgba(255, 0, 255, 0.2);
  overflow: hidden;
}

.photo-frame img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.outfit-card:hover .photo-frame img {
  transform: scale(1.05);
}

/* Caption */
.outfit-caption {
  margin-top: 10px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  border: 3px solid rgba(255, 255, 255, 0.3);
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.caption-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: -2px;
}

.outfit-caption p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #fff;
  text-shadow: 1px 1px 0px rgba(0,0,0,0.3);
  font-family: "Comic Sans MS", "Trebuchet MS", cursive;
}

/* ============================================
   FOOTER & NAV BACK
   ============================================ */

footer {
  margin-top: 30px;
  background: linear-gradient(135deg, #ff00ff 0%, #9932cc 50%, #ff1493 100%);
  border: 6px ridge #ff00ff;
  box-shadow: 8px 8px 0px rgba(153, 50, 204, 0.4);
  padding: 20px;
}

.nav-back {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.back-btn {
  display: inline-block;
  background: linear-gradient(145deg, #fff 0%, #ffe6f9 100%);
  border: 4px ridge #ff00ff;
  padding: 10px 20px;
  color: #ff00ff;
  text-decoration: none;
  font-family: "Impact", "Arial Black", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 4px 4px 0px rgba(255, 0, 255, 0.4);
  transition: all 0.2s ease;
}

.back-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 6px 8px 0px rgba(255, 0, 255, 0.6);
  background: #fff;
}

.back-btn:active {
  transform: translateY(2px) scale(0.98);
  box-shadow: 2px 2px 0px rgba(255, 0, 255, 0.3);
}

.home-btn {
  background: linear-gradient(145deg, #ffe6f9 0%, #ffb6f2 100%);
}

.footer-text {
  margin: 0;
  font-family: "Lucida Handwriting", cursive;
  color: #ffe6f9;
  text-shadow: 2px 2px 0px #9932cc;
  font-size: 1rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
  main {
    padding: 0 60px;
  }
  
  .side-gifs-left img,
  .side-gifs-right img {
    width: 55px;
  }
  
  header h1 {
    font-size: 2rem;
  }
  
  .outfit-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  main {
    padding: 0 10px;
  }
  
  .side-gifs-left,
  .side-gifs-right {
    display: none;
  }
  
  .blinkie-track img {
    height: 28px;
  }
  
  header {
    border-width: 4px;
    box-shadow: 4px 4px 0px #9932cc;
  }
  
  .outfit-card {
    border-width: 4px;
    box-shadow: 4px 4px 0px rgba(153, 50, 204, 0.5);
  }
}