/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

body {
    background-color: #000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
}

/* Hero Section - 70dvh */
.hero-section {
    height: 70vh; /* IE fallback */
    height: 70dvh; /* Modern browsers */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    padding: 2rem;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-filter: grayscale(100%);
            filter: grayscale(100%);
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: -webkit-gradient(
        linear,
        left top, left bottom,
        from(rgba(0, 0, 0, 0.4)),
        color-stop(50%, rgba(0, 0, 0, 0.5)),
        color-stop(70%, rgba(0, 0, 0, 0.7)),
        to(rgba(0, 0, 0, 1))
    );
    background: -o-linear-gradient(
        top,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.7) 70%,
        rgba(0, 0, 0, 1) 100%
    );
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.7) 70%,
        rgba(0, 0, 0, 1) 100%
    );
    z-index: 1;
}

.hero-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    gap: 2rem;
    width: 100%;
    max-width: 800px;
    position: relative;
    z-index: 2;
    height: 100%;
}

/* IE fallback for gap - add margins to child elements */
.hero-content > * {
    margin-bottom: 2rem;
}

.hero-content > *:last-child {
    margin-bottom: 0;
}

/* Modern browsers: remove margins when gap is supported */
@supports (gap: 2rem) {
    .hero-content > * {
        margin-bottom: 0;
    }
}


.logo-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.logo {
    height: auto;
    width: 200px;
}

/* Circular Search Bar */
.search-container {
    width: 100%;
    max-width: 600px;
}

.search-form {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 1.25rem 4rem 1.25rem 2rem;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
    outline: none;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
}

.search-input::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-input::-moz-placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-input:-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-input::-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Hide the X icon (clear button) in search input */
.search-input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.search-input::-ms-clear {
    display: none;
}

.search-input:focus {
    border-color: rgba(255, 255, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.1);
    -webkit-box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
            box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.search-button {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    width: 2.75rem;
    height: 2.75rem;
    margin-top: -1.375rem; /* Half of height for IE vertical centering */
    border-radius: 50%;
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    outline: none;
    line-height: 0; /* IE fix for vertical centering */
    vertical-align: middle; /* IE fallback */
}

.search-button svg {
    display: block;
    vertical-align: middle;
    width: 20px;
    height: 20px;
}

.search-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    -webkit-transform: scale(1.05);
        -ms-transform: scale(1.05);
            transform: scale(1.05);
}

.search-button:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.search-button:active {
    -webkit-transform: scale(0.95);
        -ms-transform: scale(0.95);
            transform: scale(0.95);
}

/* Count Container */
.count-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 3rem;
}

/* IE fallback for gap - add margins to child elements */
.count-container > * {
    margin-right: 3rem;
}

.count-container > *:last-child {
    margin-right: 0;
}

/* Modern browsers: remove margins when gap is supported */
@supports (gap: 3rem) {
    .count-container > * {
        margin-right: 0;
    }
}

.count-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 0.5rem;
}

/* IE fallback for gap - add margins to child elements */
.count-item > * {
    margin-bottom: 0.5rem;
}

.count-item > *:last-child {
    margin-bottom: 0;
}

/* Modern browsers: remove margins when gap is supported */
@supports (gap: 0.5rem) {
    .count-item > * {
        margin-bottom: 0;
    }
}

.count-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    letter-spacing: -1px;
}

.count-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 300;
}

/* Premium Banner */
.premium-banner {
    width: 100%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 165, 0, 0.15) 100%);
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    padding: 1rem 0;
    position: relative;
    z-index: 100;
}

.premium-banner-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 1rem;
    position: relative;
}

.premium-banner-icon {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
    color: #ffd700;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.premium-banner-text {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 0.25rem;
}

.premium-banner-text strong {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
}

