html {
    overflow-y: scroll;
}

input[type="text"],
input[type="url"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="tel"],
textarea,
select {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #f3fbfd !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 5px !important;
    padding: 8px 12px !important;
    transition: all 0.3s ease !important;
}


body {
    font-family: 'Aileron', sans-serif !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    padding: 0px !important;
    background-color: #0f0f0f !important;
    
}

h1, h2, h3, h4 {
    font-weight: 900;
    color: #f3fbfd !important;
    font-size: 1.8rem;
}

p, label, input {
    font-weight: 900;
    color: #f3fbfd !important;
}

.shows-container-wrapper {
    position: relative;
    max-width: 1200px;
    overflow: hidden;
    padding: 0;
   
    width: 100%;
    
}

.shows-container {
    display: flex;
    overflow: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 25px 0px 65px 0px;
    gap: 20px; /* Add gap between show items */
}

.shows-container::-webkit-scrollbar {
    display: none;
}

.show-item {
    flex: 0 0 auto;
    width: 200px; /* Set a fixed width */
}

.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0.8;
    transition: opacity 0.3s ease, background-color 0.3s;
    border-radius: 10px;
    align-items: center;     /* Centers vertically */
    justify-content: center;
   
}

.scroll-arrow:hover {
    transition: .2s ease-in;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.scroll-arrow i {
      font-size: 55px;
    display: flex;           /* Added to help with centering */
    align-items: center;     /* Added to help with centering */
    justify-content: center; /* Added to help with centering */
    width: 100%;            /* Takes full width of parent */
    height: 100%; 
}

.left-arrow {
    left: 0px;
}

.right-arrow {
    right: 0px;
}

.shows-container-wrapper:hover .scroll-arrow {
    opacity: 1;
}
  .card-row {
      display: flex;
      overflow-x: auto;
      gap: 20px;
      padding: 30px 0;
      max-width: 1200px;
      margin: 0 auto;
      scroll-behavior: smooth;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      -ms-overflow-style: none;
  }

  .card-row::-webkit-scrollbar {
      display: none;
  }

  .show-card {
    flex: 0 0 auto;
    width: 200px;
    height: 110px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
    --glow-color-rgb: 255, 255, 255;
    margin-right: 3px;
    padding: 10px;
}

  .show-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.show-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset 0 0 0 rgba(var(--glow-color-rgb), 0);
    pointer-events: none;
    z-index: 2;
    border-radius: 10px;
    transition: box-shadow 0.3s ease;
}
.show-card:hover::before {
    
    box-shadow: inset 0 0 25px rgba(var(--glow-color-rgb), 0.7);
}

.show-card:hover {
    transform: translateY(-10px);
}

  .show-card-bg {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
  }

  .show-card-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 15px;
    background: radial-gradient(circle at bottom left,
        rgba(var(--glow-color-rgb), 0.6) 0%,
        rgba(var(--glow-color-rgb), 0.3) 30%,
        rgba(var(--glow-color-rgb), 0) 60%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.show-card-title {
    position: absolute;
    bottom: 50px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 60px;
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.2;
    color: white !important;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
}

  .show-card-time {
      display: flex;
      flex-direction: column;
      align-items: flex-start;

  }

  .air-day {
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: -5px; /* Reduce this value to lessen the gap */
    margin-top: -10px;
}

.show-air-time {
    font-size: 1rem;
    margin-top: 0.2rem; /* Reduce this value to bring it closer to the air day */
}

.show-card-text {
    font-size: 0.8rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8); 
    margin-bottom: 25px;
    opacity: 1 !important;
    color: white !important; /* Ensure text is white */
}

.row-section-header {

    color: #f3fbfd;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: -.3rem;/* Match the padding of shows-container-wrapper */
    max-width: 1150px; /* Match the max-width of shows-container if it has one */
    /* padding-left: 15px; */
}

.content-wrapper {
    max-width: 1200px;
    padding: 0 18px; /* Consistent padding for both header and shows */
    margin-left: auto;
    margin-right: auto;
    width: 92%;
}

