@media (max-width: 400px) {
  .stopwatch h1{
font-family: "abare22";
color: #fff;
font-size: 32px;
margin-bottom: -20px;


}
  .timer-section {
    width: 90%;
    padding: 60px 20px;
    background: #0c0c0c;
    text-align: center;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.199);
    margin-top: 100px;
    margin-bottom: -80px;
  }

  /* Title */
  .timer-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: -0px;
    margin-top: -30px;
    font-family: "abare22";
    color: #ffffff;
  }

  /* Stopwatch container */
  .stopwatch {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 25px;
  }

  /* Individual Boxes */
  .time-box {
    width: 90px;
    font-family: "abare22";
    height: 90px;
    background: #0c0c0c;
    border-radius: 12px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .time-box span {
    font-size: 18px;
    font-family: "abare22";
    font-weight: 700;
    color: #ffffff;
  }

  .time-box label {
    font-family: "abare22";
    font-size: 8px;
    margin-top: 6px;
    color: #ffffff;
  }

  /* Under text */
  .timer-text {
    font-family: "abare22";
    font-size: 12px;
    color: #ffffff;
    margin-top: -10px;
  }
  .highlight-animate {
    animation: neonFlicker44 2s infinite;
    color: rgb(230, 31, 31);
  }

  @keyframes neonFlicker44 {
    0%,
    18%,
    22%,
    25%,
    53%,
    57%,
    100% {
      text-shadow:
        0 0 10px rgba(243, 6, 6, 0.623),
        0 0 20px rgb(56, 52, 52),
        0 0 40px rgba(0, 0, 0, 0.6);
      opacity: 1;
    }
    19%,
    24%,
    55% {
      text-shadow: none;
      opacity: 0.6;
    }
  }
  .timer-section {
    /* keep your existing styles */
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .timer-logos {
    margin-top: 20px;
    margin-bottom: -50px;
    /* space from the sentence */
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: center;
  }

  .timer-logos img {
    width: 30px; /* adjust */
    height: auto;
    object-fit: contain;
  }
  .text-logo a {
    font-family: "abare33";
    color: #fff;
    font-size: 10px;
    margin-right: -15px;

    font-weight: 800;
  }

  .guests-header {
    text-align: center;
    margin-top: -60px;
    margin-bottom: 90px;
  }

  .guests-title {
    font-size: 30px;
    font-weight: 700;
    font-family: "abare11";
    color: #ffffff;
  }

  .cordon-header {
    text-align: center;
    margin-top: -20px;
    margin-bottom: 30px;
  }

  .cordon-title {
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
    font-family: "abare11";
  }
  .main-header {
    padding: 0 20px;
    height: 70px;
  }

  .header-section {
    flex-direction: row; /* Display sections horizontally again */
  }

  .header-left {
    margin-right: 20px; /* Add some spacing between sections */
  }

  .search-btn img {
    width: 15px;
    margin-left: -12px;
    height: 15px;
  }

.alarm-dot {
  position: absolute;
  top: 8px;      /* adjust for your layout */
  right: -20px;
  width: 15px;
  height: 15px;
  background-color: rgb(238, 40, 40);
  border-radius: 50%;
  box-shadow: 0 0 2px rgba(0,0,0,0.3);
   cursor: pointer; 
}
@keyframes bigPulse {
  0% {
    width: 30px;
    height: 30px;
    opacity: 0.7;
  }
  100% {
    width: 60px;   /* bigger ripple */
    height: 60px;
    opacity: 0;
  }
}
.alarm-dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  background: rgba(255, 0, 0, 0.86);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: bigPulse .8s ease-out infinite;
}



.alarm-dot::before {
  content: attr(data-tooltip); /* Use the text from data-tooltip */
  position: absolute;
  bottom: 100%; /* Position above the dot */
  left: 60px;
  transform: translateX(-50%);
  margin-bottom: -50px; /* Space between dot and tooltip */
  white-space: nowrap; /* Prevent text wrapping */
  padding: 5px 10px;
  background: #333; /* Dark background for tooltip */
  color: #fff; /* White text */
  border-radius: 5px;
  font-size: 12px;
  font-family:"peyda"
  opacity: 0; /* Hidden by default */
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 3; /* Make sure it's above other elements */
}

/* Show tooltip on hover/focus */
.alarm-dot:hover::before,
.alarm-dot:focus::before {
  opacity: 1;
  visibility: visible;
}

/* For touch devices (simulating hover with :active) */
.alarm-dot:active::before {
  opacity: 1;
  visibility: visible;
}


  
  .header-center {
    flex: 0 0 auto; /* Allow center to take its natural size */
    display: flex; /* Display nav buttons horizontally */
    gap: 8px; /* Reduce gap between nav items */
  }

  .nav-btn {
    margin-top: -3px;
    font-size: 0.6rem; /* Slightly smaller font size */
    padding: 4px 6px; /* Reduce padding */
    border-radius: 5px; /* Smaller border radius */
    display:none
  }

  .header-logo {
    width: 45px;
    margin-top: -2px;
    margin-right: -15px;
  }
  .bia {
    height: 30px;
    clip-path: inset(0 100% 0 0);
    animation: revealMask 10s ease forwards;
    margin-right: -10px;
 
  }
}

@media (max-width: 400px) {
  .slider-track {
    height: 100%;
    position: relative;
  }

  .slider-btn {
    display: none;
    position: absolute;
    top: 50%;

    background: transparent;
    border: none;
    transition: 0.3s ease;

    padding: 0.4rem 0.8rem;
    cursor: pointer;
  }

  .slider-btn.prev {
    left: 16px;
    margin-top: -20px;
  }

  .slider-btn.next {
    margin-top: -20px;
    right: 16px;
  }
  .slider-btn.prev {
    left: 16px;
    margin-top: -20px;
    margin-left: -20px;
  }

  .slider-btn.next {
    margin-top: -20px;
    right: 16px;
    margin-right: -20px;
  }

  .slider-btn:hover {
    opacity: 1;
    transform: translateY(-1.2px) scale(1.1);
    filter: drop-shadow(0 0 8px rgba(34, 33, 33, 0.4));
  }

  .slide-content {
    display: none;
  }

  /* --- Slider Progress Bar --- */

  .slider-progress {
    position: absolute;
    /* Remove left: 0; width: 100%; as they are already defined */
    bottom: 0; /* <<< Set to 0 to align perfectly with the bottom */
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    z-index: 10;
  }
  .slider-progress-fill {
    height: 100%;
    width: 0%; /* JS will control this */
    background: #ff9900; /* Your orange color */
    transition: width 0.1s linear;
  }

  /* --- Slider Buttons (Adjusted z-index) --- */
  .slider-btn {
    display: none;
    position: absolute;

    top: 50%;
    background: transparent;
    border: none;
    transition: 0.3s ease;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    z-index: 10;
  }

  .hero-slider {
    position: relative;
    width: calc(100% - 20px);
    max-width: 1200px;
    height: 140px;
    margin: 40px auto 3rem;
    margin-top: 120px;
    overflow: hidden;
    border-radius: 24px;
     touch-action: pan-y;
  }

  .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition:
      opacity 0.6s ease,
      transform 1.2s ease;
    background: #1e1e1e;
    transform: scale(1.05);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
 
  }

  .slide.active {
    opacity: 1;
    
    transform: scale(1);
    z-index: 1; /* Keep z-index for active slide */
  }
  

  .slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -1;
  }
  

  /* ...................................... */

  .why-section {
    padding: 100px 20px;
    margin-top: -120px;
    text-align: center;
  }
  .why-title {
    font-size: 28px;
    margin-bottom: 5px;
    font-family: "abare11";
    color: #fff;
    font-weight: 900;
  }

  .why-subtitle {
    opacity: 0.7;
    margin-bottom: 25px;
    font-size: 16px;
    color: #fff;
    font-family: "abare22";
    font-weight: 600;
  }
  .why-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
  }

  .why-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    width: 320px;
    height: 270px;
    padding: 50px 25px 90px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    transition: 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

