/* =======================
   INDEX PAGE BASE STYLES
   ======================= */

#home-1st-bg,
#home-2nd-bg,
#home-3rd-bg {
  background-size: cover;
  background-attachment: fixed;
  height: 100vh;
}

#home-1st-bg { background: url('../bg5.png') center/cover no-repeat; }
#home-2nd-bg { background: url('../2ndbg.png') center/cover no-repeat; }
#home-3rd-bg { background: url('../3rddbg.png') center/cover no-repeat; }

#featured {
  text-align: center;
  padding: 0;
  padding-top: 300px;
}

h2 {
  font-size: 2.7rem;
  font-weight: 300;
  margin-bottom: 20px;
}

#most-recent-text {
  font-size: 32px;
  color: #f2f0eb;
  text-shadow: 2px 2px 4px #000;
  margin-bottom: 20px;
}

 #shoryuken {
    top: -250px;
  }

/* ===== NEWS CONTAINER ===== */
.news-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  align-items: stretch;
  perspective: 1200px; /* 🔑 gives subtle 3D feel */
}

/* ===== CARD BASE ===== */
.news-box-1 {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  width: 100%;
  max-width: 520px;
  min-height: 260px;

  padding: 20px 24px;
  border-radius: 16px;

  background: linear-gradient(145deg, #ffffff, #eaeaea);
  color: #000;
  font-family: monospace;

  box-shadow:
    0 10px 25px rgba(0,0,0,0.15),
    inset 0 1px 0 rgba(255,255,255,0.6);

  transition: 
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease;
}

/* ===== GOLD ACCENT GLOW ===== */
.news-box-1::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: radial-gradient(circle at top left, #0080807e, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* ===== HOVER EFFECT ===== */
.news-box-1:hover {
  transform: translateY(-12px) rotateX(3deg) rotateY(-3deg) scale(1.01);
  box-shadow:
    0 25px 50px rgba(0,0,0,0.35),
    0 0 20px rgba(255,212,32,0.25);
}

.news-box-1:hover::before {
  opacity: 1;
}

/* ===== ICON ===== */
.news-box-1 img {
  width: 65px;
  margin-bottom: 12px;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
}

/* ===== TEXT ===== */
.news-box-1 p {
  flex-grow: 1;
  line-height: 1.5;
}

/* ===== LINKS ===== */
.news-box-1 a {
  color: #000;
  font-weight: bold;
  text-decoration: none;
  position: relative;
}

/* animated underline */
.news-box-1 a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: #008080;
  transition: width 0.3s ease;
}

.news-box-1 a:hover::after {
  width: 100%;
}

/* ===== MERCH ===== */
.buy-btn {
  color: #f2f0eb;
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 15px 30px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  width: auto;
  min-width: 180px;
}
.buy-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}
.buy-btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

/* Button color variants */
.buy-1 { background: linear-gradient(135deg, #ff4e50, #d62929); }
.buy-2 { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.buy-3 { background: linear-gradient(135deg, #43e97b, #38f9d7); }
.buy-4 { background: linear-gradient(135deg, #9d50bb, #6e48aa); }

.buy-1:hover { box-shadow: 0 6px 14px rgba(255,78,80,0.6); }
.buy-2:hover { box-shadow: 0 6px 14px rgba(79,172,254,0.6); }
.buy-3:hover { box-shadow: 0 6px 14px rgba(56,249,215,0.6); }
.buy-4:hover { box-shadow: 0 6px 14px rgba(157,80,187,0.6); }

#see-more {
  display: block;
  width: fit-content;
  margin: 20px auto;
  padding: 12px 25px;
  background: #444;
  color: #f2f0eb;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
}
#see-more:hover {
  background: #667;
  transform: translateY(-2px);
}

 #konami {
    top: -250px;
  }

/* ===== SLIDER ===== */
.slider {
  overflow: hidden;
  position: relative;
  width: 100%;
  margin: 40px auto;
}
.slide-track {
  display: flex;
  width: calc(250px * 12);
  animation: scroll 40s linear infinite;
}
.slide {
  flex: 0 0 auto;
  width: 250px;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 10px;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}
.slide img:hover {
  transform: scale(1.05);
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

#capcom {
    top: -250px;
  }

/* ===== SPONSOR ===== */
.sponsor-box {
  display: inline-block;
  color: #333;
  background-color: #f2f0eb;
  border-radius: 14px;
  box-shadow: 2px 2px 4px 2px rgba(3, 3, 3);
  max-width: 535px;
  padding: 32px 24px;
  margin: 200px auto;
  text-align: center;
}

/* =======================
   RESPONSIVE ADJUSTMENTS
   ======================= */

/* Medium screens (laptops/tablets) */
@media (max-width: 992px) {
  h2 { font-size: 2.2rem; }

  .merch-box {
    display: block;
    margin: 25px auto;
    text-align: center;
    width: 80%;
  }

  .merch-box img {
    display: block;
    margin: 0 auto 15px auto;
    max-width: 100%;
    height: auto;
  }

  .buy-btn { display: inline-block; margin-top: 10px; }
}

/* Tablets / iPads */
@media (max-width: 768px) {
  .slide { width: 180px; height: 140px; }
  h2 { font-size: 2rem; }
  #most-recent-text { font-size: 24px; }
  .sponsor-box { margin: 100px auto; max-width: 400px; }
}

/* Phones (iPhone SE → 14 Pro Max) */
@media (max-width: 480px) {
  /* Fix overlapping "Attack Cancel Gaming" */
  .ptext .first-border {
    font-size: 30px;
    letter-spacing: 2px;
    padding: 10px;
    line-height: 1.3;
  }

  /* YouTube embed */
  #featured iframe {
    width: 90%;
    height: auto;
    aspect-ratio: 16/9;
    display: block;
    margin: 0 auto;
  }

  /* Latest Drip (centered) */
  .section-dark a {
    display: block;
    margin: 0 auto 20px auto;
    text-align: center;
  }

  .merch-box {
    width: 85%;
    margin: 20px auto;
    text-align: center;
  }

  .merch-box img {
    display: block;
    margin: 0 auto 10px auto;
    max-width: 100%;
    height: auto;
  }

  .buy-btn {
    font-size: 16px;
    padding: 12px 20px;
  }

  #see-more {
    font-size: 16px;
    width: 70%;
  }

  /* Smaller h2 for sections */
  .section-dark h2 {
    font-size: 1.5rem;
    letter-spacing: 2px;
  }

  /* Sponsor box fix */
  .sponsor-box {
    max-width: 300px;
    margin: 60px auto;
    height: auto;
    padding: 20px;
  }

  .sponsor-box img {
    max-width: 60px;
    display: block;
    margin: 0 auto 10px auto;
  }
}

/* ===== FEATURED BOOK ===== */
.book-feature {
  display: inline-block;
  max-width: 950px;
  background: rgba(0,0,0,0.7);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  color: #f2f0eb;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(0,0,0,0.6);
}

.book-feature:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 35px rgba(0,0,0,0.8);
}

/* Book image */
.book-cover {
  width: 450px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 15px;
}

/* Text */
.book-info h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  text-transform: none;

}

.book-info p {
  font-size: 1rem;
  margin-bottom: 15px;
  opacity: 0.9;
}

/* CTA */
.book-cta {
  display: inline-block;
  background: #FFD420;
  color: #000;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: bold;
  transition: 0.3s;
}

.book-cta:hover {
  background: #fff;
}