.row-section-header-gradient {
    
    color: #f3fbfd;
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(45deg, #6bd0ff, #79918f) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
    display: inline-block !important;
}

.show-item {
    position: relative;
    background-color: rgba(18, 18, 20, 0.8);
    color: white;
    border-radius: 10px;
    /* overflow: hidden; */
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
    width: 200px;
    height: 300px;
    transform: perspective(1000px) rotateX(3deg);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.show-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    box-shadow: inset 0 0 0 rgba(var(--glow-color-rgb), 0);
    pointer-events: none;
    z-index: 2;
    border-radius: 10px;
    transition: box-shadow 0.3s ease;
}

.show-item:hover::before {
    box-shadow: inset 0 0 25px rgba(var(--glow-color-rgb), 0.7);
}

.show-item:hover {
    transform: translateY(-.5rem);
    transition: 0.3s;
}

.show-item .image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.show-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.show-title-wrapper {
    position: absolute;
    bottom: 0;
    width: 100%;
    
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    background-color: rgba(32, 32, 32, 0.6);
}

.show-title {
    padding: 10px 5px !important;
    margin: 0 !important;
    font-size: 1rem !important;
    color: white !important;
    text-align: center !important;
    font-weight: bold !important;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    
}

.admin-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    margin-bottom: 30px !important;
}

.admin-action-card {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    transition: all 0.3s ease;
    text-decoration: none;
    border-left: 3px solid transparent;
    color: white;
}

.admin-action-card:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-left-color: white;
    color: white;
}


.admin-action-card i {
    margin-right: 15px;
    width: 20px;
    text-align: center;
    color: white;
}

.admin-action-card span {
    color: white;
}

.admin-dashboard-container {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 250px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
}

.admin-content {
    flex: 1;
    margin-left: 250px;
    padding: 20px;
}

.admin-action-card span {
    font-size: 1rem;
    font-weight: bold;
}

.admin-shows-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
    width: 100%;
}

.admin-show-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 150px;
    height: 225px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, background-color 0.3s;
    text-decoration: none;
    position: relative;
}

.admin-show-item .image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.admin-show-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-show-item .show-title-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    
}

.admin-show-item .show-title {
    font-size: 0.9rem;
    margin: 0;
    text-align: center;
    color: #f3fbfd;
}

.admin-show-item:hover {
    transform: scale(1.05);
    background-color: rgba(255, 255, 255, 0.2);
}

header {
    background-color: rgba(255, 255, 255, 0);
    padding: 10px 0;
}

.nav-links {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: #f3fbfd;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #007bff;
}

.manage-show-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.show-details {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.show-poster {
    max-width: 200px;
    margin-right: 20px;
    border-radius: 10px;
}

.show-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.seasons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.season-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    width: calc(50% - 10px);
}

.episodes-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.episode-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 15px;
}

.episode-thumbnail {
    max-width: 100%;
    border-radius: 5px;
    margin-bottom: 10px;
}

.episode-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.season-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.btn {
    display: inline-block;
    height: 40px;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s, color 0.3s;
}

.btn-primary {
    background-color: #007bff;
    color: white;
}

.btn-danger {
    background-color: #dc3545;
    color: white;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-success {
    background-color: #28a745;
    color: white;
}

.btn:hover {
    opacity: 0.9;
}

.manage-show-episodes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.manage-show-episodes .episode-card {
    background-color: rgba(0,0,0,0.3);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.manage-show-episodes .episode-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background-size: cover;
    background-position: center;
}

.manage-show-episodes .episode-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 20px;
    color: white;
}

