/**
 * CSS Variables
 *-------------------------------------------------------------*/
:root {
    /* Body config */
    --body-color: #ffffff;
    --body-font-family: 'Inter', sans-serif;
    --body-line-height: 1.5;

    /* Heading config */
    --heading-font-family: 'Ubuntu', serif;
    --heading-font-weight: 900;
    --heading-margin-bottom: 8px;
    --heading-line-height: 1.25;
    --heading-color: #ffffff;

    /* StreamBox Web v2 */
    --surface-color: rgba(12, 18, 31, 0.74);
    --surface-border-color: rgba(255, 255, 255, 0.12);
    --accent-color: #14f1d9;
    --accent-warm-color: #ffb547;
}


/**
 * Core styles
 *-------------------------------------------------------------*/
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.15);
}

::-webkit-scrollbar-thumb {
    background-color: white;
}

body {
    background: #020309;
    color: var(--body-color);
    font-family: var(--body-font-family);
    line-height: var(--body-line-height);
    z-index: 0;
    min-height: 100vh;
}

body::before {
    position: fixed;
    content: "";
    background:
        radial-gradient(circle at 14% 18%, rgba(20, 241, 217, 0.18), transparent 28%),
        radial-gradient(circle at 86% 8%, rgba(255, 181, 71, 0.13), transparent 24%),
        linear-gradient(135deg, #020309 0%, #07121f 52%, #140813 100%);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: var(--heading-font-family);
    font-weight: var(--heading-font-weight);
    color: var(--heading-color);
    line-height: var(--heading-line-height);
    margin-bottom: var(--heading-margin-bottom);
}



.body-main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    margin: 0;
}

header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    display: flex;
    justify-content: start;
    align-items: start;
    padding: 25px 25px;
    background-color: rgba(19, 19, 20, 0.05);
    backdrop-filter: blur(15px);
}

.container {
    max-width: 900px;
}

.dashboard-container {
    max-width: 900px !important;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    padding: 1px;
}

.logo-container i {
    font-size: 35px;
}

.logo {
    width: 50px;
}

img.logo {
    border-radius: 10% !important;
}

.title {
    font-size: 28px;
    font-weight: bold;
    color: white;
}

.dashboard {
    border: 1px solid var(--surface-border-color);
    background: var(--surface-color);
    backdrop-filter: blur(18px);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
}

