/* GLOBAL */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0b1533;
    color: white;
}

/* ================= LOGIN ================= */
.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.login-box {
    background: #111c44;
    padding: 30px;
    border-radius: 8px;
    width: 300px;
}
.login-box input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
}
.login-box button {
    width: 100%;
    padding: 10px;
    background: #2da8ff;
    border: none;
    color: white;
}

/* ================= HEADER ================= */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 40px;
    background: #0f1d45;
}

.header-left .logo {
    font-size: 20px;
    font-weight: bold;
    color: #2da8ff;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    margin-right: 15px;
    font-size: 15px;
}

/* Notification */
.notification {
    position: relative;
    font-size: 18px;
    cursor: pointer;
}
.notification .dot {
    position: absolute;
    top: 0;
    right: 0;
    width: 8px;
    height: 8px;
    background: red;
    border-radius: 50%;
}

/* Profile */
.profile-wrapper {
    position: relative;
}
.user-profile {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.user-icon {
    width: 32px;
    height: 32px;
    background: #2da8ff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
.user-name {
    font-size: 14px;
    color: #9fdcff;
}

/* Dropdown */
.profile-dropdown {
    position: absolute;
    right: 0;
    top: 45px;
    background: #111c44;
    border-radius: 6px;
    width: 140px;
    display: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}
.profile-dropdown a {
    display: block;
    padding: 10px;
    color: white;
    text-decoration: none;
    font-size: 14px;
}
.profile-dropdown a:hover {
    background: #2da8ff;
}

/* ================= TOP BANNER ================= */
.top-banner {
    position: relative;
    height: 300px;
    background: url('../images/banner.svg') center / cover no-repeat;
    border-radius: 12px;
    margin: 20px 40px;
    overflow: hidden;
}
.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(8,20,60,0.9),
        rgba(8,20,60,0.5),
        rgba(8,20,60,0.2)
    );
}
.banner-content {
    position: relative;
    z-index: 2;
    padding: 50px;
    max-width: 600px;
}
.latest {
    font-size: 14px;
    color: #7fd4ff;
}
.banner-content h1 {
    font-size: 36px;
    margin: 10px 0;
}
.banner-buttons {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}
.watch-btn {
    padding: 12px 25px;
    background: #2da8ff;
    border: none;
    color: white;
    border-radius: 4px;
}

/* ================= SECTIONS ================= */
.section {
    padding: 20px 40px;
}
.section h2 {
    margin-bottom: 12px;
}

/* ================= VIDEO GRID (IMAGE STYLE) ================= */




.video-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.video-card {
    background: #0f1d45;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.video-thumb {
    position: relative;
}

.video-thumb img {
    width: 100%;
    height: 110px;
    object-fit: cover;
}
.live-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background: red;
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
}

.duration {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0,0,0,0.75);
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
}


.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.6);
    color: white;
    font-size: 20px;
    padding: 8px 12px;
    border-radius: 50%;
}

.duration {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(0,0,0,0.7);
    padding: 2px 6px;
    font-size: 11px;
    border-radius: 4px;
}

.video-card h4 {
    font-size: 13px;
    padding: 8px;
}
/* VIDEO MODAL */
.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.video-modal-content {
    position: relative;
    width: 70%;
    max-width: 800px;
}

.video-modal video {
    width: 100%;
    border-radius: 10px;
    background: black;
}

.close-btn {
    position: absolute;
    top: -35px;
    right: 0;
    color: white;
    font-size: 24px;
    cursor: pointer;
}
.ask-box {
    position: fixed;
    right: 20px;
    top: 180px;
    width: 260px;
    background: #111c44;
    border-radius: 10px;
    padding: 15px;
}

.ask-box h3 {
    font-size: 14px;
    margin-bottom: 10px;
}

.bot p {
    font-size: 12px;
    background: #0b1533;
    padding: 8px;
    border-radius: 6px;
}

.bot input {
    width: 100%;
    margin-top: 10px;
    padding: 6px;
    border-radius: 4px;
    border: none;
}

.bot button {
    width: 100%;
    margin-top: 6px;
    background: #2da8ff;
    border: none;
    padding: 6px;
    color: white;
}
/* ================= FOOTER ================= */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 40px;
    background: #0f1d45;
    font-size: 12px;
    color: #bfc7e2;
    margin-top: 40px;
}

.footer-left span {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    opacity: 0.8;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-link {
    color: #9fdcff;
    text-decoration: none;
    font-size: 12px;
}

.footer-link:hover {
    text-decoration: underline;
}

.sep {
    opacity: 0.6;
}
/* ================= SUPPORT SIDEBAR ================= */
.support-sidebar {
    position: fixed;
    top: 0;
    right: -360px;
    width: 340px;
    height: 100vh;
    background: #111c44;
    box-shadow: -4px 0 15px rgba(0,0,0,0.5);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 20px;
}

.support-sidebar.active {
    right: 0;
}

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

.support-header h3 {
    margin: 0;
    font-size: 18px;
}

.close-support {
    cursor: pointer;
    font-size: 20px;
}

.support-form label {
    font-size: 13px;
    margin-top: 10px;
    display: block;
}

.support-form input,
.support-form select,
.support-form textarea {
    width: 100%;
    margin-top: 5px;
    padding: 8px;
    background: #0b1533;
    border: none;
    border-radius: 4px;
    color: white;
}

.support-form button {
    width: 100%;
    margin-top: 15px;
    padding: 10px;
    background: #2da8ff;
    border: none;
    color: white;
    border-radius: 4px;
    cursor: pointer;
}
.thank-you {
    display: none;
    margin-top: 15px;
    padding: 10px;
    background: #0b1533;
    border-left: 4px solid #2da8ff;
    font-size: 13px;
    color: #9fdcff;
}