body {
    padding-bottom: 100px; /* Padding untuk sticky player */
    line-height: 1.6; /* Menambah ruang antara baris untuk kebolehbacaan */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.hero-section {
    height: 100vh; /* Penuhkan ketinggian skrin */
    min-height: 500px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://iili.io/KrVlKlf.md.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-section .display-3 {
    font-weight: 700;
    font-size: 3.25rem;
    margin-bottom: 0; /* Rapatkan dengan sub-tajuk */
}

/* Bekas untuk butang main dan teks di hero */
.hero-play-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Gaya untuk Butang Main di Hero */
.hero-play-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: 2px solid white;
    border-radius: 50%;
    color: white;
    font-size: 2.5rem;
    text-decoration: none;
    position: relative;
    width: 70px; /* Kecilkan saiz butang */
    height: 70px; /* Kecilkan saiz butang */
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.hero-play-button:hover {
    transform: scale(1.1);
    background-color: rgba(29, 185, 84, 0.2);
    color: white;
}

.hero-play-button::before {
    content: '';
    position: absolute;
    z-index: -1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 70px;
    height: 70px;
    background: #1DB954;
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.hero-play-text {
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.lead {
    font-weight: 400; /* Jadikan teks 'lead' lebih ringan */
}

.section h2 {
    font-size: 2.25rem; /* Saiz standard untuk tajuk bahagian */
    font-weight: 600;
}
#now-playing h4 {
    font-size: 0.9rem; /* Lebih kecil dan halus */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6c757d; /* Warna kelabu yang lebih lembut */
}
.section {
    padding: 4rem 0;
}
.navbar {
    transition: transform 0.4s ease-in-out; /* Animasi untuk kemunculan */
}
.navbar-hidden {
    transform: translateY(-100%); /* Sembunyikan navbar di atas skrin */
}
.navbar-scrolled {
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.sticky-player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;    
    color: white;
    padding: 1rem;
    z-index: 1030;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}
.player-info {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.player-info #player-title {
    display: block; /* Pastikan tajuk berada di barisnya sendiri */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Tambah elipsis jika tajuk terlalu panjang */
    font-size: 0.9rem; /* Samakan saiz dengan tajuk 'Sekarang Bermain' */
    font-weight: 600; /* Gunakan semi-bold, lebih kemas dari bold biasa */
}
.progress-container {
    width: 100%;
    height: 5px;
    background-color: #495057;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 5px;
}
.progress-bar {
    width: 0%;
    height: 100%;
    background-color: #1DB954; /* Hijau Spotify */
    border-radius: 5px;
    transition: width 0.1s linear;
}
.player-controls button {
    font-size: 1.5rem;
    background: none;
    border: none;
    color: white;
}
.live-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: red;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
    vertical-align: middle; /* Menyelaraskan kedudukan animasi dengan teks */
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 0, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); }
}

@keyframes pulse-border {
  0% { transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1); opacity: 1; }
  100% { transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5); opacity: 0; }
}

/* Penyesuaian untuk skrin mudah alih (mobile) */
@media (max-width: 768px) {
    .hero-section .display-3 {
        font-weight: 700; /* Selaraskan ketebalan fon dengan jenama navbar */
        font-size: 2.4rem; /* Besarkan sedikit saiz tajuk untuk mobile */
    }
    .hero-section .lead {
        font-size: 1.0rem; /* Kecilkan saiz sub-tajuk untuk mobile */
    }
    .hero-play-text {
        font-size: 0.75rem;
    }
    .section h2 {
        font-size: 1.3rem; /* Kecilkan lagi saiz tajuk bahagian */
    }
    .section .lead {
        font-size: 1.0rem; /* Kecilkan saiz sub-tajuk bahagian */
    }

    /* Menjajarkan tab ke kiri pada paparan mobile */
    #programs .nav-tabs {
        justify-content: flex-start !important; /* Jajarkan ke kiri */
    }

    /* Gaya Menu Mudah Alih ala Apple */
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.95); /* Latar belakang hitam separa telus */
        backdrop-filter: blur(10px); /* Kesan kabur di belakang menu */
        -webkit-backdrop-filter: blur(10px);
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.35s ease, visibility 0.35s ease;
    }

    /* Butang Tutup Menu Mobile */
    .btn-close-menu {
        position: absolute;
        top: 2rem;
        right: 2rem;
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        opacity: 0.7;
    }
    .btn-close-menu:hover {
        opacity: 1;
    }

    .navbar-collapse.show {
        opacity: 1;
        visibility: visible;
    }

    .navbar-collapse .navbar-nav {
        /* Pastikan senarai menu berada di tengah */
        flex-direction: column;
        width: 100%;
    }

    .navbar-collapse .nav-link {
        font-size: 2.5rem; /* Besarkan lagi fon untuk menu skrin penuh */
        font-weight: 600;
        padding: 0.75rem 0;
    }
}