.manage-show-episodes .episode-title {
    margin: 0;
    font-size: 1.2em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.show-actions input {
    background-color: #121212;
    
}

.manage-show-episodes .read-more {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    background-color: rgba(255,255,255,0.2);
    color: white;
    border-radius: 15px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.manage-show-episodes .read-more:hover {
    background-color: rgba(255,255,255,0.4);
}

.manage-show-episodes .episode-actions {
    display: flex;
    justify-content: space-between;
    padding: 10px;
}

.manage-show-episodes .episode-actions .btn {
    flex: 1;
    margin: 0 5px;
}

.manage-show-episodes .episode-description {
    height: 100px;
    overflow: hidden;
    position: relative;
}

.manage-show-episodes .truncate {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.description-popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
}

.popup-content {
    
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
}

.close-popup {
    color: rgba(0,0,0,0.4);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

p.truncate a  {
    background: transparent;
}

.admin-button-container {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.admin-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.admin-button:hover {
    background-color: #0056b3;
}

.show-detail-banner {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    max-width: 1200px;
    width: 92%;
    margin: 0 auto;
}

.show-detail-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: 100% 40%;
    opacity: .9;
}


@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
.show-detail-banner-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 65%;
    height: 100%;
    background-image: linear-gradient(to right, 
        rgba(var(--theme-color-rgb), 0.9) 15%, 
        rgba(var(--theme-color-rgb), 0.25) 55%, 
        rgba(var(--theme-color-rgb), 0) 90%, 
        transparent 70%
    );
    animation: slideInFromLeft 1s ease-out;
}

@media (max-width: 605px) {
    .show-detail-banner-bg::before {
        width: 100%;
        background-image: linear-gradient(to top,
            rgba(var(--theme-color-rgb), 0.9) 19%,
            rgba(var(--theme-color-rgb), 0.3) 48%,
            rgba(var(--theme-color-rgb), 0) 70%,
            transparent 70%
        );
        animation: fadeIn 1s ease-out;
    }
   
}

.show-detail-banner h1 {
    color: #fff;
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.show-detail-season-container {
    margin-bottom: 30px;
}

.show-detail-episode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 25px;
    justify-content: start;
    padding: 20px 0;
    max-width: 1200px;
    margin: 0 auto;
    width: 92%;
}


.show-detail-episode-card {
    width: 100%;
    max-width: 270px;
    margin: 0 auto;
    transition: .5s ease;
    position: relative;
}

.show-detail-episode-card:hover {
    transform: scale(1.05);
    transition: .5s ease;
    
}

#show-description-container {
    margin: 0 auto;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%; /* Ensure the container takes full height */
    text-align: center;
}

.show-detail-episode-card:hover .show-detail-episode-info {
    transform: scale(1.05);
    transition: 1s ease;
    
}

.show-detail-banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px;
    padding-left: 5%;
    padding-right: 70%;
    height: 250px;
    text-align: center;
    animation: fadeIn 1.9s ease-out 0.5s;
    opacity: 0;
    animation-fill-mode: forwards;
    z-index: 1;
    margin-left: 90px;
    transform: scale(1.1);

}

.show-detail-banner-content h1 {
    line-height: 1;
}

    .show-logo {
    max-width: 250px;
    max-height: 200px;
    padding: 4px;
    width: auto;
    height: auto;
    object-fit: contain;
    overflow: visible;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5)) 
            drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3));
    
}

@media (max-width: 630px) {

    .show-logo {
        margin-top: 70px;
        max-width: 250px;
        transform: scale(.9);
        
    }

    .show-detail-banner-content h1 {
    margin-top: 180px;
}

    .show-detail-banner-content {
        align-items: center;
        justify-content: center !important;
        transform: scale(.8);
        margin-left: 0px !important;
        margin-top: 80px;
        padding-right: 0% !important;
        padding-left: 0% !important;
        margin-right: 0px !important;
    }

    .air-day {
       margin-top: -40px;
    }

    .show-detail-episode-card {
        max-width: 350px;
    }

    .show-detail-episode-thumbnail  {
        height: 200px !important;
    }
}

@media (max-width: 1000px) {

    .show-logo {
        max-width: 250px;
        
    }

    .show-detail-banner-content {
        padding-right: 50%;
        padding-left: 0%;
        transform: scale(.9);
        margin-right: 120px;
       
    }

   
}

.back-button {
    position: absolute;
    top: 12px;
    left: 12px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    opacity: 0.7;
    transition: opacity 0.3s;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 12px;
    z-index: 10;
}

.back-button:hover {
    opacity: 1;
}

.show-description {   
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 5px;
    opacity: 80%;
    width: 80%;
    align-self: center; /* Center the description within the flex container */
}

.show-air-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    pointer-events: none;
}

.air-day {
    font-size: 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 0; /* Removes bottom margin */
    margin-top: -10px;
}

.show-air-time {
    font-size: 1.2rem;
    margin-top: 1rem; /* Removes top margin */
}

