/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body & background */
body {
  font-family: 'Arial', sans-serif;
  background-color: #1E3A8A; /* Blue background */
  color: #fff;
  line-height: 1.5;
  min-height: 100vh;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.site-header {
  background: #111;
  color: white;
  padding: 0.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header .brand {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: white;
}

.site-header .nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-nav {
  display: flex;
  gap: 1rem;
}

.site-nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.site-nav a:hover {
  color: #ff6600;
}

.nav-toggle {
  display: none;
}

/* Hero section */
.hero {
  position: relative;
  width: 100%;
  height: 40vh;
  overflow: hidden;
}

.hero-slideshow {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hero-slideshow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 2;
}

.hero-slideshow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;  
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.hero-slideshow img.active {
  opacity: 1;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  color: white;
  text-shadow: 1px 1px 10px rgba(0,0,0,0.7);
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.5rem;
}

.hero-content p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0.5rem auto 1rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  padding: 0.6rem 1.2rem;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  font-weight: 500;
  transition: 0.3s;
}

.btn.primary {
  background-color: #28A745;
  color: white;
}

.btn.primary:hover {
  background-color: #e65c00;
}

.btn.ghost {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn.ghost:hover {
  background-color: rgba(255,255,255,0.1);
}

/* Player section */
.player .card {
  padding: 1rem;
  background-color: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 2rem;
  color: #000;
}

.controls {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 0.5rem;
}

.controls .vol {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Table */
.table-wrap {
  overflow-x: auto;
  margin-bottom: 2rem;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 0.8rem 0.5rem;
  border: 1px solid #ddd;
  text-align: left;
  background-color: #fff;
  color: #000;
}

th {
  background-color: #ff6600;
  color: white;
}

/* Cards & grids */
.cards, .grid {
  display: grid;
  gap: 1rem;
}

.cards {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.card {
  background-color: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #000;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.card-body {
  padding: 0.8rem 1rem;
  text-align: center;
}

.card-body h3 {
  color: #555;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.card-body p {
  font-size: 0.95rem;
  color: #555;
}

.card img, .cards .card img, .youtube-thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-radius: 6px 6px 0 0;
}

/* --- NEW: Play Episode overlay button --- */
.card .thumbnail {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.card .thumbnail img {
  display: block;
  width: 100%;
}

.card .thumbnail .play-episode {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: #e50914;
  color: #fff;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease;
}

.card .thumbnail .play-episode:hover {
  background: #b20710;
  transform: scale(1.05);
}

/* Play overlay */
.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 50px;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 0 10px rgba(0,0,0,0.7);
  pointer-events: none;
  transition: transform 0.3s ease;
}

.youtube-thumb {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.youtube-thumb:hover .play-overlay {
  transform: translate(-50%, -50%) scale(1.2);
}

/* Platforms */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.platform {
  display: grid;
  place-items: center;
  background: #28A745;
  color: #000;
  border: 1px solid #ccc;
  border-radius: 2rem;
  padding: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.platform:hover {
  background: #f0f0f0;
  transform: scale(1.05);
}

/* About list */
.about-list {
  list-style: none;
  margin-top: 0.5rem;
}

.about-list li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

/* Contact Form */
form.card {
  padding: 1rem;
  border-radius: 8px;
  background-color: #f9f9f9;
  margin-bottom: 2rem;
  color: #000;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-grid .full {
  grid-column: 1 / -1;
}

input, textarea {
  width: 100%;
  padding: 0.5rem;
  border-radius: 4px;
  border: 1px solid #ccc;
}

/* Footer */
.site-footer {
  background-color: #111;
  color: white;
  padding: 1rem 0;
  text-align: center;
  font-size: 0.85rem;
}

/* Back to top button */
.to-top {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  background-color: #ff6600;
  color: white;
  padding: 0.5rem 0.7rem;
  border-radius: 50%;
  text-decoration: none;
  font-weight: bold;
}

/* Responsive */
@media(max-width:768px){
  .site-nav {
    display: none;
    flex-direction: column;
    background-color: #111;
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    padding: 1rem;
  }

  .site-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 0.3rem 0.5rem;
    border-radius: 6px;
    cursor: pointer;
  }

  .hero {
    height: 40vh;
  }

  .card img, .youtube-thumb img {
    height: 160px;
  }
}
