/* ==========================
   RESET
========================== */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;
}

/* ==========================
   BODY
========================== */

body {

    background: #f5f5f5;

    color: #1f1f1f;

    font-family: Arial, sans-serif;
}

a {

    text-decoration: none;
}

/* ==========================
   TOPBAR
========================== */

.topbar {

    background: #111;

    padding: 12px 0;

    border-bottom: 3px solid #c62828;
}

.logo-title {

    margin: 0;

    font-weight: bold;

    color: white;

    letter-spacing: 1px;
}

.live-btn {

    background: #0056d6;

    color: white;

    padding: 10px 22px;

    border-radius: 50px;

    font-weight: bold;

    transition: .3s;
}

.live-btn:hover {

    background: #003f9e;

    color: white;
}

/* ==========================
   NAVBAR
========================== */

.navbar-custom {

    background: white;

    border-bottom: 1px solid #ddd;
}

.navbar-custom .nav-link {

    color: #222;

    font-weight: 600;

    margin-right: 10px;

    transition: .3s;
}

.navbar-custom .nav-link:hover {

    color: #0056d6;
}

/* ==========================
   HERO
========================== */

.hero {

    position: relative;

    height: 650px;

    overflow: hidden;
}

.hero img {

    width: 100%;

    height: 100%;

    object-fit: cover;
}

.hero-overlay {

    position: absolute;

    inset: 0;

    background: linear-gradient(
        to top,
        rgba(0,0,0,0.85),
        rgba(0,0,0,0.25)
    );

    display: flex;

    align-items: end;

    padding: 60px;
}

.hero-content {

    max-width: 700px;
}

.hero-badge {

    background: #c62828;

    color: white;

    padding: 8px 18px;

    border-radius: 30px;

    display: inline-block;

    margin-bottom: 20px;

    font-weight: bold;

    font-size: .9rem;
}

.hero-title {

    font-size: 4rem;

    font-weight: bold;

    line-height: 1.1;

    color: white;
}

.hero-text {

    margin-top: 20px;

    color: #e0e0e0;

    font-size: 1.1rem;
}

/* ==========================
   NEWS
========================== */

.section-title {

    font-size: 2rem;

    font-weight: bold;

    margin-bottom: 30px;

    border-left: 5px solid #0056d6;

    padding-left: 15px;

    color: #111;
}