.site-header {
    position: fixed;
    top: 20px;
    left: 50%;
    height:auto;
    transform: translateX(-50%);
    width: 92%;
    max-width: 1200px;
    background-color: rgba(24, 25, 24, 0.4);
    border-radius: 15px;
    padding: 18px;
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    -webkit-backdrop-filter: blur(10px);
    
    
}
.logo .alpha-tag {
    font-size: 0.7em;
    opacity: 0.5;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 2px 5px;
    border-radius: 3px;
    margin-left: 8px;
}
/* Header Content */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Logo Styling */
.logo {
    width: 110px !important;
    display: flex;
    align-items: center;
    height: 50%;
}

.logo img {
    max-height: 50%;
    width: 110px !important;
}

/* Navigation Links */
.nav-links {
    display: flex;
    justify-content: right;
    gap: 40px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    margin-left: 40px;
    font-size: 13px;
    transition: color 0.3s ease, transform 0.3s ease;
    letter-spacing: 1px;
    word-spacing: 10px;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-links a:hover {
    color: rgb(4,179,249);
    transform: translateY(-3px);
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.hamburger-menu span {
    display: block;
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
}

.hamburger-menu span:nth-child(1) {
    top: 0;
}

.hamburger-menu span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-menu span:nth-child(3) {
    bottom: 0;
}

.hamburger-menu.active span:nth-child(1),
.hamburger-menu.active span:nth-child(3) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(2) {
    transform: translateY(-50%) rotate(90deg);
}

/* Mobile Navigation */
.mobile-nav {
    
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    width: 92%;
    max-width: 1200px;
    background-color: rgba(24, 25, 24, .7);
    border-radius: 15px;
    padding: 10px 30px;
    z-index: 999;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: none;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    transition: all 0.5s ease;
    opacity: 0;
}

.mobile-nav.active {

    position: fixed;
    top: 100px;
    left: 50%;
    width: 92%;
    max-width: 1200px;
    background-color: rgba(24, 25, 24, .7);
    border-radius: 15px;
    padding: 10px 30px;
    z-index: 999;
    backdrop-filter: blur(10px);
    display: none;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    transition: all 0.5s ease;
    display: flex;
    opacity: 1;
    transform: translateX(-50%) !important;
}

body {
    padding-top: 70px; /* Adjust based on header height */
}

.mobile-nav a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 10px;
    font-size: 16px;
    text-align: center;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav a:last-child {
    border-bottom: none;
}

.show-detail-banner {
    margin-top: 80px !important;
}

@media (min-width: 1000px) {
    .show-detail-banner {
        margin-top: 120px !important;
    }
}

  @media (max-width: 1000px) {
      .site-header {
          padding: 10px 20px;
          
      }

      .show-detail-banner {
        margin-top: 80px;
     }
      .nav-links a {
          margin-left: 15px;
          font-size: 14px;
      }

      .desktop-nav {
          display: none;
      }

      .hamburger-menu {
          display: block;
      }
      .mobile-nav {
          display: none;
      }

      .mobile-nav.active {
        transition: cubic-bezier(0.075, 0.82, 0.165, 1);
          transform: translateY(25px);
          opacity: 1;
      }
  }
    .hamburger-menu.active span:nth-child(1) {
        transform: translateY(11px);
    }

    .hamburger-menu.active span:nth-child(2) {
        opacity: 1;
    }

    .hamburger-menu.active span:nth-child(3) {
        transform: translateY(-11px);
    }

.show-detail-episode-thumbnail {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: -15px;
    transition: box-shadow 0.3s ease;
}

:root {
    --glow-color: var(--theme-color, rgba(255, 255, 255, 0.5));
}

.show-detail-episode-card:hover .show-detail-episode-thumbnail {
    box-shadow: 0 0 18px var(--theme-color);
}

.show-detail-episode-info {
    padding: 10px 0;
    text-decoration: none;
    transition: 1s ease;
}

.show-detail-episode-info a {
    padding: 10px 0 !important;
    text-decoration: none !important;
}

.show-detail-episode-title {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: #f3fbfd;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.show-detail-episode-description {
    font-size: 0.8rem;
    color: #ccc;
}

.season-selector-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 92%;
}

#season-selector {
    background-color: rgba(255, 255, 255, 0.1);
    color: #f3fbfd;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 10px;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 20px;
    
    cursor: pointer;
    transition: background-color 0.3s;
}

