/* =======================
   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 ===== */
.news-box-1 {
  display: inline-block;
  position: relative;
  font-family: monospace;
  height: 250px;
  width: 100%;
  max-width: 535px;
  padding: 2px 24px 32px 16px;
  border-radius: 14px;
  box-shadow: 2px 2px 4px 2px rgba(0, 128, 128, 1);
  margin: 15px;
  background: #f2f0eb;
  color: #000;
}

/* ===== 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;
  }
}
