/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ================= BODY ================= */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f5f7fb;
    color: #222;
}

/* ================= NAVBAR ================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 40px;
}

/* NAV LINK */
nav a {
    text-decoration: none;
    color: #333;
    padding: 8px 12px;
    transition: 0.3s;
}

nav a:hover {
    background: #f1f1f1;
    border-radius: 6px;
}

nav a.active {
    background: #007bff;
    color: white;
    border-radius: 6px;
    font-weight: bold;
}

/* ================= HERO ================= */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: #ffffff;
}

.hero h1 {
    font-size: 40px;
    margin-bottom: 10px;
}

.hero p {
    opacity: 0.8;
}

/* BUTTON */
.btn-belajar {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: #007bff;
    color: white;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-belajar:hover {
    transform: scale(1.05);
}

/* ================= CONTAINER ================= */
.container {
    padding: 40px;
}

/* ================= GRID ================= */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

/* ================= CARD ================= */
.card-modern {
    background: #ffffff;
    border-radius: 15px;
    padding: 25px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.card-modern:hover {
    transform: translateY(-5px);
}

/* ICON */
.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: #007bff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.icon-box img {
    width: 28px;
}

/* TEXT */
.card-modern h3 {
    margin-bottom: 10px;
}

.card-modern p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 15px;
}

/* LINK */
.card-modern .link {
    color: #007bff;
    font-weight: bold;
}

/* ================= FOOTER ================= */
footer {
    text-align: center;
    padding: 20px;
    background: #ffffff;
    border-top: 1px solid #eee;
    color: #555;
}
.planet-hero {
    position: absolute;
    right: 80px;
    top: 50px;
    width: 180px;
    animation: floatPlanet 4s ease-in-out infinite;
}

/* animasi melayang */
@keyframes floatPlanet {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}
.hero {
    height: 100vh;
    background: 
        linear-gradient(rgba(0,0,50,0.6), rgba(0,0,80,0.8)),
        url('img/planet.png');
        
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    text-align: center;
    color: white;
}html {
    scroll-behavior: smooth;
}
/* GRID */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

/* CARD UTAMA */
.card-space {
    text-align: center;
    padding: 40px 25px;
    border-radius: 25px;
    text-decoration: none;
    color: white;

    background: linear-gradient(145deg, #0f2027, #203a43, #2c5364);
    border: 2px solid rgba(255,255,255,0.1);

    transition: 0.4s;
    position: relative;
    overflow: hidden;
}

/* efek glow space */
.card-space::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2), transparent);
    top: -50%;
    left: -50%;
    opacity: 0;
    transition: 0.5s;
}

.card-space:hover::before {
    opacity: 1;
}

/* hover */
.card-space:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 0 30px rgba(0, 150, 255, 0.6);
}

/* ICON BESAR */
.icon-big {
    width: 120px;
    margin-bottom: 20px;
}

/* JUDUL */
.card-space h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

/* TEXT */
.card-space p {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 20px;
}

/* BUTTON */
.card-space button {
    padding: 12px 25px;
    border-radius: 30px;
    border: none;
    background: linear-gradient(90deg, #00c6ff, #0072ff);
    color: white;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.card-space button:hover {
    background: linear-gradient(90deg, #ff00cc, #3333ff);
}
.profile-flex {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 50px auto;
    max-width: 900px;

    /* WARNA SPACE GRADIENT */
    background: linear-gradient(135deg, #0f2027, #1b2a49, #2c5364);
    
    padding: 30px;
    border-radius: 20px;

    border: 1px solid rgba(255,255,255,0.1);

    transition: 0.4s;
}
.profile-flex:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 
        0 0 25px rgba(0,150,255,0.5),
        0 0 50px rgba(0,100,255,0.2);
}
.profile-img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 20px;

    border: 3px solid #00c6ff;

    /* glow */
    box-shadow: 0 0 20px rgba(0,150,255,0.6);
}
.profile-text h2 {
    color: #00c6ff;
    font-size: 24px;
}

.profile-text p {
    color: #e0e0e0;
    line-height: 1.7;
}
.profile-flex::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('img/stars.png'); /* optional */
    opacity: 0.05;
    top: 0;
    left: 0;
}
/* JUDUL */
.judul {
    text-align: center;
    color: #00c6ff;
    margin-bottom: 30px;
}

/* GRID */
.materi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* CARD */
.materi-card {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.4s;
    text-align: center;
    color: white;
}

/* GAMBAR */
.materi-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

/* TEXT */
.materi-card h3 {
    margin: 15px 0 5px;
}

.materi-card p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 15px;
}