.podcast-play-btn, .sample-play-btn {
    min-width: 95px; /* Menetapkan lebar minimum untuk butang */
    transition: all 0.2s ease-in-out; /* Menambah transisi yang lancar */
}

/* Menyesuaikan warna tab agar sepadan dengan latar belakang */
#programs .nav-tabs .nav-link {
    background-color: transparent; /* Jadikan latar belakang butang tidak aktif telus */
    border-color: transparent; /* Buang sempadan di sekeliling butang */
    color: #6c757d; /* Warna teks kelabu untuk butang tidak aktif */
}

#programs .nav-tabs .nav-link.active {
    background-color: #f8f9fa; /* Warna latar belakang sama dengan bg-light */
    color: #212529; /* Warna teks lebih gelap untuk butang aktif */
    border-bottom: 2px solid #1DB954 !important; /* Hijau Spotify sebagai penunjuk aktif */
}

/* Menyesuaikan latar belakang senarai agar sepadan dengan bahagian */
.bg-light .list-group-item {
    background-color: transparent;
}

/* Menyesuaikan saiz tajuk dalam senarai tab */
#programsTabContent .list-group-item h5 {
    font-size: 1.05rem; /* Kecilkan saiz tajuk lagu */
    font-weight: 600; /* Selaraskan ketebalan fon */
    margin-bottom: 0.1rem; /* Kurangkan ruang bawah */
}

/* Menyelaraskan saiz lencana jadual siaran */
.schedule-badge {
    min-width: 150px;
}

/* Warna latar belakang hitam Spotify untuk navbar dan sticky player */
.bg-spotify-black {
    background-color: #191414 !important; /* Hitam Spotify */
}

/* Menjadikan teks menu navigasi putih terang */
.navbar-dark .navbar-nav .nav-link {
    color: #ffffff; /* Putih terang */
    font-size: 0.9rem; /* Kecilkan saiz fon menu */
}

/* Gaya untuk jenama di navbar */
.navbar-brand {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.25rem;
    font-weight: 700; /* Bold */
}

/* Menambah kesan hover pada butang utama */
#song-request .btn-success {
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

/* Menindih warna Bootstrap 'success' dengan warna Hijau Spotify */
.bg-success {
    background-color: #1DB954 !important;
}

.btn-success {
    background-color: #1DB954;
    border-color: #1DB954;
}
.btn-success:hover {
    background-color: #1aa34a;
    border-color: #1aa34a;
}

.btn-outline-success {
    color: #1DB954;
    border-color: #1DB954;
}
.btn-outline-success:hover {
    background-color: #1DB954;
    border-color: #1DB954;
    color: #fff;
}

/* Gaya untuk Sepanduk Notifikasi Aplikasi */
.install-app-banner {
    display: none; /* Sembunyi secara lalai */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #2d2d2d; /* Warna latar belakang yang sedikit berbeza */
    color: white;
    padding: 10px 15px;
    z-index: 1055; /* Pastikan ia di atas semua elemen lain */
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.install-app-banner .app-info {
    display: flex;
    align-items: center;
}

.install-app-banner .app-icon {
    width: 45px;
    height: 45px;
    margin-right: 15px;
    border-radius: 8px;
}

.install-app-banner .app-name {
    font-weight: 600;
    margin: 0;
}

.install-app-banner .app-description {
    font-size: 0.75rem;
    color: #b3b3b3; /* Warna kelabu yang lebih lembut */
    line-height: 1.3;
}

.install-app-banner .install-btn {
    background-color: #1DB954; /* Hijau Spotify */
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    margin-left: 15px;
}

/* Gaya untuk arahan PWA di dalam modal */
#pwa-modal-body ol {
    padding-left: 1.2rem;
}

/* Gaya untuk logo di bahagian Tentang Kami */
.about-us-logo {
    width: 150px; /* Saiz logo */
    height: 150px; /* Saiz logo */
    border-radius: 50%; /* Jadikan ia bulat */
    object-fit: cover; /* Pastikan imej memenuhi bulatan tanpa herot */
    border: 3px solid #1DB954; /* Sempadan hijau Spotify */
}