.why-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 40px rgba(140, 130, 255, 0.5);
  border-color: rgba(195, 170, 255, 0.95);
}

  .why-quote {
    font-size: 17px;
    font-family: "abare22";
    color: #ffd27f;
    font-weight: 700;
    line-height: 1.5;
    padding: 0 15px;
    margin-top: -50px;
           background: linear-gradient(120deg, #ffdd9e, #ff8ad4, #a5b4ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  }
  .why-guest-box {
    position: absolute;
    bottom: 0px;
    left: 95px;
  }

  .why-guest-img {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 12px;
    object-fit: cover;
    bottom: 0;
    left: 80px;
  }

  .guest-img-1 {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    object-fit: cover;
    bottom: 0;
    left: 100px;
  }
  .guest-img-2 {
    width: 105px;
    height: 131.25px;
    border-radius: 12px;
    object-fit: cover;
    bottom: 0;
    left: 112px;
  }

  .guest-img-3 {
    width: 140px;
    height: 140px;
    border-radius: 12px;
    object-fit: cover;
    bottom: 0;
    left: 105px;
    overflow: hidden;
  }

  .why-guest-name {
    position: absolute;
    font-size: 15px;
    font-family: "abare22";
    color: #fff;
    font-weight: 700;
    opacity: 1;
    left: 15px;
    bottom: 20px;
    white-space: nowrap;
  }

  .guest-name-1 {
    position: absolute;
    font-size: 15px;
    font-family: "abare22";
    color: #fff;
    font-weight: 700;
    opacity: 1;
    left: 40px;
    bottom: 20px;
    white-space: nowrap;
  }

  .guest-name-2 {
    position: absolute;
    font-size: 15px;
    font-family: "abare22";
    color: #fff;
    font-weight: 700;
    opacity: 1;
    left: 15px;
    bottom: 20px;
    white-space: nowrap;
  }
  .guest-name-3 {
    position: absolute;
    font-size: 15px;
    font-family: "abare22";
    color: #fff;
    font-weight: 700;
    opacity: 1;
    left: 15px;
    bottom: 20px;
    white-space: nowrap;
  }

  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
  }

  .reveal.active {
    opacity: 1;
    transform: translateY(0);
  }

  .why-card:nth-child(1) {
    transition-delay: 0.2s;
  }
  .why-card:nth-child(2) {
    transition-delay: 0.4s;
  }
  .why-card:nth-child(3) {
    transition-delay: 0.6s;
  }

  /* }}}}}}}}}}}}}}}}}}}}}}}}}}}} */
  .guests-track {
    flex-direction: row;
    align-items: center;
    gap: 50px;
    margin-top: -60px;
    margin-bottom: -40px;
  }
  .guests-section h4 {
    font-family: "abare22";
    font-weight: 900;
    font-size: 24px;
    position: absolute;
    margin-top: -100px;
    margin-right: 40px;
    color: #fff;
  }

  .guest-card {
    min-width: auto;
  }

  .guest-img {
    width: 80px;
    height: 80px;
  }
  .guest-avatar {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto;
}


/* Orange orbit ring */
.guest-avatar::before {
  content: "";
  position: absolute;
  inset: -6px;

  border-radius: 50%;

  border-top: 3px solid #ff8c00;
  border-right: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-left: 3px solid transparent;

  animation: orbit 4s linear infinite;
}

/* Glow */
.guest-avatar::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: rgba(255, 140, 0, 0.15);
  filter: blur(12px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Hover effects */
.guest-card:hover .guest-avatar::after {
  opacity: 1;
}

.guest-card:hover .guest-img {
  transform: scale(1.05);
}

.guest-card:hover .guest-avatar::before {
  animation-duration: 1.5s;
}

@keyframes orbit {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
}

@media (min-width: 768px) {
  .episode-grid {
    grid-template-columns: repeat(
      auto-fit,
      minmax(300px, 1fr)
    ); /* 2+ cards on larger screens */
  }
}
@media (max-width: 400px) {
  .episodes-header img {
    max-width: 50%;
    height: auto;
  }

  .episode-card h2 {
    font-size: 0.5rem;
    font-family: "abare22";
    font-weight: 700;
    margin-bottom: 0.4rem;
  }
  .episode-text {
    color: #f0f0f0;
    position: relative;
    padding: 0.4rem 0;
  }

  .episode-text h2 {
    color: #f0f0f0;
    font-size: 0.8rem;
    margin: 0;
  }

  .episode-text {
    position: relative;
    padding: 0.4rem 0;
    color: #f0f0f0;
  }

  .episode-text h2 {
    font-size: 0.8rem;
    margin: 0;
    color: #f0f0f0;
  }

  .short-desc,
  .full-desc {
    margin: 0.35rem 0;
    color: #f0f0f0;
    line-height: 1.4;

    transition: opacity 0.5s ease;
  }

  .short-desc {
    color: #f0f0f0;
    opacity: 1;
    font-family: "abare22";
    font-weight: 500;
    font-size: 0.7rem;
  }

  .full-desc {
    font-family: "abare22";
    font-weight: 400;
    color: #f0f0f0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    display: none;
  }

  .episode-cover-placeholder {
    width: 100%;
    height: 200;
    background: linear-gradient(135deg, #e0e0e0, #f0f0f0);
    border-radius: 12px;
    margin-bottom: 0.5rem;
    margin-top: -0.3rem;

    border: 2px solid #d66406;
    position: relative;
    overflow: hidden;
  }
  .episode-cover-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .episode-card {
    position: relative;
    background: rgba(34, 34, 34, 0.55); /* translucent dark */
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 22px;
    padding: 0.9rem;
    text-decoration: none;
    color: #fff;
    display: flex;
    flex-direction: column;

    border: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow:
      0 10px 30px rgba(0, 0, 0, 0.35),
      inset 0 1px 1px rgba(255, 255, 255, 0.05);

    transition:
      transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
      box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
      border 0.35s ease;
  }
}

@media (max-width: 400px) {
  .footer-glass {
    padding: 30px 20px;
  }

  .footer-logo img {
    width: 150px; /* Smaller logo on mobile */
  }

  .footer-columns {
    flex-direction: row; /* Display columns horizontally */
    justify-content: space-between; /* Distribute space evenly */
    align-items: center; /* Center items vertically */
    gap: 20px; /* Reduce gap between columns */
    flex-wrap: wrap; /* Allow wrapping if needed */
  }

  .footer-column {
    min-width: auto; /* Remove minimum width */
    text-align: left; /* Align text to the left */
    flex: 1; /* Allow columns to grow and shrink equally */
  }

  .footer-column h4 {
    font-size: 1rem; /* Smaller heading size */
    text-align: right;
  }

  .footer-column a {
    font-size: 0.6rem; /* Keep the small size */
    display: block; /* Stack link texts vertically */
    white-space: nowrap; /* Prevent wrapping to next line */
    overflow: hidden; /* Hide excess text */
    text-overflow: ellipsis; /* Add ellipsis (...) for long texts */
    text-align: right;
  }

  /* لینک‌های داخل این ستون */
  .footer-column:nth-child(3) a {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.7rem;
  }

  .footer-column:nth-child(4) a {
    margin-right: -30px;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.7rem;
  }
  .footer-column:nth-child(4) h4 {
    margin-right: -30px;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.9rem;
  }

  .footer-bottom {
    margin-left: 0; /* Remove margin */
    margin-top: 15px;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
    margin-bottom: 15px;
    margin-right: 0;
  }

  .mobile-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px 0;
    z-index: 1000;
    box-shadow:
      0 10px 30px rgba(0, 0, 0, 0.35),
      inset 0 1px 1px rgba(255, 255, 255, 0.05);
    background: rgba(34, 34, 34, 0.55); /* This is the nav bar color */
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
  }

  /* Style for the container of the home button */
  .home-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute; /* Position relative to the nav bar */
    bottom: 40px; /* Adjust this value to position it above the nav bar */
    left: 48%;
    margin-left: 20px;
    transform: translateX(-50%); /* Center the button horizontally */
    z-index: 1001; /* Ensure it's above the nav bar */
  }

  .home-button-container .nav-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px; /* Increased width */
    height: 60px; /* Increased height */
    background-color: rgba(
      24,
      23,
      23,
      0.87
    ); /* Same color as nav bar, or a specific color */
    border-radius: 50%; /* Makes it a circle */
    margin-bottom: 10px; /* Adjust space above the nav bar */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Optional: Add a subtle shadow */
    transition: all 0.3s ease; /* Smooth transition for hover effect */
  }

  .mobile-nav::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      120deg,
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 0.02) 40%,
      transparent 60%
    );
    opacity: 1.6;
    pointer-events: none;
    box-shadow:
      0 20px 45px rgba(0, 0, 0, 0.6),
      0 0 25px rgba(37, 37, 37, 0.06);
  }

  .mobile-nav .nav-button {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    text-align: center;
    font-size: 10px;
    font-family: "abare22";
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    transition: color 0.3s ease;
  }
  .mobile-nav .nav-button:hover {
    color: #ff9900;
  }

  .mobile-nav .nav-button img {
    margin-bottom: 5px; /* Space between icon and text */
  }

  /* Adjustments for the home button image specifically */
  .home-button-container .nav-button img {
    width: 35px; /* Original width */
    height: 35px; /* Original height */
    margin-right: 6px; /* Remove margin-right as it's centered */
    margin-top: 6px;
  }

  .reasoc {
    width: 20px;
    height: 20px;
  }
  /* Removed .homeback style as it's now handled by .home-button-container .nav-button img */
  .conbut {
    width: 20px;
    height: 20px;
  }
  .abous {
    width: 20px;
    height: 20px;
  }
  .epios {
    width: 20px;
    height: 20px;
  }

  .nav-button[href="eps.html"] {
    margin-left: -35px;
  }
  .nav-button[href="aboutus.html"] {
    margin-right: -25px;
  }

  .home-button-container .nav-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 55px;
    height: 55px;
    background-color: rgba(34, 34, 34, 0.55);
    border-radius: 50%;
    margin-bottom: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition:
      transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
      background-color 0.3s ease;
    cursor: pointer;
  }

  .home-button-container .nav-button img {
    width: 40px; /* Original size */
    height: 40px;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); /* Transition for the image's transform */
    transform-origin: center; /* Ensure zoom happens from the center */
  }

  .home-button-container .nav-button:active {
    transform: scale(1.1);
  }

  .home-button-container .nav-button:active img {
    transform: scale(1.08); /* Zoom the image */
  }
}

/* iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii */
@media (max-width: 480px) and (min-width: 400px) {
  .timer-section {
    width: 85%;
    padding: 60px 20px;
    background: #0c0c0c;
    text-align: center;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.199);
    margin-top: 100px;
    margin-bottom: -80px;
  }

  /* Title */
  .timer-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: -0px;
    margin-top: -30px;
    font-family: "abare22";
    color: #ffffff;
  }

  /* Stopwatch container */
  .stopwatch {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
  }

  /* Individual Boxes */
  .time-box {
    width: 90px;
    font-family: "abare22";
    height: 90px;
    background: #0c0c0c;
    border-radius: 12px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .time-box span {
    font-size: 24px;
    font-family: "abare22";
    font-weight: 700;
    color: #ffffff;
  }

  .time-box label {
    font-family: "abare22";
    font-size: 12px;
    margin-top: 6px;
    color: #ffffff;
  }

  /* Under text */
  .timer-text {
    font-family: "abare22";
    font-size: 13px;
    color: #ffffff;
    margin-top: -10px;
    margin-bottom: -10px;
  }
  .highlight-animate {
    animation: neonFlicker44 2s infinite;
    color: rgb(230, 31, 31);
  }

  @keyframes neonFlicker44 {
    0%,
    18%,
    22%,
    25%,
    53%,
    57%,
    100% {
      text-shadow:
        0 0 10px rgba(243, 6, 6, 0.623),
        0 0 20px rgb(56, 52, 52),
        0 0 40px rgba(0, 0, 0, 0.6);
      opacity: 1;
    }
    19%,
    24%,
    55% {
      text-shadow: none;
      opacity: 0.6;
    }
  }
  .timer-section {
    /* keep your existing styles */
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .timer-logos {
    margin-top: 20px;
    margin-bottom: -50px;
    /* space from the sentence */
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: center;
  }

  .timer-logos img {
    width: 30px; /* adjust */
    height: auto;
    object-fit: contain;
  }
  .text-logo a {
    font-family: "abare33";
    color: #fff;
    font-size: 10px;
    margin-right: -15px;

    font-weight: 800;
  }

  .guests-header {
    text-align: center;
    margin-top: -40px;
    margin-bottom: 90px;
  }

  .guests-title {
    font-size: 36px;
    font-weight: 700;
    font-family: "abare11";
    color: #ffffff;
  }

  .cordon-header {
    text-align: center;
    margin-top: -20px;
    margin-bottom: 40px;
  }

  .cordon-title {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    font-family: "abare11";
  }
  .main-header {
    padding: 0 20px;
    height: 70px;
  }

  .header-section {
    flex-direction: row; /* Display sections horizontally again */
  }

  .header-left {
    margin-right: 20px; /* Add some spacing between sections */
  }

  .header-center {
    flex: 0 0 auto; /* Allow center to take its natural size */
    display: flex; /* Display nav buttons horizontally */
    gap: 8px; /* Reduce gap between nav items */
  }

 
  .search-btn img {
    width: 25px;
    margin-left: -12px;
    height: 25px;
  }

.alarm-dot {
  position: absolute;
  top: 12px;      /* adjust for your layout */
  right: -20px;
  width: 15px;
  height: 15px;
  background-color: rgb(238, 40, 40);
  border-radius: 50%;
  box-shadow: 0 0 2px rgba(0,0,0,0.3);
   cursor: pointer; 
}
@keyframes bigPulse {
  0% {
    width: 30px;
    height: 30px;
    opacity: 0.7;
  }
  100% {
    width: 60px;   /* bigger ripple */
    height: 60px;
    opacity: 0;
  }
}
.alarm-dot::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  background: rgba(255, 0, 0, 0.86);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: bigPulse .8s ease-out infinite;
}



.alarm-dot::before {
  content: attr(data-tooltip); /* Use the text from data-tooltip */
  position: absolute;
  bottom: 100%; /* Position above the dot */
  left: 50px;
  transform: translateX(-50%);
  margin-bottom: -50px; /* Space between dot and tooltip */
  white-space: nowrap; /* Prevent text wrapping */
  padding: 5px 10px;
  background: #333; /* Dark background for tooltip */
  color: #fff; /* White text */
  border-radius: 5px;
  font-size: 12px;
  font-family:"peyda"
  opacity: 0; /* Hidden by default */
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 3; /* Make sure it's above other elements */
}

/* Show tooltip on hover/focus */
.alarm-dot:hover::before,
.alarm-dot:focus::before {
  opacity: 1;
  visibility: visible;
}

/* For touch devices (simulating hover with :active) */
.alarm-dot:active::before {
  opacity: 1;
  visibility: visible;
}
 .nav-btn {
    font-size: 0.7rem; /* Slightly smaller font size */
    padding: 4px 6px; /* Reduce padding */
    border-radius: 5px; /* Smaller border radius */
display:none
  }

  .header-logo {
    margin-right: -13px;
    width: 45px;
    margin-top: -2px;
  }


  .bia {
    height: 35px;
    clip-path: inset(0 100% 0 0);
    animation: revealMask 2s ease forwards;
    margin-right: -10px;
/* display:none */
  }
}