#season-selector:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

#season-selector option {
    background-color: #121212;
    border-radius: 15px;
}

.episode-name-overlay {
    position: absolute;
    top: 20px; /* Positioning 20px from the bottom */
    left: 20px;   /* 20px from the left */
    right: 20px;  /* 20px from the right */
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background for readability */
    padding: 10px 20px; /* Adjusted padding */
    border-radius: 5px; /* Rounded corners */
    box-sizing: border-box; /* Include padding in width and height calculations */
    max-width: calc(100% - 40px); /* Prevent overflow */
    overflow: hidden; /* Hide overflowing content */
    white-space: nowrap; /* Prevent text wrapping */
    text-overflow: ellipsis; /* Add ellipsis for overflowed text */
    color: white;
    z-index: 2;
    opacity: 0;
    transition: opacity 1s ease-out;
    pointer-events: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Text Styling Inside the Overlay */
.show-title-player,
.episode-title-player {
    margin: 0;
    color: #ffffff; /* White text for better contrast */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); /* Text shadow for readability */
    font-size: 1.6rem; /* Adjusted font size */
    font-weight: 900;
}

/* Media Query for Landscape Orientation on Mobile Devices */
@media (orientation: landscape) and (max-width: 768px) {
    .episode-name-overlay {
        top: 10px; /* Reduce bottom spacing */
        left: 10px;    /* Reduce left spacing */
        right: 10px;   /* Reduce right spacing */
        padding: 8px 10px;  /* Reduce padding */
        max-width: calc(100% - 20px); /* Adjust max-width */
        font-size: 1.4rem; /* Slightly smaller font size */
    }

    .show-title-player,
    .episode-title-player {
        font-size: 1.4rem; /* Adjusted font size for landscape */
    }
}

/* Media Query for Smaller Devices and Portrait Orientation */
@media (max-width: 480px) and (orientation: portrait) {
    .episode-name-overlay {
        top: 15px;
        left: 15px;
        right: 15px;
        padding: 8px 15px;
        max-width: calc(100% - 30px);
        font-size: 1.4rem;
    }

    .show-title-player,
    .episode-title-player {
        font-size: 1.4rem;
    }
}

.show-detail-episode-card.disabled {
    position: relative;
   pointer-events: none;
    transform: none !important;
    transition: none !important;
}

.show-detail-episode-card.disabled img {
    filter: grayscale(100%) blur(3px);
    opacity: 0.7;
    transition: none;
}

.show-detail-episode-card.disabled:hover {
    transform: none !important;
    box-shadow: none !important;
}

.scheduled-overlay {
    position: absolute;
    top: 9%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    text-align: center;
    z-index: 10;
    backdrop-filter: blur(4px);
    pointer-events: none;
    border-radius: 8px;
}

@media screen and (max-width: 630px) {
    .scheduled-overlay {
        top: 18%;
        width: 90%;
        
    }

    .release-time {
        font-size: 0.8em;
    }
}

@media screen and (max-width: 380px) {
    .scheduled-overlay {
        top: 15%;
        width: 93%;
        
    }

    
}


.release-time {
    font-size: 0.9em;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    padding: 15px;
}

.show-detail-episode-card.disabled .show-detail-episode-info {
    color: #ffffff !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

.show-detail-episode-card.disabled:hover .show-detail-episode-info {
    transform: none !important;
}

.featured-banner-container {
    position: relative;
    height: 400px;
    overflow: hidden;
    margin: 120px auto 40px;
    max-width: 1200px;
    width: 92%;
    border-radius: 15px;
}

.featured-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    display: none;
    background-color: black;
}

@keyframes slideInFromRight {
    from {
        transform: translateX(10%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutToLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-10%);
        opacity: 0;
    }
}

.featured-slide.active {
    display: block;
    animation: slideInFromRight 0.8s ease-in-out forwards;
    background-color: black;
}

.featured-slide.fade-out {
    animation: slideOutToLeft 0.8s ease-in-out forwards;
}

.featured-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0.7) 35%,
        rgba(0, 0, 0, 0) 65%
            /* rgba(var(--theme-color-rgb), 1) 0%,
            rgba(var(--theme-color-rgb), 0.7) 35%,
            rgba(var(--theme-color-rgb), 0) 65% */
        );
    z-index: 1;
    border-radius: 15px 0 0 15px;
}