/* HOVER */
.materi-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 0 25px rgba(0,150,255,0.6);
}

/* POPUP */
.popup-content.big {
    width: 80%;
    max-width: 800px;
    background: #0f2027;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
}

/* VIDEO & PDF */
.popup-content iframe {
    width: 100%;
    height: 400px;
    border-radius: 15px;
}

/* AUDIO */
.popup-content audio {
    width: 100%;
    margin-top: 20px;
}
.menu-kuis {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: -40px; /* naik ke atas biar nempel hero */
}

.menu-card h2 {
    font-size: 40px;
}
/* ===== FOOTER CLEAN ===== */
.footer {
    background: #020b1f;
    color: white;
    margin-top: 80px;
}

/* CONTAINER */
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 60px;
    flex-wrap: wrap;
}

/* LOGO */
.footer-logo {
    width: 60px;
    margin-bottom: 10px;
}

/* KIRI */
.footer-left h3 {
    margin: 5px 0;
    color: #00c6ff;
}

.footer-left p {
    opacity: 0.7;
}

/* KANAN */
.footer-right h4 {
    margin-bottom: 10px;
    color: #ffd700;
}

/* COPYRIGHT */
.footer-bottom {
    text-align: center;
    padding: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    opacity: 0.7;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}
/* ===== CONTAINER ===== */
.materi-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    padding: 80px 20px;
}

/* ===== CARD UTAMA (GLASS SPACE STYLE) ===== */
.materi-card {
    max-width: 900px;
    width: 100%;
    padding: 35px;
    border-radius: 25px;

    background: linear-gradient(
        145deg,
        rgba(20, 30, 80, 0.7),
        rgba(10, 15, 40, 0.8)
    );

    border: 1px solid rgba(255,255,255,0.1);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    color: white;
    line-height: 1.9;

    box-shadow: 
        0 0 20px rgba(0, 150, 255, 0.2),
        0 0 40px rgba(0, 100, 255, 0.15),
        inset 0 0 20px rgba(255,255,255,0.05);

    transition: 0.4s;
    position: relative;
    overflow: hidden;
}

/* efek glow jalan */
.materi-card::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.2), transparent);
    top: 0;
    left: -100%;
    transition: 0.6s;
}

.materi-card:hover::before {
    left: 100%;
}

/* hover naik */
.materi-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 
        0 0 25px rgba(0, 200, 255, 0.4),
        0 0 60px rgba(0, 150, 255, 0.3);
}