.premium-banner-text span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.premium-banner-button {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
    padding: 0.75rem 1.5rem;
    background-color: #ffd700;
    color: #000;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.premium-banner-button:hover {
    background-color: #ffed4e;
    -webkit-transform: translateY(-2px);
        -ms-transform: translateY(-2px);
            transform: translateY(-2px);
    -webkit-box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
            box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.premium-banner-button:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.premium-banner-close {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 0.5rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    border-radius: 4px;
    outline: none;
}

.premium-banner-close:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.premium-banner-close:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.content-section {
    width: 100%;
    background-color: #000;
    min-height: auto;
    padding: 2rem 0;
}

/* Tabs Styles */
.tabs-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.tab-button {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.75rem 1.5rem;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    position: relative;
    outline: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 0.5rem;
    border-radius: 8px;
}

.tab-button:hover {
    color: rgba(255, 255, 255, 0.9);
    background-color: rgba(255, 255, 255, 0.05);
}

.tab-button:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.tab-button:focus:not(:focus-visible) {
    outline: none;
}

.tab-button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.tab-button.active {
    color: #fff;
}

.tab-button.active:focus,
.tab-button.active:focus-visible {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    right: 0;
    height: 3px;
    background-color: #fff;
}

.tab-count {
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.7;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.no-content {
    text-align: center;
    padding: 4rem 2rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* IE inline-block layout (more reliable than flexbox) */
.movie-grid {
    font-size: 0;
    padding: 1rem 0;
    margin: 0;
    text-align: left;
    width: 100%;
    letter-spacing: 0;
    word-spacing: 0;
    line-height: 0;
}

.movie-grid > * {
    display: inline-block !important;
    vertical-align: top;
    width: 197px !important; /* Adjusted to fit 6 items: (1336px - 120px) / 6 ≈ 202.67px, using 197px for IE compatibility */
    max-width: 197px !important;
    min-width: 197px;
    margin-right: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    box-sizing: border-box;
    letter-spacing: normal;
    word-spacing: normal;
    line-height: normal;
    float: none;
    clear: none;
}

.movie-grid > *:nth-child(6n) {
    margin-right: 0;
}

.movie-grid > *:last-child {
    margin-right: 0;
}

/* Modern browsers with Grid support */
@supports (display: grid) {
    .movie-grid {
        display: -ms-grid;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.5rem;
        margin: 0;
        padding: 1rem 0;
        font-size: initial;
        text-align: initial;
        line-height: initial;
        letter-spacing: initial;
        word-spacing: initial;
    }
    
    .movie-grid > * {
        display: block;
        width: auto !important;
        max-width: none !important;
        min-width: 0;
        margin: 0;
        vertical-align: initial;
    }
    
    .movie-grid > *:nth-child(5n) {
        margin-right: 0;
    }
    
    .movie-poster {
        width: 100%;
        height: auto;
    }
}

.movie-poster {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    -webkit-transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
    transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
    -o-transition: transform 0.3s ease, box-shadow 0.3s ease;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transition: transform 0.3s ease, box-shadow 0.3s ease, -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
    background: #1a1a1a;
    outline: none;
    /* IE: use fixed dimensions for 2:3 aspect ratio */
    width: 197px;
    max-width: 197px;
    height: 296px; /* Maintain 2:3 aspect ratio (197 * 1.5 ≈ 296px) */
    box-sizing: border-box;
    display: block;
}

/* Modern browsers with aspect-ratio support */
@supports (aspect-ratio: 2 / 3) {
    .movie-poster {
        aspect-ratio: 2 / 3;
        height: auto;
    }
}

.movie-poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    -webkit-transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
    transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
    -o-transition: transform 0.3s ease, opacity 0.3s ease;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transition: transform 0.3s ease, opacity 0.3s ease, -webkit-transform 0.3s ease;
}

.movie-poster::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: -webkit-gradient(linear, left top, left bottom, from(transparent), to(rgba(0, 0, 0, 0.7)));
    background: -o-linear-gradient(top, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    -webkit-transition: opacity 0.3s ease;
    -o-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.movie-poster:hover {
    -webkit-transform: translateY(-10px) scale(1.05);
        -ms-transform: translateY(-10px) scale(1.05);
            transform: translateY(-10px) scale(1.05);
    -webkit-box-shadow: 0 20px 40px rgba(255, 255, 255, 0.1);
            box-shadow: 0 20px 40px rgba(255, 255, 255, 0.1);
}

.movie-poster:hover img {
    -webkit-transform: scale(1.1);
        -ms-transform: scale(1.1);
            transform: scale(1.1);
    opacity: 0.9;
}

.movie-poster:hover::before {
    opacity: 1;
}

.movie-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    color: #fff;
    z-index: 2;
    -webkit-transform: translateY(100%);
        -ms-transform: translateY(100%);
            transform: translateY(100%);
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: -webkit-transform 0.3s ease;
    -o-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
    transition: transform 0.3s ease, -webkit-transform 0.3s ease;
    background: -webkit-gradient(linear, left bottom, left top, from(rgba(0, 0, 0, 0.9)), to(transparent));
    background: -o-linear-gradient(bottom, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
}

.movie-poster:hover .movie-info,
.movie-poster:focus .movie-info {
    -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
            transform: translateY(0);
}

.movie-poster:focus {
    -webkit-transform: translateY(-10px) scale(1.05);
        -ms-transform: translateY(-10px) scale(1.05);
            transform: translateY(-10px) scale(1.05);
    -webkit-box-shadow: 0 20px 40px rgba(255, 255, 255, 0.1);
            box-shadow: 0 20px 40px rgba(255, 255, 255, 0.1);
    outline: 2px solid #fff;
    outline-offset: 4px;
}

.movie-poster:focus img {
    -webkit-transform: scale(1.1);
        -ms-transform: scale(1.1);
            transform: scale(1.1);
    opacity: 0.9;
}

.movie-poster:focus::before {
    opacity: 1;
}

.movie-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.movie-year {
    font-size: 0.85rem;
    color: #ccc;
    opacity: 0.8;
}

/* Drawer Styles */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity 0.3s ease, visibility 0.3s ease;
    -o-transition: opacity 0.3s ease, visibility 0.3s ease;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    -webkit-backdrop-filter: blur(5px);
            backdrop-filter: blur(5px);
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.drawer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: -webkit-gradient(linear, left bottom, left top, from(#000), to(#1a1a1a));
    background: -o-linear-gradient(bottom, #000 0%, #1a1a1a 100%);
    background: linear-gradient(to top, #000 0%, #1a1a1a 100%);
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    max-height: 90%;
    height: 90%;
    overflow-y: auto;
    -webkit-transform: translateY(100%);
        -ms-transform: translateY(100%);
            transform: translateY(100%);
    -webkit-transition: -webkit-transform 0.4s ease;
    transition: -webkit-transform 0.4s ease;
    -o-transition: transform 0.4s ease;
    transition: transform 0.4s ease;
    transition: transform 0.4s ease, -webkit-transform 0.4s ease;
    z-index: 1001;
    -webkit-box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
            box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
    outline: none;
}

/* Modern browsers with vh support */
@supports (height: 100vh) {
    .drawer {
        max-height: 90vh;
        height: auto;
    }
}

/* Modern browsers with cubic-bezier support */
@supports (transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1)) {
    .drawer {
        -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        transition: -webkit-transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        -o-transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
}

.drawer:focus {
    outline: none;
}

.drawer-overlay.active .drawer {
    -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
            transform: translateY(0);
}

.drawer-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    z-index: 10;
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
}

.drawer-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    -webkit-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
            transform: rotate(90deg);
}

.drawer-content {
    padding: 3rem 2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.drawer-loading {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    padding: 4rem 2rem;
    color: #fff;
}

.drawer-loading > * {
    margin-bottom: 1rem;
}

.drawer-loading > *:last-child {
    margin-bottom: 0;
}

@supports (gap: 1rem) {
    .drawer-loading {
        gap: 1rem;
    }
    
    .drawer-loading > * {
        margin-bottom: 0;
    }
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: #fff;
    border-radius: 50%;
    -webkit-animation: spin 1s linear infinite;
            animation: spin 1s linear infinite;
}

@-webkit-keyframes spin {
    to { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}

@keyframes spin {
    to { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}

.drawer-movie-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    margin-bottom: 2rem;
}

.drawer-movie-header > *:first-child {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 200px;
            flex: 0 0 200px;
    margin-right: 2rem;
}

.drawer-movie-header > *:last-child {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 auto;
            flex: 1 1 auto;
}

@supports (display: grid) {
    .drawer-movie-header {
        display: -ms-grid;
        display: grid;
        -ms-grid-columns: 200px 2rem 1fr;
        grid-template-columns: 200px 1fr;
        gap: 2rem;
    }
    
    .drawer-movie-header > *:first-child,
    .drawer-movie-header > *:last-child {
        -webkit-box-flex: none;
            -ms-flex: none;
                flex: none;
        margin: 0;
    }
}

.drawer-movie-poster {
    width: 200px;
    height: 300px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #1a1a1a;
    flex-shrink: 0;
}

@supports (aspect-ratio: 2 / 3) {
    .drawer-movie-poster {
        aspect-ratio: 2 / 3;
        height: auto;
        width: 200px;
    }
}

.drawer-movie-poster img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
}

.drawer-movie-info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}

.drawer-movie-info > * {
    margin-bottom: 1rem;
}

.drawer-movie-info > *:last-child {
    margin-bottom: 0;
}

@supports (gap: 1rem) {
    .drawer-movie-info {
        gap: 1rem;
    }
    
    .drawer-movie-info > * {
        margin-bottom: 0;
    }
}

.drawer-movie-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin: 0;
}

.drawer-movie-meta {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.drawer-movie-plot {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 1rem;
}

.drawer-play-button {
    margin-top: 2rem;
    width: 100%;
    max-width: 400px;
    padding: 1.25rem 2rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #000;
    background-color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    gap: 0.75rem;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.drawer-play-button:hover {
    background-color: #f0f0f0;
    -webkit-transform: scale(1.02);
        -ms-transform: scale(1.02);
            transform: scale(1.02);
    -webkit-box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
            box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.drawer-play-button:active {
    -webkit-transform: scale(0.98);
        -ms-transform: scale(0.98);
            transform: scale(0.98);
}

.drawer-play-button svg {
    width: 28px;
    height: 28px;
}

.drawer-cast-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-cast-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.5rem;
}

.drawer-cast-grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    margin: 0 -0.75rem;
}

.drawer-cast-grid > * {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
    width: calc(16.666% - 1.5rem);
    margin: 0 0.75rem 1.5rem;
    min-width: 120px;
}

@supports (display: grid) {
    .drawer-cast-grid {
        display: -ms-grid;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 1.5rem;
        margin: 0;
    }
    
    .drawer-cast-grid > * {
        width: auto;
        margin: 0;
    }
}

/* Season and Episode Selection Drawers */
.drawer-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2rem;
    text-align: center;
}

.season-grid,
.episode-grid {
    /* IE fallback - inline-block layout */
    font-size: 0;
    padding: 1rem 0;
    margin: 0;
    text-align: left;
    width: 100%;
    letter-spacing: 0;
    word-spacing: 0;
    line-height: 0;
}

.season-grid > *,
.episode-grid > * {
    display: inline-block !important;
    vertical-align: top;
    width: calc(25% - 1.125rem) !important; /* 4 items per row with gap */
    max-width: calc(25% - 1.125rem) !important;
    min-width: 200px;
    margin-right: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    letter-spacing: normal;
    word-spacing: normal;
    line-height: normal;
    float: none;
    clear: none;
}

.season-grid > *:nth-child(4n),
.episode-grid > *:nth-child(4n) {
    margin-right: 0;
}

.season-grid > *:last-child,
.episode-grid > *:last-child {
    margin-right: 0;
}

/* Modern browsers with Grid support */
@supports (display: grid) {
    .season-grid,
    .episode-grid {
        display: -ms-grid;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.5rem;
        margin: 0;
        padding: 1rem 0;
        font-size: initial;
        text-align: initial;
        line-height: initial;
        letter-spacing: initial;
        word-spacing: initial;
    }
    
    .season-grid > *,
    .episode-grid > * {
        display: block;
        width: auto !important;
        max-width: none !important;
        min-width: 0;
        margin: 0;
        vertical-align: initial;
    }
    
    .season-grid > *:nth-child(4n),
    .episode-grid > *:nth-child(4n) {
        margin-right: 0;
    }
}

.season-item,
.episode-item {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    text-align: center;
    outline: none;
}

.season-item:hover,
.season-item:focus,
.episode-item:hover,
.episode-item:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    -webkit-transform: translateY(-5px);
        -ms-transform: translateY(-5px);
            transform: translateY(-5px);
    -webkit-box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
            box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.season-item:active,
.episode-item:active {
    -webkit-transform: translateY(-2px);
        -ms-transform: translateY(-2px);
            transform: translateY(-2px);
}

.season-number,
.episode-number {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.season-label,
.episode-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.episode-name {
    font-size: 1rem;
    color: #fff;
    margin-top: 0.5rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .premium-banner-content {
        padding: 0 1rem;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-align: stretch;
            -ms-flex-align: stretch;
                align-items: stretch;
        gap: 0.75rem;
    }
    
    .premium-banner-icon {
        -webkit-box-ordinal-group: 0;
            -ms-flex-order: -1;
                order: -1;
        -ms-flex-item-align: center;
            align-self: center;
    }
    
    .premium-banner-text {
        text-align: center;
    }
    
    .premium-banner-button {
        width: 100%;
        text-align: center;
    }
    
    .premium-banner-close {
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
    }

    .tabs-container {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        gap: 0.5rem;
    }

    .tab-button {
        padding: 0.5rem 1rem;
        font-size: 1.1rem;
    }

    .season-grid > *,
    .episode-grid > * {
        width: calc(33.333% - 0.667rem) !important; /* 3 items per row on mobile */
        margin-right: 1rem;
        margin-bottom: 1rem;
        min-width: 150px;
    }
    
    .season-grid > *:nth-child(3n),
    .episode-grid > *:nth-child(3n) {
        margin-right: 0;
    }
    
    @supports (display: grid) {
        .season-grid,
        .episode-grid {
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 1rem;
        }
        
        .season-grid > *,
        .episode-grid > * {
            display: block;
            width: auto !important;
            max-width: none !important;
            margin: 0;
        }
        
        .season-grid > *:nth-child(3n),
        .episode-grid > *:nth-child(3n) {
            margin-right: 0;
        }
    }

    .season-item,
    .episode-item {
        padding: 1rem;
    }

    .season-number,
    .episode-number {
        font-size: 1.5rem;
    }
}

.drawer-cast-item {
    text-align: center;
}

.drawer-cast-photo {
    width: 100%;
    height: 0;
    padding-bottom: 150%; /* 2:3 aspect ratio (3/2 * 100%) */
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #1a1a1a;
    margin-bottom: 0.5rem;
}

@supports (aspect-ratio: 2 / 3) {
    .drawer-cast-photo {
        aspect-ratio: 2 / 3;
        height: auto;
        padding-bottom: 0;
    }
}

.drawer-cast-photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
}

.drawer-cast-name {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 500;
    margin-top: 0.5rem;
}

.drawer-cast-role {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.25rem;
}

.drawer-genres {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.drawer-genre-tag {
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.85rem;
    color: #fff;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 1rem;
    }
    
    .hero-content {
        gap: 2rem;
    }
    
    /* IE fallback for gap in media query */
    .hero-content > * {
        margin-bottom: 2rem;
    }
    
    .hero-content > *:last-child {
        margin-bottom: 0;
    }
    
    .logo {
        max-width: 150px;
    }
    
    .search-input {
        padding: 1rem 3.5rem 1rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .search-button {
        width: 2.5rem;
        height: 2.5rem;
        right: 0.4rem;
        margin-top: -1.25rem; /* Half of height for IE vertical centering */
    }
    
    .count-container {
        gap: 2rem;
    }
    
    /* IE fallback for gap in media query - override desktop margin */
    .count-container > * {
        margin-right: 2rem;
    }
    
    .count-container > *:last-child {
        margin-right: 0;
    }
    
    .count-number {
        font-size: 2.5rem;
    }
    
    .count-label {
        font-size: 0.85rem;
    }
    
    .movie-grid > * {
        width: 24%;
        margin-right: 1.33%;
        margin-bottom: 1rem;
    }
    
    .movie-grid > *:nth-child(4n) {
        margin-right: 0;
    }
    
    .movie-poster {
        height: 225px;
    }
    
    @supports (display: grid) {
        .movie-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 1rem;
        }
        
        .movie-grid > * {
            display: block;
            width: auto;
            margin: 0;
        }
        
        .movie-grid > *:nth-child(4n) {
            margin-right: 0;
        }
        
        .movie-poster {
            aspect-ratio: 2 / 3;
            height: auto;
        }
    }
    
    .container {
        padding: 1rem;
    }

    .drawer-content {
        padding: 2rem 1rem 1rem;
    }

    .drawer-movie-header {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }
    
    .drawer-movie-header > *:first-child {
        -ms-flex: 0 0 auto;
            flex: 0 0 auto;
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
    
    @supports (display: grid) {
        .drawer-movie-header {
            -ms-grid-columns: 1fr;
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }
        
        .drawer-movie-header > *:first-child {
            margin-bottom: 0;
        }
    }

    .drawer-movie-poster {
        max-width: 200px;
        margin: 0 auto;
    }

    .drawer-movie-title {
        font-size: 1.75rem;
        text-align: center;
    }

    .drawer-movie-meta {
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        font-size: 0.9rem;
    }

    .drawer-play-button {
        max-width: 100%;
        font-size: 1.1rem;
        padding: 1rem 1.5rem;
    }

    .drawer-cast-grid > * {
        width: calc(20% - 1rem);
        min-width: 100px;
        margin: 0 0.5rem 1rem;
    }
    
    @supports (display: grid) {
        .drawer-cast-grid {
            grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
            gap: 1rem;
        }
        
        .drawer-cast-grid > * {
            width: auto;
            margin: 0;
        }
    }
}

/* Video Player Modal Styles */
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity 0.3s ease, visibility 0.3s ease;
    -o-transition: opacity 0.3s ease, visibility 0.3s ease;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    padding: 1rem;
}

.video-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.video-modal {
    position: relative;
    width: 100%;
    max-width: 1600px;
    max-height: 90vh;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    outline: none;
    -webkit-transform: scale(0.9);
        -ms-transform: scale(0.9);
            transform: scale(0.9);
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: -webkit-transform 0.3s ease;
    -o-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
    transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.video-modal-overlay.active .video-modal {
    -webkit-transform: scale(1);
        -ms-transform: scale(1);
            transform: scale(1);
}

.video-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    z-index: 10;
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
}

.video-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.3);
    -webkit-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
            transform: rotate(90deg);
}

.video-modal-content {
    width: 100%;
    height: 100%;
    position: relative;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

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

/* Server Selection Modal Styles */
.server-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2100;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity 0.3s ease, visibility 0.3s ease;
    -o-transition: opacity 0.3s ease, visibility 0.3s ease;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    -webkit-backdrop-filter: blur(5px);
            backdrop-filter: blur(5px);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    padding: 1rem;
}

.server-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.server-modal {
    position: relative;
    width: 100%;
    max-width: 600px;
    background: -webkit-gradient(linear, left bottom, left top, from(#000), to(#1a1a1a));
    background: -o-linear-gradient(bottom, #000 0%, #1a1a1a 100%);
    background: linear-gradient(to top, #000 0%, #1a1a1a 100%);
    border-radius: 16px;
    -webkit-box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    -webkit-transform: scale(0.9);
        -ms-transform: scale(0.9);
            transform: scale(0.9);
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: -webkit-transform 0.3s ease;
    -o-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
    transition: transform 0.3s ease, -webkit-transform 0.3s ease;
    outline: none;
    overflow: hidden;
}

.server-modal-overlay.active .server-modal {
    -webkit-transform: scale(1);
        -ms-transform: scale(1);
            transform: scale(1);
}

.server-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    z-index: 10;
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
}

.server-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    -webkit-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
            transform: rotate(90deg);
}

.server-modal-content {
    padding: 3rem 2rem 2rem;
    text-align: left;
    color: #fff;
}

.server-modal-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
}

.server-modal-message {
    font-size: 1rem;
    color: #ccc;
    margin: 0 0 1.5rem;
}

.server-section {
    margin-bottom: 1.5rem;
}

.server-section:last-child {
    margin-bottom: 0;
}

.server-section-title {
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 0 1rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.server-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 1rem;
}

/* IE fallback for gap */
.server-list > * {
    margin-bottom: 1rem;
}

.server-list > *:last-child {
    margin-bottom: 0;
}

@supports (gap: 1rem) {
    .server-list > * {
        margin-bottom: 0;
    }
}

.server-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    outline: none;
    overflow: hidden;
}

.server-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    -webkit-transform: translateY(-2px);
        -ms-transform: translateY(-2px);
            transform: translateY(-2px);
    -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.server-card:active {
    -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
            transform: translateY(0);
}

.server-card:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.server-card-dedicated {
    background: -webkit-gradient(linear, left top, right top, from(rgba(255, 215, 0, 0.1)), to(rgba(255, 165, 0, 0.1)));
    background: -o-linear-gradient(left, rgba(255, 215, 0, 0.1) 0%, rgba(255, 165, 0, 0.1) 100%);
    background: linear-gradient(to right, rgba(255, 215, 0, 0.1) 0%, rgba(255, 165, 0, 0.1) 100%);
    border-color: rgba(255, 215, 0, 0.3);
}

.server-card-dedicated:hover {
    background: -webkit-gradient(linear, left top, right top, from(rgba(255, 215, 0, 0.15)), to(rgba(255, 165, 0, 0.15)));
    background: -o-linear-gradient(left, rgba(255, 215, 0, 0.15) 0%, rgba(255, 165, 0, 0.15) 100%);
    background: linear-gradient(to right, rgba(255, 215, 0, 0.15) 0%, rgba(255, 165, 0, 0.15) 100%);
    border-color: rgba(255, 215, 0, 0.5);
    -webkit-box-shadow: 0 4px 16px rgba(255, 215, 0, 0.2);
            box-shadow: 0 4px 16px rgba(255, 215, 0, 0.2);
}

.server-card-free {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.server-card-content {
    padding: 1.25rem 1.5rem;
}

.server-card-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin-bottom: 0.5rem;
}

.server-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.server-card-badge {
    background: -webkit-gradient(linear, left top, right top, from(#ffd700), to(#ffa500));
    background: -o-linear-gradient(left, #ffd700 0%, #ffa500 100%);
    background: linear-gradient(to right, #ffd700 0%, #ffa500 100%);
    color: #000;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.server-card-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.75rem;
}

.server-card-features {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 1rem;
}

/* IE fallback for gap */
.server-card-features > * {
    margin-right: 1rem;
}

.server-card-features > *:last-child {
    margin-right: 0;
}

@supports (gap: 1rem) {
    .server-card-features > * {
        margin-right: 0;
    }
}

.server-feature {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
}

/* IE fallback for gap */
.server-feature > * {
    margin-right: 0.4rem;
}

.server-feature > *:last-child {
    margin-right: 0;
}

@supports (gap: 0.4rem) {
    .server-feature > * {
        margin-right: 0;
    }
}

.server-feature svg {
    width: 16px;
    height: 16px;
    stroke: #ffd700;
    fill: none;
}

@media (max-width: 768px) {
    .video-modal {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .video-container {
        padding-bottom: 56.25%;
    }

    .video-modal-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 768px) {
    .server-modal {
        max-width: 100%;
        border-radius: 16px 16px 0 0;
        margin-top: auto;
    }

    .server-modal-content {
        padding: 2.5rem 1.5rem 1.5rem;
    }

    .server-modal-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 36px;
        height: 36px;
    }

    .server-card-content {
        padding: 1rem 1.25rem;
    }

    .server-card-title {
        font-size: 1rem;
    }

    .server-card-description {
        font-size: 0.85rem;
    }

    .server-card-features {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-align: start;
            -ms-flex-align: start;
                align-items: flex-start;
    }

    /* IE fallback for gap */
    .server-card-features > * {
        margin-bottom: 0.75rem;
        margin-right: 0;
    }

    .server-card-features > *:last-child {
        margin-bottom: 0;
    }

    @supports (gap: 0.75rem) {
        .server-card-features > * {
            margin-bottom: 0;
        }
    }
}

/* Info Modal Styles (for episode not available) */
.info-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity 0.3s ease, visibility 0.3s ease;
    -o-transition: opacity 0.3s ease, visibility 0.3s ease;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    -webkit-backdrop-filter: blur(5px);
            backdrop-filter: blur(5px);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    padding: 1rem;
}

.info-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.info-modal {
    position: relative;
    width: 100%;
    max-width: 500px;
    background: -webkit-gradient(linear, left bottom, left top, from(#000), to(#1a1a1a));
    background: -o-linear-gradient(bottom, #000 0%, #1a1a1a 100%);
    background: linear-gradient(to top, #000 0%, #1a1a1a 100%);
    border-radius: 16px;
    -webkit-box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    -webkit-transform: scale(0.9);
        -ms-transform: scale(0.9);
            transform: scale(0.9);
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: -webkit-transform 0.3s ease;
    -o-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
    transition: transform 0.3s ease, -webkit-transform 0.3s ease;
    outline: none;
    overflow: hidden;
}

.info-modal-overlay.active .info-modal {
    -webkit-transform: scale(1);
        -ms-transform: scale(1);
            transform: scale(1);
}

.info-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    z-index: 10;
    -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
}

.info-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    -webkit-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
            transform: rotate(90deg);
}

.info-modal-content {
    padding: 3rem 2rem 2rem;
    text-align: center;
    color: #fff;
}

.info-modal-icon {
    margin: 0 auto 1.5rem;
    width: 64px;
    height: 64px;
    color: #ffd700;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.info-modal-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0 0 1rem;
    color: #fff;
}

.info-modal-message {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1rem;
    color: #ccc;
}

.info-modal-message:last-of-type {
    margin-bottom: 1.5rem;
}

.info-modal-link {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: #1877f2;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.info-modal-link:hover {
    background-color: #166fe5;
    -webkit-transform: translateY(-2px);
        -ms-transform: translateY(-2px);
            transform: translateY(-2px);
    -webkit-box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
            box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}

.info-modal-link:active {
    -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
            transform: translateY(0);
}

.info-modal-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

@media (max-width: 768px) {
    .info-modal {
        max-width: 100%;
        border-radius: 16px 16px 0 0;
        margin-top: auto;
    }
    
    .info-modal-content {
        padding: 2.5rem 1.5rem 1.5rem;
    }
    
    .info-modal-title {
        font-size: 1.5rem;
    }
    
    .info-modal-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 36px;
        height: 36px;
    }
}

/* Disable all animations and transitions */
*,
*::before,
*::after {
    -webkit-animation: none !important;
    -moz-animation: none !important;
    -o-animation: none !important;
    animation: none !important;
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
}