/* =============================
   MEDIA PAGE BASE STYLES
   ============================= */
   

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

/* Hero section */
#media-1st-bg {
  background: url('../screen.jpg') center/cover no-repeat;
  background-attachment: fixed;
  min-height: 90vh;
  position: relative;
  margin-top: 0;
}

/* Main section */
#media-2nd-bg {
  background: #27173e;
  padding: 0px 0;
}

/* Grid layout */
.media-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  padding: 0 5%;
}

/* Media box */
.media-box {
  background: #1f102f;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  color: #fff;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.media-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

/* Video & image wrapper */
.media-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 220px;
  border-radius: 12px;
  background: #111;
  display: flex;
  justify-content: center;
  align-items: center;
}

.media-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.media-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.media-box:hover .media-wrapper img {
  transform: scale(1.08);
  opacity: 0.9;
}

/* Titles & text */
.media-box h2 {
  font-size: 1.25rem;
  margin: 15px 0 5px;
  color: #f6c377;
}

.media-box p {
  font-size: 0.95rem;
  color: #ddd;
  padding: 0 10px 15px;
}

/* =============================
   MEDIA PAGE — CREDITS ARCHIVE
   ============================= */

.credits-archive {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 5% 40px; /* FIXED: removed excess bottom padding */
}

.credits-title {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 300;
  margin-bottom: 15px;
  color: #f6c377;
}

.credits-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.85;
  font-family: 'Inter', sans-serif;
}

/* =============================
   CREDIT CARD PREMIUM STYLING
   ============================= */

.credit-card {
  background: linear-gradient(145deg, #fdfcf7, #f6f1e7); /* subtle gradient for depth */
  color: #1f1f1f;
  border-radius: 18px;
  margin-bottom: 30px;
  box-shadow:
    0 6px 15px rgba(0,0,0,0.1), /* soft shadow */
    0 12px 35px rgba(0,0,0,0.15);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.credit-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 10px 20px rgba(0,0,0,0.15),
    0 20px 50px rgba(0,0,0,0.2);
}

.credit-card summary {
  cursor: pointer;
  list-style: none;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 15px;
}

.credit-card summary::-webkit-details-marker {
  display: none;
}

.summary-left {
  display: flex;
  flex-direction: column;
}

.video-title {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: #27173e; /* rich accent */
  margin-bottom: 4px;
  font-family: 'Poppins', sans-serif;
}

.video-meta {
  font-size: 0.88rem;
  opacity: 0.75;
  margin-top: 4px;
  color: #3d3d3d;
  font-family: 'Inter', sans-serif;
}

.expand-meta {
  font-size: 0.8rem;
  opacity: 0.85;
  margin-top: 4px;
  color: #555;
  font-family: 'Inter', sans-serif;
}

/* Watch button */
.watch-link {
  text-decoration: none;
  color: #c21807;
  font-weight: 600;
  border: 2px solid #f6c377;
  padding: 10px 16px;
  border-radius: 10px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.watch-link:hover {
  background: #f6c377;
  color: #27173e;
}

/* Credit content (premium) */
.credit-content {
  padding: 0 24px 28px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background: rgba(255,255,255,0.03); /* subtle inner highlight */
}

.credit-content h4 {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #27173e;
  margin-top: 20px;
  margin-bottom: 10px;
}

.credit-content p,
.credit-content li {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.75;
  color: #3d3d3d;
  margin-bottom: 12px;
}

.credit-content li {
  padding-left: 18px;
  list-style-type: disc;
}

.credit-content a {
  color: #7a3cff;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.credit-content a:hover {
  color: #f6c377;
  text-decoration: none;
}

/* Expanded content */
/* =============================
   CREDIT CONTENT TEXT STYLING
   ============================= */

.credit-content h4 {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #27173e; /* darker accent for headings */
  margin-top: 20px;
  margin-bottom: 10px;
}

.credit-content p,
.credit-content li {
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.7;
  color: #3d3d3d; /* soft dark gray for readability */
  margin-bottom: 12px;
}

.credit-content li {
  padding-left: 18px;
  list-style-type: disc;
}

/* Optional: subtle link styling within credit content */
.credit-content a {
  color: #7a3cff;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.credit-content a:hover {
  color: #f6c377;
  text-decoration: none;
}


/* =============================
   FOOTER SECTION (FIXED)
   ============================= */

#tourney-3rd-bg-media {
  background: #151b24;
  padding: 60px 0; /* FIXED: removed min-height */
  color: #fff;
}

/* Text positioning */
#media {
  position: relative;
  top: -25px;
}

#turok {
  position: relative;
  top: -250px;
}

#jedi {
  position: relative;
  top: -300px;
}

/* =============================
   CREDIT CARD GRID
   ============================= */

.credits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

/* Tablet */
@media (max-width: 1024px) {
  .credits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 640px) {
  .credits-grid {
    grid-template-columns: 1fr;
  }
}

