:root {
  --midnight-blue: #1A2A44;
  --rust-orange: #D94F04;
  --chrome-silver: #E0E0E0;
  --off-white: #F5F5F5;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--midnight-blue);
  color: var(--off-white);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrapper {
  flex: 1 0 auto;
}

/* Navigation */
nav {
  background: var(--midnight-blue);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 10;
}

.logo {
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 2px;
}

/* Logo Link Styling */
.logo a {
    color: var(--off-white); /* Keep the logo white */
    text-decoration: none; /* Remove underline */
    font-weight: bold;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.logo a:visited {
    color: var(--off-white); /* Ensure it stays white after being clicked */
}

.logo a:hover {
    color: var(--rust-orange); /* Optional: Add a hover effect */
}

.nav-links a {
  color: var(--off-white);
  text-decoration: none;
  margin: 0 1rem;
  position: relative;
  font-weight: 500;
}

.nav-links a:hover::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--rust-orange);
  bottom: -5px;
  left: 0;
}

.subscribe-btn {
  background: var(--rust-orange);
  color: var(--off-white);
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s;
  font-weight: 600;
}

.subscribe-btn:hover {
  background: #C04500;
}

.mobile-menu-btn {
  display: none;
}

@media (max-width: 768px) {
  .nav-links {
      display: none;
  }
  .mobile-menu-btn {
      display: block;
      color: var(--off-white);
      font-size: 1.5rem;
      cursor: pointer;
  }
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--midnight-blue);
  z-index: 100;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.mobile-menu a {
  color: var(--off-white);
  text-decoration: none;
  margin: 1rem 0;
  font-size: 1.5rem;
  font-weight: 500;
}

.close-btn {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: var(--off-white);
  font-size: 2rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, 
                rgba(26, 42, 68, 0.95) 0%, 
                rgba(26, 42, 68, 1) 100%),
            url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><line x1="0" y1="0" x2="100" y2="100" stroke="%23E0E0E0" stroke-opacity="0.1" stroke-width="1"/></svg>');
    padding: 2rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Ensure it fills the viewport height */
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero-text {
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    color: var(--off-white);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--chrome-silver);
}