.featured-slide-content {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
}

.featured-banner-image {
    position: absolute;
    right: 0;
    width: 50%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 15px 15px 0;
    mask-image: linear-gradient(to right, transparent 0%, black 25%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 25%);
}

.featured-banner-title {
    font-size: 2em;
    color: white;
    margin-top: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    align-self: flex-start;
    margin-bottom: -15px;
}

.featured-banner-content {
    width: 50%;
    padding: 40px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    opacity: 0; /* Start hidden */
}

.featured-slide.active .featured-banner-content {
    animation: contentFadeIn 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

@keyframes contentFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.featured-banner-content h2 {
    font-size: 1.5em; /* Reduced from 20px */
    color: white;
    text-align: left;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    
}

.featured-banner-content p {
    font-size: 1.2em;
    /* transform: translateY(-30px); Shifts title down without affecting container */
    color: white;
    opacity: .8;
    text-align: left;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.featured-banner-button {
    padding: 6px 12px;
    background-color: rgba(110, 110, 110, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.featured-banner-button:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.dots-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: rgba(255, 255, 255, 1);
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.featured-banner-logo {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.3));
}

@media screen and (max-width: 950px) {
    .featured-banner-logo {
        max-width: 200px;
       
    }
    .featured-banner-title {
        font-size: 1.6em;
        margin-bottom: -12px; /* Reduced from default 20px */
    }
}


@media screen and (max-width: 950px) {
    .featured-banner-container {
        height: 400px;
        margin-top: 100px;
    }

    .featured-slide-content {
        flex-direction: column-reverse;
    }

    .featured-banner-image {
        width: 100%;
        right: auto;
        border-radius: 15px;
        mask-image: none;
        -webkit-mask-image: none;
        object-position: center;
    }

    .featured-banner-content {
        width: 100%;
        padding: 30px;
        margin-top: 170px;
        background: none;
        box-sizing: border-box; 
    }

    .featured-slide::before {
        width: 100%;
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0.7) 35%,
        rgba(0, 0, 0, 0) 65%
            /* rgba(var(--theme-color-rgb), 1) 0%,
            rgba(var(--theme-color-rgb), 0.7) 35%,
            rgba(var(--theme-color-rgb), 0) 65% */
        );
        border-radius: 15px;
    }

    .featured-banner-content h2 {
        font-size: 1.3em;
        margin-bottom: 15px;
    }

    .featured-banner-content p {
        font-size: 1em;
        margin-bottom: 20px;
        max-width: 100%; /* Prevent overflow */
        word-wrap: break-word; /* Force word wrapping */
        white-space: normal; 
    }

    .dots-container {
        bottom: 10px;
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    

    .featured-banner-content h2 {
        font-size: 2em;
    }

    .featured-banner-content p {
        font-size: 1.1em;
    }
}

.block-management-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    width: 100%;
    margin-top: 20px;
}

.block-management-card h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.block-management-card h4 {
    font-size: 1.2rem;
    margin-top: 15px;
}

.show-actions {
    gap: 15px;
    width: 100%;
    max-width: 600px;
}

.show-actions form {
    width: 100%;
}

.detail-banner {
    position: relative;
    height: 400px;
    overflow: hidden;
    margin: 120px auto 0;
    max-width: 1200px;
    width: 92%;
    border-radius: 15px;
    background-color: black;
}

.detail-slide-content {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
}

.detail-banner-image {
    position: absolute;
    right: 0;
    width: 50%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 15px 15px 0;
    mask-image: linear-gradient(to right, transparent 0%, black 25%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 25%);
}

.detail-slide-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 80%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(var(--theme-color-rgb), 1) 0%,
        rgba(var(--theme-color-rgb), 0.6) 35%,
        rgba(var(--theme-color-rgb), 0) 75%
    );
    z-index: 1;
    border-radius: 15px 0 0 15px;
    animation: slideInFromLeft 1s ease-out;
}

.detail-banner-content {
    width: 50%;
    padding: 40px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.detail-logo {
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.3));
}

