/* GLOBAL STYLE */
:root {
    --primary: #E50914; 
    --accent: #FFD700; 
    --bg-dark: #121212;
    --bg-card: #1E1E1E;
    --text-white: #ffffff;
    --text-muted: #b3b3b3;
    --green: #2ecc71;
}

* { box-sizing: border-box; outline: none; -webkit-tap-highlight-color: transparent; }
body { margin: 0; font-family: 'Segoe UI', sans-serif; background: var(--bg-dark); color: var(--text-white); padding-bottom: 60px; }

/* NAV */
.top-nav { display: flex; justify-content: space-between; align-items: center; padding: 13px 18px; background: #000; border-bottom: 1px solid #333; position: sticky; top: 0; z-index: 999; }
.logo { font-weight: 800; color: var(--primary); font-size: 1.2rem; text-decoration: none; }
.menu a { color: white; text-decoration: none; margin-left: 15px; font-size: 0.9rem; }

/* HERO & NARASI */
.hero { padding: 40px 20px; background: url('https://raw.githubusercontent.com/sekolakonangindonesia-prog/smipro-streetart/refs/heads/main/StreetArd_bener.jpg') center/cover; position: relative; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(18,18,18,0.5), var(--bg-dark)); }
.hero-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.brand-badge { background: var(--primary); padding: 4px 10px; border-radius: 15px; font-size: 0.7rem; font-weight: bold; display: inline-block; }
.prolog-box { border-left: 3px solid var(--accent); padding-left: 15px; margin-top: 15px; font-style: italic; color: #ddd; line-height: 1.5; font-size: 0.95rem; }

/* LAYOUT */
.container { max-width: 800px; margin: 0 auto; padding: 20px; }
.section-title { color: var(--accent); margin: 30px 0 15px; font-size: 1.1rem; text-transform: uppercase; border-bottom: 1px solid #333; padding-bottom: 5px; }

/* VENUE CARDS */
.venue-card { background: var(--bg-card); padding: 15px; border-radius: 12px; border: 1px solid #333; display: flex; align-items: center; gap: 15px; margin-bottom: 15px; text-decoration: none; color: white; transition: all 0.3s ease; }
.venue-card:hover { border-color: var(--primary); transform: translateY(-3px); background: #252525; }
.venue-card.disabled { opacity: 0.5; filter: grayscale(1); cursor: not-allowed; }
.venue-card.disabled:hover { transform: none; border-color: #333; }
.icon-box { font-size: 1.5rem; color: #555; width: 40px; text-align: center; }
.venue-card:not(.disabled) .icon-box { color: var(--primary); }

/* PERFORMER GRID SYSTEM (FIXED) */
.performer-wrap {
    display: grid;
    /* GANTI auto-fit JADI auto-fill agar kartu tidak melar selebar layar */
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); 
    gap: 15px;
    margin-top: 15px;
}

/* Kartu Artis */
.artist-card { 
    background: #222; 
    padding: 15px 10px; 
    border-radius: 12px; 
    text-align: center; 
    cursor: pointer; 
    border: 1px solid #333; 
    transition: all 0.3s ease;
    
    /* Pastikan isinya rapi vertikal */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%; /* Agar tinggi seragam */
}

/* Efek Hover */
.artist-card:hover { 
    transform: translateY(-5px); 
    border-color: var(--accent); 
    background: #2a2a2a; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Foto Bulat */
.artist-img { 
    width: 70px; 
    height: 70px; 
    border-radius: 50%; /* Tetap Bulat */
    object-fit: cover; 
    border: 2px solid var(--primary); 
    margin-bottom: 8px; 
    transition: 0.3s;
}

.artist-card:hover .artist-img { 
    border-color: white; 
}

/* Teks Nama Artis */
.artist-card div {
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.2;
}

/* TRAINING BANNER (HOVER ADDED) */
.training-banner { margin-top: 30px; background: linear-gradient(to right, #2c3e50, #000000); padding: 20px; border-radius: 15px; border: 1px solid #444; display: flex; justify-content: space-between; align-items: center; cursor: pointer; transition: all 0.3s ease; }
.training-banner:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: 0 5px 15px rgba(0,0,0,0.5); }

/* SUPPORT SECTION */
.support-section { background: #151515; border-radius: 15px; padding: 30px; text-align: center; margin-top: 40px; border: 1px dashed #333; }
.btn-dukung { background: transparent; border: 1px solid var(--primary); color: var(--primary); padding: 10px 25px; border-radius: 25px; margin-top: 20px; cursor: pointer; transition: 0.3s; font-weight: bold; }
.btn-dukung:hover { background: var(--primary); color: white; }

.social-icons { margin-top: 20px; display: flex; justify-content: center; gap: 15px; }
.social-icons a { width: 45px; height: 45px; border-radius: 50%; background: #222; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.3rem; transition: 0.3s; text-decoration: none; }
.social-icons a:hover { transform: scale(1.1); background: white; }

/* NEWS */
.news-card { display: flex; gap: 15px; background: var(--bg-card); padding: 15px; border-radius: 12px; margin-bottom: 15px; align-items: center; border: 1px solid #333; transition: 0.3s; }
.news-card:hover { border-color: #555; background: #222; }
.news-thumb { width: 80px; height: 80px; border-radius: 8px; object-fit: cover; }

/* UTILS */
.badge { font-size: 0.7rem; padding: 2px 8px; border-radius: 4px; margin-left: 5px; }
.badge.active { background: #00ff00; color: black; font-weight: bold; }
.badge.soon { background: #444; color: #aaa; }
.btn-primary { background: var(--primary); color: white; border: none; padding: 10px 20px; border-radius: 8px; cursor: pointer; font-weight: bold; width: 100%; }
.btn-back { background: none; border: none; color: white; font-size: 1rem; cursor: pointer; display: flex; align-items: center; gap: 10px; }

/* === MAIN SCHEDULE CARD (BANNER ATAS) === */
.main-schedule-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
    border-radius: 12px;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-bottom: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.main-schedule-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(229, 9, 20, 0.2);
}

/* Bagian Kiri (Tanggal Merah) */
.msc-date {
    background: var(--primary);
    color: white;
    padding: 15px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 90px;
}

/* Bagian Kanan (Info) */
.msc-info {
    padding: 15px 20px;
    flex: 1;
}

.msc-badge {
    background: #333;
    color: #fff;
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    border: 1px solid #555;
}

/* RESPONSIVE HP (Supaya tanggal disamping, teks disebelahnya, rapi) */
@media (max-width: 480px) {
    .main-schedule-card {
        flex-direction: row; /* Tetap menyamping biar hemat tempat vertikal */
    }
    .msc-date {
        padding: 10px 15px;
        min-width: 80px;
    }
    .msc-info {
        padding: 10px 15px;
    }
    .msc-info h3 {
        font-size: 1rem;
    }
}
/* --- PERBAIKAN UKURAN LOGO --- */
.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    width: 50px;       /* Kunci: Memaksa lebar jadi 50 pixel */
    height: 50px;      /* Kunci: Memaksa tinggi jadi 50 pixel */
    border-radius: 50%; /* Membuat lingkaran (hapus baris ini jika logo ingin kotak) */
    object-fit: cover;
    border: 2px solid var(--primary);
}

.logo-text {
    font-weight: 800;
    color: var(--primary);
    font-size: 1.2rem;
}

/* === TAMBAHAN STYLE BARU === */

/* 1. Warna Khusus Radio (Cyan) */
.cyan-theme { border-color: #00d2ff !important; }
.cyan-bg { background: #00d2ff !important; color: #000 !important; }
.cyan-text { color: #00d2ff !important; }

/* 2. Style Podcast (YouTube Card) */
.podcast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Lebar agak besar */
    gap: 15px;
    margin-top: 15px;
}
.podcast-card {
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #333;
    transition: 0.3s;
    cursor: pointer;
}
.podcast-card:hover { transform: translateY(-5px); border-color: red; }
.podcast-thumb {
    width: 100%;
    aspect-ratio: 16/9; /* Rasio Video YouTube */
    object-fit: cover;
    position: relative;
}
.play-btn-center {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    font-size: 3rem; color: rgba(255,255,255,0.8);
}
.podcast-info { padding: 15px; }
.podcast-info h4 { margin: 0; font-size: 0.95rem; line-height: 1.4; color: white; }
.podcast-info span { font-size: 0.75rem; color: #888; margin-top: 5px; display: block; }

/* 3. Style Halaman Radio (Chat/Request) */
.radio-box {
    background: #111;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 20px;
    height: 100%;
}
.request-form input, .request-form textarea {
    width: 100%; padding: 10px; margin-bottom: 10px;
    background: #222; border: 1px solid #444; color: white; border-radius: 5px;
}
.chat-list {
    max-height: 300px;
    overflow-y: auto;
    margin-top: 20px;
    padding-right: 5px;
}
.chat-item {
    background: #1e1e1e;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
    border-left: 3px solid #00d2ff;
    font-size: 0.85rem;
}
.chat-item b { color: #00d2ff; }

/* =========================================
   STYLE KHUSUS PROFIL PUBLIK (PROFILE.HTML)
   ========================================= */

/* 1. Header & Banner */
.profile-banner {
    height: 250px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), #121212), url('https://images.unsplash.com/photo-1501612780327-450456b106f8?q=80&w=1000');
    background-size: cover;
    background-position: center;
    position: relative;
    margin-bottom: 70px; /* Memberi ruang untuk foto profil yang turun */
}

/* Logo Kecil di Pojok Kiri Atas */
.profile-logo-corner {
    position: absolute;
    top: 20px; 
    left: 20px;
    width: 60px !important;
    height: 60px !important;
    object-fit: contain;
    z-index: 20;
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.8));
}

/* Wadah Foto Profil (Tengah & Melayang) */
.profile-avatar-container {
    position: absolute;
    bottom: -60px; /* Turun setengah keluar banner */
    left: 50%;     /* Geser ke tengah */
    transform: translateX(-50%); /* Koreksi posisi agar pas tengah */
    width: 130px; 
    height: 130px;
    z-index: 20;
    border-radius: 50%;
    background: #121212;
    padding: 5px;
}

/* Foto Profilnya */
.profile-avatar {
    width: 100%; 
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent); /* Lingkaran Emas */
    box-shadow: 0 0 20px rgba(0,0,0,0.8);
}

/* 2. Identitas & Rating */
.profile-identity { text-align: center; margin-bottom: 20px; }
.profile-identity h1 { margin: 0; font-size: 1.8rem; color: white; }
.profile-identity p { color: var(--accent); margin: 5px 0; font-weight: bold; }
.rating-stars { color: gold; font-size: 1.2rem; margin: 5px 0; }
.badge-lulus { 
    background: #1a3320; color: #4ade80; 
    padding: 5px 15px; border-radius: 20px; 
    font-size: 0.8rem; display: inline-flex; 
    align-items: center; gap: 5px; 
    border: 1px solid #4ade80; 
    margin-top: 5px;
}

/* 3. Jadwal Cards (3 Warna) */
.schedule-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 30px; }
.sched-card {
    background: #222;
    padding: 15px;
    border-radius: 10px;
    display: flex; align-items: center; gap: 15px;
    border-left: 5px solid #555; 
}
.sched-icon { font-size: 1.5rem; width: 40px; text-align: center; }

.sched-card.official { border-left-color: var(--primary); } 
.sched-card.official .sched-icon { color: var(--primary); }

.sched-card.radio { border-left-color: #00d2ff; } 
.sched-card.radio .sched-icon { color: #00d2ff; }

.sched-card.cafe { border-left-color: #ff9800; } 
.sched-card.cafe .sched-icon { color: #ff9800; }

/* 4. Bio Box */
.bio-box {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #333;
    text-align: center;
    margin-bottom: 30px;
}
.bio-socials { display: flex; justify-content: center; gap: 20px; margin-top: 15px; border-top: 1px dashed #444; padding-top: 15px; }
.bio-socials i { font-size: 1.5rem; transition: 0.3s; cursor: pointer; color: white; }
.bio-socials i:hover { transform: scale(1.2); color: var(--primary); }

/* 5. Floating WA */
.floating-wa {
    position: fixed; bottom: 25px; right: 25px;
    background: #25D366; color: white;
    width: 60px; height: 60px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    z-index: 100; text-decoration: none;
    animation: bounce 2s infinite;
}
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* =========================================
   PERBAIKAN BANNER DASHBOARD MITRA
   ========================================= */

.mitra-header-bg {
    width: 100%;
    /* Tinggi di Laptop diperbesar biar gambar jelas */
    height: 250px; 
    
    /* GANTI LINK DI BAWAH INI DENGAN LINK GAMBAR ANDA SENDIRI */
    background-image: url('https://raw.githubusercontent.com/sekolakonangindonesia-prog/smipro-streetart/refs/heads/main/StreetArd_bener.jpg');
    
    /* PENTING: Agar gambar full memenuhi kotak tanpa gepeng */
    background-size: cover; 
    
    /* PENTING: Agar fokus gambar di tengah-tengah */
    background-position: center center; 
    
    background-repeat: no-repeat;
    position: relative;
}

/* Penyesuaian Khusus HP (Agar tidak terlalu tinggi di layar kecil) */
@media (max-width: 600px) {
    .mitra-header-bg {
        height: 180px; /* Tinggi di HP sedikit dikurangi */
        background-position: center center;
    }
}

/* === TAMBAHAN STYLE UNTUK SOSIAL MEDIA DI PROFIL === */

.bio-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    border-top: 1px dashed #444;
    padding-top: 15px;
}

.bio-socials a {
    text-decoration: none;
    transition: transform 0.3s;
    display: inline-block;
}

.bio-socials a:hover {
    transform: scale(1.2);
}

.bio-socials i {
    font-size: 2rem; /* Ukuran ikon diperbesar */
}

/* Warna Brand Sosmed */
.fa-instagram { color: #C13584; }
.fa-tiktok { color: #00f2ea; }
.fa-youtube { color: #ff0000; }
