/* =========================================
   1. IMPORT FONTS & GLOBAL RESET
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --primary: #ffb200;
    --bg: #000000;
    --panel: #121212;
    --border: #333;
    --true: #00e676;
    --false: #ff1744;
    --text-muted: #888;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    background-color: #000000;
    color: #ffffff;
    overflow-x: hidden;
}

/* =========================================
      2. NAVBAR SECTION
      ========================================= */
.navbar {
    display: flex;
    align-items: center;
    width: 100%;
    background: #FFB200;
    color: #000;
    padding: 1rem;
    justify-content: space-between;
    z-index: 9999;
    position: sticky;
    top: 0;
    border-bottom: solid 1px #fff;
}

.logo {
    font-size: 1rem;
    color: #000;
    user-select: none;
    padding-left: 1.5rem;
}

.logo img {
    width: 80px;
    height: auto;
}

.nav {
    display: flex;
    list-style: none;
    color: #ffffff;
}

.nav li {
    padding: 0.5rem;
    margin-right: 2rem;
}

.nav a {
    position: relative;
    font-size: 0.8rem;
    font-weight: 550;
    text-decoration: none;
    color: #ffffff;
    text-transform: lowercase;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

.nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 5px;
    transform-origin: unset;
    transform: scaleX(0);
    transition: transform .5s;
}

.nav a:hover::after {
    transform: scaleX(1);
}

.nav a:hover {
    color: #000;
}

/* =========================================
      3. HERO SECTION (HALAMAN UTAMA)
      ========================================= */
.picture-hero-index {
    background-image: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.6) 0%,
            rgba(0, 0, 0, 0.6) 70%,
            #000000 100%), url('/assets/img/indexBG.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    top: 0;
    left: 0;
    filter: brightness(100%);
    background-color: #000000;
    padding: 0.9rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero {
    color: #fff;
    text-align: center;
}

.hero h1 {
    text-transform: uppercase;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.hero p {
    font-size: 1rem;
    text-align: justify;
    text-transform: capitalize;
    max-width: 50rem;
    margin: 0 auto 2rem auto;
    color: #fff;
}

.hero b {
    color: #dbba00;
    font-weight: bolder;
    text-transform: uppercase;
}

.hero .btn-cta {
    padding: 15px 40px;
    background: #dbba00;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.btn-cta {
    text-decoration: none !important;
}

.hero .btn-cta:hover {
    background: #000000;
    color: #dbba00;
    text-decoration: none;
}


/* =========================================
      4. MATERI LAYOUT (CONTAINER & SCROLL)
      ========================================= */

.containerr {
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    margin-bottom: 4rem;
    box-sizing: border-box;
}

.containerr>a {
    color: white;
    text-decoration: none;
    display: block;
}

.containerr>a:hover .cover-materi {
    color: #ffd816;
    border-color: #ffd816;
}

.cover-materi {
    text-transform: uppercase;
    background: #000;
    margin-bottom: 1rem;
    color: rgb(255, 255, 255);
    font-size: 1.5rem;
    text-align: center;
    padding: 15px 20px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    transition: color 0.3s ease;
}

.scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding: 7.5rem;
    width: 100%;
    box-sizing: border-box;
    background-color: #000;
    border: 0.1rem solid #ffffff3e;
    justify-content: space-evenly;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.scroll-container::-webkit-scrollbar {
    height: 10px;
}

.scroll-container::-webkit-scrollbar-track {
    background: #111;
}

.scroll-container::-webkit-scrollbar-thumb {
    background-color: #555;
    border-radius: 4px;
    border: 2px solid #111;
}

.scroll-container::-webkit-scrollbar-thumb:hover {
    background-color: #fff;
}

.card {
    flex: 0 0 auto;
    width: 380px;
    min-width: 350px;
    margin-top: 0;
    background-color: #222;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
    color: #eee;
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid #333;
    position: relative;
}

.card:hover {
    transform: translateY(-5px);
    background-color: #FFC900;
    box-shadow: 0 8px 20px rgba(255, 201, 0, 0.3);
    border-color: #FFC900;
}

.card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #444;
    transition: transform 0.5s ease;
}

.card:hover img {
    transform: scale(1.05);
}

.card-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0 0 8px 0;
}

.card-subtitle {
    font-size: 0.9rem;
    color: #bbb;
    margin: 0;
}

.card:hover .card-title {
    color: #000;
}