@media (max-width: 480px) and (min-width: 400px) {
    .stopwatch h1{
font-family: "abare22";
color: #fff;
font-size: 32px;
margin-bottom: -10px;


}
  .slider-track {
    height: 100%;
    position: relative;
  }

  .slider-btn {
    
    position: relative;
    top: 50%;

    background: transparent;
    border: none;
    transition: 0.3s ease;

    padding: 0.2rem 0.8rem;
    cursor: pointer;
  }

  .slider-btn.prev {
    left: 16px;
    margin-top: -20px;
    margin-left: -20px;
  }

  .slider-btn.next {
    margin-top: -20px;
    right: 16px;
    margin-right: -20px;
  }

  .slider-btn:hover {
    opacity: 1;
    transform: translateY(-1.2px) scale(1.1);
    filter: drop-shadow(0 0 8px rgba(34, 33, 33, 0.4));
  }

  .slide-content {
    display: none;
  }

  /* --- Slider Progress Bar --- */

  .slider-progress {
    position: absolute;
    /* Remove left: 0; width: 100%; as they are already defined */
    bottom: 0; /* <<< Set to 0 to align perfectly with the bottom */
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    z-index: 10;
  }
  .slider-progress-fill {
    height: 100%;
    width: 0%; /* JS will control this */
    background: #ff9900; /* Your orange color */
    transition: width 0.1s linear;
  }

  /* --- Slider Buttons (Adjusted z-index) --- */
  .slider-btn {
    display: none;
    position: absolute;

    top: 50%;
    background: transparent;
    border: none;
    transition: 0.3s ease;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    z-index: 10;
  }

  .hero-slider {
    position: relative;
    width: calc(100% - 20px);
    max-width: 1200px;
    height: 140px;
    margin: 40px auto 3rem;
    margin-top: 120px;
    overflow: hidden;
    border-radius: 24px;
    touch-action: pan-y;
  }

  .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition:
      opacity 0.6s ease,
      transform 1.2s ease;
    background: #1e1e1e;
    transform: scale(1.05);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    /* Removed z-index from here as slides are absolute and fade in/out */
  }

  .slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1; /* Keep z-index for active slide */
  }

  .slide img {
    position: absolute;
    
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -1; /* This is fine, keeps image behind content within the slide */
  }

  /* [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ */

  .why-section {
    padding: 80px 20px;
    margin-top: -90px;
    text-align: center;
  }
  .why-title {
    font-size: 32px;
    margin-bottom: 5px;
    font-family: "abare11";
    color: #fff;
    font-weight: 900;
  }

  .why-subtitle {
    opacity: 0.7;
    margin-bottom: 25px;
    font-size: 16px;
    color: #fff;
    font-family: "abare22";
    font-weight: 600;
  }
  .why-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
  }

  .why-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    width: 320px;
    height: 270px;
    padding: 50px 25px 90px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    transition: 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* .why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.3);
    border: 1px solid rgba(255, 140, 0, 0.4);
  } */

  .why-quote {
    font-size: 17px;
    font-family: "abare22";
    color: #ffd27f;
    font-weight: 700;
    line-height: 1.5;
    padding: 0 15px;
    margin-top: -50px;
       background: linear-gradient(120deg, #ffdd9e, #ff8ad4, #a5b4ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  }
  .why-guest-box {
    position: absolute;
    bottom: 0px;
    left: 95px;
  }

  .why-guest-img {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 12px;
    object-fit: cover;
    bottom: 0;
    left: 80px;
  }

  .guest-img-1 {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    object-fit: cover;
    bottom: 0;
    left: 100px;
  }
  .guest-img-2 {
    width: 105px;
    height: 131.25px;
    border-radius: 12px;
    object-fit: cover;
    bottom: 0;
    left: 112px;
  }

  .guest-img-3 {
    width: 140px;
    height: 140px;
    border-radius: 12px;
    object-fit: cover;
    bottom: 0;
    left: 105px;
    overflow: hidden;
  }

  .why-guest-name {
    position: absolute;
    font-size: 15px;
    font-family: "abare22";
    color: #fff;
    font-weight: 700;
    opacity: 1;
    left: 15px;
    bottom: 20px;
    white-space: nowrap;
  }

  .guest-name-1 {
    position: absolute;
    font-size: 15px;
    font-family: "abare22";
    color: #fff;
    font-weight: 700;
    opacity: 1;
    left: 40px;
    bottom: 20px;
    white-space: nowrap;
  }

  .guest-name-2 {
    position: absolute;
    font-size: 15px;
    font-family: "abare22";
    color: #fff;
    font-weight: 700;
    opacity: 1;
    left: 15px;
    bottom: 20px;
    white-space: nowrap;
  }
  .guest-name-3 {
    position: absolute;
    font-size: 15px;
    font-family: "abare22";
    color: #fff;
    font-weight: 700;
    opacity: 1;
    left: 15px;
    bottom: 20px;
    white-space: nowrap;
  }

  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
  }

  .reveal.active {
    opacity: 1;
    transform: translateY(0);
  }

  .why-card:nth-child(1) {
    transition-delay: 0.2s;
  }
  .why-card:nth-child(2) {
    transition-delay: 0.4s;
  }
  .why-card:nth-child(3) {
    transition-delay: 0.6s;
  }

  /* [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ */

  .guests-track {
    flex-direction: row;
    align-items: center;
    gap: 50px;
    margin-top: -60px;
    margin-bottom: -40px;
  }
  .guests-section h4 {
    font-family: "abare22";
    font-weight: 900;
    font-size: 24px;
    position: absolute;
    margin-top: -100px;
    margin-right: 40px;
    color: #fff;
  }

  .guest-card {
    min-width: auto;
  }

  .guest-img {
    width: 80px;
    height: 80px;
  }
  
  .guest-avatar {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto;
}


/* Orange orbit ring */
.guest-avatar::before {
  content: "";
  position: absolute;
  inset: -6px;

  border-radius: 50%;

  border-top: 3px solid #ff8c00;
  border-right: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-left: 3px solid transparent;

  animation: orbit 4s linear infinite;
}

/* Glow */
.guest-avatar::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: rgba(255, 140, 0, 0.15);
  filter: blur(12px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Hover effects */
.guest-card:hover .guest-avatar::after {
  opacity: 1;
}

.guest-card:hover .guest-img {
  transform: scale(1.05);
}

.guest-card:hover .guest-avatar::before {
  animation-duration: 1.5s;
}

@keyframes orbit {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
}

@media (min-width: 768px) {
  .episode-grid {
    grid-template-columns: repeat(
      auto-fit,
      minmax(300px, 1fr)
    ); /* 2+ cards on larger screens */
  }
}
@media (max-width: 480px) and (min-width: 400px) {
  .episodes-header img {
    max-width: 50%;
    height: auto;
  }

  .episode-card h2 {
    font-size: 0.5rem;
    font-family: "abare22";
    font-weight: 700;
    margin-bottom: 0.4rem;
  }
  .episode-text {
    color: #f0f0f0;
    position: relative;
    padding: 0.4rem 0;
  }

  .episode-text h2 {
    color: #f0f0f0;
    font-size: 0.8rem;
    margin: 0;
  }

  .episode-text {
    position: relative;
    padding: 0.4rem 0;
    color: #f0f0f0;
  }

  .episode-text h2 {
    font-size: 0.8rem;
    margin: 0;
    color: #f0f0f0;
  }

  .short-desc,
  .full-desc {
    margin: 0.35rem 0;
    color: #f0f0f0;
    line-height: 1.4;

    transition: opacity 0.5s ease;
  }

  .short-desc {
    color: #f0f0f0;
    opacity: 1;
    font-family: "abare22";
    font-weight: 500;
    font-size: 0.7rem;
  }

  .full-desc {
    font-family: "abare22";
    font-weight: 400;
    color: #f0f0f0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    display: none;
  }

  .episode-cover-placeholder {
    width: 100%;
    height: 200;
    background: linear-gradient(135deg, #e0e0e0, #f0f0f0);
    border-radius: 12px;
    margin-bottom: 0.5rem;
    margin-top: -0.2rem;

    border: 2px solid #d66406;
    position: relative;
    overflow: hidden;
  }
  .episode-cover-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .episode-card {
    position: relative;
    background: rgba(34, 34, 34, 0.55); /* translucent dark */
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 22px;
    padding: 0.9rem;
    text-decoration: none;
    color: #fff;
    display: flex;
    flex-direction: column;

    border: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow:
      0 10px 30px rgba(0, 0, 0, 0.35),
      inset 0 1px 1px rgba(255, 255, 255, 0.05);

    transition:
      transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
      box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
      border 0.35s ease;
  }
}

@media (max-width: 480px) and (min-width: 400px) {
  .footer-glass {
    padding: 30px 20px;
  }

  .footer-logo img {
    width: 150px; /* Smaller logo on mobile */
  }

  .footer-columns {
    flex-direction: row; /* Display columns horizontally */
    justify-content: space-between; /* Distribute space evenly */
    align-items: center; /* Center items vertically */
    gap: 55px; /* Reduce gap between columns */
    flex-wrap: wrap; /* Allow wrapping if needed */
  }

  .footer-column {
    min-width: auto; /* Remove minimum width */
    text-align: left; /* Align text to the left */
    flex: 1; /* Allow columns to grow and shrink equally */
  }

  .footer-column h4 {
    font-size: 1rem; /* Smaller heading size */
    text-align: right;
  }

  .footer-column a {
    font-size: 0.6rem; /* Keep the small size */
    display: block; /* Stack link texts vertically */
    white-space: nowrap; /* Prevent wrapping to next line */
    overflow: hidden; /* Hide excess text */
    text-overflow: ellipsis; /* Add ellipsis (...) for long texts */
    text-align: right;
  }

  /* لینک‌های داخل این ستون */
  .footer-column:nth-child(3) a {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.7rem;
  }

  .footer-column:nth-child(4) a {
    margin-right: -30px;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.7rem;
  }
  .footer-column:nth-child(4) h4 {
    margin-right: -30px;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.9rem;
  }

  .footer-bottom {
    margin-left: 0; /* Remove margin */
    margin-top: 15px;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
    margin-bottom: 15px;
    margin-right: 0;
  }

  .mobile-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px 0;
    z-index: 1000;
    box-shadow:
      0 10px 30px rgba(0, 0, 0, 0.35),
      inset 0 1px 1px rgba(255, 255, 255, 0.05);
    background: rgba(34, 34, 34, 0.55); /* This is the nav bar color */
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
  }

  /* Style for the container of the home button */
  .home-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute; /* Position relative to the nav bar */
    bottom: 40px; /* Adjust this value to position it above the nav bar */
    left: 50%;
    margin-left: 20px;
    transform: translateX(-50%); /* Center the button horizontally */
    z-index: 1001; /* Ensure it's above the nav bar */
  }

  .home-button-container .nav-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px; /* Increased width */
    height: 60px; /* Increased height */
    background-color: rgba(
      24,
      23,
      23,
      0.87
    ); /* Same color as nav bar, or a specific color */
    border-radius: 50%; /* Makes it a circle */
    margin-bottom: 10px; /* Adjust space above the nav bar */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Optional: Add a subtle shadow */
    transition: all 0.3s ease; /* Smooth transition for hover effect */
  }

  .mobile-nav::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      120deg,
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 0.02) 40%,
      transparent 60%
    );
    opacity: 1.6;
    pointer-events: none;
    box-shadow:
      0 20px 45px rgba(0, 0, 0, 0.6),
      0 0 25px rgba(37, 37, 37, 0.06);
  }

  .mobile-nav .nav-button {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    text-align: center;
    font-size: 12px;
    font-family: "abare22";
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    transition: color 0.3s ease;
  }
  .mobile-nav .nav-button:hover {
    color: #ff9900;
  }

  .mobile-nav .nav-button img {
    margin-bottom: 5px; /* Space between icon and text */
  }

  /* Adjustments for the home button image specifically */
  .home-button-container .nav-button img {
    width: 45px; /* Original width */
    height: 45px; /* Original height */
    margin-right: 6px; /* Remove margin-right as it's centered */
    margin-top: 6px;
  }

  .reasoc {
    width: 20px;
    height: 20px;
  }
  /* Removed .homeback style as it's now handled by .home-button-container .nav-button img */
  .conbut {
    width: 20px;
    height: 20px;
  }
  .abous {
    width: 20px;
    height: 20px;
  }
  .epios {
    width: 20px;
    height: 20px;
  }

  .nav-button[href="eps.html"] {
    margin-left: -55px;
  }
  .nav-button[href="aboutus.html"] {
    margin-right: -45px;
  }
  .nav-button[href="soc.html"] {
    margin-left: -20px;
  }
  .nav-button[href="conus.html"] {
    margin-right: -20px;
  }
  .home-button-container .nav-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 65px;
    height: 65px;
    background-color: rgba(34, 34, 34, 0.55);
    border-radius: 50%;
    margin-bottom: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition:
      transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
      background-color 0.3s ease;
    cursor: pointer;
  }

  .home-button-container .nav-button img {
    width: 40px; /* Original size */
    height: 40px;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); /* Transition for the image's transform */
    transform-origin: center; /* Ensure zoom happens from the center */
  }

  .home-button-container .nav-button:active {
    transform: scale(1.1);
  }

  .home-button-container .nav-button:active img {
    transform: scale(1.08); /* Zoom the image */
  }
}

/* iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii */

@media (min-width: 480px) and (max-width: 768px) {
  .timer-section {
    width: 490px;
    padding: 60px 20px;
    background: #0c0c0c;
    text-align: center;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.199);
    margin-top: 100px;
    margin-bottom: -80px;
  }

  /* Title */
  .timer-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: -0px;
    margin-top: -30px;
    font-family: "abare22";
    color: #ffffff;
  }

  /* Stopwatch container */
  .stopwatch {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
  }

  /* Individual Boxes */
  .time-box {
    width: 90px;
    font-family: "abare22";
    height: 90px;
    background: #0c0c0c;
    border-radius: 12px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .time-box span {
    font-size: 24px;
    font-family: "abare22";
    font-weight: 700;
    color: #ffffff;
  }

  .time-box label {
    font-family: "abare22";
    font-size: 12px;
    margin-top: 6px;
    color: #ffffff;
  }

  /* Under text */
  .timer-text {
    font-family: "abare22";
    font-size: 16px;
    color: #ffffff;
    margin-top: -10px;
  }
  .highlight-animate {
    animation: neonFlicker44 2s infinite;
    color: rgb(230, 31, 31);
  }

  @keyframes neonFlicker44 {
    0%,
    18%,
    22%,
    25%,
    53%,
    57%,
    100% {
      text-shadow:
        0 0 10px rgba(243, 6, 6, 0.623),
        0 0 20px rgb(56, 52, 52),
        0 0 40px rgba(0, 0, 0, 0.6);
      opacity: 1;
    }
    19%,
    24%,
    55% {
      text-shadow: none;
      opacity: 0.6;
    }
  }
  .timer-section {
    /* keep your existing styles */
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .timer-logos {
    margin-top: 20px;
    margin-bottom: -50px;
    /* space from the sentence */
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: center;
  }

  .timer-logos img {
    width: 30px; /* adjust */
    height: auto;
    object-fit: contain;
  }
  .text-logo a {
    font-family: "abare33";
    color: #fff;
    font-size: 10px;
    margin-right: -15px;

    font-weight: 800;
  }

  .guests-header {
    text-align: center;
    margin-top: -60px;
    margin-bottom: 90px;
  }

  .guests-title {
    font-size: 36px;
    font-weight: 700;
    font-family: "abare11";
    color: #ffffff;
  }

  .cordon-header {
    text-align: center;
    margin-top: -20px;
    margin-bottom: 40px;
  }

  .cordon-title {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    font-family: "abare11";
  }
  .main-header {
    padding: 0 20px;
    height: 70px;
  }

  .header-section {
    flex-direction: row; /* Display sections horizontally again */
  }

  .header-left {
    margin-right: 20px; /* Add some spacing between sections */
  }

  .header-center {
    flex: 0 0 auto; /* Allow center to take its natural size */
    display: flex; /* Display nav buttons horizontally */
    gap: 8px; /* Reduce gap between nav items */
  }

  .nav-btn {
    font-size: 0.8rem; /* Slightly smaller font size */
    padding: 4px 6px; /* Reduce padding */
    border-radius: 5px; /* Smaller border radius */
  }

  .header-logo {
    width: 55px;
    margin-top: -2px;
  }
  .bia {
    height: 25px;
    clip-path: inset(0 100% 0 0);
    animation: revealMask 10s ease forwards;
    margin-right: -10px;
  }
}

@media (min-width: 480px) and (max-width: 768px) {
  .slider-track {
    height: 100%;
    position: relative;
  }

  .slider-btn {
    display: none;
    position: absolute;
    top: 50%;

    background: transparent;
    border: none;
    transition: 0.3s ease;

    padding: 0.4rem 0.8rem;
    cursor: pointer;
  }

  .slider-btn.prev {
    left: 16px;
    margin-top: -20px;
  }

  .slider-btn.next {
    margin-top: -20px;
    right: 16px;
  }

  .slider-btn:hover {
    opacity: 1;
    transform: translateY(-1.2px) scale(1.1);
    filter: drop-shadow(0 0 8px rgba(34, 33, 33, 0.4));
  }

  .slide-content {
    display: none;
  }

  /* --- Slider Progress Bar --- */

  .slider-progress {
    position: absolute;
    /* Remove left: 0; width: 100%; as they are already defined */
    bottom: 0; /* <<< Set to 0 to align perfectly with the bottom */
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    z-index: 10;
  }
  .slider-progress-fill {
    height: 100%;
    width: 0%; /* JS will control this */
    background: #ff9900; /* Your orange color */
    transition: width 0.1s linear;
  }

  /* --- Slider Buttons (Adjusted z-index) --- */
  .slider-btn {
    position: absolute;

    top: 50%;
    background: transparent;
    border: none;
    transition: 0.3s ease;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    z-index: 10;
  }

  .hero-slider {
    position: relative;
    width: calc(100% - 40px);
    max-width: 1200px;
    height: 180px;
    margin: 40px auto 3rem;
    margin-top: 120px;
    overflow: hidden;
    border-radius: 24px;
     touch-action: pan-y;
  }

  .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition:
      opacity 0.6s ease,
      transform 1.2s ease;
    background: #1e1e1e;
    transform: scale(1.05);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    /* Removed z-index from here as slides are absolute and fade in/out */
  }

  .slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1; /* Keep z-index for active slide */
  }

  .slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -1; /* This is fine, keeps image behind content within the slide */
  }

  @media (width: 768px) {
    .slider-track {
      height: 100%;
      position: relative;
    }

    .slider-btn {
      position: absolute;
      top: 50%;

      background: transparent;
      border: none;
      transition: 0.3s ease;

      padding: 0.4rem 0.8rem;
      cursor: pointer;
    }

    .slider-btn.prev {
      left: 16px;
      margin-top: -20px;
    }

    .slider-btn.next {
      margin-top: -20px;
      right: 16px;
    }

    .slider-btn:hover {
      opacity: 1;
      transform: translateY(-1.2px) scale(1.1);
      filter: drop-shadow(0 0 8px rgba(34, 33, 33, 0.4));
    }

    .slide-content {
      display: none;
    }

    /* --- Slider Progress Bar --- */

    .slider-progress {
      position: absolute;
      /* Remove left: 0; width: 100%; as they are already defined */
      bottom: 0; /* <<< Set to 0 to align perfectly with the bottom */
      left: 0;
      width: 100%;
      height: 4px;
      background: rgba(255, 255, 255, 0.2);
      border-radius: 2px;
      overflow: hidden;
      z-index: 10;
    }
    .slider-progress-fill {
      height: 100%;
      width: 0%; /* JS will control this */
      background: #ff9900; /* Your orange color */
      transition: width 0.1s linear;
    }

    /* --- Slider Buttons (Adjusted z-index) --- */
    .slider-btn {
      position: absolute;

      top: 50%;
      background: transparent;
      border: none;
      transition: 0.3s ease;
      padding: 0.4rem 0.8rem;
      cursor: pointer;
      z-index: 10;
    }

    .hero-slider {
      position: relative;
      width: calc(100% - 60px);
      max-width: 1200px;
      height: 250px;
      margin: 40px auto 3rem;
      margin-top: 120px;
      overflow: hidden;
      border-radius: 24px;
       touch-action: pan-y;
    }

    .slide {
      position: absolute;
      inset: 0;
      opacity: 0;
      transition:
        opacity 0.6s ease,
        transform 1.2s ease;
      background: #1e1e1e;
      transform: scale(1.05);
      display: flex;
      align-items: flex-end;
      padding: 2rem;
      /* Removed z-index from here as slides are absolute and fade in/out */
    }

    .slide.active {
      opacity: 1;
      transform: scale(1);
      z-index: 1; /* Keep z-index for active slide */
    }

    .slide img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      z-index: -1; /* This is fine, keeps image behind content within the slide */
    }
  }

  /* lllllllllllllllllllllll */

  .why-section {
    padding: 100px 20px;
    margin-top: -115px;
    text-align: center;
  }
  .why-title {
    font-size: 32px;
    margin-bottom: 5px;
    font-family: "abare11";
    color: #fff;
    font-weight: 900;
  }

  .why-subtitle {
    opacity: 0.7;
    margin-bottom: 25px;
    font-size: 16px;
    color: #fff;
    font-family: "abare22";
    font-weight: 600;
  }
  .why-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
  }

  .why-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    width: 320px;
    height: 270px;
    padding: 50px 25px 90px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    transition: 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