.news-card {

    background: white;

    border: none;

    overflow: hidden;

    transition: .3s;

    height: 100%;

    border-radius: 10px;

    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.news-card:hover {

    transform: translateY(-5px);
}

.news-card img {

    height: 220px;

    object-fit: cover;
}

.news-card .card-body {

    color: #222;
}

.news-card h5 {

    font-weight: bold;

    margin-bottom: 10px;
}

.news-card p {

    color: #666;
}

/* ==========================
   LOGIN BUTTON
========================== */

.login-btn {

    background: transparent;

    border: 2px solid white;

    color: white;

    padding: 10px 20px;

    border-radius: 50px;

    font-weight: bold;

    transition: .3s;
}

.login-btn:hover {

    background: white;

    color: #111;
}

/* ==========================
   LOGIN MODAL
========================== */

.login-modal {

    background: #1b1b1b;

    color: white;

    border-radius: 20px;

    border: 1px solid #2f2f2f;

    overflow: hidden;
}

.login-modal .modal-header {

    padding: 25px 25px 10px 25px;
}

.login-modal .modal-body {

    padding: 25px;
}

/* ==========================
   INPUTS
========================== */

.login-input {

    background: #2a2a2a;

    border: 1px solid #3d3d3d;

    color: white;

    padding: 12px 15px;

    border-radius: 10px;
}

.login-input:focus {

    background: #2a2a2a;

    border-color: #0056d6;

    color: white;

    box-shadow: 0 0 0 0.2rem rgba(0, 86, 214, 0.25);
}

.login-input::placeholder {

    color: #999;
}

/* ==========================
   LABELS
========================== */

.login-modal .form-label {

    color: #ddd;

    font-weight: 600;

    margin-bottom: 8px;
}

/* ==========================
   SUBMIT BUTTON
========================== */

.login-submit {

    background: #0056d6;

    color: white;

    padding: 12px;

    border-radius: 10px;

    font-weight: bold;

    border: none;

    transition: .3s;
}

.login-submit:hover {

    background: #003f9e;

    color: white;
}

/* ==========================
   CLOSE BUTTON
========================== */

.login-modal .btn-close {

    filter: invert(1);
}

/* ==========================
   MODAL BACKDROP
========================== */

.modal-backdrop.show {

    opacity: 0.8;
}

/* ==========================
   PLAYER
========================== */

.player-section {

    background: #111;

    padding: 60px 0;
}

.player-box {

    background: #1c1c1c;

    border-radius: 20px;

    padding: 40px;

    text-align: center;

    border: 1px solid #2c2c2c;
}

.player-box h2 {

    color: white;
}

.player-box p {

    color: #bbb;
}

.play-button {

    width: 90px;

    height: 90px;

    background: #0056d6;

    border-radius: 50%;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    font-size: 2rem;

    color: white;

    margin-top: 20px;

    transition: .3s;
}

.play-button:hover {

    transform: scale(1.1);

    background: #003f9e;

    color: white;
}

/* ==========================
   FOOTER
========================== */

footer {

    background: #0f0f0f;

    padding: 30px;

    text-align: center;

    color: #aaa;

    border-top: 3px solid #c62828;
}

/* =====================================================
   DASHBOARD
===================================================== */

.sidebar {

    position: fixed;

    top: 0;

    left: 0;

    width: 270px;

    height: 100vh;

    background: #111;

    padding: 30px 20px;

    overflow-y: auto;
}

.sidebar-logo {

    margin-bottom: 40px;

    text-align: center;
}

.sidebar-logo h3 {

    color: white;

    font-weight: bold;
}

.sidebar-menu {

    list-style: none;

    padding: 0;
}

.sidebar-menu li {

    margin-bottom: 10px;
}

.sidebar-menu a {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 14px 18px;

    border-radius: 12px;

    color: #ccc;

    transition: .3s;

    font-weight: 600;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {

    background: #0056d6;

    color: white;
}

.main-content {

    margin-left: 270px;

    padding: 40px;
}

.dashboard-topbar {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 40px;
}

.dashboard-title {

    font-size: 2rem;

    font-weight: bold;

    margin-bottom: 5px;
}

.dashboard-subtitle {

    color: #777;

    margin: 0;
}

.dashboard-user {

    display: flex;

    align-items: center;

    gap: 10px;

    font-weight: 600;

    background: white;

    padding: 12px 18px;

    border-radius: 12px;

    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.dashboard-user i {

    font-size: 1.5rem;

    color: #0056d6;
}

/* ==========================
   DASHBOARD CARDS
========================== */

.dashboard-card {

    background: white;

    border-radius: 18px;

    padding: 25px;

    display: flex;

    align-items: center;

    gap: 20px;

    box-shadow: 0 5px 20px rgba(0,0,0,0.08);

    transition: .3s;

    height: 100%;
}

.dashboard-card:hover {

    transform: translateY(-5px);
}

.dashboard-card h3 {

    margin: 0;

    font-size: 1.8rem;

    font-weight: bold;
}

.dashboard-card p {

    margin: 0;

    color: #666;
}

.card-icon {

    width: 65px;

    height: 65px;

    border-radius: 15px;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 1.8rem;

    color: white;
}

.card-icon.blue {

    background: #0056d6;
}

.card-icon.red {

    background: #c62828;
}

.card-icon.dark {

    background: #222;
}

.card-icon.green {

    background: #198754;
}

/* ==========================
   TABLE
========================== */

.dashboard-table {

    background: white;

    border-radius: 20px;

    padding: 25px;

    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.table-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 20px;
}

.table-header h4 {

    margin: 0;

    font-weight: bold;
}

.table {

    margin: 0;
}

.table thead {

    background: #f5f5f5;
}

.table th {

    border: none;

    padding: 15px;

    color: #555;
}

.table td {

    padding: 15px;

    vertical-align: middle;
}

/* ==========================
   RESPONSIVE
========================== */

@media(max-width:991px){

    .sidebar {

        width: 100%;

        height: auto;

        position: relative;
    }

    .main-content {

        margin-left: 0;
    }

    .dashboard-topbar {

        flex-direction: column;

        align-items: flex-start;

        gap: 20px;
    }
}

@media(max-width:768px){

    .hero {

        height: 500px;
    }

    .hero-title {

        font-size: 2.3rem;
    }

    .hero-overlay {

        padding: 30px;
    }

    .section-title {

        font-size: 1.6rem;
    }

    .main-content {

        padding: 20px;
    }
}