.card:hover .card-subtitle {
    color: #333;
}


/* =========================================
      5. MATERI DETAIL & POSTER SECTION
      ========================================= */

.containeR {
    justify-content: space-between;
    max-width: 1200px;
    margin: 20px auto 20px auto;
    padding: 10px;
    border-bottom: solid 2px #444;
}

.containeR h1 {
    text-align: center;
    color: #FFC900;
    margin-bottom: 30px;
}

.content-wrappeR {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.posteR-content {
    padding: 5px 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.posteR-title {
    mix-blend-mode: difference;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0 0 6px 0;
}

.posteR-subtitle {
    mix-blend-mode: difference;
    font-size: 0.9rem;
    color: #bbb;
    margin: 0 0 8px 0;
    flex: 1;
}

.posteR-text {
    height: 100px;
}

.posteR {
    padding-top: 1.6rem;
    position: relative;
    justify-content: center;
    margin-top: 1rem;
    padding: 1rem;
    background-color: #222;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    color: #eee;
    transition: transform 0.3s ease;
}

.posteR img {
    height: 400px;
    border-radius: 12px;
    margin: 0.5rem;
}

.posteR:hover {
    transform: translateY(-2px);
    background-color: #FFB200;
}


/* =========================================
      6. SUB NAVBAR MATERI (.materiA)
      ========================================= */
.materiA {
    flex: 2 1 500px;
    line-height: 1.8;
    font-size: 1rem;
    color: #ddd;
    text-align: justify;
}

.materiA ul {
    display: flex;
    justify-content: space-between;
    list-style-type: none;
    gap: 2rem;
    text-transform: uppercase;
}

.materiA ul li {
    background-color: #FFB200;
    padding: 5px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: transform 0.5s ease;
}

.materiA ul li:hover {
    background-color: #fffdfd;
}

.materiA ul li a {
    position: relative;
    color: #fff;
    text-decoration: none;
}

.materiA ul li a:hover {
    color: #FFC900;
}

.materiA ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 2px;
    background: rgb(255, 255, 255);
    border-radius: 5px;
    transform-origin: unset;
    transform: scaleX(0);
    transition: transform .5s;
}

.materiA ul li a:hover::after {
    transform: scaleX(1);
}


/* =========================================
      7. PARAGRAPH & TABLES STYLES
      ========================================= */

/* Paragraf 1 */
.paragraf1 {
    margin: 2rem auto;
    padding: 0 1rem;
    max-width: 1000px;
}

.paragraf1 h4 {
    font-size: 1.2rem;
    font-weight: 700;
    text-align: left;
    text-transform: uppercase;
    color: #FFC900;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #FFC900;
    display: inline-block;
}

.paragraf1 p {
    margin-bottom: 1rem;
    text-align: justify;
    font-size: 1rem;
    line-height: 1.8;
    color: #e0e0e0;
    text-transform: none;
}

.paragraf1 ul {
    list-style-position: outside;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.paragraf1 ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: #ddd;
}

.paragraf1 .note {
    background-color: #1a1a1a;
    border-left: 4px solid #FFC900;
    padding: 15px;
    margin: 1.5rem 0;
    font-size: 0.95rem;
    color: #ccc;
    font-style: italic;
}

/* Tabel 1 */
.table1 {
    width: 100%;
    max-width: 600px;
    margin: 2rem auto;
    border-collapse: collapse;
    background-color: #1a1a1a;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    font-size: 1rem;
    overflow: hidden;
    border-radius: 8px;
}

.table1 thead th {
    background-color: #FFC900;
    color: #000;
    font-weight: 800;
    text-transform: uppercase;
    padding: 12px 15px;
    border-bottom: 2px solid #dbba00;
}

.table1 tbody td {
    padding: 12px 15px;
    border-bottom: 1px solid #333;
    color: #eee;
    text-align: center;
}

.table1 tbody tr:nth-of-type(even) {
    background-color: #252525;
}

.table1 tbody tr:hover {
    background-color: #333;
    transition: 0.2s;
}

/* Paragraf 2 */
.paragraf2 {
    margin: 2rem 0;
    padding: 0 1rem;
}

.paragraf2 h4 {
    font-size: 1.3rem;
    font-weight: 700;
    text-align: left;
    text-transform: uppercase;
    color: #FFC900;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #FFC900;
    display: inline-block;
}

.paragraf2 h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    text-decoration: underline;
    text-decoration-color: #555;
}

