/* --- ANIMASI SCROLL --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- WELCOME OVERLAY STYLE --- */
#welcome-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #0f5c79, #2c4a57);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: opacity 0.8s ease, visibility 0.8s;
}

#welcome-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.welcome-content {
    text-align: center;
    color: white;
    animation: fadeIn 1s ease;
    padding: 20px;
}

.welcome-content img {
    width: clamp(120px, 18vw, 180px);
    margin-bottom: 25px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.35));
    animation: floatLogo 3s ease-in-out infinite;
}

.welcome-content h1 {
    font-size: clamp(30px, 5vw, 58px);
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
    color: white;
    letter-spacing: 2px;
    text-shadow:
        4px 4px 0px #000,
        0 0 20px rgba(0,0,0,0.3);
}

.welcome-content p {
    margin-top: 18px;
    font-size: clamp(14px, 2vw, 24px);
    font-weight: 700;
    letter-spacing: 4px;
    color: rgba(255,255,255,0.9);
    text-transform: uppercase;
}

.btn-enter {
    margin-top: 40px;
    background: #f4f4f4;
    color: #0f5c79;
    border: 4px solid #000;
    padding: 18px 50px;
    border-radius: 999px;
    font-size: clamp(16px, 2vw, 28px);
    font-weight: 900;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 8px 8px 0px #000;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-enter i {
    font-size: 20px;
}

.btn-enter:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 12px 12px 0px #000;
}