.button-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.btn-login {
    background: linear-gradient(to left, #FF416C, #FF4B2B);
    width: 100%;
    align-items: center;
    color: white;
    padding: 5px;
    border-radius: 5px;
    font-size: 20px;
    gap: 10px;
    border: 2px solid rgba(255, 255, 255, 0);
    transition: all 0.3s ease;
}

.btn-login:hover,
.btn-login:focus {
    -webkit-transform: scale(1.03);
    -moz-transform: scale(1.03);
    transform: scale(1.03);
    -webkit-box-shadow: 0px 0px 0px 5px #ffffff;
    -moz-box-shadow: 0px 0px 0px 5px #ffffff;
    box-shadow: 0px 0px 0px 5px #ffffff;
}

.btn-login i {
    font-size: 25px;
    font-weight: lighter;
}

.btn-custom {
    background: rgba(255, 255, 255, 0.095);
    color: white;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.btn-custom:hover, 
.btn-custom:focus  {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    transform: translateY(-2px);
    -webkit-box-shadow: 0px 0px 0px 3px rgba(20, 241, 217, 0.75);
    -moz-box-shadow: 0px 0px 0px 3px rgba(20, 241, 217, 0.75);
    box-shadow: 0px 0px 0px 3px rgba(20, 241, 217, 0.75);
}

.btn-custom i {
    font-size: 20px;
    font-weight: lighter;
}

.btn-custom span {
    width: 100%;
}

.terms {
    margin-top: 20px;
    font-size: 14px;
}

.terms a {
    color: #ff4757;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.terms a:hover,
.terms a:focus {
    color: #ff6b81;
}

.container-login {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    gap: 40px;
}

.container-Left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.container-right {
    flex: 2;
    max-width: 50%;
    margin-left: 15px;
    margin-right: 15px;
}

.logo-container-big {
    text-align: center;
    margin-bottom: 40px;
}

.logo-big {
    width: 200px;
    border-radius: 10px;
}

.list-users-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 5px 5px;
    border-radius: 5px;
    font-size: 20px;
    font-weight: bold;
    border: 2px solid rgba(255, 255, 255, 0.048);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    width: 100%;
    max-width: 200px;
    text-decoration: none !important;
}

.list-users-btn:hover,
.list-users-btn:focus {
    color: white;
    background: rgba(255, 255, 255, 0.3);
    -webkit-transform: scale(1.03);
    -moz-transform: scale(1.03);
    transform: scale(1.03);
    -webkit-box-shadow: 0px 0px 0px 5px #ffffff;
    -moz-box-shadow: 0px 0px 0px 5px #ffffff;
    box-shadow: 0px 0px 0px 5px #ffffff;
}

.list-users-btn i {
    font-size: 25px;
    font-weight: lighter;
}

.login-form {
    border: 1px solid rgba(255, 255, 255, 0.034);
    background: rgba(13, 13, 37, 0.397);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    width: 100%;
}

/* input group */
.input-group-text i {
    font-size: 19px;
}

.form-group {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.048);
    border-radius: 5px;
    margin-bottom: 15px;
    width: 100%;
    padding-left: 1px;
    padding-right: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.input-group-text {
    color: white;
    background-color: transparent !important;
    border: none !important;
    ;
    border-radius: 0px;
}

.input-group .form-control {
    font-size: 15px;
    color: #ffffff;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0px;
}

.input-group .form-control:focus {
    border: none !important;
    background-color: rgba(209, 209, 209, 0.336);
}

.input-group-text {
    font-size: 15px;
}

.form-control::placeholder {
    color: #ffffff6c;
    opacity: 1;
}

.vertical-bar {
    color: #ffffff3f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}


/* user list */
.container-user {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow-x: hidden;
    padding: 10px;
}

.user-list {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    white-space: nowrap;
    gap: 15px;
    padding: 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.user-list::-webkit-scrollbar {
    display: none;
}

.user-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    margin-left: 5px;
}

.avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    font-size: 100px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.034);
}

.avatar:hover,
.avatar:focus {
    color: white;
    transform: scale(1.03);
    border: 3px solid rgb(255, 255, 255);
}

.user-info {
    margin-top: 8px;
}

.username {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}

.user-type {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.add-account {
    margin-top: 20px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s ease-in-out;
}

.add-account:hover,
.add-account:focus {
    background: rgb(255, 255, 255);
    color: black;
}

.add-account i {
    font-size: 20px;
    font-weight: lighter;
}

.add-account span {
    margin-left: 5px;
}

.user-header {
    width: 100%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-header .logo {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.user-header h1 {
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
}

.subscription-card {
    background: linear-gradient(to right, #6a11cb, #2575fc);
    border-radius: 10px;
    padding: 40px;
    width: 100%;
    max-width: 600px;
    text-align: center;
    border: 2px solid rgb(255, 255, 255);
    color: white;
}

.subscription-card h2 {
    margin-bottom: 25px;
    font-size: 28px;
    font-weight: bold;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.subscription-card p {
    margin: 20px 0;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.subscription-card p strong {
    font-weight: 700;
    color: #ffffff;
}

.subscription-card p i {
    font-size: 22px;
    color: #ffbc00;
}


/* Ui ---------------------------------------------------------------------- */
.header-ui {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(19, 19, 20, 0.05);
    backdrop-filter: blur(15px);
}

.header-ui-menu .header-ui-menu-icon {
    border-radius: 100px;
    color: #ffffff;
    background: #00000000;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 13px;
    padding-right: 13px;
    font-size: 30px;
}

.header-ui-menu .header-ui-menu-icon:hover,
.header-ui-menu .header-ui-menu-icon:focus {
    background: #ffffff28;
}

.header-ui-menu i {
    cursor: pointer;
    background: #00000000;
}

.date-tile {
    visibility: visible;
    font-size: 20px;
}

.container-ui {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    left: 0;
    right: 0;
}

.card-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: nowrap;
    margin-top: 20px;
}

.custom-card {
    width: 450px;
    height: 400px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: bold;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.custom-card::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    mix-blend-mode: overlay;
    background: center repeat;
    background-size: 420px auto;
    background-image: url('https://t.me//img/tgme/pattern.svg?1');
    opacity: 0.5;
}

.custom-card:hover,
.custom-card:hover {
    color: white;
    -webkit-transform: scale(1.02);
    -moz-transform: scale(1.02);
    transform: scale(1.02);
    -webkit-box-shadow: 0px 0px 0px 5px #ffffff;
    -moz-box-shadow: 0px 0px 0px 5px #ffffff;
    box-shadow: 0px 0px 0px 5px #ffffff;
}

.custom-card i {
    margin-top: -25px;
    font-size: 120px;
    margin-bottom: 5px;
    font-weight: lighter;
}

.custom-card-title {
    font-size: 40px;
}

.overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.363);
    padding: 10px;
    text-align: center;
}

.custom-card-total {
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
    font-size: 15px;
    font-weight: lighter;
    padding: 5px;
    border-radius: 5px;
    margin: 10px;
    background: rgba(255, 255, 255, 0.082);
    border: 1px solid rgb(255 255 255 / 18%);
}

.buttons-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    margin-top: 30px;
}

.btn-custom-full {
    width: 100%;
}


/* Movie Details UI ---------------------------------------------------------------------- */
.body-details {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    height: 100vh;
    margin: 0;
}

.body-details::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    z-index: 1;
}

.movie-details-container {
    max-width: 100%;
}

.movie-container {
    height: 85vh;
    width: 100%;
    display: flex;
    gap: 20px;
    padding: 25px;
    position: relative;
    z-index: 1;
}

.movie-poster img {
    border-radius: 10px;
    width: -webkit-fill-available;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    margin-right: 20px;
}

.content-section {
    flex-grow: 1;
    overflow-y: auto;
    max-height: 100%;
    padding-right: 20px;
    padding-left: 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.content-section::-webkit-scrollbar {
    display: none;
}

.rating-stars {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.rating-stars i {
    color: gold;
    font-size: 40px;
}

.movie-meta {
    font-size: large;
    color: #cbd5e1;
    margin-top: 5px;
}

.top-billed-cast {
    margin-top: 25px;
}

.top-billed-cast h4 {
    margin-bottom: 15px;
    font-size: 20px;
    text-transform: uppercase;
}

.cast-list {
    display: flex;
    gap: 15px;
    padding: 10px;
    justify-content: start;
    overflow-x: auto;
    /* Enables horizontal scrolling */
    scrollbar-width: thin;
    /* For Firefox */
    -ms-overflow-style: none;
    /* For IE and Edge */
    scroll-behavior: smooth;
}

.cast-list::-webkit-scrollbar {
    height: 6px;
    /* Scrollbar height */
}

.cast-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 3px;
}

.cast-item {
    border-radius: 5px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.048);
    background: rgba(255, 255, 255, 0.1);
}

.cast-item:hover,
.cast-item:focus  {
    transform: scale(1.03);
    border-color: rgb(255, 255, 255);
}

.cast-item img {
    width: 160px;
    height: 180px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    transition: 0.3s;
    object-fit: cover;
}

.cast-name {
    font-size: 16px;
    color: #cbd5e1;
    margin-top: 8px;
    margin-bottom: 8px;
    font-weight: bold;
}

.header-details {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    display: flex;
    justify-content: start;
    align-items: start;
    padding: 25px 25px;
}

.buttons-play {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}


.btn-play {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding-left: 20px;
    padding-right: 25px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 2px solid rgba(255, 255, 255, 0.048);
    transition: all 0.3s ease;
}

.btn-play:hover,
.btn-play:focus  {
    background: rgba(255, 255, 255, 0.3);
    -webkit-transform: scale(1.03);
    -moz-transform: scale(1.03);
    transform: scale(1.03);
    -webkit-box-shadow: 0px 0px 0px 4px #ffffff;
    -moz-box-shadow: 0px 0px 0px 4px #ffffff;
    box-shadow: 0px 0px 0px 4px #ffffff;
}

.btn-play i {
    font-size: 20px;
    font-weight: lighter;
}

.btn-play span {
    padding-right: 10px;
    width: 100%;
}


/* list-page ------------------------------------------------------------------------------*/
.list-page {
    height: 100vh;
    /* Ensure the body and HTML take up full height */
    background: linear-gradient(to top, #020309, #070923);
    color: white;
    font-family: Arial, sans-serif;
    display: block
}

.d-flex {
    height: 100%;
    display: flex;
}

.sidebar {
    width: 300px;
    height: 100vh;
    padding: 20px;
    border-right: 1px solid #ffffff13;
    flex-shrink: 0;
}

.container-list {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    height: 100% !important;
    max-width: 100% !important;
}

.scrollbar {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.scrollbar-cat {
    flex-grow: 1;
    overflow-y: auto;
    padding: 0px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.sidebar h4 {
    font-weight: bold;
    margin-bottom: 20px;
    margin-top: 10px;
    margin-left: 10px;
}

.nav-link {
    color: white;
    padding: 10px;
    font-weight: lighter;
}

.nav-link.active {
    color: orange;
    font-weight: bold;
    background: linear-gradient(to left, #ffffff00, #ffffff1a);
    border-left: 3px solid orange;
}

.nav-link:hover,
.nav-link:focus {
    color: orange;
    background: linear-gradient(to left, #ffffff00, #ffffff1a);
}

.header-list {
    width: 100%;
    display: flex;
    position: fixed;
    z-index: 10;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: rgba(19, 19, 20, 0.05);
    backdrop-filter: blur(15px);
}

#category-title {
    padding-left: 20px;
}


/* Image card */
.image-card {
    overflow: hidden;
    position: relative;
    display: block;
    background-color: #f1f1f100;
    -webkit-transition: all 0.25s;
    -o-transition: all 0.25s;
    transition: all 0.25s;
}

.image-card:before {
    content: '';
    display: block;
    padding-bottom: 150%;
}

.image-card {
    background: #bdbdbd;
}

.image-card.image-card--sm:before {
    padding-bottom: 100%;
}

.image-card .image-card__cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-card .tag,
.image-card .image-card__icon {
    position: absolute;
    top: 8px;
    z-index: 1;
}

.image-card .tag {
    left: 8px;
}

.image-card .image-card__icon {
    right: 8px;
    line-height: 1;
    color: #ffffff;
}

.image-card .image-card__title {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 32px 8px 8px;
    color: #ffffff;
    font-weight: 500;
    -webkit-transition: all 0.25s;
    -o-transition: all 0.25s;
    transition: all 0.25s;
    opacity: 0;
    background: -o-linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.5) 70%, rgba(0, 0, 0, 0.1) 100%);
    background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.5) 70%, rgba(0, 0, 0, 0.1) 100%);
}

.image-card:hover .image-card__title {
    opacity: 1;
}

.image-card:hover,
.image-card:focus  {
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    transform: scale(1.05);
    -webkit-box-shadow: 0px 0px 0px 5px #ffffff;
    -moz-box-shadow: 0px 0px 0px 5px #ffffff;
    box-shadow: 0px 0px 0px 5px #ffffff;
}

/* Tags */
.tag {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 4px 6px;
    line-height: 1;
    border-radius: 4px;
    background-color: #2B59C3;
    color: #fff;
    font-size: 12px;
}

.tag>*:not(:last-child) {
    margin-right: 4px;
}

.card-list {
    min-height: calc(100vh - 359px);
}

.card-item {
    width: 50%;
}

@keyframes rotateLoader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#loading-view i {
    margin-top: 100px;
    font-size: 50px;
    color: orange;
    animation: rotateLoader 1s linear infinite;
    display: inline-block;
    /* Ensures transform applies correctly */
    will-change: transform;
    /* Forces hardware acceleration */
}

/* form-control */
.form-control {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.048);
    border-radius: 5px;
    width: 100%;
    font-size: 15px;
}

