body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #ffffff;
  color: #000066;
}

h2 {
  margin: 50px 0 20px;
}

/* HEADER */
.header {
  text-align: center;
  padding: 20px;
}

/* LOGO */
.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-box {
  width: 50px;
  height: 50px;
  background: #000066;
  color: #fff;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.logo-text {
  font-size: 14px;
  margin-top: 5px;
  font-weight: bold;
}

* {
  box-sizing: border-box;
}

/* TAGLINE */
.tagline {
  margin-top: 10px;
  font-size: 14px;
}

/* SEARCH */
.search-container {
  text-align: center;
  margin: 20px;
}

#searchInput {
  width: 60%;
  padding: 10px;
  border: 2px solid #000066;
  outline: none;
}

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

button {
  margin: 5px;
  padding: 10px;
  background: #000066;
  color: #fff;
  border: none;
  cursor: pointer;
}

/* GRID */
.grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

/* CARD */
.card {
  background: #000066;
  color: #fff;
  margin: 10px;
  padding: 15px;
  width: 300px;
  border-radius: 10px;
}



/* SUBMISSION FORM */

.submission {
  max-width: 500px;
  margin: 40px auto;
  padding: 25px;
  background: #111;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  text-align: center;
}

.submission input {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border-radius: 6px;
  border: none;
  font-size: 14px;
}

.submission button {
  width: 100%;
  padding: 12px;
  background: gold;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

.submission button:hover {
  background: #e6c200;
}


/* VIDEO FIX */
.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;   /* ✅ BETTER than padding trick */
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.artist-card {
  max-width: 420px;
  margin: 20px auto;
  text-align: center;
}

.logo-img {
    max-width: 100px;   /* maximum width on large screens */
    height: auto;       /* maintain aspect ratio */
    width: 100%;        /* allows it to shrink on smaller containers */
}

/* =========================
   GRID LAYOUT (DESKTOP → MOBILE)
========================= */
#artist-container {
  display: grid;
  grid-template-columns: repeat(4, minmax(250px, 1fr)); /* ✅ KEY FIX */
  gap: 20px;
  padding: 20px;
  justify-content: center;
   max-width: 1400px;
  margin: 0 auto;      /* centers everything */
  padding: 0 40px;     /* 🔥 THIS fixes your left/right spacing */


}

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

/* Mobile */
@media (max-width: 600px) {
  #artist-container {
    grid-template-columns: 1fr;
  }
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 12px;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.artist-card {
  background: #111;
  color: #fff;
  padding: 15px;
  border-radius: 16px;
  transition: 0.3s ease;
  width: 100%;          /* ✅ IMPORTANT */
  box-sizing: border-box;
}

.artist-card:hover {
  transform: translateY(-5px);
}

button {
  background: #ffcc00;
  color: #000;
  border: none;
  padding: 10px 18px;
  margin: 5px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

button:hover {
  background: #ffd633;
}

.search-container input {
  width: 100%;
  padding: 14px;
  border-radius: 30px; /* 🔥 rounded */
  border: 1px solid #ccc;
  outline: none;
  font-size: 16px;
}

/* MAIN CONTENT WIDTH CONTROL */
.search-container,
.submission {
  max-width: 700px;   /* 🔥 key fix */
  margin: 40px auto;  /* center horizontally */
  width: 90%;
}

.video-container {
  max-width: 1400px;   /* keeps layout from stretching too wide */
  margin: 0 auto;      /* centers it */
  padding: 0 40px;     /* 🔥 creates equal space left & right */
}

@media (max-width: 768px) {
  .video-container {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .video-container {
    padding: 0 15px;
  }
}

/* GRID LAYOUT */
#artist-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  padding: 20px 40px; /* 👈 FIXES LEFT/RIGHT TIGHTNESS */
  box-sizing: border-box;
}

/* ARTIST CARD */
.artist-card {
  background: #111;
  color: #fff;
  padding: 15px;
  border-radius: 12px;
  text-align: center;
}

/* VIDEO CARD */
.video-card {
  position: relative;
  cursor: pointer;
}

.video-card img {
  width: 100%;
  border-radius: 10px;
}

/* PLAY BUTTON */
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  color: white;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  padding: 10px 15px;
}

/* MODAL */
.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.video-content {
  position: relative;
  width: 80%;
  max-width: 800px;
}

.video-content iframe {
  width: 100%;
  height: 450px;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: -30px;
  right: 0;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

.video-card {
  position: relative;
}

.featured-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: gold;
  color: black;
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 5px;
  font-weight: bold;
  z-index: 2;
}
ont-weight: bold;
}

.footer {
  margin-top: 60px;
  padding: 20px;
  text-align: center;
  background: linear-gradient(to right, #000, #111);
  color: #ccc;
  letter-spacing: 0.5px;
  font-size: 14px;
  border-top: 1px solid #222;
}

.footer p {
  margin: 0;
}