.paragraf2 p {
    margin-bottom: 1rem;
    text-align: justify;
    font-size: 1rem;
    line-height: 1.8;
    color: #e0e0e0;
    text-transform: none;
}

.paragraf2 .note {
    background-color: #1a1a1a;
    border-left: 4px solid #FFC900;
    padding: 15px;
    margin: 1.5rem 0;
    font-size: 0.95rem;
    color: #ccc;
    font-style: italic;
}

.paragraf2 ul {
    list-style-position: outside;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.paragraf2 ul li {
    margin-bottom: 0.5rem;
    color: #ddd;
}

/* Tabel 2 */
.table2 {
    width: 100%;
    max-width: 600px;
    margin: 2rem auto;
    border-collapse: collapse;
    background-color: #1a1a1a;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    font-size: 1rem;
    overflow: hidden;
    border-radius: 8px;
}

.table2 thead tr {
    background-color: #FFC900;
    color: #000;
    font-weight: 800;
    text-transform: uppercase;
    padding: 12px 15px;
    border-bottom: 2px solid #dbba00;
    text-align: center;
}

.table2 tbody td {
    padding: 12px 15px;
    border-bottom: 1px solid #333;
    color: #eee;
    text-align: center;
}

.table2 tbody tr:nth-of-type(even) {
    background-color: #252525;
}

.table2 tbody tr:hover {
    background-color: #333;
    transition: 0.2s;
}

/* Paragraf 3 */
.paragraf3 {
    margin: 2rem 0;
    padding: 0 1rem;
}

.paragraf3 h4 {
    font-size: 1.3rem;
    font-weight: 700;
    text-align: left;
    text-transform: uppercase;
    color: #FFC900;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #FFC900;
    display: inline-block;
}

.paragraf3 p,
.paragraf3 li {
    font-size: 1rem;
    line-height: 1.8;
    color: #e0e0e0;
    text-align: justify;
    margin-bottom: 0.8rem;
}

.paragraf3 ul {
    list-style-position: outside;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.paragraf3 .contoh-box {
    background-color: #1a1a1a;
    padding: 20px;
    border-left: 4px solid #FFC900;
    border-radius: 5px;
    margin-top: 10px;
}

/* Tabel 3 */
.table3 {
    width: 100%;
    max-width: 500px;
    margin: 2rem auto;
    border-collapse: separate;
    border-spacing: 0;
    background-color: #1a1a1a;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    overflow: hidden;
}

.table3 thead th {
    background-color: #FFC900;
    color: #000;
    font-weight: 800;
    text-transform: uppercase;
    padding: 15px;
    text-align: center;
    border-bottom: 3px solid #cc9a00;
}

.table3 thead th:not(:last-child) {
    border-right: 1px solid #cc9a00;
}

.table3 tbody td {
    padding: 12px 15px;
    border-bottom: 1px solid #333;
    border-right: 1px solid #333;
    color: #eee;
    text-align: center;
}

.table3 tbody td:last-child {
    border-right: none;
}

.table3 tbody tr:nth-of-type(even) {
    background-color: #252525;
}

.table3 tbody tr:hover {
    background-color: #333;
    transition: 0.2s;
}

/* Paragraf 4 */
.paragraf4 {
    margin: 2rem 0;
    padding: 0 1rem;
}

.paragraf4 h4 {
    font-size: 1.3rem;
    font-weight: 700;
    text-align: left;
    text-transform: uppercase;
    color: #FFC900;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #FFC900;
    display: inline-block;
    padding-bottom: 5px;
}

.paragraf4 p,
.paragraf4 li {
    font-size: 1rem;
    line-height: 1.8;
    color: #e0e0e0;
    text-align: justify;
    margin-bottom: 0.8rem;
    text-transform: none;
}

.paragraf4 ul {
    list-style-position: outside;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.paragraf4 .contoh-box {
    background-color: #1a1a1a;
    padding: 20px;
    border-left: 4px solid #FFC900;
    border-radius: 5px;
    margin-top: 10px;
}

/* Tabel 4 */
.table4 {
    width: 100%;
    max-width: 500px;
    margin: 2rem auto;
    border-collapse: separate;
    border-spacing: 0;
    background-color: #1a1a1a;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    overflow: hidden;
}

.table4 thead th {
    background-color: #FFC900;
    color: #000;
    font-weight: 800;
    text-transform: uppercase;
    padding: 15px;
    text-align: center;
    border-bottom: 3px solid #cc9a00;
}

.table4 thead th:not(:last-child) {
    border-right: 1px solid #cc9a00;
}

.table4 tbody td {
    padding: 12px 15px;
    border-bottom: 1px solid #333;
    border-right: 1px solid #333;
    color: #eee;
    text-align: center;
}

.table4 tbody tr:nth-of-type(even) {
    background-color: #252525;
}

.table4 tbody tr:hover {
    background-color: #333;
    transition: 0.2s;
}

/* Paragraf 5 */
.paragraf5 {
    margin: 2rem 0;
    padding: 0 1rem;
}

.paragraf5 h4 {
    font-size: 1.3rem;
    font-weight: 700;
    text-align: left;
    text-transform: uppercase;
    color: #FFC900;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #FFC900;
    display: inline-block;
    padding-bottom: 5px;
}

.paragraf5 p,
.paragraf5 li {
    font-size: 1rem;
    line-height: 1.8;
    color: #e0e0e0;
    text-align: justify;
    margin-bottom: 0.8rem;
    text-transform: none;
}

.paragraf5 ul {
    list-style-position: outside;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.paragraf5 .note {
    background-color: #1a1a1a;
    padding: 15px;
    border-left: 4px solid #FFC900;
    font-style: italic;
    color: #ccc;
    margin-top: 1rem;
}

/* Tabel 5 */
.table5 {
    width: 100%;
    max-width: 650px;
    margin: 2rem auto;
    border-collapse: separate;
    border-spacing: 0;
    background-color: #1a1a1a;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    overflow: hidden;
}

.table5 thead th {
    background-color: #FFC900;
    color: #000;
    font-weight: 800;
    text-transform: uppercase;
    padding: 15px;
    text-align: center;
    border-bottom: 3px solid #cc9a00;
    vertical-align: middle;
}

.table5 thead th:not(:last-child) {
    border-right: 1px solid #cc9a00;
}

.table5 tbody td {
    padding: 12px 15px;
    border-bottom: 1px solid #333;
    border-right: 1px solid #333;
    color: #eee;
    text-align: center;
}

.table5 tbody td:last-child {
    border-right: none;
}

.table5 tbody tr:nth-of-type(even) {
    background-color: #252525;
}

.table5 tbody tr:hover {
    background-color: #333;
    transition: 0.2s;
}


/* =========================================
      8. MISC (Strong & Additional Content)
      ========================================= */
strong {
    text-transform: uppercase;
    font-style: normal;
    color: #fff;
    text-decoration: underline;
    text-decoration-color: #FFC900;
}


/* =========================================
      9. ANGGOTA TEAM SECTION
      ========================================= */
.anggota {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 2.9rem;
    padding-top: 2rem;
}


/* =========================================
      10. ANIMATIONS
      ========================================= */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* =========================================
      11. FOOTER SECTION
      ========================================= */
.site-footer {
    background-color: #000;
    color: #fff;
    padding: 2rem 1rem;
    margin-top: auto;
}

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid #fff;
    padding-top: 20px;
    max-width: 1200px;
    margin: 0 auto;
}


/* =========================================
      STYLE KHUSUS ANGGOTA KELOMPOK
      ========================================= */

.container-anggota {
    max-width: 1200px;
    margin: 50px auto 120px auto;
    padding: 25px;
    box-sizing: border-box;
    text-align: center;
    animation: fadeIn 1s ease forwards;
}

.anggota {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    justify-content: center;
    padding: 20px 0;
}

.card-anggota {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card-anggota:hover {
    transform: translateY(-10px);
    border-color: #FFB200;
}

.card-anggota img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #FFB200;
    margin-bottom: 1rem;
}

.nama {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.jabatan {
    display: inline-block;
    background-color: #FFB200;
    color: #000000;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
}

.info {
    font-size: 0.9rem;
    color: #cccccc;
    margin-bottom: 6px;
    line-height: 1.4;
}

.info strong {
    color: #FFB200;
    text-decoration: none;
}

/* Deskripsi */
.deskripsi {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #333;
    font-size: 0.85rem;
    color: #888888;
    font-style: italic;
}

/* --- ANIMATION --- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- CONTAINER KARTU UTAMA --- */
.section-card {
    width: 100%;
    max-width: 1600px;
    margin: 60px auto;
    padding: 70px;
    box-sizing: border-box;
    background-color: #000000;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: fadeIn 1s ease forwards;
}

/* --- JUDUL KARTU --- */
.card-header h2 {
    background-color: #1c2229;
    text-align: center;
    color: #FFC900;
    margin-bottom: 40px;
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 15px 40px;
    border-radius: 8px;
    border-bottom: 3px solid rgba(255, 201, 0, 0.5);
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* --- LAYOUT BADAN KARTU (Flexbox) --- */
.card-body {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
}

/* --- GAMBAR POSTER --- */
.poster {
    flex: 1 1 350px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.poster img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.poster img:hover {
    transform: scale(1.03);
}

/* --- TEKS MATERI --- */
.materi {
    flex: 2 1 500px;
    line-height: 1.9;
    font-size: 1.05rem;
    color: #ddd;
    text-align: justify;
}

.materi b,
.materi strong {
    color: #FFC900;
}

.highlight-box {
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 5px solid #FFC900;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
    color: #fff;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}

.materi h4 {
    color: #FFC900;
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 1.2rem;
    border-bottom: 1px dashed #555;
    padding-bottom: 5px;
    display: inline-block;
}

.materi ul {
    background: rgba(0, 0, 0, 0.25);
    padding: 20px 30px;
    border-radius: 8px;
    margin-left: 0;
}

.materi li {
    margin-bottom: 10px;
    list-style-type: square;
    color: #eee;
}

/* --- TABLE STYLING --- */
.table-wrapper {
    overflow-x: auto;
    margin-top: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.grid-tables {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.table-box h5 {
    text-align: center;
    color: #FFC900;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

/* Desain Tabel Utama */
.custom-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    background-color: #555;
    color: #ffffff;
    text-align: center;
}

.custom-table th {
    background-color: #FFB200;
    color: #ffffff;
    padding: 12px 8px;
    border: 1px solid #2c3e50;
}

.custom-table td {
    padding: 10px 8px;
    border: 1px solid #ddd;
}


.custom-table tbody tr:nth-of-type(even) {
    background-color: #333;
}

.custom-table tbody tr:hover {
    background-color: #444;
}


/* video */
.video-wrapper {
    width: 100%;
    max-width: 700px;
    aspect-ratio: 16 / 9;
    margin: 0 auto 50px auto;
    border: 2px solid #333;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background-color: #000;
    position: relative;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* --- QUIZ CONTAINER --- */
.quiz-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.quiz-container h3 {
    text-align: center;
    color: #FFC900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

/* --- KARTU SOAL --- */
.soal-card {
    background-color: #222;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 1px solid #333;
    border-left: 5px solid #777;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.soal-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
}

.soal-text p {
    color: #eee;
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.6;
}

/* --- PILIHAN GANDA --- */
.pilihan-ganda {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.pilihan-ganda label {
    background-color: #1a1a1a;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s ease;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid #333;
}

.pilihan-ganda label:hover {
    background-color: #333;
    color: #FFC900;
    border-color: #FFC900;
}

.pilihan-ganda input[type="radio"] {
    accent-color: #FFC900;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* --- FEEDBACK (BENAR / SALAH) --- */
.soal-card.benar {
    border-left-color: #2ecc71;
    background-color: rgba(46, 204, 113, 0.1);
    border-color: #2ecc71;
}

.soal-card.salah {
    border-left-color: #e74c3c;
    background-color: rgba(231, 76, 60, 0.1);
    border-color: #e74c3c;
}

.feedback {
    font-weight: bold;
    margin-top: 15px;
    font-style: italic;
    font-size: 1rem;
}

/* --- PEMBAHASAN --- */
.pembahasan {
    margin-top: 15px;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.5);
    border-top: 1px dashed #555;
    font-size: 0.95rem;
    color: #bbb;
    line-height: 1.6;
    border-radius: 0 0 8px 8px;
    animation: fadeIn 0.5s ease;
}

.pembahasan b {
    color: #FFC900;
}

.hidden {
    display: none;
}

/* --- HASIL NILAI --- */
#hasil-nilai {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background-color: #FFC900;
    color: #000;
    border-radius: 12px;
    font-weight: bold;
    box-shadow: 0 0 20px rgba(255, 201, 0, 0.4);
    animation: slideUp 0.5s ease;
}

#hasil-nilai h3 {
    margin: 0;
    font-size: 1.8rem;
    color: #000;
    text-transform: uppercase;
}

#skor-akhir {
    font-size: 2.5rem;
    font-weight: 900;
}

.btn-ctaa {
    display: inline-block;
    font-weight: bold;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    background-color: #FFB200;

    color: #000;
    padding: 12px 35px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.btn-ctaa:hover {
    background-color: #fff;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 178, 0, 0.5);
}

.btn-ctaa:active {
    transform: scale(0.95);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-ctaa:focus {
    outline: none;
    border: 2px solid #fff;
}


/* =========================================
      CALCULATOR SECTION
      ========================================= */

.calculator-section {
    display: flex;
    justify-content: center;
    padding: 2rem 1rem;
}

.container-calculator {
    width: 100%;
    max-width: 950px;
    background: var(--panel);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 30px rgba(255, 178, 0, 0.1);
}

h1 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.subtitle {
    text-align: center;
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    font-style: italic;
}

label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

input {
    width: 100%;
    padding: 12px;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: #1a1a1a;
    color: #fff;
    font-family: 'Fira Code', monospace;
    transition: 0.3s;
    font-size: 1rem;
}

input:focus {
    outline: none;
    border-color: var(--primary);
    background: #222;
    box-shadow: 0 0 8px rgba(255, 178, 0, 0.2);
}

.hint-box {
    background: rgba(255, 178, 0, 0.05);
    border: 1px dashed #444;
    padding: 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    color: #aaa;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.hint-hl {
    color: var(--primary);
    font-weight: bold;
}

/* Buttons */
.btn-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 1rem 0 2rem 0;
}

button {
    padding: 14px 5px;
    border-radius: 8px;
    border: 1px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

button span.symbol {
    font-size: 1.2rem;
    font-family: 'Times New Roman', serif;
}

button:hover {
    background: var(--primary);
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 178, 0, 0.4);
}

button.active {
    background: var(--primary);
    color: #000;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5);
    transform: none;
}

button.reset {
    border-color: var(--false);
    color: var(--false);
    grid-column: span 3;
    margin-top: 10px;
}

button.reset:hover {
    background: var(--false);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 23, 68, 0.4);
}

/* Layout Grid */
.result-panel {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 20px;
    margin-top: 1rem;
}

/* Box Styles */
.box {
    background: #181818;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    min-height: 150px;
    display: flex;
    flex-direction: column;
}

.box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary);
    margin-bottom: 15px;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
}

.box-title {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Math Display */
.math-display {
    text-align: center;
    padding: 20px;
    font-family: 'Times New Roman', serif;
    font-size: 1.8rem;
    color: #fff;
    background: #000;
    border-radius: 8px;
    border: 1px solid #333;
    margin-bottom: 20px;
}

.math-symbol {
    color: var(--primary);
}

.math-res-t {
    color: var(--true);
    font-weight: bold;
}

.math-res-f {
    color: var(--false);
    font-weight: bold;
}

/* Status Badge */
.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.status-tautologi {
    background: rgba(0, 230, 118, 0.2);
    color: var(--true);
    border: 1px solid var(--true);
}

.status-kontradiksi {
    background: rgba(255, 23, 68, 0.2);
    color: var(--false);
    border: 1px solid var(--false);
}

.status-kontingensi {
    background: rgba(255, 178, 0, 0.15);
    color: var(--primary);
    border: 1px solid var(--primary);
}

/* Truth Table */
.truth-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Times New Roman', serif;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.truth-table th,
.truth-table td {
    padding: 8px;
    text-align: center;
    border-bottom: 1px solid #333;
}

.truth-table th {
    color: var(--primary);
    background: rgba(255, 178, 0, 0.1);
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
}

.truth-table td {
    font-size: 1.1rem;
}

.truth-table td.desc-col {
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    color: #aaa;
    text-align: left;
    padding-left: 15px;
}

.row-active {
    background: rgba(0, 230, 118, 0.1);
    border-left: 3px solid var(--true);
}

.row-active td {
    color: #fff;
    font-weight: bold;
}

/* Explanation */
.explanation-content {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #ddd;
}

.prop-var {
    font-family: 'Times New Roman', serif;
    font-style: italic;
    color: var(--primary);
    font-size: 1.1rem;
}

.detected-badge {
    background: #222;
    border: 1px solid #444;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    color: #fff;
    margin: 0 4px;
}


/* =========================================
      12. RESPONSIVE / MEDIA QUERIES (FIXED)
      ========================================= */

/* --- Tampilan untuk Tablet / Laptop Kecil (max-width: 992px) --- */
@media (max-width: 992px) {

    /* Layout Navbar */
    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    .nav {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* Layout Kartu & Materi */
    .section-card {
        padding: 40px;
        margin: 40px auto;
        width: 95%;
    }

    .card-body,
    .content-wrappeR {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .poster,
    .materi,
    .materiA {
        width: 100%;
        flex: auto;
    }

    .poster img {
        max-width: 80%;
    }

    /* Layout Grid Anggota (2 Kolom) */
    .anggota {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Layout Calculator (Stack Vertical) */
    .result-panel {
        grid-template-columns: 1fr;
    }

    .btn-group {
        grid-template-columns: repeat(3, 1fr);
    }

    .btn-group button.reset {
        grid-column: span 3;
    }

    .table-wrapper {
        width: 100%;
        overflow-x: auto;
        display: block;
    }
}

/* --- Tampilan untuk HP / Mobile (max-width: 600px) --- */
@media (max-width: 600px) {

    /* --- GLOBAL & NAVBAR --- */
    .navbar {
        padding: 10px;
    }

    .nav li {
        margin-right: 10px;
        font-size: 0.85rem;
    }

    /* --- HERO SECTION --- */
    .hero h1 {
        font-size: 1.6rem;
    }

    .hero p {
        font-size: 0.9rem;
        padding: 0 15px;
    }

    /* --- MATERI & CARDS --- */
    .section-card {
        padding: 20px;
        margin: 20px auto;
    }

    .card-header h2 {
        font-size: 1.3rem;
        padding: 10px 15px;
        width: 100%;
    }

    .poster img {
        max-width: 100%;
        height: auto;
    }

    .materi,
    .materiA {
        text-align: left;
        font-size: 0.95rem;
    }

    .scroll-container {
        padding: 2rem 1rem;
        justify-content: flex-start;
    }

    .card {
        width: 260px;
        min-width: 250px;
    }

    /* --- TEAM SECTION (1 Kolom) --- */
    .anggota {
        grid-template-columns: 1fr;
    }

    /* --- TABEL RESPONSIVE --- */
    .table-wrapper {
        width: 100%;
        overflow-x: auto;
        display: block;
    }

    .table1 th,
    .table1 td,
    .table2 th,
    .table2 td,
    .table3 th,
    .table3 td,
    .table4 th,
    .table4 td,
    .table5 th,
    .table5 td,
    .custom-table th,
    .custom-table td {
        padding: 15px 25px !important;
        white-space: nowrap;
    }

    /* --- LISTS & SOAL --- */
    .materiA ul {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .soal-card {
        padding: 15px;
    }

    .pilihan-ganda label {
        padding: 10px;
        font-size: 0.9rem;
    }

    #hasil-nilai h3 {
        font-size: 1.4rem;
    }

    /* --- CALCULATOR SPECIFIC --- */
    .container-calculator {
        padding: 1rem;
    }

    .btn-group {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    button span.symbol {
        font-size: 1rem;
    }

    .table-wrapper {
        width: 100%;
        overflow-x: auto;
        display: block;
    }
}

/* =========================================
      13. SPECIFIC MEDIA QUERY: SAMSUNG S8+
      Viewport: 360px x 740px
      ========================================= */
@media screen and (device-width: 360px) and (device-height: 740px) and (-webkit-device-pixel-ratio: 4),
screen and (max-width: 360px) {

    /* --- NAVBAR Adjustment --- */
    .navbar {
        padding: 0.5rem;
        gap: 10px;
    }

    .logo {
        padding-left: 0.5rem;
    }

    .logo img {
        width: 60px;
    }

    .nav a {
        font-size: 0.75rem;
    }

    /* --- HERO SECTION --- */
    .hero h1 {
        font-size: 1.4rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }

    .hero p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    /* --- SCROLL CONTAINER --- */
    .scroll-container {
        padding: 2rem 0.5rem;
    }

    .card {
        width: 300px;
        min-width: 280px;
    }

    .card img {
        height: 250px;
    }

    /* --- CALCULATOR TWEAKS --- */
    .container-calculator {
        padding: 10px;
        border-radius: 8px;
    }

    input {
        font-size: 0.9rem;
        padding: 10px;
    }

    .btn-group {
        gap: 5px;
    }

    button {
        padding: 10px 2px;
        font-size: 0.8rem;
    }

    button span.symbol {
        font-size: 1rem;
    }

    /* --- TABLES --- */
    .table1 th,
    .table1 td,
    .custom-table th,
    .custom-table td {
        padding: 8px 10px !important;
        font-size: 0.8rem;
    }

    /* --- TEAM MEMBER CARD --- */
    .card-anggota {
        padding: 1.5rem;
        margin: 0 10px;
    }

    .card-anggota img {
        width: 100px;
        height: 100px;
    }

    /* --- QUIZ & FORM --- */
    .quiz-container h3 {
        font-size: 1.2rem;
    }

    .pilihan-ganda label {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
}

/* =========================================
      14. SPECIFIC MEDIA QUERY: IPHONE SE (Gen 1, 2, 3)
      Viewport Range: 320px - 375px
      ========================================= */
@media only screen and (max-width: 375px) {

    /* --- GLOBAL TWEAKS --- */
    html {
        font-size: 14px;
    }

    .containerr {
        padding: 10px;
    }

    /* --- NAVBAR --- */
    .navbar {
        padding: 0.5rem;
    }

    .logo img {
        width: 55px;
    }

    .nav li {
        margin-right: 8px;
    }

    /* --- HERO SECTION --- */
    .picture-hero-index {
        min-height: 80vh;
    }

    .hero h1 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .hero p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .hero .btn-cta {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    /* --- MATERI SCROLL CARDS --- */
    .scroll-container {
        padding: 2rem 0.5rem;
    }

    .card {
        width: 280px;
        min-width: 280px;
    }

    .card img {
        height: 200px;
    }

    .card-title {
        font-size: 1rem;
    }

    /* --- CALCULATOR (Super Compact Mode) --- */
    .container-calculator {
        padding: 15px 10px;
    }

    h1 {
        font-size: 1.2rem;
    }

    .box {
        padding: 1rem;
        min-height: 100px;
    }

    .btn-group {
        gap: 3px;
        margin: 1rem 0;
    }

    button {
        padding: 12px 2px;
        font-size: 0.75rem;
        border-radius: 6px;
    }

    /* --- TEAM MEMBERS --- */
    .card-anggota {
        padding: 1rem;
    }

    .card-anggota img {
        width: 90px;
        height: 90px;
    }

    .nama {
        font-size: 1.2rem;
    }

    /* --- TABEL --- */
    .table-wrapper {
        margin-top: 10px;
    }

    .table1 th,
    .table1 td,
    .custom-table th,
    .custom-table td {
        font-size: 0.7rem;
        padding: 8px 5px !important;
    }

    /* --- QUIZ --- */
    .soal-card {
        padding: 15px 10px;
    }

    .btn-ctaa {
        padding: 10px 25px;
        font-size: 1rem;
    }
}

/* =========================================
      15. SPECIFIC MEDIA QUERY: STANDARD MODERN PHONES
      (Samsung A Series, Xiaomi Redmi, Oppo, iPhone 11-15 Pro/Max)
      Viewport Range: 376px - 480px
      ========================================= */
@media screen and (min-width: 376px) and (max-width: 480px) {

    /* --- NAVBAR: LEBIH LEGA --- */
    .navbar {
        padding: 0.8rem 1rem;
    }

    .logo img {
        width: 70px;
    }

    .nav a {
        font-size: 0.85rem;
    }

    /* --- HERO: FONT LEBIH BESAR & TEGAS --- */
    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 0.95rem;
        padding: 0 10px;
    }

    /* --- SCROLL CARDS: MEMANFAATKAN LEBAR LAYAR --- */
    .scroll-container {
        padding: 2.5rem 1rem;
    }

    .card {
        width: 340px;
        min-width: 320px;
    }

    .card img {
        height: 280px;
    }

    /* --- CALCULATOR: FINGER FRIENDLY --- */
    .container-calculator {
        padding: 20px;
    }

    .btn-group {
        gap: 10px;
    }

    button {
        padding: 15px 0;
        font-size: 0.9rem;
    }

    /* --- TEAM MEMBERS --- */
    .anggota {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }

    .card-anggota {
        padding: 2rem;
    }

    /* --- MATERI & TABEL --- */
    .materi {
        font-size: 1rem;
    }

    .table-wrapper {
        margin: 20px 0;
    }

    .table1 th,
    .table1 td,
    .custom-table th,
    .custom-table td {
        padding: 12px 15px !important;
        font-size: 0.85rem;
    }

    /* --- QUIZ --- */
    .pilihan-ganda label {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
}