.hero-cta {
    display: inline-block;
    background: var(--rust-orange);
    color: var(--off-white);
    padding: 0.8rem 1.5rem;
    border-radius: 6px; /* Slightly rounded corners for buttons */
    font-weight: bold;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.2s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hero-cta:hover {
    background: #C04500;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Hero Image */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    width: 100%; /* Ensure it spans the full width */
    max-width: 400px; /* Optional: Limit the maximum width */
    overflow: hidden; /* Prevent overflow */
}

.hero-image img {
    width: 100%; /* Make the image responsive */
    height: auto; /* Maintain aspect ratio */
    object-fit: contain; /* Ensure the entire image is visible */
    border-radius: 12px; /* Slightly rounded corners */
    box-shadow: 0 8px 32px rgba(26, 42, 68, 0.5), 0 0 0 6px var(--chrome-silver);
    background: var(--chrome-silver);
    transition: transform 0.3s;
}

.hero-image img:hover {
    transform: scale(1.03); /* Slight zoom effect on hover */
}

/* Single Episode Section */
.single-episode {
  background: var(--midnight-blue);
  border: 1px solid var(--chrome-silver);
  border-radius: 12px; /* Slightly rounded corners for sections and cards */
  padding: 2rem;
  margin: 2rem auto;
  max-width: 600px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.single-episode h2 {
  margin-top: 0;
  color: var(--rust-orange);
  font-size: 2rem;
  letter-spacing: 0.5px;
}

.episode-meta {
  margin: 1rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.episode-badge {
  background: var(--rust-orange);
  color: var(--off-white);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  display: inline-block;
  margin-right: 0.7rem;
  font-weight: 600;
}

.meta {
  color: var(--chrome-silver);
  font-size: 1rem;
}

.spotify-link {
  color: var(--rust-orange);
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.2s;
}

.spotify-link:hover {
  color: #C04500;
}

.episode-desc {
  margin-top: 1.5rem;
  color: var(--off-white);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Episodes Section */
.episodes {
  padding: 2rem;
  background-color: var(--midnight-blue);
  color: var(--off-white);
}

.episode-card {
  margin: 2rem 0;
  padding: 1.5rem;
  border: 1px solid var(--chrome-silver);
  border-radius: 12px; /* Slightly rounded corners for sections and cards */
  background-color: var(--dark-blue);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.episode-card h3 {
  font-size: 1.8rem;
  color: var(--rust-orange);
  margin-bottom: 0.5rem;
}

.episode-card p {
  font-size: 1rem;
  color: var(--off-white);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.episode-card iframe {
  margin-top: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Episodes List Section */
.episodes-list {
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background-color: var(--midnight-blue);
    color: var(--off-white);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.episodes-list h2 {
    font-size: 2rem;
    color: var(--rust-orange);
    margin-bottom: 1.5rem;
}

/* Countdown */
.countdown {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.countdown-box {
  background: var(--midnight-blue);
  border: 2px solid var(--rust-orange);
  border-radius: 8px;
  padding: 0.7rem 1.2rem;
  color: var(--off-white);
  min-width: 70px;
  text-align: center;
  transition: all 0.3s;
}

.countdown-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(217, 79, 4, 0.2);
}

.countdown-box span {
  font-size: 1.5rem;
  font-weight: bold;
  display: block;
}

.countdown-box small {
  color: var(--chrome-silver);
  font-size: 0.8rem;
}

.live-now {
  color: var(--rust-orange);
  font-size: 1.2rem;
  font-weight: bold;
}

/* Footer Styles */
footer {
    background-color: var(--midnight-blue);
    color: var(--off-white);
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 0 12px 12px; /* Rounded corners at the bottom of the page */
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-content span {
    font-size: 1rem;
    color: var(--off-white);
}

.footer-content a {
    color: var(--off-white);
    font-size: 1.5rem;
    margin: 0 0.5rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    color: var(--rust-orange);
}

/* About Section */
.about {
    padding: 2rem;
    text-align: center;
    background-color: var(--midnight-blue);
    color: var(--off-white);
    border-radius: 12px; /* Slightly rounded corners for sections and cards */
    margin: 2rem auto; /* Centers the section horizontally */
    max-width: 800px; /* Limits the width */
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow */
}

.about h1 {
    font-size: 2.5rem;
    color: var(--rust-orange);
    margin-bottom: 1.5rem;
}

.about p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--off-white);
}

.about a.buy-coffee-btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.8rem 1.5rem;
    background-color: var(--rust-orange);
    color: var(--off-white);
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 6px; /* Slightly rounded corners for buttons */
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.about a.buy-coffee-btn:hover {
    background-color: #C04500;
    transform: scale(1.05);
}

/* Bio Section */
.bio-section {
    padding: 2rem;
    text-align: left;
    background-color: var(--midnight-blue);
    color: var(--off-white);
    margin: 2rem auto;
    border-radius: 12px; /* Slightly rounded corners for sections and cards */
    max-width: 800px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.bio-header {
    text-align: center;
    margin-bottom: 2rem;
}

.bio-header h1 {
    font-size: 2.5rem;
    color: var(--rust-orange);
    margin-top: 1rem;
}

.profile-picture {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.profile-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Visitor Map Section */
.visitor-map {
    padding: 2rem;
    text-align: center;
    background-color: var(--midnight-blue);
    color: var(--off-white);
    border-radius: 12px; /* Slightly rounded corners for sections and cards */
    margin: 2rem auto;
    max-width: 800px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.visitor-map h2 {
    font-size: 2rem;
    color: var(--rust-orange);
    margin-bottom: 1rem;
}

#map {
    border-radius: 8px;
    margin-bottom: 1rem;
}

#visitor-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--off-white);
}

#visitor-list li {
    margin: 0.5rem 0;
    font-size: 1rem;
    line-height: 1.5;
}

/* Bio Section */
.bio {
    padding: 2rem;
    text-align: center;
    background-color: var(--midnight-blue);
    color: var(--off-white);
    border-radius: 12px; /* Slightly rounded corners for sections and cards */
    margin: 2rem auto;
    max-width: 800px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.bio h2 {
    font-size: 2rem;
    color: var(--rust-orange);
    margin-bottom: 1rem;
}

.bio p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--off-white);
}

/* Share Icons Section */
.share-icons {
    margin-top: 1rem;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
}

.share-icons a {
    color: var(--off-white);
    font-size: 1.5rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.share-icons a:hover {
    color: var(--rust-orange);
    transform: scale(1.1);
}

.share-count {
    font-size: 1rem;
    color: var(--chrome-silver);
    font-weight: bold;
}

/* Buy Coffee Button */
.buy-coffee-btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.8rem 1.5rem;
    background-color: var(--rust-orange);
    color: var(--off-white);
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 6px; /* Slightly rounded corners for buttons */
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.buy-coffee-btn:hover {
    background-color: #C04500;
    transform: scale(1.05);
}

/* Platform Carousel Section */
.platform-carousel {
    padding: 2rem;
    text-align: center;
    background-color: var(--midnight-blue);
    color: var(--off-white);
    margin: 2rem auto;
    border-radius: 12px; /* Slightly rounded corners for sections and cards */
    max-width: 800px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.platform-carousel h2 {
    font-size: 1.8rem;
    color: var(--rust-orange);
    margin-bottom: 1.5rem;
}

.carousel {
    display: flex;
    gap: 2rem;
    overflow: hidden; /* Hide overflow to prevent duplicate items from being visible */
    scroll-behavior: auto; /* Ensure smooth scrolling */
    padding: 1rem 0;
    position: relative;
}

.carousel::-webkit-scrollbar {
    display: none; /* Hide scrollbar for a cleaner look */
}

.carousel-item {
    flex: 0 0 auto;
    font-size: 1.5rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.6); /* Opaque text */
    padding: 1rem 2rem;
    background-color: var(--dark-blue);
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, color 0.3s ease;
}

.carousel-item:hover {
    transform: scale(1.1);
    color: var(--off-white); /* Brighten text on hover */
}

/* Platform Links Section */
.platform-links {
    padding: 2rem;
    text-align: center;
    background-color: var(--midnight-blue);
    color: var(--off-white);
    margin: 2rem auto;
    border-radius: 12px; /* Slightly rounded corners for sections and cards */
    max-width: 800px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.platform-links h2 {
    font-size: 2rem;
    color: var(--rust-orange);
    margin-bottom: 1rem;
}

.platform-links p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.platform-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.platform-item {
    background-color: var(--dark-blue);
    padding: 1.5rem;
    border-radius: 12px; /* Slightly rounded corners for sections and cards */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.platform-item h3 {
    font-size: 1.5rem;
    color: var(--rust-orange);
    margin-bottom: 0.5rem;
}

.platform-item p {
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.follow-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--rust-orange);
    color: var(--off-white);
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 6px; /* Slightly rounded corners for buttons */
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.follow-btn:hover {
    background-color: #C04500;
    transform: scale(1.05);
}

/* Responsive Design */
@media (min-width: 768px) {
    .platform-list {
        grid-template-columns: 1fr 1fr;
    }
}

/* Affiliate Hero Section */
.affiliate-hero {
    text-align: center;
    padding: 2rem;
    background-color: var(--midnight-blue);
    color: var(--off-white);
    border-radius: 12px; /* Slightly rounded corners for sections and cards */
    margin: 2rem auto;
    max-width: 800px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.affiliate-hero h1 {
    font-size: 2.5rem;
    color: var(--rust-orange);
    margin-bottom: 1rem;
}

.affiliate-hero p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.affiliate-hero .cta-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--rust-orange);
    color: var(--off-white);
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 6px; /* Slightly rounded corners for buttons */
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.affiliate-hero .cta-btn:hover {
    background-color: #C04500;
    transform: scale(1.05);
}

/* Affiliate Benefits Section */
.affiliate-benefits {
    padding: 2rem;
    background-color: var(--dark-blue);
    color: var(--off-white);
    border-radius: 12px; /* Slightly rounded corners for sections and cards */
    margin: 2rem auto;
    max-width: 800px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.affiliate-benefits h2 {
    font-size: 2rem;
    color: var(--rust-orange);
    margin-bottom: 1rem;
}

.affiliate-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.affiliate-benefits li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Testimonials Section */
.affiliate-testimonials {
    padding: 2rem;
    text-align: center;
    background-color: var(--midnight-blue);
    color: var(--off-white);
    border-radius: 12px; /* Slightly rounded corners for sections and cards */
    margin: 2rem auto;
    max-width: 800px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.affiliate-testimonials .testimonial {
    margin-bottom: 1.5rem;
    font-style: italic;
}

.affiliate-testimonials span {
    display: block;
    margin-top: 0.5rem;
    font-weight: bold;
    color: var(--rust-orange);
}

/* Call-to-Action Section */
.affiliate-cta {
    text-align: center;
    padding: 2rem;
    background-color: var(--dark-blue);
    color: var(--off-white);
    border-radius: 12px; /* Slightly rounded corners for sections and cards */
    margin: 2rem auto;
    max-width: 800px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.affiliate-cta h2 {
    font-size: 2rem;
    color: var(--rust-orange);
    margin-bottom: 1rem;
}

.affiliate-cta p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 900px) {
  .hero-content {
      flex-direction: column-reverse;
      gap: 2rem;
      text-align: center;
  }
  .hero-text {
      text-align: center;
  }
}

@media (max-width: 600px) {
  .hero h1 {
      font-size: 2rem;
  }
  .hero p {
      font-size: 1.1rem;
  }
  .hero-image img {
      width: 180px;
  }
  .single-episode {
      padding: 1rem;
      margin: 1rem;
  }
  .countdown {
      gap: 0.3rem;
  }
  .countdown-box {
      min-width: 60px;
      padding: 0.5rem 0.8rem;
  }
  .countdown-box span {
      font-size: 1.2rem;
  }
}