@keyframes floatLogo {
    0%,100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- GLOBAL STYLE --- */
/* --- GLOBAL STYLE --- */
html { scroll-behavior: smooth; }
body {
    font-family: 'Poppins', sans-serif;
    margin: 0; padding: 0;
    display: flex; flex-direction: column; align-items: center;
    background-image: url('../assets/images/bgweb.png'); 
    background-size: cover; background-position: center; background-repeat: no-repeat;
    background-attachment: fixed; background-color: #E6F1F4;
    overflow-x: hidden;
}

/* --- NAVIGASI --- */
header {
    width: 100%; background-color: rgba(255, 255, 255, 0.95);
    position: sticky; top: 0; z-index: 1000;
    display: flex; justify-content: center; padding: 12px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.nav-wrapper { width: 95%; max-width: 1200px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.logo-container { display: flex; gap: 8px; align-items: center; }
.logo-container img { height: clamp(30px, 5vw, 45px); width: auto; object-fit: contain; }
.nav-links { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: center; }
.nav-item {
    color: white !important; text-decoration: none; font-weight: bold; font-size: clamp(8px, 2vw, 10px);
    text-transform: uppercase; background-color: #135d7a; padding: 6px 12px;
    border-radius: 20px; border: 2px solid #000; box-shadow: 2px 2px 0px #000; transition: 0.2s;
}
.nav-item:hover { transform: translateY(-2px); box-shadow: 4px 4px 0px #000; }

/* --- HERO AREA --- */
.hero { display: flex; align-items: center; justify-content: space-between; max-width: 1100px; width: 90%; margin-top: 40px; gap: 30px; }
.content-left { flex: 1.2; width: 100%; }
.text-container {
    background-color: rgba(255, 255, 255, 0.4); 
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px);
    padding: clamp(15px, 4vw, 30px);
    border-radius: 25px; 
    border-left: 8px solid #135d7a; 
    border-top: 1px solid rgba(255,255,255,0.5);
    border-right: 1px solid rgba(255,255,255,0.5);
    border-bottom: 1px solid rgba(255,255,255,0.5);
    margin-bottom: 25px;
    box-shadow: 10px 10px 25px rgba(0,0,0,0.08); 
    position: relative;
    overflow: hidden;
}

.text-container::before {
    content: ''; position: absolute; left: 0; top: 20%; height: 60%; width: 2.5px; background: #000; border-radius: 10px; opacity: 0.2; z-index: 1;
}
.hero-description { color: #135d7a; font-size: clamp(14px, 3vw, 19px); line-height: 1.6; font-weight: 500; }
.btn-daftar { 
    background-color: #135d7a; color: white; padding: 15px 30px; border: 2.5px solid #000; 
    font-weight: bold; cursor: pointer; text-transform: uppercase; box-shadow: 5px 5px 0px #000; border-radius: 8px;
    font-size: clamp(14px, 2.5vw, 16px); transition: 0.2s; width: fit-content; font-family: 'Poppins', sans-serif;
}
.btn-daftar:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0px #000; }

.content-right { flex: 0.8; display: flex; flex-direction: column; align-items: center; width: 100%; }
.circle-photo-container { 
    width: clamp(200px, 40vw, 280px); height: clamp(200px, 40vw, 280px); background-color: #135d7a; border-radius: 50%; 
    border: 4px solid #fff; box-shadow: 0 0 20px rgba(0,0,0,0.2); margin-bottom: 25px; overflow: hidden; display: flex; justify-content: center; align-items: center;
}
.circle-photo-container img { width: 100%; height: 100%; object-fit: cover; }
.feature-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; align-items: center; width: 100%; }
.feature-item { 
    background: white; padding: 8px 15px; border-radius: 30px; border: 2px solid #135d7a;
    color: #135d7a; font-size: clamp(13px, 2.5vw, 17px); font-weight: bold; display: flex; align-items: center; gap: 8px; width: fit-content;
}
.feature-item i { color: #2ecc71; font-size: 18px; }

/* --- MEKANISME & COUNTDOWN --- */
.section-mekanisme { width: 95%; max-width: 1000px; margin-top: 60px; text-align: center; }
.title-box { background-color: #135d7a; color: white; padding: 10px 30px; border-radius: 8px; display: inline-block; font-weight: bold; border: 2px solid #000; margin-bottom: 40px; font-size: clamp(16px, 3vw, 20px); }

.timeline-container { position: relative; display: flex; justify-content: space-between; align-items: flex-start; max-width: 900px; margin: 0 auto 40px auto; gap: 10px; }
.timeline-line { position: absolute; top: 25px; left: 10%; right: 10%; height: 3px; background-color: #135d7a; z-index: 1; }
.timeline-step { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; width: 25%; }

.step-circle { 
    width: clamp(45px, 10vw, 65px); height: clamp(45px, 10vw, 65px); background-color: #fff; border: 3px solid #135d7a; border-radius: 15px; margin-bottom: 10px; overflow: hidden; display: flex; justify-content: center; align-items: center; box-shadow: 3px 3px 0px #000;
}
.step-circle img { width: 100%; height: 100%; object-fit: cover; }
.step-label { color: #000; font-weight: 700; font-size: clamp(9px, 2vw, 14px); background: rgba(255,255,255,0.8); padding: 2px 5px; border-radius: 5px; word-wrap: break-word; text-align: center; }

.countdown-outer {
    background-color: #135d7a; padding: 10px 20px; border-radius: 15px; border: 3px solid #fff; color: white; margin: 20px auto; max-width: 400px; box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}
.countdown-flex { display: flex; align-items: center; justify-content: center; gap: 15px; }
.countdown-group { display: flex; flex-direction: column; align-items: center; }
.countdown-label { font-size: 10px; text-transform: uppercase; opacity: 0.8; }
.countdown-number { font-size: clamp(20px, 5vw, 30px); font-weight: bold; line-height: 1; }
.countdown-colon { font-size: 20px; font-weight: bold; padding-top: 12px; }

/* --- INFO GRID --- */
.info-grid { display: flex; justify-content: center; max-width: 1100px; width: 90%; margin-top: 60px; gap: 20px; flex-wrap: wrap; }
.info-card { flex: 1; min-width: 280px; max-width: 350px; display: flex; flex-direction: column; align-items: center; text-decoration: none; }

.blue-rect { 
    width: 100%; aspect-ratio: 16/9; background-color: #000; border: 2.5px solid #000; margin-bottom: 12px; border-radius: 12px; box-shadow: 4px 4px 0px #000; background-size: cover; background-position: center; position: relative; overflow: hidden; transition: 0.3s; display: flex; justify-content: center; align-items: center;
}
.blue-rect::before {
    content: "\f167"; font-family: "Font Awesome 5 Brands"; font-size: 40px; color: rgba(255, 0, 0, 0.9); z-index: 2; transition: 0.3s; filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
}

.info-card:hover .blue-rect { transform: scale(1.03); box-shadow: 6px 6px 0px #000; }
.info-btn { background-color: #135d7a; color: white; padding: 10px 0; width: 100%; border: 2px solid #000; border-radius: 8px; font-weight: bold; text-align: center; cursor: pointer; transition: 0.2s; font-size: 14px; }

/* ============================================================
   --- SPONSOR SECTION (ANTI-POTONG & PREMIUM SHINE) --- 
   ============================================================ */
.section-sponsor { 
    width: 100%; 
    margin-top: 60px; 
    overflow: visible; /* Diubah ke visible agar efek pendaran atas tidak teriris */
    background: rgba(255,255,255,0.15); 
}

.sponsor-title {
    text-align: center; color: #135d7a; font-weight: 900; font-size: clamp(24px, 5vw, 34px);
    letter-spacing: 5px; margin-bottom: 20px; text-transform: uppercase; position: relative;
    left: 50%; transform: translateX(-50%); display: inline-block; text-shadow: 3px 3px 0px rgba(0,0,0,0.05);
}

.sponsor-title::after {
    content: ''; position: absolute; bottom: -12px; left: 50%; transform: translateX(-50%); width: 60%; height: 4px; background: #135d7a; border-radius: 10px;
}

/* Wrapper ditambahkan padding atas agar space Mahkota aman tidak mentok */
.slider-wrapper { 
    display: flex; 
    width: 100%; 
    overflow: hidden; 
    padding: 60px 0 40px 0; /* Space luas di atas mencegah mahkota terpotong */
}

.slider-container { 
    display: flex; 
    animation: scroll 25s linear infinite; 
    width: calc((220px + 40px) * 16); 
    align-items: center; 
    overflow: visible;
} 

/* Struktur Elemen Kartu Sponsor Tanpa Kotak */
.sponsor-card { 
    width: 220px; 
    height: 140px; 
    background: transparent; 
    border: none; 
    box-shadow: none; 
    margin: 0 20px; 
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0; 
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    position: relative; 
    overflow: visible;
}

.sponsor-card img { 
    max-width: 100%; 
    max-height: 100%; 
    object-fit: contain; 
    background: transparent;
    transition: filter 0.3s ease;
}

.sponsor-card:hover { 
    transform: scale(1.15); 
}

/* ============================================================
   --- MAHKOTA PREMIUM STYLE (GRADASI LOGAM BERKILAU) --- 
   ============================================================ */
.crown-icon { 
    position: absolute; 
    top: -32px; /* Ditarik ke atas gambar */
    left: 50%; 
    transform: translateX(-50%); 
    font-size: 32px; 
    z-index: 15; 
    font-weight: 900;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Efek Berkilau Menyapu (Shine Effect Masking) */
.shine-effect {
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.6) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    pointer-events: none;
    z-index: 5;
}

/* Trigger Animasi Berkilau Berkala pada Sponsor Pilihan */
.sponsor-gold .shine-effect,
.sponsor-silver .shine-effect,
.sponsor-bronze .shine-effect {
    animation: shineSweep 4s infinite ease-in-out;
}

@keyframes shineSweep {
    0% { left: -100%; opacity: 0; }
    15% { opacity: 1; }
    30% { left: 150%; opacity: 0; }
    100% { left: 150%; opacity: 0; }
}

/* --- TIER EMBOSS & SILUET PREMIUM --- */

/* 1. GOLD TIER (Emas Logam Klasik) */
.sponsor-gold .crown-icon { 
    background-image: linear-gradient(135deg, #FFFDF0 0%, #FFD700 40%, #B8860B 70%, #FFFDF0 100%);
    filter: drop-shadow(0px 3px 5px rgba(184, 134, 11, 0.6)) drop-shadow(0px 0px 10px rgba(255,215,0,0.5));
}
.sponsor-gold img { 
    filter: drop-shadow(0 0 18px rgba(255, 215, 0, 0.65)); 
}
.sponsor-gold:hover img { 
    filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.9)); 
}

/* 2. SILVER TIER (Chrome Perak Elegan) */
.sponsor-silver .crown-icon { 
    background-image: linear-gradient(135deg, #FFFFFF 0%, #DCDCDC 35%, #808080 70%, #FFFFFF 100%);
    filter: drop-shadow(0px 3px 5px rgba(0,0,0,0.4)) drop-shadow(0px 0px 10px rgba(255,255,255,0.6));
    font-size: 28px;
    top: -28px;
}
.sponsor-silver img { 
    filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.75)); 
}
.sponsor-silver:hover img { 
    filter: drop-shadow(0 0 22px rgba(255, 255, 255, 0.95)); 
}

/* 3. BRONZE TIER (Tembaga Metalik Lux) */
.sponsor-bronze .crown-icon { 
    background-image: linear-gradient(135deg, #FFE4C4 0%, #CD7F32 40%, #8B4513 75%, #FFE4C4 100%);
    filter: drop-shadow(0px 3px 4px rgba(139, 69, 19, 0.5)) drop-shadow(0px 0px 8px rgba(205,127,50,0.4));
    font-size: 26px;
    top: -25px;
}
.sponsor-bronze img { 
    filter: drop-shadow(0 0 12px rgba(205, 127, 50, 0.55)); 
}
.sponsor-bronze:hover img { 
    filter: drop-shadow(0 0 18px rgba(205, 127, 50, 0.8)); 
}

/* Sponsor Biasa Tetap Clean Tanpa Siluet / Tanpa Mahkota */

/* --- LOGIKA TIMELINE SCROLL LOOPING --- */
@keyframes scroll { 
    0% { transform: translateX(0); } 
    100% { transform: translateX(calc(-1 * (220px + 40px) * 8)); } 
}

/* Responsif Layar Kecil / HP */
@media (max-width: 600px) {
    .slider-wrapper { padding: 45px 0 30px 0; }
    .sponsor-card { width: 140px; height: 95px; margin: 0 12px; }
    .crown-icon { font-size: 22px; top: -22px; }
    .sponsor-gold .crown-icon { font-size: 24px; top: -24px; }
    @keyframes scroll { 
        0% { transform: translateX(0); } 
        100% { transform: translateX(calc(-1 * (140px + 24px) * 8)); } 
    }
}

/* --- FIND US --- */
.section-find-us { width: 90%; max-width: 1000px; margin-top: 50px; text-align: center; }
.find-us-title { background-color: #135d7a; color: white; padding: 8px 30px; border-radius: 8px; display: inline-block; font-weight: bold; border: 1.5px solid #000; margin-bottom: 40px; font-size: 16px; }
.social-footer-grid { display: flex; justify-content: center; gap: clamp(20px, 5vw, 50px); margin-bottom: 60px; flex-wrap: wrap; }
.footer-social-item { text-decoration: none; display: flex; flex-direction: column; align-items: center; transition: 0.3s; }
.large-circle { width: clamp(70px, 15vw, 100px); height: clamp(70px, 15vw, 100px); background-color: #135d7a; border-radius: 50%; border: 2px solid #fff; display: flex; align-items: center; justify-content: center; font-size: clamp(30px, 6vw, 45px); color: white; text-decoration: none; margin-bottom: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.2); transition: 0.3s; }
.footer-social-item p { background: white; padding: 5px 15px; border-radius: 5px; border: 1px solid #135d7a; font-size: 12px; color: #135d7a; margin: 0; }

/* --- FOOTER --- */
footer { 
    width: 100%; 
    background-color: #135d7a; 
    color: white; 
    padding: 40px 0; 
    display: flex; 
    justify-content: center; 
}

/* Penataan Layout Sejajar Kiri dan Kanan */
.footer-inner { 
    width: 90%; 
    max-width: 1100px; 
    display: flex; 
    flex-direction: row; 
    justify-content: space-between; 
    align-items: flex-start; 
    gap: 40px; 
}

/* Pembagian Konten Bagian Kiri */
.footer-left {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo-row { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; }
.footer-logo-row img { height: clamp(50px, 10vw, 70px); width: auto; }
.footer-school-info { font-weight: bold; font-size: clamp(14px, 3vw, 20px); line-height: 1.2; text-transform: uppercase; }
.footer-tagline { display: block; font-weight: normal; font-size: clamp(11px, 2vw, 15px); text-transform: none; margin-top: 4px; }
.footer-address-section h3 { font-size: clamp(22px, 5vw, 32px); margin: 0 0 10px 0; font-weight: 500; }
.footer-address-section p { margin: 0; font-size: clamp(13px, 2.5vw, 16px); line-height: 1.5; max-width: 600px; }
.footer-social-row { display: flex; gap: 12px; margin-top: 10px; }
.footer-social-row img { width: 35px; height: 35px; object-fit: contain; }

/* Pembagian Konten Bagian Kanan (Maps) */
.footer-right {
    flex: 0.8;
    width: 100%;
    max-width: 450px;
}

.footer-maps-section {
    display: flex;
    flex-direction: column;
}

/* Judul Maps (Sesuai Gambar) */
.maps-title {
    font-size: clamp(20px, 4vw, 26px);
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Garis Kuning Emas di Bawah Judul (Sesuai Gambar) */
.maps-underline {
    width: 65px;
    height: 4px;
    background-color: #f39c12;
    margin-bottom: 20px;
    border-radius: 2px;
}

/* Container Bingkai Peta Terbuka */
.maps-container {
    width: 100%;
    height: 250px;
    border: 3px solid #000000;
    border-radius: 12px;
    box-shadow: 5px 5px 0px #000000;
    overflow: hidden;
    background-color: #eee;
}

/* Sistem Responsif Layar Gawai (HP / Tablet) */
@media (max-width: 850px) {
    .footer-inner {
        flex-direction: column;
        gap: 40px;
    }
    .footer-right {
        max-width: 100%;
    }
    .maps-container {
        height: 230px;
    }
}

/* --- AUDIO CONTROL --- */
.audio-control { position: fixed; bottom: 20px; right: 20px; z-index: 9999; background: #135d7a; color: white; width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; border: 3px solid #fff; box-shadow: 0 4px 15px rgba(0,0,0,0.4); }

@media (max-width: 850px) {
    .hero { flex-direction: column; text-align: center; margin-top: 20px; }
    .content-left { order: 2; display: flex; flex-direction: column; align-items: center; }
    .content-right { order: 1; }
    .nav-wrapper { justify-content: center; }
    .timeline-line { display: none; }
    .timeline-container { flex-wrap: wrap; justify-content: center; gap: 20px; }
    .timeline-step { width: 40%; }
}
/* ============================================================
   --- SECTION LAST UPDATE (CAROUSEL MEDIA SOSIAL) --- 
   ============================================================ */
.section-last-update {
    width: 95%;
    max-width: 1100px;
    margin-top: 40px;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
}

.update-title {
    background-color: #135d7a;
    color: white;
    padding: 8px 30px;
    border-radius: 8px;
    display: inline-block;
    font-weight: bold;
    border: 1.5px solid #000;
    margin-bottom: 30px;
    font-size: 16px;
    letter-spacing: 1px;
}

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

/* Container utama slide yang bisa di-scroll kesamping */
.carousel-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 15px 5px;
    width: 100%;
    scrollbar-width: none; /* Menyembunyikan scrollbar di Firefox */
}

.carousel-container::-webkit-scrollbar {
    display: none; /* Menyembunyikan scrollbar di Chrome/Safari */
}

/* Gaya Kartu Vertikal Mirip Tampilan HP/Feed */
.update-card {
    flex: 0 0 calc(33.333% - 14px); /* Menampilkan 3 kartu di layar besar */
    min-width: 260px;
    max-width: 320px;
    aspect-ratio: 9 / 16; /* Proporsi layar HP standar */
    background-color: #fff;
    border: 2.5px solid #000;
    border-radius: 16px;
    box-shadow: 5px 5px 0px #000;
    text-decoration: none;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.update-card:hover {
    transform: translateY(-5px);
    box-shadow: 8px 8px 0px #000;
}

/* Wadah Media Utama */
.media-container {
    width: 100%;
    height: 100%;
    position: relative;
    background-color: #000;
}

.media-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Badge Ikon Sosial Media di Pojok Atas */
.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    z-index: 10;
    border: 1.5px solid #000;
    box-shadow: 2px 2px 0px #000;
}

.tiktok-badge { background-color: #010101; }
.instagram-badge { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }

/* Overlay Preview Video TikTok */
.video-preview-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    gap: 8px;
    transition: background 0.3s;
}
.video-preview-overlay i { font-size: 36px; filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5)); }
.video-preview-overlay span { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

.update-card:hover .video-preview-overlay {
    background: rgba(0,0,0,0.1);
}

/* Tombol "Lihat Profil" di Post Instagram */
.view-profile-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #ff2d55;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    border: 1.5px solid #000;
    box-shadow: 1.5px 1.5px 0px #000;
}

/* Info Teks Kecil Bagian Bawah */
.card-footer-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    padding: 20px 15px 12px 15px;
    box-sizing: border-box;
    text-align: left;
}

.card-footer-info p {
    margin: 0;
    color: white;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

/* Tombol Navigasi Panah Kiri & Kanan */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background-color: #135d7a;
    color: white;
    border: 2.5px solid #000;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 3px 3px 0px #000;
    z-index: 100;
    transition: 0.2s;
}

.carousel-nav:hover {
    background-color: #19769f;
    transform: translateY(-50%) scale(1.05);
}

.prev-btn { left: -20px; }
.next-btn { right: -20px; }

/* Responsif untuk Layar Tablet dan HP */
@media (max-width: 900px) {
    .update-card { flex: 0 0 calc(50% - 10px); } /* Terlihat 2 kartu */
    .prev-btn { left: -10px; }
    .next-btn { right: -10px; }
}

@media (max-width: 600px) {
    .update-card { flex: 0 0 80%; } /* Terlihat 1 kartu penuh dan sedikit potongan kartu berikutnya */
    .carousel-nav { display: none; } /* Menyembunyikan panah di HP agar fokus swipe sentuh */
    .carousel-container { padding-left: 10px; padding-right: 10px; }
}
/* Styling Khusus untuk Kartu Embed Media Sosial */
.embed-card {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 280px;
    max-width: 340px;
    height: 520px; /* Tinggi disesuaikan agar feed vertikal muat sempurna */
    background-color: #fff;
    border: 2.5px solid #000;
    border-radius: 16px;
    box-shadow: 5px 5px 0px #000;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.embed-card:hover {
    transform: translateY(-5px);
    box-shadow: 8px 8px 0px #000;
}

/* Memastikan konten di dalam iframe rapi */
.embed-card iframe {
    display: block;
    width: 100%;
    height: 100%;
}

/* Penyesuaian responsif layar HP */
@media (max-width: 900px) {
    .embed-card { flex: 0 0 calc(50% - 10px); height: 500px; }
}

@media (max-width: 600px) {
    .embed-card { flex: 0 0 85%; height: 480px; }
}