/* ===== JUDUL ===== */
.materi-card h2 {
    font-size: 28px;
    margin-bottom: 15px;

    background: linear-gradient(90deg, #00e5ff, #00b3ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== PARAGRAF ===== */
.materi-card p {
    margin-bottom: 18px;
    text-align: justify;
    opacity: 0.9;
}

/* ===== GAMBAR ===== */
.materi-img {
    width: 100%;
    border-radius: 18px;
    margin: 25px 0;

    box-shadow: 0 10px 30px rgba(1, 36, 92, 0.4);
    transition: 0.3s;
}

.materi-img:hover {
    transform: scale(1.02);
}

/* ===== PLANET GRID ===== */
.planet-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

/* ===== ITEM PLANET ===== */
.planet-item {
    padding: 15px;
    border-radius: 15px;

    background: rgba(7, 110, 219, 0.823);
    border: 1px solid rgba(255,255,255,0.08);

    transition: 0.3s;
}

.planet-item:hover {
    background: rgba(0, 150, 255, 0.15);
    transform: translateY(-5px);
}

/* ===== SUB JUDUL ===== */
.planet-item h3 {
    color: #00e5ff;
    margin-bottom: 5px;
}
/* ===== SECTION WARNA VARIASI ===== */
.materi-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 60px;
    border-radius: 30px;
}

/* warna beda tiap section */
.materi-section:nth-child(1) {
    background: linear-gradient(135deg, #0f2027, #2c5364);
}

.materi-section:nth-child(2) {
    background: linear-gradient(135deg, #1c92d2, #f2fcfe);
}

.materi-section:nth-child(3) {
    background: linear-gradient(135deg, #355c7d, #6c5b7b);
}

.materi-section:nth-child(4) {
    background: linear-gradient(135deg, #134e5e, #71b280);
}

.materi-section:nth-child(5) {
    background: linear-gradient(135deg, #3a1c71, #d76d77);
}

.materi-section:nth-child(6) {
    background: linear-gradient(135deg, #16222a, #3a6073);
}

/* TEXT */
.materi-text {
    flex: 1;
    color: white;
}

.materi-text h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.materi-text p {
    line-height: 1.8;
}

/* IMAGE */
.materi-img img {
    width: 100%;
    border-radius: 20px;
    animation: float 4s ease-in-out infinite;
    transition: 0.4s;
}

/* hover */
.materi-img img:hover {
    transform: scale(1.08);
}

/* animasi */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}
/* CONTAINER GAMBAR */
.materi-img {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* GAMBAR UTAMA */
.main-img {
    width: 70%;
    border-radius: 20px;

    animation: float 4s ease-in-out infinite;
    transition: 0.4s;
}

.main-img:hover {
    transform: scale(1.08);
}

/* GAMBAR SAMPING */
.img-side {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* GAMBAR KECIL */
.img-side img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 12px;

    transition: 0.3s;
    opacity: 0.8;
}

/* hover efek */
.img-side img:hover {
    transform: scale(1.15);
    opacity: 1;
}

/* RESPONSIVE */
@media(max-width:768px){
    .materi-img {
        flex-direction: column;
    }

    .main-img {
        width: 100%;
    }

    .img-side {
        flex-direction: row;
        justify-content: center;
    }
}
.popup-content iframe {
    border-radius: 15px;
    margin-top: 10px;
}

/* efek glow dikit */
.popup-content {
    box-shadow: 0 0 30px rgba(0,198,255,0.4);
}
/* ===== WARNA GRADIENT SPACE ===== */
:root {
    --biru: #00c6ff;
    --ungu: #8e2de2;
    --dark: #0f172a;
}

/* ===== SECTION KUIS ===== */
.kuis-section {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 25px;
    backdrop-filter: blur(12px);
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}

/* glow effect */
.kuis-section::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.2), transparent);
    top: 0;
    left: -100%;
    transition: 0.6s;
}

.kuis-section:hover::before {
    left: 100%;
}

/* hover naik */
.kuis-section:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 198, 255, 0.4);
}

/* ===== JUDUL ===== */
.kuis-text h2 {
    background: linear-gradient(90deg, var(--biru), var(--ungu));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== BUTTON ===== */
.btn-kuis {
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    border: none;
    padding: 12px 25px;
    border-radius: 12px;
    color: rgb(7, 56, 92);
    cursor: pointer;
    transition: 0.3s;
}

.btn-kuis:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0,198,255,0.5);
}

/* ===== GAMBAR ===== */
.kuis-img img {
    width: 250px;
    border-radius: 20px;
    transition: 0.4s;
}

.kuis-img img:hover {
    transform: scale(1.1);
}

/* ===== POPUP ===== */
.popup-content {
    background: linear-gradient(135deg, #1a1f4c, #0f172a);
    color: rgb(1, 44, 87);
    box-shadow: 0 0 30px rgba(0,198,255,0.4);
}

/* ===== CLOSE BUTTON ===== */
.close {
    color: rgb(3, 40, 67);
}

.close:hover {
    color: #00c6ff;
}
.menu-card {
    padding: 40px;
    border-radius: 20px;
    cursor: pointer;
    width: 230px;
    text-align: center;
    transition: 0.4s;
    backdrop-filter: blur(10px);

    /* 🔥 WARNA BARU */
    background: linear-gradient(135deg, #1e3a8a, #6d28d9);
    color: #042236;

    box-shadow: 0 0 20px rgba(0, 200, 255, 0.3);
}

/* beda warna tiap card */
.menu-card:nth-child(1){
    background: linear-gradient(135deg, #2563eb, #06b6d4);
}

.menu-card:nth-child(2){
    background: linear-gradient(135deg, #7c3aed, #ec4899);
}

.menu-card:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 0 40px rgba(0, 200, 255, 0.8);
}
.menu-card h3 {
    margin-top: 10px;
    font-size: 20px;
    color: #1982d1;
}

.menu-card p {
    font-size: 14px;
    color: #2d54d5;
}
/* ===== MENU KUIS (CARD AWAL) ===== */
.menu-kuis {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
    flex-wrap: wrap;
}

/* CARD */
.menu-card {
    position: relative;
    padding: 35px;
    border-radius: 20px;
    cursor: pointer;
    width: 240px;
    text-align: center;
    transition: 0.4s;
    overflow: hidden;

    color: white;

    /* 🌌 warna utama */
    background: linear-gradient(135deg, #0f172a, #1e3a8a);

    box-shadow: 0 0 20px rgba(0, 150, 255, 0.3);
}

/* VARIASI WARNA */
.menu-card:nth-child(1){
    background: linear-gradient(135deg, #2563eb, #06b6d4);
}

.menu-card:nth-child(2){
    background: linear-gradient(135deg, #7c3aed, #ec4899);
}

/* EFEK KILAU */
.menu-card::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
    top: 0;
    left: -100%;
    transition: 0.6s;
}

.menu-card:hover::before {
    left: 100%;
}

/* HOVER */
.menu-card:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 0 40px rgba(0, 200, 255, 0.8);
}

/* ICON */
.menu-card h2 {
    font-size: 45px;
    margin-bottom: 10px;
}

/* JUDUL */
.menu-card h3 {
    margin-bottom: 8px;
    font-size: 20px;
}

/* DESKRIPSI */
.menu-card p {
    font-size: 14px;
    opacity: 0.9;
}
/* ===== LAYOUT (SAMA FEEL MATERI) ===== */
.kuis-modern {
    padding: 80px 10%;
    display: flex;
    flex-direction: column;
    gap: 80px;

    /* BACKGROUND BIAR GAK PUTIH */
    background: linear-gradient(135deg, rgba(0,0,50,0.8), rgba(0,100,150,0.6));
    border-radius: 30px;
    margin: 50px;
    backdrop-filter: blur(15px);
}

/* SECTION (CARD STYLE) */
.kuis-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;

    /* CARD EFFECT */
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: 0.3s;
}

.kuis-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.kuis-section.reverse {
    flex-direction: row-reverse;
}

/* TEXT */
.kuis-text {
    flex: 1;
    color: white;
}

.kuis-text h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.kuis-text p {
    opacity: 0.8;
}

/* BUTTON */
.btn-kuis {
    margin-top: 20px;
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.btn-kuis:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px #00c6ff;
}

/* IMAGE */
.kuis-img img {
    width: 250px;
    animation: float 4s infinite;
}

@keyframes float {
    50% { transform: translateY(-15px); }
}

/* ===== POPUP ===== */
.popup {
    position: fixed;
    top:0; left:0;
    width:100%; height:100%;
    background: rgba(0,0,0,0.8);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:999;
}

.popup-content {
    background:#1a1f4c;
    padding:20px;
    border-radius:20px;
    width:90%;
    max-width:800px;
    color: white;
}

.close {
    float:right;
    cursor:pointer;
    font-size:20px;
    color: white;
}

/* RESPONSIVE */
@media(max-width:768px){
    .kuis-section {
        flex-direction: column !important;
        text-align:center;
    }
}
/* ===== LOGIN CONTAINER ===== */
.login-container {
    display: flex;
    width: 90%;
    max-width: 1100px;
    margin: 60px auto;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* ===== KIRI (BLUE PANEL) ===== */
.login-left {
    flex: 1;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}

.login-left .icon {
    font-size: 50px;
}

.login-left h1 {
    font-size: 32px;
}

.login-left h2 {
    font-size: 24px;
    opacity: 0.9;
}

.login-left p {
    opacity: 0.8;
    line-height: 1.6;
}

.badge {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.badge span {
    background: rgba(255,255,255,0.2);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
}

/* ===== KANAN (FORM) ===== */
.login-right {
    flex: 1;
    background: rgba(255,255,255,0.95);
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-right h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #1e3c72;
}

.login-right p {
    margin-bottom: 25px;
    color: #555;
}

/* INPUT */
.login-right input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid #ccc;
    outline: none;
    transition: 0.3s;
}

.login-right input:focus {
    border-color: #2a5298;
    box-shadow: 0 0 5px rgba(42,82,152,0.5);
}

/* OPSI */
.opsi {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 20px;
}

.opsi a {
    text-decoration: none;
    color: #2a5298;
}

/* BUTTON */
.login-right button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.login-right button:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* DAFTAR */
.daftar {
    margin-top: 20px;
    font-size: 14px;
}

.daftar a {
    color: #2a5298;
    text-decoration: none;
}

/* ===== RESPONSIVE ===== */
@media(max-width:768px){
    .login-container {
        flex-direction: column;
    }

    .login-left, .login-right {
        padding: 30px;
        text-align: center;
    }

    .opsi {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
}
/* LOGO KIRI */
.logo-kiri {
    width: 100px;
    margin-bottom: 20px;
}

/* LOGO KANAN */
.logo-kanan {
    width: 120px;
    display: block;
    margin: 0 auto 20px;
}
/* ===== KHUSUS HALAMAN PROFIL ===== */

/* HERO cuma setengah */
.profil-page .hero {
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;
}

/* SECTION biar lebih dekat */
.profil-page .section {
    padding-top: 20px;
}

/* FOOTER jadi tidak full */
.profil-page .footer {
    margin: 40px auto;
    width: 90%;
    max-width: 900px;
    border-radius: 20px;

    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    padding: 20px;
}

/* isi footer rapi */
.profil-page .footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.profil-page .footer-left,
.profil-page .footer-right {
    flex: 1;
    min-width: 200px;
}

.profil-page .footer-bottom {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    opacity: 0.7;
}
/* ===== FOOTER CLEAN (GLOBAL) ===== */
.footer {
    background: #020b1f;
    color: white;
    margin-top: 80px;
}

/* CONTAINER */
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 60px;
    flex-wrap: wrap;
}

/* LOGO */
.footer-logo {
    width: 60px;
    margin-bottom: 10px;
}

/* KIRI */
.footer-left h3 {
    margin: 5px 0;
    color: #00c6ff;
}

.footer-left p {
    opacity: 0.7;
}

/* KANAN */
.footer-right h4 {
    margin-bottom: 10px;
    color: #ffd700;
}

/* COPYRIGHT */
.footer-bottom {
    text-align: center;
    padding: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    opacity: 0.7;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}
/* ===== SECTION ===== */
.materi-section {
    text-align: center;
    padding: 50px 20px;
}

/* JUDUL */
.judul {
    font-size: 32px;
    margin-bottom: 30px;
    color: #1a1a1a;
}

/* CONTAINER */
.materi-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* CARD */
.materi-box {
    background: #d9dde3;
    border-radius: 20px;
    width: 350px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.materi-box img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.materi-box h3 {
    margin: 15px 0 5px;
}

.materi-box p {
    color: #555;
    margin-bottom: 15px;
}

.materi-box:hover {
    transform: translateY(-10px);
}

/* BUTTON */
.btn-kembali {
    margin-top: 30px;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    background: linear-gradient(135deg, #1e6be0, #2a8cff);
    color: white;
    cursor: pointer;
}

/* ===== POPUP ===== */
.popup {
    display: none;
    position: fixed;
    top:0; left:0;
    width:100%; height:100%;
    background: rgba(0,0,0,0.8);
    justify-content:center;
    align-items:center;
    z-index: 999;
}

.popup-content {
    background: white;
    padding: 20px;
    border-radius: 20px;
    width: 90%;
    max-width: 700px;
    text-align: center;
}

.popup-content iframe {
    width: 100%;
    height: 350px;
    border-radius: 10px;
}

.close {
    float: right;
    font-size: 22px;
    cursor: pointer;
}
.btn-planet {
    margin-top: 20px;
    padding: 12px 25px;
    border: none;
    border-radius: 30px;

    background: linear-gradient(135deg, #00c6ff, #0072ff);
    color: white;
    font-weight: bold;
    cursor: pointer;

    transition: 0.3s;
}

.btn-planet:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px #00c6ff;
}
.planet-item {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 12px;
    border-radius: 12px;
    background: rgba(0,150,255,0.2);

    transition: 0.3s;
}

/* gambar kecil */
.planet-item img {
    width: 35px;
    height: 35px;
    object-fit: cover;
    border-radius: 50%;

    box-shadow: 0 0 10px rgba(0,150,255,0.7);
}

/* teks */
.planet-item span {
    font-weight: bold;
}

/* hover */
.planet-item:hover {
    transform: scale(1.05);
    background: rgba(0,150,255,0.4);
}
.planet-section {
    padding: 60px;
    background: white;
    text-align: center;
}

.section-title {
    font-size: 32px;
    margin-bottom: 40px;
    color: black;
}

/* FIX 4 KOLOM */
.planet-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* CARD */
.planet-card {
    cursor: pointer;
    text-align: left;
    transition: 0.3s;
}

.planet-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 10px;
}

.planet-card h3 {
    margin-top: 10px;
    color: black;
}

.planet-card p {
    color: #444;
    font-size: 14px;
}

.planet-card:hover {
    transform: translateY(-8px);
}

/* POPUP */
.popup {
    display: none;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
}

.popup-content {
    background: white;
    width: 400px;
    padding: 25px;
    border-radius: 15px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.close {
    float: right;
    cursor: pointer;
    font-size: 22px;
}