.form-control::placeholder {
    color: #ffffff65;
    opacity: 1;
}

.form-control:focus {
    color: white;
    background-color: rgba(209, 209, 209, 0.336);
}

/* loading Progress all page -----------------------------------------------------------------*/
#loadingProgress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #020309, #070923);
    z-index: 1099;
}

/* loading-screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #020309, #070923);
    color: white;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    z-index: 1050;
    display: none;
    gap: 50px;
}

.loading-screen::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(315deg, #e62e2e21 0%, rgba(0, 0, 0, 0) 70%);
}

.progress-container {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Align to the left */
    margin-left: 100px;
}

.progress-circle {
    width: 120px;
    height: 120px;
    animation: rotate 2s linear infinite;
    transform-origin: center;
}

.progress-circle circle {
    fill: none;
    stroke: white;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 157, 314;
    stroke-dashoffset: 0;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 314;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 157, 314;
        stroke-dashoffset: -78;
    }

    100% {
        stroke-dasharray: 1, 314;
        stroke-dashoffset: -314;
    }
}

.profile-icon {
    width: 80px;
    height: 80px;
    background: red;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.profile-icon i {
    font-size: 55px;
    color: white;
}

.app-logo {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.app-logo img {
    width: 40px;
    height: 40px;
    margin-right: 8px;
}

/* Welcome Text Animation */
.welcome-text {
    text-align: left;
    margin-top: 20px;
    width: 100%;
}

.loading-text {
    display: inline-block;
    opacity: 0;
    animation: fadeInOut 3s ease-in-out infinite;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
    }

    25% {
        opacity: 1;
    }

    65% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}


/* Catch Up UI */
.body-category {
    color: white;
    height: 100vh;
    display: flex;
    flex-direction: column;
    height: 100vh;
    margin: 0;
}

.header-category {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(19, 19, 20, 0.05);
    backdrop-filter: blur(15px);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
}

.header-title {
    display: flex;
    align-items: center;
}

.header-title i {
    font-size: 24px;
    margin-right: 10px;
}

.filter-bar {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.048);
    border-radius: 5px;
    padding: 8px 12px;
    color: white;
    border: none;
    width: 200px;
}

.filter-bar::placeholder {
    color: #ffffff65;
    opacity: 1;
}

.filter-bar:focus {
    color: white;
    background-color: rgba(209, 209, 209, 0.336);
}