.detail-banner-title {
    font-size: 3em;
    color: white;
    margin-top: 0;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

@media screen and (max-width: 950px) {
    .detail-banner-image {
        width: 100%;
        right: auto;
        border-radius: 15px;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .detail-slide-content {
        flex-direction: column-reverse;
    }

    .detail-banner-content {
        width: 100%;
        padding: 30px;
        margin-top: 170px;
        background: none;
        align-items: center;  /* Center on mobile */
        text-align: center;   /* Center any text content on mobile */
        box-sizing: border-box;
    }

    .detail-slide-content::before {
        width: 100%;
        background: linear-gradient(
            to top,
            rgba(var(--theme-color-rgb), 1) 0%,
        rgba(var(--theme-color-rgb), 0.7) 20%,
        rgba(var(--theme-color-rgb), 0.3) 40%, /* New stop for a smoother fade */
        rgba(var(--theme-color-rgb), 0) 50% 
        );
        animation: fadeIn 1s ease-out;
        border-radius: 15px;
    }

    .detail-logo {
        max-width: 250px;
        margin-top: 70px;
       
    }

    .detail-banner {
        
        margin: 100px auto 0;
    
        
    }

    .detail-banner-title {
        font-size: 2em; /* Reduced from 3em */
        line-height: 1.2; /* Tighter line spacing */
        margin-bottom: 10px; /* Less bottom margin */
        margin-top: 70px; /* Align with logo positioning */
    }
}

.site-footer {
    margin-top: 40px;
    padding: 20px 0;
    text-align: center;
    background-color: #0f0f0f;
}

.footer-content {
    color: #666666;
    font-size: 14px;
}

.video-tool-form {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
}

.video-tool-form input[type="text"] {
    width: 100%;
    max-width: 400px;
}

.copy-btn {
    background: none;
    border: none;
    color: #f3fbfd;
    cursor: pointer;
    padding: 5px 10px;
    margin-left: 10px;
    transition: color 0.3s ease;
}

.copy-btn:hover {
    color: #007bff;
}

code {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
}

.video-ids-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.season-block {
    margin-bottom: 2rem;
}

.video-table th,
.video-table td,
.episode-title,
.episode-number {
    color: #ffffff !important;
    font-weight: 500;
}

.season-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.copy-season {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    padding: 8px 15px;
    font-size: 0.9em;
}

.copy-season:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.video-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    background-color: rgba(0, 0, 0, 0.2);
}

.video-table th {
    background-color: rgba(255, 255, 255, 0.1);
    font-weight: bold;
    color: #ffffff;
}

.video-table th,
.video-table td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ddd;
}

.video-table tr:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Column widths */
.video-table th:nth-child(1) { width: 120px; }  /* Thumbnail */
.video-table th:nth-child(2) { width: 80px; }   /* Episode */
.video-table th:nth-child(3) { width: auto; }    /* Title */
.video-table th:nth-child(4) { width: 200px; }   /* Video ID */

.episode-thumbnail img {
    display: block;
    max-width: 100%;
    height: auto;
}

.admin-action-card input[type="file"] + label {
    color: white;
    width: 100%;
}

.admin-action-card input[type="file"] + label:hover {
    opacity: 0.8;
}

.block-content {
    width: 92%;
    margin: -50px auto -30px;
    padding: 20px 0 60px 0;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden; 
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 20px;
    justify-content: center; /* Add this to center items horizontally */
    align-items: center; /* Add this to center items vertically */
}

.no-seasons-message {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    text-align: center;
    width: 100%;
    padding: 20px;
}

.no-seasons-message p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

::placeholder {
    color: rgba(243, 251, 253, 0.7) !important;
    opacity: 1;
}

/* For older browsers */
::-webkit-input-placeholder {
    color: rgba(243, 251, 253, 0.7) !important;
    opacity: 1;
}
:-ms-input-placeholder {
    color: rgba(243, 251, 253, 0.7) !important;
    opacity: 1;
}
::-ms-input-placeholder {
    color: rgba(243, 251, 253, 0.7) !important;
    opacity: 1;
}

.episode-title a {
    color: #c7e3ff;
    text-decoration: none;
}

.episode-title a:hover {
    text-decoration: underline;
}