.why-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 40px rgba(140, 130, 255, 0.5);
  border-color: rgba(195, 170, 255, 0.95);
}

  .why-quote {
    font-size: 17px;
    font-family: "abare22";
    color: #ffd27f;
    font-weight: 700;
    line-height: 1.5;
    padding: 0 15px;
    margin-top: -50px;
           background: linear-gradient(120deg, #ffdd9e, #ff8ad4, #a5b4ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  }
  .why-guest-box {
    position: absolute;
    bottom: 0px;
    left: 95px;
  }

  .why-guest-img {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 12px;
    object-fit: cover;
    bottom: 0;
    left: 80px;
  }

  .guest-img-1 {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    object-fit: cover;
    bottom: 0;
    left: 100px;
  }
  .guest-img-2 {
    width: 105px;
    height: 131.25px;
    border-radius: 12px;
    object-fit: cover;
    bottom: 0;
    left: 112px;
  }

  .guest-img-3 {
    width: 140px;
    height: 140px;
    border-radius: 12px;
    object-fit: cover;
    bottom: 0;
    left: 105px;
    overflow: hidden;
  }

  .why-guest-name {
    position: absolute;
    font-size: 15px;
    font-family: "abare22";
    color: #fff;
    font-weight: 700;
    opacity: 1;
    left: 15px;
    bottom: 20px;
    white-space: nowrap;
  }

  .guest-name-1 {
    position: absolute;
    font-size: 15px;
    font-family: "abare22";
    color: #fff;
    font-weight: 700;
    opacity: 1;
    left: 40px;
    bottom: 20px;
    white-space: nowrap;
  }

  .guest-name-2 {
    position: absolute;
    font-size: 15px;
    font-family: "abare22";
    color: #fff;
    font-weight: 700;
    opacity: 1;
    left: 15px;
    bottom: 20px;
    white-space: nowrap;
  }
  .guest-name-3 {
    position: absolute;
    font-size: 15px;
    font-family: "abare22";
    color: #fff;
    font-weight: 700;
    opacity: 1;
    left: 15px;
    bottom: 20px;
    white-space: nowrap;
  }

  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
  }

  .reveal.active {
    opacity: 1;
    transform: translateY(0);
  }

  .why-card:nth-child(1) {
    transition-delay: 0.2s;
  }
  .why-card:nth-child(2) {
    transition-delay: 0.4s;
  }
  .why-card:nth-child(3) {
    transition-delay: 0.6s;
  }

  /* lllllllllllllllllllllllllllllll */

  .guests-track {
    flex-direction: row;
    align-items: center;
    gap: 50px;
    margin-top: -60px;
    margin-bottom: -40px;
  }
  .guests-section h4 {
    font-family: "abare22";
    font-weight: 900;
    font-size: 24px;
    position: absolute;
    margin-top: -100px;
    margin-right: 40px;
    color: #fff;
  }

  .guest-card {
    min-width: auto;
  }

  .guest-img {
    width: 80px;
    height: 80px;
  }
  
  .guest-avatar {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto;
}


/* Orange orbit ring */
.guest-avatar::before {
  content: "";
  position: absolute;
  inset: -6px;

  border-radius: 50%;

  border-top: 3px solid #ff8c00;
  border-right: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-left: 3px solid transparent;

  animation: orbit 4s linear infinite;
}

/* Glow */
.guest-avatar::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: rgba(255, 140, 0, 0.15);
  filter: blur(12px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Hover effects */
.guest-card:hover .guest-avatar::after {
  opacity: 1;
}

.guest-card:hover .guest-img {
  transform: scale(1.05);
}

.guest-card:hover .guest-avatar::before {
  animation-duration: 1.5s;
}

@keyframes orbit {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
}

@media (min-width: 768px) {
  .episode-grid {
    grid-template-columns: repeat(
      auto-fit,
      minmax(300px, 1fr)
    ); /* 2+ cards on larger screens */
  }
}
@media (min-width: 480px) and (max-width: 768px) {
  .episodes-header img {
    max-width: 50%;
    height: auto;
  }

  .episode-card h2 {
    font-size: 0.5rem;
    font-family: "abare22";
    font-weight: 700;
    margin-bottom: 0.4rem;
  }
  .episode-text {
    color: #f0f0f0;
    position: relative;
    padding: 0.4rem 0;
  }

  .episode-text h2 {
    color: #f0f0f0;
    font-size: 0.8rem;
    margin: 0;
  }

  .episode-text {
    position: relative;
    padding: 0.4rem 0;
    color: #f0f0f0;
  }

  .episode-text h2 {
    font-size: 0.8rem;
    margin: 0;
    color: #f0f0f0;
  }

  .short-desc,
  .full-desc {
    margin: 0.35rem 0;
    color: #f0f0f0;
    line-height: 1.4;

    transition: opacity 0.5s ease;
  }

  .short-desc {
    color: #f0f0f0;
    opacity: 1;
    font-family: "abare22";
    font-weight: 500;
    font-size: 0.7rem;
  }

  .full-desc {
    font-family: "abare22";
    font-weight: 400;
    color: #f0f0f0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    display: none;
  }

  .episode-cover-placeholder {
    width: 100%;
    height: 200;
    background: linear-gradient(135deg, #e0e0e0, #f0f0f0);
    border-radius: 12px;
    margin-bottom: 0.5rem;
    margin-top: -0.2rem;

    border: 2px solid #d66406;
    position: relative;
    overflow: hidden;
  }
  .episode-cover-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .episode-card {
    position: relative;
    background: rgba(34, 34, 34, 0.55); /* translucent dark */
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 22px;
    padding: 0.9rem;
    text-decoration: none;
    color: #fff;
    display: flex;
    flex-direction: column;

    border: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow:
      0 10px 30px rgba(0, 0, 0, 0.35),
      inset 0 1px 1px rgba(255, 255, 255, 0.05);

    transition:
      transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
      box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
      border 0.35s ease;
  }
}

@media (min-width: 480px) and (max-width: 768px) {
  .footer-glass {
    padding: 30px 20px;
  }

  .footer-logo img {
    width: 150px; /* Smaller logo on mobile */
  }

  .footer-columns {
    flex-direction: row; /* Display columns horizontally */
    justify-content: space-between; /* Distribute space evenly */
    align-items: center; /* Center items vertically */
    gap: 35px; /* Reduce gap between columns */
    flex-wrap: wrap; /* Allow wrapping if needed */
  }

  .footer-column {
    min-width: auto; /* Remove minimum width */
    text-align: left; /* Align text to the left */
    flex: 1; /* Allow columns to grow and shrink equally */
  }

  .footer-column h4 {
    font-size: 1rem; /* Smaller heading size */
    text-align: right;
  }

  .footer-column a {
    font-size: 0.6rem; /* Keep the small size */
    display: block; /* Stack link texts vertically */
    white-space: nowrap; /* Prevent wrapping to next line */
    overflow: hidden; /* Hide excess text */
    text-overflow: ellipsis; /* Add ellipsis (...) for long texts */
    text-align: right;
  }

  /* لینک‌های داخل این ستون */
  .footer-column:nth-child(3) a {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.7rem;
  }
  .footer-column:nth-child(3) h4 {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.8rem;
  }

  .footer-column:nth-child(4) a {
    margin-right: -30px;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.7rem;
  }
  .footer-column:nth-child(4) h4 {
    margin-right: -30px;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.9rem;
  }

  .footer-bottom {
    margin-left: 0; /* Remove margin */
    margin-top: 15px;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
    margin-bottom: 15px;
    margin-right: 0;
  }
}

/* lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll tablets */
@media (max-width: 992px) and (min-width: 768px) {
  .timer-section {
    width: 80%;
    padding: 60px 20px;
    background: #0c0c0c;
    text-align: center;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.199);
    margin-top: 100px;
    margin-bottom: -80px;
  }

  /* Title */
  .timer-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: -0px;
    margin-top: -30px;
    font-family: "abare22";
    color: #ffffff;
  }

  /* Stopwatch container */
  .stopwatch {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
  }

  /* Individual Boxes */
  .time-box {
    width: 90px;
    font-family: "abare22";
    height: 90px;
    background: #0c0c0c;
    border-radius: 12px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .time-box span {
    font-size: 24px;
    font-family: "abare22";
    font-weight: 700;
    color: #ffffff;
  }

  .time-box label {
    font-family: "abare22";
    font-size: 12px;
    margin-top: 6px;
    color: #ffffff;
  }

  /* Under text */
  .timer-text {
    font-family: "abare22";
    font-size: 16px;
    color: #ffffff;
    margin-top: -10px;
  }
  .highlight-animate {
    animation: neonFlicker44 2s infinite;
    color: rgb(230, 31, 31);
  }

  @keyframes neonFlicker44 {
    0%,
    18%,
    22%,
    25%,
    53%,
    57%,
    100% {
      text-shadow:
        0 0 10px rgba(243, 6, 6, 0.623),
        0 0 20px rgb(56, 52, 52),
        0 0 40px rgba(0, 0, 0, 0.6);
      opacity: 1;
    }
    19%,
    24%,
    55% {
      text-shadow: none;
      opacity: 0.6;
    }
  }
  .timer-section {
    /* keep your existing styles */
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .timer-logos {
    margin-top: 20px;
    margin-bottom: -50px;
    /* space from the sentence */
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: center;
  }

  .timer-logos img {
    width: 30px; /* adjust */
    height: auto;
    object-fit: contain;
  }
  .text-logo a {
    font-family: "abare33";
    color: #fff;
    font-size: 10px;
    margin-right: -15px;

    font-weight: 800;
  }

  .guests-header {
    text-align: center;
    margin-top: -60px;
    margin-bottom: 100px;
  }

  .guests-title {
    font-size: 39px;
    font-weight: 700;
    font-family: "abare11";
    color: #ffffff;
  }

  .cordon-header {
    text-align: center;
    margin-top: -20px;
    margin-bottom: 40px;
  }

  .cordon-title {
    font-size: 39px;
    font-weight: 700;
    color: #ffffff;
    font-family: "abare11";
  }
  .main-header {
    padding: 0 20px;
    height: 70px;
  }

  .header-section {
    flex-direction: row; /* Display sections horizontally again */
  }

  .header-left {
    margin-right: 20px; /* Add some spacing between sections */
  }

  .header-center {
    flex: 0 0 auto; /* Allow center to take its natural size */
    display: flex; /* Display nav buttons horizontally */
    gap: 8px; /* Reduce gap between nav items */
  }

  .nav-btn {
    font-size: 0.9rem; /* Slightly smaller font size */
    padding: 4px 12px; /* Reduce padding */
    border-radius: 5px; /* Smaller border radius */
  }

  .header-logo {
    width: 55px;
    margin-top: -2px;
  }
  .bia {
    height: 35px;
    clip-path: inset(0 100% 0 0);
    animation: revealMask 10s ease forwards;
    margin-right: -10px;
  }
}

@media (max-width: 992px) and (min-width: 769px) {
  .slider-track {
    height: 100%;
    position: relative;
  }

  .slider-btn {
    position: absolute;
    top: 50%;

    background: transparent;
    border: none;
    transition: 0.3s ease;

    padding: 0.4rem 0.8rem;
    cursor: pointer;
  }

  .slider-btn.prev {
    left: 16px;
    margin-top: -20px;
  }

  .slider-btn.next {
    margin-top: -20px;
    right: 16px;
  }

  .slider-btn:hover {
    opacity: 1;
    transform: translateY(-1.2px) scale(1.1);
    filter: drop-shadow(0 0 8px rgba(34, 33, 33, 0.4));
  }

  .slide-content {
    display: none;
  }

  /* --- Slider Progress Bar --- */

  .slider-progress {
    position: absolute;
    /* Remove left: 0; width: 100%; as they are already defined */
    bottom: 0; /* <<< Set to 0 to align perfectly with the bottom */
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    z-index: 10;
  }
  .slider-progress-fill {
    height: 100%;
    width: 0%; /* JS will control this */
    background: #ff9900; /* Your orange color */
    transition: width 0.1s linear;
  }

  /* --- Slider Buttons (Adjusted z-index) --- */
  .slider-btn {
    position: absolute;

    top: 50%;
    background: transparent;
    border: none;
    transition: 0.3s ease;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    z-index: 10;
  }

  .hero-slider {
    position: relative;
    width: calc(100% - 60px);
    max-width: 1200px;
    height: 250px;
    margin: 40px auto 3rem;
    margin-top: 120px;
    overflow: hidden;
    border-radius: 24px;
     touch-action: pan-y;
  }

  .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition:
      opacity 0.6s ease,
      transform 1.2s ease;
    background: #1e1e1e;
    transform: scale(1.05);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    /* Removed z-index from here as slides are absolute and fade in/out */
  }

  .slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1; /* Keep z-index for active slide */
  }

  .slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -1; /* This is fine, keeps image behind content within the slide */
  }

  /* llllllllllllll */

  .why-section {
    padding: 100px 20px;
    margin-top: -110px;
    text-align: center;
  }
  .why-title {
    font-size: 40px;
    margin-bottom: 5px;
    font-family: "abare11";
    color: #fff;
    font-weight: 900;
  }

  .why-subtitle {
    opacity: 0.7;
    margin-bottom: 45px;
    font-size: 16px;
    color: #fff;
    font-family: "abare11";
    font-weight: 600;
  }
  .why-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: nowrap;
  }

  .why-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    width: 320px;
    height: 270px;
    padding: 50px 25px 90px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    transition: 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .why-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 40px rgba(140, 130, 255, 0.5);
  border-color: rgba(195, 170, 255, 0.95);
}

  .why-quote {
    font-size: 15px;
    font-family: "abare22";
    color: #ffd27f;
    font-weight: 700;
    line-height: 1.5;
    padding: 0 15px;
    margin-top: -50px;
           background: linear-gradient(120deg, #ffdd9e, #ff8ad4, #a5b4ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  }
  .why-guest-box {
    position: absolute;
    bottom: 0px;
    left: 95px;
  }

  .why-guest-img {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 12px;
    object-fit: cover;
    bottom: 0;
    left: 80px;
  }

  .guest-img-1 {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    object-fit: cover;
    bottom: 0;
    left: 20px;
  }
  .guest-img-2 {
    width: 105px;
    height: 131.25px;
    border-radius: 12px;
    object-fit: cover;
    bottom: 0;
    left: 42px;
  }

  .guest-img-3 {
    width: 140px;
    height: 140px;
    border-radius: 12px;
    object-fit: cover;
    bottom: 0;
    left: 25px;
    overflow: hidden;
  }

  .why-guest-name {
    position: absolute;
    font-size: 15px;
    font-family: "abare22";
    color: #fff;
    font-weight: 700;
    opacity: 1;
    left: 15px;
    bottom: 20px;
    white-space: nowrap;
  }

  .guest-name-1 {
    position: absolute;
    font-size: 15px;
    font-family: "abare22";
    color: #fff;
    font-weight: 700;
    opacity: 1;
    left: -40px;
    bottom: 20px;
    white-space: nowrap;
  }

  .guest-name-2 {
    position: absolute;
    font-size: 13px;
    font-family: "abare22";
    color: #fff;
    font-weight: 700;
    opacity: 1;
    left: -45px;
    bottom: 20px;
    white-space: nowrap;
  }
  .guest-name-3 {
    position: absolute;
    font-size: 13px;
    font-family: "abare22";
    color: #fff;
    font-weight: 700;
    opacity: 1;
    left: -45px;
    bottom: 20px;
    white-space: nowrap;
  }

  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
  }

  .reveal.active {
    opacity: 1;
    transform: translateY(0);
  }

  .why-card:nth-child(1) {
    transition-delay: 0.2s;
  }
  .why-card:nth-child(2) {
    transition-delay: 0.4s;
  }
  .why-card:nth-child(3) {
    transition-delay: 0.6s;
  }

  /* lllllllllllllllllll */
  .guests-track {
    flex-direction: row;
    align-items: center;
    gap: 50px;
    margin-top: -60px;
    margin-bottom: -40px;
  }
  .guests-section h4 {
    font-family: "abare22";
    font-weight: 900;
    font-size: 24px;
    position: absolute;
    margin-top: -100px;
    margin-right: 40px;
    color: #fff;
  }

  .guest-card {
    min-width: auto;
  }

  .guest-img {
    width: 80px;
    height: 80px;
  }
  
  .guest-avatar {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto;
}


/* Orange orbit ring */
.guest-avatar::before {
  content: "";
  position: absolute;
  inset: -6px;

  border-radius: 50%;

  border-top: 3px solid #ff8c00;
  border-right: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-left: 3px solid transparent;

  animation: orbit 4s linear infinite;
}

/* Glow */
.guest-avatar::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: rgba(255, 140, 0, 0.15);
  filter: blur(12px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Hover effects */
.guest-card:hover .guest-avatar::after {
  opacity: 1;
}

.guest-card:hover .guest-img {
  transform: scale(1.05);
}

.guest-card:hover .guest-avatar::before {
  animation-duration: 1.5s;
}

@keyframes orbit {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
}

@media (max-width: 992px) and (min-width: 768px) {
  .episode-grid {
    grid-template-columns: repeat(
      auto-fit,
      minmax(300px, 1fr)
    ); /* 2+ cards on larger screens */
  }
}
@media (max-width: 992px) and (min-width: 768px) {
  .episodes-header img {
    max-width: 50%;
    height: auto;
  }

  .episode-card h2 {
    font-size: 0.8rem;
    font-family: "abare22";
    font-weight: 700;
    margin-bottom: 0.4rem;
  }
  .episode-text {
    color: #f0f0f0;
    position: relative;
    padding: 0.4rem 0;
  }

  .episode-text h2 {
    color: #f0f0f0;
    font-size: 0.8rem;
    margin: 0;
  }

  .episode-text {
    position: relative;
    padding: 0.4rem 0;
    color: #f0f0f0;
  }

  .episode-text h2 {
    font-size: 1rem;
    margin: 0;
    color: #f0f0f0;
  }

  .short-desc,
  .full-desc {
    margin: 0.35rem 0;
    color: #f0f0f0;
    line-height: 1.4;

    transition: opacity 0.5s ease;
  }

  .short-desc {
    color: #f0f0f0;
    opacity: 1;
    font-family: "abare22";
    font-weight: 500;
    font-size: 0.9rem;
  }

  .full-desc {
    font-family: "abare22";
    font-weight: 400;
    color: #f0f0f0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    display: none;
  }

  .episode-cover-placeholder {
    width: 100%;
    height: 200;
    background: linear-gradient(135deg, #e0e0e0, #f0f0f0);
    border-radius: 12px;
    margin-bottom: 0.5rem;
    margin-top: -0.2rem;

    border: 2px solid #d66406;
    position: relative;
    overflow: hidden;
  }
  .episode-cover-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .episode-card {
    position: relative;
    background: rgba(34, 34, 34, 0.55); /* translucent dark */
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 22px;
    padding: 0.9rem;
    text-decoration: none;
    color: #fff;
    display: flex;
    flex-direction: column;

    border: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow:
      0 10px 30px rgba(0, 0, 0, 0.35),
      inset 0 1px 1px rgba(255, 255, 255, 0.05);

    transition:
      transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
      box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
      border 0.35s ease;
  }
}

@media (max-width: 992px) and (min-width: 768px) {
  .footer-glass {
    padding: 30px 20px;
  }

  .footer-logo img {
    width: 150px; /* Smaller logo on mobile */
  }

  .footer-columns {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 55px;
    flex-wrap: wrap;
  }

  .footer-column {
    min-width: auto; /* Remove minimum width */
    text-align: left; /* Align text to the left */
    flex: 1; /* Allow columns to grow and shrink equally */
  }

  .footer-column h4 {
    font-size: 1rem; /* Smaller heading size */
    text-align: right;
  }

  .footer-column a {
    font-size: 0.6rem; /* Keep the small size */
    display: block; /* Stack link texts vertically */
    white-space: nowrap; /* Prevent wrapping to next line */
    overflow: hidden; /* Hide excess text */
    text-overflow: ellipsis; /* Add ellipsis (...) for long texts */
    text-align: right;
  }

  /* لینک‌های داخل این ستون */
  .footer-column:nth-child(3) a {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.7rem;
  }

  .footer-column:nth-child(4) a {
    margin-right: -10px;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.7rem;
  }
  .footer-column:nth-child(4) h4 {
    margin-right: -10px;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.9rem;
  }

  .footer-bottom {
    margin-left: 0; /* Remove margin */
    margin-top: 15px;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
    margin-bottom: 15px;
    margin-right: 0;
  }
}
/* iiiiiiiiiiiiiiiiiIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII */

/* iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii */
@media (max-width: 1080px) and (min-width: 992px) {
  .timer-section {
    width: 80%;
    padding: 60px 20px;
    background: #0c0c0c;
    text-align: center;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.199);
    margin-top: 100px;
    margin-bottom: -80px;
  }

  /* Title */
  .timer-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: -0px;
    margin-top: -30px;
    font-family: "abare22";
    color: #ffffff;
  }

  /* Stopwatch container */
  .stopwatch {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
  }

  /* Individual Boxes */
  .time-box {
    width: 90px;
    font-family: "abare22";
    height: 90px;
    background: #0c0c0c;
    border-radius: 12px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .time-box span {
    font-size: 24px;
    font-family: "abare22";
    font-weight: 700;
    color: #ffffff;
  }

  .time-box label {
    font-family: "abare22";
    font-size: 12px;
    margin-top: 6px;
    color: #ffffff;
  }

  /* Under text */
  .timer-text {
    font-family: "abare22";
    font-size: 20px;
    color: #ffffff;
    margin-top: -10px;
  }
  .highlight-animate {
    animation: neonFlicker44 2s infinite;
    color: rgb(230, 31, 31);
  }

  @keyframes neonFlicker44 {
    0%,
    18%,
    22%,
    25%,
    53%,
    57%,
    100% {
      text-shadow:
        0 0 10px rgba(243, 6, 6, 0.623),
        0 0 20px rgb(56, 52, 52),
        0 0 40px rgba(0, 0, 0, 0.6);
      opacity: 1;
    }
    19%,
    24%,
    55% {
      text-shadow: none;
      opacity: 0.6;
    }
  }
  .timer-section {
    /* keep your existing styles */
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .timer-logos {
    margin-top: 20px;
    margin-bottom: -50px;
    /* space from the sentence */
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: center;
  }

  .timer-logos img {
    width: 30px; /* adjust */
    height: auto;
    object-fit: contain;
  }
  .text-logo a {
    font-family: "abare33";
    color: #fff;
    font-size: 10px;
    margin-right: -15px;

    font-weight: 800;
  }

  .guests-header {
    text-align: center;
    margin-top: -60px;
    margin-bottom: 100px;
  }

  .guests-title {
    font-size:42px;
    font-weight: 700;
    font-family: "abare11";
    color: #ffffff;
  }

  .cordon-header {
    text-align: center;
    margin-top: -20px;
    margin-bottom: 40px;
  }

  .cordon-title {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    font-family: "abare11";
  }
  .main-header {
    padding: 0 20px;
    height: 70px;
  }

  .header-section {
    flex-direction: row; /* Display sections horizontally again */
  }

  .header-left {
    margin-right: 20px; /* Add some spacing between sections */
  }

  .header-center {
    flex: 0 0 auto; /* Allow center to take its natural size */
    display: flex; /* Display nav buttons horizontally */
    gap: 8px; /* Reduce gap between nav items */
  }

  .nav-btn {
    font-size: 1rem; /* Slightly smaller font size */
    padding: 4px 18px; /* Reduce padding */
    border-radius: 5px; /* Smaller border radius */
  }

  .header-logo {
    width: 55px;
    margin-top: -2px;
  }
  .bia {
    height: 35px;
    clip-path: inset(0 100% 0 0);
    animation: revealMask 10s ease forwards;
    margin-right: -10px;
  }
}

@media (max-width: 1080px) and (min-width: 992px) {
  .slider-track {
    height: 100%;
    position: relative;
  }

  .slider-btn {
    position: absolute;
    top: 50%;

    background: transparent;
    border: none;
    transition: 0.3s ease;

    padding: 0.4rem 0.8rem;
    cursor: pointer;
  }

  .slider-btn.prev {
    left: 16px;
    margin-top: -20px;
  }

  .slider-btn.next {
    margin-top: -20px;
    right: 16px;
  }

  .slider-btn:hover {
    opacity: 1;
    transform: translateY(-1.2px) scale(1.1);
    filter: drop-shadow(0 0 8px rgba(34, 33, 33, 0.4));
  }

  .slide-content {
    display: none;
  }

  /* --- Slider Progress Bar --- */

  .slider-progress {
    position: absolute;
    /* Remove left: 0; width: 100%; as they are already defined */
    bottom: 0; /* <<< Set to 0 to align perfectly with the bottom */
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
    z-index: 10;
  }
  .slider-progress-fill {
    height: 100%;
    width: 0%; /* JS will control this */
    background: #ff9900; /* Your orange color */
    transition: width 0.1s linear;
  }

  /* --- Slider Buttons (Adjusted z-index) --- */
  .slider-btn {
    position: absolute;

    top: 50%;
    background: transparent;
    border: none;
    transition: 0.3s ease;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    z-index: 10;
  }

  .hero-slider {
    position: relative;
    width: calc(100% - 60px);
    max-width: 1200px;
    height: 300px;
    margin: 40px auto 3rem;
    margin-top: 120px;
    overflow: hidden;
    border-radius: 24px;
     touch-action: pan-y;
  }

  .slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition:
      opacity 0.6s ease,
      transform 1.2s ease;
    background: #1e1e1e;
    transform: scale(1.05);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    /* Removed z-index from here as slides are absolute and fade in/out */
  }

  .slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1; /* Keep z-index for active slide */
  }

  .slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -1; /* This is fine, keeps image behind content within the slide */
  }

  /* sssssssssssssssssssssss */

  .why-section {
    padding: 100px 20px;
    margin-top: -110px;
    text-align: center;
  }
  .why-title {
    font-size: 42px;
    margin-bottom: 5px;
    font-family: "abare11";
    color: #fff;
    font-weight: 900;
  }

  .why-subtitle {
    opacity: 0.7;
    margin-bottom: 45px;
    font-size: 16px;
    color: #fff;
    font-family: "abare11";
    font-weight: 600;
  }
  .why-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
  }

  .why-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    width: 320px;
    height: 270px;
    padding: 50px 25px 90px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    transition: 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

 .why-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 40px rgba(140, 130, 255, 0.5);
  border-color: rgba(195, 170, 255, 0.95);
}

  .why-quote {
    font-size: 17px;
    font-family: "abare22";
    color: #ffd27f;
    font-weight: 700;
    line-height: 1.5;
    padding: 0 15px;
    margin-top: -50px;
           background: linear-gradient(120deg, #ffdd9e, #ff8ad4, #a5b4ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  }
  .why-guest-box {
    position: absolute;
    bottom: 0px;
    left: 95px;
  }

  .why-guest-img {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 12px;
    object-fit: cover;
    bottom: 0;
    left: 80px;
  }

  .guest-img-1 {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    object-fit: cover;
    bottom: 0;
    left: 100px;
  }
  .guest-img-2 {
    width: 105px;
    height: 131.25px;
    border-radius: 12px;
    object-fit: cover;
    bottom: 0;
    left: 112px;
  }

  .guest-img-3 {
    width: 140px;
    height: 140px;
    border-radius: 12px;
    object-fit: cover;
    bottom: 0;
    left: 105px;
    overflow: hidden;
  }

  .why-guest-name {
    position: absolute;
    font-size: 15px;
    font-family: "abare22";
    color: #fff;
    font-weight: 700;
    opacity: 1;
    left: 15px;
    bottom: 20px;
    white-space: nowrap;
  }

  .guest-name-1 {
    position: absolute;
    font-size: 15px;
    font-family: "abare22";
    color: #fff;
    font-weight: 700;
    opacity: 1;
    left: 40px;
    bottom: 20px;
    white-space: nowrap;
  }

  .guest-name-2 {
    position: absolute;
    font-size: 15px;
    font-family: "abare22";
    color: #fff;
    font-weight: 700;
    opacity: 1;
    left: 15px;
    bottom: 20px;
    white-space: nowrap;
  }
  .guest-name-3 {
    position: absolute;
    font-size: 15px;
    font-family: "abare22";
    color: #fff;
    font-weight: 700;
    opacity: 1;
    left: 15px;
    bottom: 20px;
    white-space: nowrap;
  }

  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
  }

  .reveal.active {
    opacity: 1;
    transform: translateY(0);
  }

  .why-card:nth-child(1) {
    transition-delay: 0.2s;
  }
  .why-card:nth-child(2) {
    transition-delay: 0.4s;
  }
  .why-card:nth-child(3) {
    transition-delay: 0.6s;
  }

  /* llllllllllllllllllllllllllllllllllllllllllllllllllll */
  .guests-track {
    flex-direction: row;
    align-items: center;
    gap: 50px;
    margin-top: -60px;
    margin-bottom: -40px;
  }
  .guests-section h4 {
    font-family: "abare22";
    font-weight: 900;
    font-size: 24px;
    position: absolute;
    margin-top: -100px;
    margin-right: 40px;
    color: #fff;
  }

  .guest-card {
    min-width: auto;
  }

  .guest-img {
    width: 80px;
    height: 80px;
  }
  
  .guest-avatar {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto;
}


/* Orange orbit ring */
.guest-avatar::before {
  content: "";
  position: absolute;
  inset: -6px;

  border-radius: 50%;

  border-top: 3px solid #ff8c00;
  border-right: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-left: 3px solid transparent;

  animation: orbit 4s linear infinite;
}

/* Glow */
.guest-avatar::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: rgba(255, 140, 0, 0.15);
  filter: blur(12px);
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Hover effects */
.guest-card:hover .guest-avatar::after {
  opacity: 1;
}

.guest-card:hover .guest-img {
  transform: scale(1.05);
}

.guest-card:hover .guest-avatar::before {
  animation-duration: 1.5s;
}

@keyframes orbit {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
}

@media (max-width: 1080px) and (min-width: 992px) {
  .episode-grid {
    grid-template-columns: repeat(
      auto-fit,
      minmax(300px, 1fr)
    ); /* 2+ cards on larger screens */
  }
}
@media (max-width: 1080px) and (min-width: 992px) {
  .episodes-header img {
    max-width: 50%;
    height: auto;
  }

  .episode-card h2 {
    font-size: 0.8rem;
    font-family: "abare22";
    font-weight: 700;
    margin-bottom: 0.4rem;
  }
  .episode-text {
    color: #f0f0f0;
    position: relative;
    padding: 0.4rem 0;
  }

  .episode-text h2 {
    color: #f0f0f0;
    font-size: 0.8rem;
    margin: 0;
  }

  .episode-text {
    position: relative;
    padding: 0.4rem 0;
    color: #f0f0f0;
  }

  .episode-text h2 {
    font-size: 1rem;
    margin: 0;
    color: #f0f0f0;
  }

  .short-desc,
  .full-desc {
    margin: 0.35rem 0;
    color: #f0f0f0;
    line-height: 1.4;

    transition: opacity 0.5s ease;
  }

  .short-desc {
    color: #f0f0f0;
    opacity: 1;
    font-family: "abare22";
    font-weight: 500;
    font-size: 0.9rem;
  }

  .full-desc {
    font-family: "abare22";
    font-weight: 400;
    color: #f0f0f0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    display: none;
  }

  .episode-cover-placeholder {
    width: 100%;
    height: 200;
    background: linear-gradient(135deg, #e0e0e0, #f0f0f0);
    border-radius: 12px;
    margin-bottom: 0.5rem;
    margin-top: -0.2rem;

    border: 2px solid #d66406;
    position: relative;
    overflow: hidden;
  }
  .episode-cover-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .episode-card {
    position: relative;
    background: rgba(34, 34, 34, 0.55); /* translucent dark */
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 22px;
    padding: 0.9rem;
    text-decoration: none;
    color: #fff;
    display: flex;
    flex-direction: column;

    border: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow:
      0 10px 30px rgba(0, 0, 0, 0.35),
      inset 0 1px 1px rgba(255, 255, 255, 0.05);

    transition:
      transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
      box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
      border 0.35s ease;
  }
}

@media (max-width: 1080px) and (min-width: 992px) {
  .footer-glass {
    padding: 30px 20px;
  }

  .footer-logo img {
    width: 150px; /* Smaller logo on mobile */
  }

  .footer-columns {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 55px;
    flex-wrap: wrap;
  }

  .footer-column {
    min-width: auto; /* Remove minimum width */
    text-align: left; /* Align text to the left */
    flex: 1; /* Allow columns to grow and shrink equally */
  }

  .footer-column h4 {
    font-size: 1.1rem; /* Smaller heading size */
    text-align: right;
  }

  .footer-column a {
    font-size: 0.8rem; /* Keep the small size */
    display: block; /* Stack link texts vertically */
    white-space: nowrap; /* Prevent wrapping to next line */
    overflow: hidden; /* Hide excess text */
    text-overflow: ellipsis; /* Add ellipsis (...) for long texts */
    text-align: right;
  }

  /* لینک‌های داخل این ستون */
  .footer-column:nth-child(3) a {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.7rem;
  }

  .footer-column:nth-child(4) a {
    margin-right: -10px;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.7rem;
  }
  .footer-column:nth-child(4) h4 {
    margin-right: -10px;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.9rem;
  }

  .footer-bottom {
    margin-left: 0; /* Remove margin */
    margin-top: 15px;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
    margin-bottom: 15px;
    margin-right: 0;
  }
}