.container-category {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 20px 20px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.category-item {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 15px;
    padding-top: 7px;
    padding-bottom: 7px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 5px;
    text-decoration: none !important;
    transition: all 0.3sease;
}

.category-item span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.category-item:hover,
.category-item:focus  {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    -webkit-transform: scale(1.02);
    -moz-transform: scale(1.02);
    transform: scale(1.02);
    -webkit-box-shadow: 0px 0px 0px 5px #ffffff;
    -moz-box-shadow: 0px 0px 0px 5px #ffffff;
    box-shadow: 0px 0px 0px 5px #ffffff;
}

.category-item img.category-icon {
    width: 45px;
    height: 45px;
}

.category-icon {
    font-size: 30px;
    margin-right: 10px;
}

.scroll-page {
    height: 100vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #555 #222;
}

/*  Notification  */
.notification {
    position: fixed;
    left: 50%;
    /* Center horizontally */
    transform: translateX(-50%);
    /* Adjust for exact center */
    padding: 15px 20px;
    border-radius: 4px;
    /* Reduced border radius */
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    /* Deeper shadow for depth */
    z-index: 1070;
    text-align: left;
    /* Align text to the left */
    min-width: 300px;
    /* Minimum width for better readability */
    opacity: 0;
    /* Start fully transparent */
    bottom: -100px;
    /* Start off-screen at the bottom */
    transition: opacity 0.5s ease, bottom 0.5s ease, transform 0.5s ease;
    /* Smooth transitions */
    display: flex;
    align-items: center;
    gap: 10px;
    /* Space between content and close button */
    background: linear-gradient(135deg, #4CAF50, #45a049);
    /* Gradient background for success */
}

/* Fade-in and move-up animation */
.notification.fade-in {
    opacity: 1;
    /* Fade in to fully visible */
    bottom: 20px;
    /* Move up to 20px from the bottom */
    transform: translate(-50%, 0);
    /* Center horizontally */
}

/* Fade-out and move-up animation */
.notification.fade-out {
    opacity: 0;
    /* Fade out to fully transparent */
    bottom: 50%;
    /* Move up to 50% from the bottom */
    transform: translate(-50%, 50%);
    /* Center horizontally and vertically */
}

/* Notification content */
.notification .content {
    flex: 1;
    /* Take up remaining space */
}

/* Close button */
.notification .close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
}

/* Success notification style */
.notification.success {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    /* Green gradient */
}

/* Error notification style */
.notification.error {
    background: linear-gradient(135deg, #F44336, #e53935);
    /* Red gradient */
}

/* Warning notification style */
.notification.warning {
    background: linear-gradient(135deg, #FF9800, #fb8c00);
    /* Orange gradient */
}

/* Info notification style */
.notification.info {
    background: linear-gradient(135deg, #2196F3, #1e88e5);
    /* Blue gradient */
}

a.favorite-icon i {
    color: white;
}

a.favorite-icon i:hover,
a.favorite-icon i:focus {
    color: #e53935;
}

.main-player {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: #111111;
    color: white;
    font-family: 'Arial', sans-serif;
}

.player-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 83%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.media-player {
    width: 80%;
    height: 80%;
    background-color: #000;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
}

.plyr {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

/* context-menu */
.context-menu {
    display: none;
    position: absolute;
    background: rgba(58, 58, 58, 0.397);
    border: 1px solid rgba(255, 255, 255, 0.034);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 8px 0;
    min-width: 200px;
    overflow: hidden;
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
    z-index: 1040;
}

.context-menu .menu-item {
    --padding-vertical: .25rem;
    --padding-left: .75rem;
    --padding-right: .75rem;
    --icon-margin: 1.25rem;
    --icon-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    padding-block: var(--padding-vertical);
    padding-inline: var(--padding-left) var(--padding-right);
    height: 2rem;
    cursor: pointer !important;
    pointer-events: all !important;
    color: white;
    text-transform: none;
    text-align: start;
    font-size: 15px;
    line-height: 15px;
    text-decoration: none !important;
    border-radius: .3125rem;
    margin-inline: .3125rem;
    font-weight: 500;
    transition: background 0.3s ease-in-out, transform 0.1s ease-in-out;
}

.context-menu .menu-item:hover,
.context-menu .menu-item:focus {
    background: rgba(255, 255, 255, 0.1);
}

.context-menu .menu-item.exit {
    color: red;
}

.context-menu .menu-item i {
    font-size: var(--icon-size);
}

#trailer .modal-content {
    border: none;
    border-radius: 0;
}

.modal {
    backdrop-filter: blur(10px);
}

.btn-close {
    -webkit-filter: invert(1) grayscale(100%) brightness(200%);
    filter: invert(1) grayscale(100%) brightness(200%);
}

.video-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: #fff;
    padding: 10px;
    opacity: 0.7;
}

.video-close:hover,
.video-close:focus {
    opacity: 1;
}

/* Shimmer Effect - Initial Position */
.shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 25%, rgba(255, 255, 255, 0.459) 50%, rgba(255, 255, 255, 0) 75%);
    background-size: 200% 100%;
    /* Double the width to allow the shimmer to move */
    animation: shimmer-animation 2.7s infinite linear;
    /* Animate shimmer horizontally */
    opacity: 0.4;
    /* Adjust the opacity for better blending */
}

/* Shimmer Animation */
@keyframes shimmer-animation {
    0% {
        transform: translateX(-100%);
        /* Start off-screen to the left */
    }

    100% {
        transform: translateX(100%);
        /* End off-screen to the right */
    }
}

/* season */
.seasons {
    margin-top: 15px;
    backdrop-filter: blur(5px);
}

.season-btn {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 5px;
    margin-right: 7px;
    margin-bottom: 7px;
    border: 2px solid rgba(255, 255, 255, 0.048);
    transition: all 0.3s ease;
}

.season-btn.active {
    background: #ffcc00;
    color: black;
    border: 2px solid rgba(255, 255, 255, 0.048);
}

.season-btn:hover,
.season-btn:focus {
    background: rgba(58, 58, 58, 0.63);
    color: white;
    -webkit-transform: scale(1.03);
    -moz-transform: scale(1.03);
    transform: scale(1.03);
    -webkit-box-shadow: 0px 0px 0px 4px #ffffff;
    -moz-box-shadow: 0px 0px 0px 4px #ffffff;
    box-shadow: 0px 0px 0px 4px #ffffff;
}

.season-btn.active:hover,
.season-btn.active:focus {
    background: #ffcc00;
    color: black;
    -webkit-transform: scale(1.03);
    -moz-transform: scale(1.03);
    transform: scale(1.03);
    -webkit-box-shadow: 0px 0px 0px 4px #ffffff;
    -moz-box-shadow: 0px 0px 0px 4px #ffffff;
    box-shadow: 0px 0px 0px 4px #ffffff;
}

.card-season {
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 5px;
    border: 2px solid rgba(255, 255, 255, 0.048);
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.card-season:hover,
.card-season:focus {
    -webkit-transform: scale(1.01);
    -moz-transform: scale(1.01);
    transform: scale(1.01);
    -webkit-box-shadow: 0px 0px 0px 4px #ffffff;
    -moz-box-shadow: 0px 0px 0px 4px #ffffff;
    box-shadow: 0px 0px 0px 4px #ffffff;
}

.card-season .card-season-cover {
    position: relative;
    color: #ffffff;
    height: 100%;
    min-height: 150px;
    display: block;
    overflow: hidden;
}

.card-season .card-season-cover .cover-hero {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.card-season .card-season-cover .cover-hero>* {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-season .card-season-cover i {
    position: absolute;
    top: 50%;
    left: 50%;
    line-height: 1;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.card-season-plot {
    color: #ffffff86;
}

.sticky-top {
    padding: 10px;
}

.launcher-activity {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #020309, #070923);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    
    z-index: 1099;
}
.launcher-activity-encrypted{
    color: rgba(255, 255, 255, 0.527);
    margin-top: 6px;
}
.loading-spinner {
    margin-top: 40px;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.048);
    border-top-color: red;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Modal Styles */
.modal-content {
    background: rgba(58, 58, 58, 0.397);
    border: 1px solid rgba(255, 255, 255, 0.034);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.modal-header {
    border-bottom: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 1.5rem;
    color: #ff4b5c;
    font-weight: 600;
}

.modal-body {
    font-size: 1rem;
    line-height: 1.6;
    padding: 20px;
    color: #ffffff;
}

.modal-footer {
    border-top: none;
    justify-content: flex-end;
}

.btn-danger {
    background: linear-gradient(135deg, #ff4b5c, #ff2e63);
    border: none;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.btn-danger:hover,
.btn-danger:focus {
    background: linear-gradient(135deg, #ff2e63, #ff4b5c);
}

.btn-close {
    filter: invert(1);
}

.modal-dialog {
    max-width: 500px;
    width: 90%;
}

/*  Card Notification -----------------------------------------------------------------  */
.notification-item {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 15px;
    align-items: start;
    align-content: start;
    text-align: start;
    border-radius: 5px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.notification-item:hover,
.notification-item:focus {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    -webkit-transform: scale(1.02);
    -moz-transform: scale(1.02);
    transform: scale(1.02);
    -webkit-box-shadow: 0px 0px 0px 5px #ffffff;
    -moz-box-shadow: 0px 0px 0px 5px #ffffff;
    box-shadow: 0px 0px 0px 5px #ffffff;
}
.notification-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.notification-item p{
    color: #cbcbcb;
}

/*  Card Settings -----------------------------------------------------------------  */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}
.settings-item {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.048);
    border-radius: 5px;
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none !important;
    transition: all 0.3s ease;
}
.settings-item:hover,
.settings-item:focus  {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    -webkit-transform: scale(1.02);
    -moz-transform: scale(1.02);
    transform: scale(1.02);
    -webkit-box-shadow: 0px 0px 0px 5px #ffffff;
    -moz-box-shadow: 0px 0px 0px 5px #ffffff;
    box-shadow: 0px 0px 0px 5px #ffffff;
}
.settings-item i {
    font-size: 35px;
    margin-bottom: 10px;
    color: #ffffff;
}
.settings-item p {
    font-size: 16px;
    font-weight: 600;
}

/* btn options */
.btn-options {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 10px;
    padding-left: 10px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 2px solid rgba(255, 255, 255, 0.048);
    transition: all 0.3s ease;
    text-decoration: none !important;
}
.btn-options.active {
    background: rgb(255, 153, 0);
    color: white;
}
.btn-options.active:hover,
.btn-options.active:focus {
    background:rgb(255, 153, 0);
    -webkit-transform: none;
    -moz-transform: none;
    transform: none;
    -webkit-box-shadow: 0px 0px 0px 0px #ffffff;
    -moz-box-shadow: 0px 0px 0px 0px #ffffff;
    box-shadow: 0px 0px 0px 0px #ffffff;
}
.btn-options:hover,
.btn-options:focus  {
    background: rgba(255, 255, 255, 0.3);
    -webkit-transform: scale(1.03);
    -moz-transform: scale(1.03);
    transform: scale(1.03);
    -webkit-box-shadow: 0px 0px 0px 3px #ffffff;
    -moz-box-shadow: 0px 0px 0px 3px #ffffff;
    box-shadow: 0px 0px 0px 3px #ffffff;
}

/* channel item */
.channel-item {
    color: white;
    padding: 5px;
    font-weight: lighter;
    text-decoration: none !important;
}

.channel-item.active {
    color: orange;
    font-weight: bold;
    background: linear-gradient(to left, #ffffff00, #ffffff1a);
    border-left: 3px solid orange;
}

.channel-item:hover,
.channel-item:focus {
    color: orange;
    background: linear-gradient(to left, #ffffff00, #ffffff1a);
}

.channel-list img { 
    width: 40px;
    height: 40px;
    border-radius: 3px; 
}

.epg-row {
    align-items: center; 
    margin-bottom: 10px;
}
.epg-item {
    background: #2222229d;
    padding: 10px;
    border-radius: 5px;
    margin: 5px;
    min-width: 300px;
    text-align: center;
}
.epg-item span {
    display: block;
    font-size: 0.9rem;
    color: #ccc;
}
    
/* new page */
.container-top {
    display: flex;
    align-items: start;
    justify-content: start;
    width: 100%;
    padding: 10px 20px;
}
.container-top img {
    width: 50px;
    margin-right: 10px;
}
.container-top i {
    font-size: 35px;
}
.container-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 80px);
    padding: 20px;
}

.select-player-v2 {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.dashboard-v2 {
    width: min(100%, 760px);
    padding: 28px;
    text-align: left;
}

.dashboard-v2__brand {
    display: block;
    text-align: center;
    margin-bottom: 24px;
}

.dashboard-v2 h1 {
    margin-bottom: 4px;
    font-size: clamp(32px, 5vw, 52px);
}

.dashboard-v2 p {
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
}

.dashboard-v2 .button-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.dashboard-v2 .btn-custom {
    min-height: 68px;
    justify-content: flex-start;
}

.dashboard-v2 .btn-custom i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
}

.dashboard-v2 .btn-custom span {
    text-align: left;
}

.dashboard-v2 .terms {
    color: rgba(255, 255, 255, 0.62);
    text-align: center;
}

.maintenance-icon {
    font-size: 80px;
    color: #ffffff;
}

/**
 * 10. Responsive
 *-------------------------------------------------------------*/

@media (min-width: 250px) {
    .filter-bar {
        width: 150px;
    }

    .category-grid {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .card-item {
        width: 100%;
    }

    .sidebar {
        width: 170px;
    }

    .movie-poster {
        visibility: hidden;
        width: 0px;
    }

    .card-container {
        display: grid;
        padding-top: 0px;
    }

    .custom-card {
        width: 220px;
        height: 170px;
    }

    .container-ui {
        padding-top: 100px;
    }

    .custom-card i {
        font-size: 30px;
    }

    .button-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
    }

    .dashboard-container {
        padding-top: 220px;
    }

    .container-login {
        flex-direction: column;
        gap: 20px;
    }

    .logo-container-big {
        display: none;
    }

    .container-right {
        min-width: 90%;
    }

    .header-ui-menu .header-ui-menu-icon {
        font-size: 15px;
    }

    .date-tile {
        display: none;
    }

    .logo {
        display: none;
    }

    .title {
        font-size: 20px;
    }

    .sticky-top {
        position: relative;
    }
}

@media (min-width: 376px) {
    .filter-bar {
        width: 150px;
    }

    .category-grid {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .card-item {
        width: 100%;
    }

    .custom-card {
        width: 320px;
        height: 170px;
    }

    .custom-card i {
        font-size: 50px;
    }

    .custom-card-title {
        font-size: 18px;
    }

    .overlay {
        font-size: 10px;
    }

    .header-ui-menu .header-ui-menu-icon {
        font-size: 15px;
    }

    .date-tile {
        display: none;
    }

    .logo {
        display: none;
    }

    .title {
        font-size: 20px;
    }
}

/* Phones (portrait) */
@media (min-width: 480px) {
    .filter-bar {
        width: 150px;
    }

    .category-grid {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .card-item {
        width: 100%;
    }

    .sidebar {
        width: 180px;
    }

    .btn-custom {
        font-size: 15px;
        padding: 10px;
    }

    .dashboard-container {
        padding-top: 70px;
    }

    .container-login {
        flex-direction: column;
        gap: 20px;
    }

    .container-right {
        min-width: 90%;
    }

    .logo-container-big {
        display: none;
    }

    .header-ui-menu .header-ui-menu-icon {
        font-size: 23px;
    }

    .logo {
        display: none;
    }

    .title {
        font-size: 20px;
    }

    .date-tile {
        display: none;
    }
}

/* Phones (landscape) */
@media (min-width: 576px) {
    .category-grid {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .card-item {
        width: 50%;
    }

    .sidebar {
        width: 200px;
    }

    .movie-poster {
        visibility: hidden;
        width: 0px;
    }

    .card-container {
        display: grid;
        padding-top: 0px;
    }

    .container-ui {
        padding-top: 90px;
    }

    .custom-card {
        width: 500px;
        height: 180px;
    }

    .custom-card i {
        font-size: 50px;
    }

    .custom-card-title {
        font-size: 25px;
    }

    .overlay {
        font-size: 12px;
    }

    .dashboard-container {
        padding-top: 70px;
    }

    .logo-container-big {
        display: block;
    }

    .header-ui-menu .header-ui-menu-icon {
        font-size: 30px;
    }

    .date-tile {
        display: none;
    }

    .logo-container {
        padding: 2px;
    }
}

/* Tablets (portrait) */
@media (min-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .card-item {
        width: 33.2%;
    }

    .sidebar {
        width: 230px;
    }

    .movie-poster {
        visibility: visible;
        width: 50%;
    }

    .cast-item img {
        width: 130px;
        height: 150px;
    }

    .custom-card {
        width: 230px;
        height: 220px;
    }

    .card-container {
        display: flex;
        padding-top: 0px;
    }

    .container-ui {
        padding-top: 0px;
    }

    .btn-custom {
        font-size: 17px;
        padding: 11px;
    }

    .button-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
    }

    .dashboard-container {
        padding-top: 70px;
    }

    .container-login {
        flex-direction: unset;
        gap: 40px;
    }

    .container-right {
        min-width: 300px;
    }

    .date-tile {
        display: block;
    }

    .header-ui-menu .header-ui-menu-icon {
        font-size: 23px;
    }

    .title {
        font-size: 26px;
    }

    .date-tile {
        font-size: 18px;
    }

    .logo {
        display: block;
    }

    .logo-container {
        padding: 5px;
    }
}

/* Tablets (landscape) */
@media (min-width: 992px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .card-item {
        width: 20%
    }

    .movie-poster {
        visibility: visible;
        width: 50%;
    }

    .custom-card {
        width: 290px;
        height: 250px;
    }

    .custom-card i {
        font-size: 70px;
    }

    .custom-card-title {
        font-size: 30px;
    }

    .overlay {
        font-size: 12px;
    }

    .btn-custom {
        font-size: 17px;
        padding: 11px;
    }

    .dashboard-container {
        max-width: 800px !important;
    }

    .button-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .dashboard-container {
        padding-top: 0px;
    }

    .date-tile {
        display: block;
        font-size: 19px;
    }

    .header-ui-menu .header-ui-menu-icon {
        font-size: 27px;
    }

    .title {
        font-size: 28px;
    }

    .date-tile {
        font-size: 18px;
    }

    .logo {
        width: 50px;
    }

    .logo-container {
        padding: 8px;
    }
}

/* Laptops */
@media (min-width: 1200px) {
    .filter-bar {
        width: 250px;
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .card-item {
        width: 16.5%;
    }

    .sidebar {
        width: 250px;
    }

    .movie-poster {
        visibility: visible;
        width: 35%;
    }

    .cast-item img {
        width: 160px;
        height: 180px;
    }

    .custom-card {
        width: 340px;
        height: 350px;
    }

    .custom-card i {
        font-size: 100px;
    }

    .custom-card-title {
        font-size: 40px;
    }

    .overlay {
        font-size: 13px;
    }

    .btn-custom {
        font-size: 18px;
        padding: 12px;
    }

    .dashboard-container {
        max-width: 900px !important;
    }

    .container-right {
        min-width: 300px;
    }

    .header-ui-menu .header-ui-menu-icon {
        font-size: 30px;
    }

    .title {
        font-size: 30px;
    }

    .date-tile {
        font-size: 19px;
    }

    .logo {
        width: 50px;
    }

    .logo-container {
        padding: 5px;
    }

    .sticky-top {
        position: sticky;
        position: -webkit-sticky;
    }
}

/* FHD, UHD TV */
@media (min-width: 1800px) {
    .filter-bar {
        width: 350px;
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .card-item {
        width: 10%;
    }

    .sidebar {
        width: 250px;
    }

    .movie-details-container {
        max-width: 90%;
    }

    .movie-poster {
        visibility: visible;
        width: 45%;
    }

    .cast-item img {
        width: 200px;
        height: 220px;
    }

    .custom-card {
        width: 370px;
        height: 380px;
    }

    .custom-card i {
        font-size: 120px;
    }

    .custom-card-title {
        font-size: 45px;
    }

    .overlay {
        font-size: 15px;
    }

    .btn-custom {
        font-size: 19px;
        padding: 12px;
    }

    .dashboard-container {
        max-width: 900px !important;
    }

    .container-right {
        min-width: 300px;
    }

    .header-ui-menu .header-ui-menu-icon {
        font-size: 35px;
    }

    .title {
        font-size: 35px;
    }

    .date-tile {
        font-size: 22px;
    }

    .logo {
        width: 53px;
    }

    .logo-container {
        padding: 10px;
    }
}

/* 4K TV */
@media (min-width: 1990px) {
    .category-grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }

    .card-item {
        width: 7.1%;
    }

    .card-item {
        width: 10%;
    }

    .sidebar {
        width: 350px;
    }

    .movie-details-container {
        max-width: 80%;
    }

    .movie-poster {
        visibility: visible;
        width: 50%;
    }

    .custom-card {
        width: 450px;
        height: 470px;
    }

    .custom-card i {
        font-size: 140px;
    }

    .custom-card-title {
        font-size: 45px;
    }

    .overlay {
        font-size: 20px;
    }

    .btn-custom {
        font-size: 20px;
        padding: 12px;
    }

    .dashboard-container {
        max-width: 900px !important;
    }

    .logo {
        width: 60px;
    }

    .logo-container {
        padding: 20px;
    }
}

/* 2K TV */
@media (min-width: 2500px) {
    .custom-card {
        width: 700px;
        height: 800px;
    }

    .custom-card i {
        font-size: 160px;
    }

    .custom-card-title {
        font-size: 55px;
    }

    .overlay {
        font-size: 30px;
    }

    .btn-custom {
        font-size: 25px;
        padding: 12px;
    }

    .dashboard-container {
        max-width: 1000px !important;
    }

    .header-ui-menu .header-ui-menu-icon {
        font-size: 50px;
    }

    .title {
        font-size: 50px;
    }

    .date-tile {
        font-size: 25px;
    }

    .logo {
        width: 65px;
    }

    .logo-container {
        padding: 30px;
    }
}

/* 4K TV */
@media (min-width: 3540px) {
    .category-grid {
        grid-template-columns: repeat(5, 1fr) !important;
    }

    .card-item {
        width: 7.1%;
    }

    .movie-details-container {
        max-width: 80%;
    }

    .cast-item img {
        width: 250px;
        height: 270px;
    }

    .movie-poster {
        visibility: visible;
        width: 60%;
    }

    .custom-card {
        width: 1000px;
        height: 800px;
    }

    .custom-card i {
        font-size: 160px;
    }

    .custom-card-title {
        font-size: 55px;
    }

    .overlay {
        font-size: 50px;
    }

    .btn-custom {
        font-size: 35px;
        padding: 20px;
    }

    .dashboard-container {
        max-width: 1500px !important;
    }

    .date-tile {
        display: block;
        font-size: 40px;
    }

    .header-ui-menu .header-ui-menu-icon {
        font-size: 80px;
    }

    .title {
        font-size: 80px;
    }

    .date-tile {
        font-size: 50px;
    }

    .logo {
        width: 90px;
    }

    .logo-container {
        padding: 60px;
    }
}


/* UI polish and layout fixes */
a {
    color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid rgba(20, 241, 217, 0.75);
    outline-offset: 3px;
}

.body-main,
.container-ui,
.body-category,
.body-details {
    min-height: 100vh;
    height: auto;
}

.body-main {
    padding: 96px 20px 32px;
}

.header-ui,
header {
    background: rgba(7, 10, 22, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.header-ui {
    gap: 18px;
}

.header-ui-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-ui-menu .header-ui-menu-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.header-ui-menu .header-ui-menu-icon:hover,
.header-ui-menu .header-ui-menu-icon:focus {
    background: rgba(20, 241, 217, 0.12);
    border-color: rgba(20, 241, 217, 0.34);
    transform: translateY(-1px);
}

.container-ui {
    padding: 110px 24px 36px;
}

.card-container {
    width: min(100%, 1160px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.custom-card {
    width: 100%;
    min-height: 260px;
    height: auto;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
}

.custom-card-live {
    background: linear-gradient(145deg, #1f8f7e, #243fd8);
}

.custom-card-movies {
    background: linear-gradient(145deg, #ce3056, #d9872f);
}

.custom-card-series {
    background: linear-gradient(145deg, #6b43bf, #2479c8);
}

.custom-card:hover,
.custom-card:focus {
    transform: translateY(-4px);
    box-shadow: 0 0 0 3px rgba(20, 241, 217, 0.8), 0 24px 56px rgba(0, 0, 0, 0.32);
}

.custom-card i {
    margin-top: 0;
    font-size: clamp(72px, 9vw, 112px);
}

.custom-card-title {
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1.1;
    text-align: center;
}

.custom-card-total {
    min-width: 38px;
    text-align: center;
    border-radius: 999px;
}

.buttons-container {
    width: min(100%, 760px);
}

.login-form,
.dashboard,
.subscription-card,
.modal-content,
.context-menu,
.notification-item,
.settings-item,
.card-season {
    border-radius: 8px;
    border: 1px solid var(--surface-border-color);
    background: var(--surface-color);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.login-form {
    padding: 28px;
}

.container-login {
    align-items: stretch;
}

.container-Left,
.container-right {
    min-width: 0;
}

.form-group,
.filter-bar,
.input-group .form-control,
#search-bar {
    border-radius: 8px;
}

.form-group {
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-login,
.list-users-btn,
.btn-play,
.btn-options,
.season-btn {
    border-radius: 8px;
}

.list-users-btn:hover,
.list-users-btn:focus,
.notification-item:hover,
.notification-item:focus,
.settings-item:hover,
.settings-item:focus,
.season-btn:hover,
.season-btn:focus,
.card-season:hover,
.card-season:focus {
    transform: translateY(-2px);
    box-shadow: 0 0 0 3px rgba(20, 241, 217, 0.72);
}

.body-category {
    padding: 24px;
}

.scroll-page {
    width: min(100%, 1240px);
    margin: 0 auto;
}

.header-category,
.container-top {
    gap: 16px;
    flex-wrap: wrap;
}

.filter-bar,
#search-bar {
    min-height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.category-grid,
.settings-grid,
.notification-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
}

.category-item,
.settings-item,
.notification-item {
    min-height: 68px;
}

.list-page > .d-flex {
    min-height: 100vh;
}

.sidebar {
    background: rgba(7, 10, 22, 0.72);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.container-list {
    max-width: none;
}

.card-item {
    padding: 0;
}

.image-card {
    border-radius: 8px;
}

.body-details {
    align-items: stretch;
    overflow: auto;
}

.body-details::before {
    position: fixed;
}

.movie-container {
    min-height: 100vh;
    height: auto;
    padding-top: 96px;
}

.movie-poster img {
    border-radius: 8px;
}

.content-section {
    padding-bottom: 42px;
}

.movie-meta .col-3 {
    min-width: 150px;
}

.context-menu {
    position: fixed;
}

.launcher-activity {
    background:
        radial-gradient(circle at 50% 0%, rgba(20, 241, 217, 0.14), transparent 34%),
        linear-gradient(135deg, #020309 0%, #07121f 52%, #140813 100%);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* Media Queries */
@media screen and (max-width: 768px) {

    .body-main {
        padding: 84px 14px 24px;
    }

    .dashboard-v2 {
        padding: 22px;
    }

    .dashboard-v2 .button-grid {
        grid-template-columns: 1fr;
    }

    .container-login {
        flex-direction: column;
        gap: 22px;
    }

    .container-right {
        max-width: 100%;
        margin: 0;
    }

    .logo-container-big {
        margin-bottom: 18px;
    }

    .logo-big {
        width: 132px;
    }

    .header-ui {
        align-items: flex-start;
        flex-wrap: wrap;
        padding: 10px 14px;
    }

    .header-ui .title {
        font-size: 20px;
    }

    .date-tile {
        display: none;
    }

    .header-ui-menu {
        width: 100%;
        justify-content: space-between;
    }

    .header-ui-menu .header-ui-menu-icon {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }

    .container-ui {
        padding: 138px 14px 28px;
    }

    .card-container {
        grid-template-columns: 1fr;
    }

    .custom-card {
        min-height: 180px;
    }

    .buttons-container {
        flex-direction: column;
        gap: 12px;
    }

    .body-category {
        padding: 14px;
    }

    .list-page > .d-flex {
        flex-direction: column;
    }

    .sidebar {
        width: 100% !important;
        max-height: 320px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .container-list {
        width: 100%;
        padding-inline: 12px;
    }

    .movie-container {
        flex-direction: column;
        padding: 90px 16px 28px;
    }

    .movie-poster {
        visibility: visible;
        width: 100%;
    }

    .movie-poster img {
        width: 100%;
        max-height: 420px;
        margin-right: 0;
    }

    .movie-meta {
        font-size: 15px;
    }

    .movie-meta .row {
        gap: 4px;
    }

    .movie-meta .col-3,
    .movie-meta .col-9 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .user-list {
        flex-direction: column;
        align-items: center;
    }

    .user-item {
        margin-bottom: 20px;
    }

    .avatar {
        width: 150px;
        height: 150px;
        font-size: 80px;
    }

    .username {
        font-size: 14px;
    }

    .user-type {
        font-size: 10px;
    }

    .add-account {
        width: 80%;
        font-size: 14px;
    }

    .user-header h1 {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .dashboard-v2 {
        padding: 20px 14px;
    }

    .dashboard-v2 h1 {
        font-size: 34px;
    }

    .dashboard-v2 .btn-custom {
        min-height: 62px;
        font-size: 15px;
    }

    .login-form {
        padding: 20px 14px;
    }

    .server-options {
        flex-wrap: wrap;
    }

    .category-grid,
    .settings-grid,
    .notification-grid {
        grid-template-columns: 1fr !important;
    }

    .avatar {
        width: 120px;
        height: 120px;
        font-size: 60px;
    }

    .username {
        font-size: 12px;
    }

    .user-type {
        font-size: 8px;
    }

    .add-account {
        width: 90%;
        font-size: 12px;
    }

    .user-header h1 {
        font-size: 1.2rem;
    }

}

/* Final screen fixes */
.container-ui {
    justify-content: center;
    min-height: 100vh;
    padding: 118px 24px 48px;
}

.container-ui .card-container {
    width: min(100%, 1180px);
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    align-items: stretch;
}

.container-ui .custom-card {
    min-height: clamp(300px, 22vw, 420px);
    padding: 28px 18px 56px;
}

.container-ui .custom-card i {
    font-size: clamp(86px, 7vw, 124px);
}

.container-ui .custom-card-title {
    font-size: clamp(30px, 2.6vw, 42px);
}

.container-ui .overlay {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    font-size: 15px;
    line-height: 1.2;
}

.container-ui .buttons-container {
    width: min(100%, 760px);
}

.list-page {
    min-height: 100vh;
    height: auto;
    overflow: hidden;
}

.list-page > .d-flex {
    height: 100vh;
}

.list-page .sidebar {
    width: 248px;
    height: 100vh;
    padding: 26px 16px;
}

.list-page .container-list {
    min-width: 0;
    height: 100vh !important;
}

.list-page .header-list {
    position: sticky;
    top: 0;
    width: auto;
    flex-shrink: 0;
    z-index: 3;
    min-height: 86px;
    padding: 22px 32px 14px;
    align-items: flex-start;
    background: #090b1c;
    backdrop-filter: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.list-page #category-title {
    padding-left: 0;
    margin: 0;
}

.list-page .scrollbar {
    padding: 0 16px 28px 24px;
}

.list-page .list-content-spacer {
    height: 22px;
}

.list-page .card-list {
    min-height: 0;
}

.list-page #load-card-list .row {
    --bs-gutter-x: 8px;
    --bs-gutter-y: 14px;
}

.list-page .card-item {
    width: 10%;
    padding: 0 4px;
}

.list-page .image-card {
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
}

.list-page .image-card:hover,
.list-page .image-card:focus {
    transform: translateY(-3px);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.92);
}

.list-page .image-card .image-card__title {
    opacity: 1;
    padding: 44px 8px 8px;
    font-size: 14px;
    line-height: 1.25;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
}

@media screen and (max-width: 1400px) {
    .list-page .card-item {
        width: 12.5%;
    }
}

@media screen and (max-width: 1100px) {
    .list-page .card-item {
        width: 16.666%;
    }
}

@media screen and (max-width: 768px) {
    .container-ui {
        justify-content: flex-start;
        padding: 138px 14px 28px;
    }

    .container-ui .card-container {
        grid-template-columns: 1fr;
    }

    .container-ui .custom-card {
        min-height: 190px;
    }

    .list-page {
        overflow: auto;
    }

    .list-page > .d-flex {
        height: auto;
        min-height: 100vh;
    }

    .list-page .sidebar,
    .list-page .container-list {
        height: auto !important;
    }

    .list-page .header-list {
        min-height: 70px;
        padding: 14px 16px;
    }

    .list-page .scrollbar {
        padding: 0 12px 24px;
    }

    .list-page .list-content-spacer {
        height: 12px;
    }

    .list-page .card-item {
        width: 33.333%;
    }
}

@media screen and (max-width: 480px) {
    .list-page .card-item {
        width: 50%;
    }
}

/* Full dashboard sizing */
.body-main .container-ui {
    width: 100%;
    min-height: calc(100vh - 90px);
    padding: 112px 32px 36px;
    justify-content: center;
}

.body-main .container-ui .card-container {
    width: min(100%, 1500px);
    grid-template-columns: repeat(3, minmax(260px, 1fr));
    gap: 24px;
}

.body-main .container-ui .custom-card {
    min-height: clamp(430px, 54vh, 600px);
    padding: 34px 22px 68px;
}

.body-main .container-ui .custom-card i {
    font-size: clamp(118px, 8.5vw, 170px);
    margin-bottom: 16px;
}

.body-main .container-ui .custom-card-title {
    font-size: clamp(42px, 4vw, 64px);
}

.body-main .container-ui .overlay {
    min-height: 54px;
    font-size: 17px;
    font-weight: 800;
}

.body-main .container-ui .buttons-container {
    width: min(100%, 700px);
    gap: 20px;
    margin-top: 30px;
}

.body-main .container-ui .btn-custom-full {
    min-height: 58px;
    justify-content: center;
    font-size: 19px;
}

@media screen and (min-width: 1800px) {
    .body-main .container-ui .card-container {
        width: min(100%, 1640px);
    }
}

@media screen and (max-width: 1200px) {
    .body-main .container-ui .custom-card {
        min-height: 360px;
    }

    .body-main .container-ui .custom-card-title {
        font-size: 38px;
    }
}

@media screen and (max-width: 768px) {
    .body-main .container-ui {
        justify-content: flex-start;
        padding: 138px 14px 28px;
    }

    .body-main .container-ui .card-container {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .body-main .container-ui .custom-card {
        min-height: 220px;
    }

    .body-main .container-ui .custom-card i {
        font-size: 86px;
        margin-bottom: 8px;
    }

    .body-main .container-ui .custom-card-title {
        font-size: 34px;
    }

    .body-main .container-ui .buttons-container {
        flex-direction: column;
        width: 100%;
    }
}

/* Detail page poster sizing */
.body-details .movie-container {
    align-items: flex-start;
    gap: 32px;
    max-width: 1760px;
    margin: 0 auto;
    padding-top: 122px;
}

.body-details .movie-poster {
    flex: 0 0 clamp(260px, 28vw, 430px);
    width: clamp(260px, 28vw, 430px);
}

.body-details .movie-poster img {
    width: 100%;
    height: auto;
    max-height: min(72vh, 680px);
    aspect-ratio: 2 / 3;
    object-fit: cover;
    margin-right: 0;
}

.body-details .rating-stars {
    margin-top: 14px;
}

.body-details .rating-stars i {
    font-size: 28px;
}

.body-details .content-section {
    min-width: 0;
    max-height: calc(100vh - 116px);
}

.body-details .card-season-cover {
    aspect-ratio: 16 / 9;
    min-height: 0;
}

@media screen and (max-width: 992px) {
    .body-details .movie-container {
        flex-direction: column;
        padding: 112px 18px 28px;
    }

    .body-details .movie-poster {
        width: min(100%, 360px);
        flex-basis: auto;
        align-self: center;
    }

    .body-details .content-section {
        max-height: none;
        width: 100%;
    }
}

/* Premium launcher screen */
.select-player-v2 {
    position: relative;
    min-height: 100vh;
    padding: 36px 18px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.select-player-v2::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(120deg, rgba(20, 241, 217, 0.12), transparent 32%),
        radial-gradient(circle at 68% 42%, rgba(255, 181, 71, 0.08), transparent 26%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 50%);
    z-index: -1;
}

.select-player-v2 .container-center {
    min-height: 0;
    width: 100%;
    padding: 0;
}

.select-player-v2 .dashboard-v2 {
    width: min(100%, 860px);
    padding: clamp(34px, 4vw, 54px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background:
        linear-gradient(180deg, rgba(17, 25, 40, 0.92), rgba(8, 13, 25, 0.9)),
        rgba(8, 13, 25, 0.92);
    box-shadow:
        0 28px 90px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.select-player-v2 .dashboard-v2__brand {
    margin-bottom: 30px;
}

.select-player-v2 .dashboard-v2 h1 {
    margin-bottom: 10px;
    font-size: clamp(48px, 5vw, 70px);
    line-height: 1;
}

.select-player-v2 .dashboard-v2 p {
    max-width: 560px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.72);
    font-size: 17px;
    font-weight: 600;
}

.select-player-v2 .dashboard-v2 .button-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 0;
}

.select-player-v2 .dashboard-v2 .btn-custom {
    position: relative;
    min-height: 78px;
    padding: 14px;
    border-color: rgba(255, 255, 255, 0.16);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.055)),
        rgba(255, 255, 255, 0.06);
    font-size: 19px;
    letter-spacing: 0;
    overflow: hidden;
}

.select-player-v2 .dashboard-v2 .btn-custom::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(20, 241, 217, 0.16), transparent 42%);
    transition: opacity 0.2s ease;
}

.select-player-v2 .dashboard-v2 .btn-custom:hover::after,
.select-player-v2 .dashboard-v2 .btn-custom:focus::after {
    opacity: 1;
}

.select-player-v2 .dashboard-v2 .btn-custom i {
    position: relative;
    z-index: 1;
    width: 46px;
    height: 46px;
    border-radius: 8px;
    background: rgba(20, 241, 217, 0.12);
}

.select-player-v2 .dashboard-v2 .btn-custom span {
    position: relative;
    z-index: 1;
    line-height: 1.25;
}

.select-player-v2 .dashboard-v2 .terms {
    margin-top: 26px !important;
    color: rgba(255, 255, 255, 0.56);
    font-weight: 700;
}

.select-player-v2 .dashboard-v2 .terms a {
    color: #ff5a6b;
}

@media screen and (max-width: 768px) {
    .select-player-v2 {
        padding: 22px 14px;
    }

    .select-player-v2 .dashboard-v2 {
        padding: 28px 18px;
    }

    .select-player-v2 .dashboard-v2 h1 {
        font-size: 42px;
    }

    .select-player-v2 .dashboard-v2 .button-grid {
        grid-template-columns: 1fr;
    }

    .select-player-v2 .dashboard-v2 .btn-custom {
        min-height: 68px;
        font-size: 17px;
    }
}
