/* ========================================
   RESET & ROOT VARIABLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --sidebar-width: 300px;
    --header-height: 64px;
    --radius: 12px;
    --radius-lg: 16px;

    /* Colors */
    --bg-body: #f7fafc;
    --bg-sidebar: #ffffff;
    --bg-card: #ffffff;
    --bg-hover: #f0f4f8;
    --bg-active: #ebf8ff;

    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --text-muted: #a0aec0;
    --text-white: #ffffff;

    --border-color: #e2e8f0;

    --primary: #2b6cb0;
    --primary-dark: #1a365d;
    --primary-light: #ebf8ff;
    --primary-gradient: linear-gradient(135deg, #2b6cb0, #1a365d);

    --success: #38a169;
    --success-light: #f0fff4;
    --danger: #e53e3e;
    --danger-light: #fff5f5;
    --warning: #d69e2e;
    --warning-light: #fffbeb;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.12);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   DARK MODE
   ======================================== */
body.dark-mode {
    --bg-body: #0d1117;
    --bg-sidebar: #161b22;
    --bg-card: #1c2333;
    --bg-hover: #252d3f;
    --bg-active: #1a2a3a;

    --text-primary: #e6edf3;
    --text-secondary: #8b949e;
    --text-muted: #484f58;

    --border-color: #30363d;

    --primary: #58a6ff;
    --primary-dark: #1f6feb;
    --primary-light: #1a2a3a;
    --primary-gradient: linear-gradient(135deg, #58a6ff, #1f6feb);

    --shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ========================================
   BASE
   ======================================== */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-body);
    color: var(--text-primary);
    display: flex;
    min-height: 100vh;
    transition: background 0.3s, color 0.3s;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ========================================
   SIDEBAR
   ======================================== */
.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    overflow-y: auto;
    flex-shrink: 0;
    transition: transform 0.3s ease, background 0.3s, border-color 0.3s;
    z-index: 200;
}

/* Brand */
.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 20px 16px;
    border-bottom: 1px solid var(--border-color);
}

.brand-icon {
    width: 44px;
    height: 44px;
    background: var(--primary-gradient);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.brand-text h2 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
}

.brand-text span {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Progress Ring */
.sidebar-progress {
    padding: 16px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.progress-ring {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 6px;
}

.progress-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-ring svg circle:last-child {
    transition: stroke-dashoffset 0.8s ease;
}

.progress-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}

.progress-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Navigasi Sidebar */
.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 12px 12px 20px;
}

.nav-section {
    margin-bottom: 16px;
}

.nav-section-title {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    padding: 8px 12px 6px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius);
    color: var(--text-secondary);
    transition: all var(--transition);
    cursor: pointer;
    position: relative;
}

.nav-item:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.nav-item.active {
    background: var(--bg-active);
    color: var(--primary);
    font-weight: 600;
}

.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 3px;
    background: var(--primary);
    border-radius: 0 4px 4px 0;
}

.nav-number {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    min-width: 28px;
    text-align: right;
}

.nav-item.active .nav-number {
    color: var(--primary);
}

.nav-title {
    flex: 1;
    font-size: 0.85rem;
    font-weight: 500;
}

.nav-status {
    font-size: 0.7rem;
}

.nav-status.done {
    color: var(--success);
}

.nav-status.done::before {
    content: '✅ ';
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 12px 16px 16px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 8px;
}

.btn-sidebar {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-sidebar:hover {
    background: var(--bg-hover);
    border-color: var(--primary);
    color: var(--primary);
}

/* ========================================
   MAIN CONTENT
   ======================================== */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* Topbar */
.topbar {
    height: var(--header-height);
    background: var(--bg-sidebar);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    flex-shrink: 0;
    transition: background 0.3s, border-color 0.3s;
    position: sticky;
    top: 0;
    z-index: 100;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--text-primary);
    cursor: pointer;
    padding: 6px;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.breadcrumb-item {
    cursor: default;
}

.breadcrumb-item.active {
    color: var(--text-primary);
    font-weight: 600;
}

.breadcrumb-separator {
    color: var(--text-muted);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.dosen-badge {
    font-size: 0.8rem;
    color: var(--text-secondary);
    background: var(--bg-hover);
    padding: 6px 14px;
    border-radius: 30px;
    font-weight: 500;
}

.dosen-badge i {
    margin-right: 6px;
}

.btn-notification {
    position: relative;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background 0.2s;
}

.btn-notification:hover {
    background: var(--bg-hover);
}

.notification-dot {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    background: var(--danger);
    border-radius: 50%;
    border: 2px solid var(--bg-sidebar);
}

/* Content Wrapper */
.content-wrapper {
    flex: 1;
    padding: 24px 32px 16px;
    overflow-y: auto;
}

/* Content Area */
.content-area {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px 40px 40px;
    box-shadow: var(--shadow);
    min-height: 500px;
    transition: background 0.3s, box-shadow 0.3s;
    animation: fadeIn 0.4s ease;
}

/* Placeholder */
.content-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    text-align: center;
    color: var(--text-secondary);
}

.placeholder-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-hover);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.content-placeholder h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.content-placeholder p {
    font-size: 1rem;
    max-width: 400px;
    margin-bottom: 16px;
}

.placeholder-features {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.placeholder-features span {
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
}

/* ========================================
   KONTEN MATERI (di dalam content-area)
   ======================================== */
.materi-content {
    animation: slideIn 0.35s ease;
}

.materi-content .pertemuan-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-color);
}

.materi-content .pertemuan-header h2 {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--text-primary);
}

.materi-content .pertemuan-header .meta {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 4px;
}

.materi-content .pertemuan-header .meta .badge-meta {
    background: var(--primary-light);
    color: var(--primary);
    padding: 2px 14px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
}

.materi-content .materi-body {
    line-height: 1.8;
    font-size: 0.98rem;
}

.materi-content .materi-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 24px;
    margin-bottom: 8px;
}

.materi-content .materi-body h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 16px;
    margin-bottom: 4px;
}

.materi-content .materi-body p {
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.materi-content .materi-body ul,
.materi-content .materi-body ol {
    padding-left: 24px;
    margin: 8px 0 14px;
    color: var(--text-secondary);
}

.materi-content .materi-body li {
    margin-bottom: 6px;
}

.materi-content .materi-body strong {
    color: var(--text-primary);
}

.materi-content .materi-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0;
    font-size: 0.9rem;
}

.materi-content .materi-body table th,
.materi-content .materi-body table td {
    border: 1px solid var(--border-color);
    padding: 10px 14px;
    text-align: left;
}

.materi-content .materi-body table th {
    background: var(--bg-hover);
    font-weight: 600;
    color: var(--text-primary);
}

.materi-content .materi-body table td {
    color: var(--text-secondary);
}

.materi-content .materi-body img {
    max-width: 100%;
    border-radius: var(--radius);
    margin: 12px 0;
}

.materi-content .materi-body .video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 14px 0;
    border-radius: var(--radius);
}

.materi-content .materi-body .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Box Styles */
.highlight-box {
    background: var(--primary-light);
    border-left: 5px solid var(--primary);
    padding: 16px 20px;
    border-radius: 4;
    margin: 16px 0;
    color: var(--text-secondary);
}

.highlight-box strong {
    color: var(--text-primary);
}

.warning-box {
    background: var(--danger-light);
    border-left: 5px solid var(--danger);
    padding: 16px 20px;
    border-radius: var(--radius);
    margin: 16px 0;
    color: var(--text-secondary);
}

.warning-box strong {
    color: var(--danger);
}

.success-box {
    background: var(--success-light);
    border-left: 5px solid var(--success);
    padding: 16px 20px;
    border-radius: var(--radius);
    margin: 16px 0;
    color: var(--text-secondary);
}

.success-box strong {
    color: var(--success);
}

.info-box {
    background: var(--warning-light);
    border-left: 5px solid var(--warning);
    padding: 16px 20px;
    border-radius: var(--radius);
    margin: 16px 0;
    color: var(--text-secondary);
}

.info-box strong {
    color: var(--warning);
}

/* ========================================
   KUIS
   ======================================== */
.quiz-container {
    background: var(--bg-body);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin: 20px 0;
    border: 2px solid var(--border-color);
}

.quiz-container .question {
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 1.05rem;
    color: var(--text-primary);
}

.quiz-container .option {
    display: block;
    width: 100%;
    text-align: left;
    margin: 6px 0;
    padding: 12px 18px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.quiz-container .option:hover {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--text-primary);
}

.quiz-container .option.correct {
    border-color: var(--success);
    background: var(--success-light);
    color: var(--success);
}

.quiz-container .option.wrong {
    border-color: var(--danger);
    background: var(--danger-light);
    color: var(--danger);
}

.quiz-container .feedback {
    margin-top: 12px;
    font-weight: 600;
    padding: 12px 16px;
    border-radius: var(--radius);
    display: none;
}

.quiz-container .feedback.show {
    display: block;
}

.quiz-container .feedback.correct-fb {
    background: var(--success-light);
    color: var(--success);
}

.quiz-container .feedback.wrong-fb {
    background: var(--danger-light);
    color: var(--danger);
}

/* ========================================
   TOMBOL
   ======================================== */
.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-gradient);
    color: white;
    padding: 10px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(43, 108, 176, 0.3);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: white;
    padding: 10px 24px;
    border-radius: 30px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

/* ========================================
   NAVIGASI BAWAH (Previous / Next)
   ======================================== */
.content-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    background: transparent;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition);
}

.nav-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.nav-btn:disabled:hover {
    border-color: var(--border-color);
    color: var(--text-secondary);
    background: transparent;
}

.nav-counter {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ========================================
   MAIN FOOTER
   ======================================== */
.main-footer {
    padding: 12px 32px;
    background: var(--bg-sidebar);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.main-footer .footer-links {
    display: flex;
    gap: 16px;
}

.main-footer .footer-links a {
    color: var(--text-secondary);
    transition: color 0.2s;
}

.main-footer .footer-links a:hover {
    color: var(--primary);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
        position: fixed;
        box-shadow: var(--shadow-xl);
        width: 280px;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .hamburger {
        display: block;
    }

    .main-content {
        margin-left: 0;
    }

    .content-wrapper {
        padding: 16px;
    }

    .content-area {
        padding: 20px 20px 28px;
    }

    .materi-content .pertemuan-header h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .topbar {
        padding: 0 14px;
    }

    .dosen-badge {
        display: none;
    }

    .breadcrumb-item:not(.active) {
        display: none;
    }

    .breadcrumb-separator {
        display: none;
    }

    .content-area {
        padding: 16px 16px 24px;
        min-height: 350px;
    }

    .materi-content .materi-body {
        font-size: 0.92rem;
    }

    .materi-content .materi-body table {
        font-size: 0.75rem;
    }

    .materi-content .materi-body table th,
    .materi-content .materi-body table td {
        padding: 6px 8px;
    }

    .content-navigation {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .nav-btn {
        padding: 8px 16px;
        font-size: 0.75rem;
    }

    .main-footer {
        padding: 12px 16px;
        flex-direction: column;
        text-align: center;
    }

    .sidebar-progress {
        padding: 12px 16px;
    }

    .progress-ring {
        width: 80px;
        height: 80px;
    }

    .placeholder-features {
        gap: 12px;
    }

    .placeholder-features span {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .content-area {
        padding: 12px 12px 20px;
        border-radius: var(--radius);
    }

    .materi-content .pertemuan-header h2 {
        font-size: 1.1rem;
    }

    .materi-content .materi-body h3 {
        font-size: 1rem;
    }

    .quiz-container {
        padding: 14px 16px;
    }

    .quiz-container .option {
        padding: 10px 14px;
        font-size: 0.85rem;
    }

    .btn-download {
        padding: 8px 20px;
        font-size: 0.8rem;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   OVERLAY UNTUK MOBILE
   ======================================== */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 150;
}

.sidebar-overlay.active {
    display: block;
}

/* ========================================
   PROLOG - PROFESSIONAL & ELEGANT STYLE
   ======================================== */

.prolog-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 50px 40px 40px;
    background: var(--bg-card);
    border-radius: 28px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.07);
    position: relative;
    overflow: hidden;
}

/* ======================================== */
/* HEADER DECORATION                        */
/* ======================================== */
.prolog-header-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 35px;
}

.prolog-header-line {
    flex: 1;
    height: 2px;
    max-width: 80px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    border-radius: 2px;
}

.prolog-icon-circle {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 0 0 6px var(--primary-light), 0 8px 24px rgba(43, 108, 176, 0.25);
    animation: prologPulse 2.5s ease-in-out infinite;
}

@keyframes prologPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 8px var(--primary-light), 0 8px 28px rgba(43, 108, 176, 0.3);
    }
}

/* ======================================== */
/* HERO IMAGE                               */
/* ======================================== */
.prolog-hero-section {
    margin-bottom: 32px;
}

.prolog-hero-wrapper {
    position: relative;
    max-width: 580px;
    margin: 0 auto;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}

.prolog-hero-wrapper:hover {
    transform: translateY(-4px);
}

.prolog-hero-image {
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: cover;
    display: block;
}

.prolog-hero-overlay {
    position: absolute;
    top: 16px;
    right: 16px;
}

.prolog-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(43, 108, 176, 0.92);
    backdrop-filter: blur(12px);
    color: #fff;
    padding: 6px 16px 6px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.prolog-hero-badge i {
    font-size: 0.7rem;
}

/* ======================================== */
/* TITLE SECTION                            */
/* ======================================== */
.prolog-title-section {
    text-align: center;
    margin-bottom: 25px;
}

.prolog-greeting {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 6px;
}

.prolog-greeting-icon {
    font-size: 1.3rem;
}

.prolog-greeting-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.prolog-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.15;
    margin-bottom: 10px;
}

.prolog-highlight {
    background: linear-gradient(135deg, var(--primary), #63b3ed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.prolog-university-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-primary);
    border-radius: 50px;
    border: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
    justify-content: center;
}

.badge-icon {
    font-size: 1rem;
}

.badge-divider {
    color: var(--border-color);
    font-weight: 300;
}

.university-name {
    font-weight: 600;
    color: var(--primary);
}

/* ======================================== */
/* MODERN DIVIDER                           */
/* ======================================== */
.prolog-divider-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 25px 0 30px;
}

.divider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    transition: all 0.3s ease;
}

.divider-dot:nth-child(2) {
    width: 32px;
    height: 3px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
}

/* ======================================== */
/* SALAM CARD                               */
/* ======================================== */
.prolog-salam-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 24px;
    background: var(--bg-primary);
    border-radius: 14px;
    border-left: 4px solid var(--primary);
    margin-bottom: 28px;
}

.salam-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.salam-main {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 2px 0;
}

.salam-sub {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ======================================== */
/* DESCRIPTION                              */
/* ======================================== */
.prolog-description {
    margin-bottom: 28px;
}

.description-text {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.text-highlight-number {
    display: inline-block;
    padding: 2px 12px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 6px;
    font-weight: 700;
}

/* ======================================== */
/* CARDS                                    */
/* ======================================== */
.prolog-card {
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 24px;
}

.prolog-cpl-card {
    background: linear-gradient(135deg, #f0f7ff, #e3edfa);
}

body.dark-mode .prolog-cpl-card {
    background: linear-gradient(135deg, #1a2a3a, #1e3040);
}

.prolog-rules-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.card-icon {
    font-size: 1.4rem;
}

.card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.card-body {
    padding: 0;
}

/* ======================================== */
/* CPL LIST                                 */
/* ======================================== */
.cpl-list-modern {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cpl-list-modern li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.5;
}

.cpl-check {
    color: #38a169;
    font-size: 1.05rem;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ======================================== */
/* RULES GRID                               */
/* ======================================== */
.rules-grid-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.rule-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.25s ease;
}

.rule-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.rule-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.rule-content {
    display: flex;
    flex-direction: column;
}

.rule-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-primary);
}

.rule-value {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

/* ======================================== */
/* QUOTE CARD                               */
/* ======================================== */
.prolog-quote-card {
    padding: 28px 32px;
    background: var(--bg-primary);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.quote-icon {
    color: var(--primary);
    font-size: 1.6rem;
    opacity: 0.3;
    margin-bottom: 12px;
}

.quote-text {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-primary);
    margin: 0 0 20px 0;
    padding: 0;
}

.quote-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.author-avatar-modern {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.author-detail {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.author-role {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* ======================================== */
/* ACTION BUTTON                            */
/* ======================================== */
.prolog-action-section {
    text-align: center;
    padding-top: 8px;
}

.btn-start-modern {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    overflow: hidden;
    border-radius: 60px;
}

.btn-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 44px;
    background: linear-gradient(135deg, var(--primary), #4299e1);
    color: #fff;
    border-radius: 60px;
    font-size: 1.05rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 8px 28px rgba(43, 108, 176, 0.3);
    position: relative;
    z-index: 2;
}

.btn-start-modern:hover .btn-inner {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(43, 108, 176, 0.4);
}

.btn-start-modern:active .btn-inner {
    transform: translateY(0);
}

.btn-icon-left,
.btn-icon-right {
    font-size: 0.9rem;
}

.btn-text {
    letter-spacing: 0.5px;
}

.btn-ripple {
    position: absolute;
    inset: 0;
    border-radius: 60px;
    background: rgba(255, 255, 255, 0.15);
    transform: scale(0);
    transition: transform 0.6s ease;
    z-index: 1;
}

.btn-start-modern:hover .btn-ripple {
    transform: scale(1);
}

.prolog-hint-modern {
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.prolog-hint-modern i {
    margin-right: 6px;
}

/* ======================================== */
/* FOOTER DECORATION                        */
/* ======================================== */
.prolog-footer-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.footer-line {
    flex: 1;
    height: 1px;
    max-width: 60px;
    background: var(--border-color);
}

.footer-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-primary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    border: 1px solid var(--border-color);
}

/* ======================================== */
/* RESPONSIVE                               */
/* ======================================== */
@media (max-width: 992px) {
    .prolog-container {
        padding: 35px 25px 30px;
    }
}

@media (max-width: 768px) {
    .prolog-container {
        padding: 25px 16px 20px;
        border-radius: 18px;
    }

    .prolog-title {
        font-size: 2rem;
    }

    .prolog-header-decoration {
        gap: 12px;
    }

    .prolog-header-line {
        max-width: 40px;
    }

    .prolog-icon-circle {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }

    .prolog-hero-wrapper {
        max-width: 100%;
    }

    .prolog-hero-image {
        max-height: 250px;
    }

    .prolog-university-badge {
        font-size: 0.75rem;
        padding: 8px 14px;
        gap: 6px;
    }

    .rules-grid-modern {
        grid-template-columns: 1fr;
    }

    .rule-item {
        padding: 12px 14px;
    }

    .prolog-salam-card {
        padding: 16px 18px;
        gap: 14px;
    }

    .prolog-card {
        padding: 18px 16px;
    }

    .prolog-quote-card {
        padding: 20px;
    }

    .btn-inner {
        padding: 14px 30px;
        font-size: 0.95rem;
        gap: 10px;
    }

    .prolog-footer-decoration {
        gap: 12px;
        margin-top: 30px;
    }

    .footer-line {
        max-width: 30px;
    }

    .cpl-list-modern li {
        font-size: 0.88rem;
    }
}

@media (max-width: 480px) {
    .prolog-title {
        font-size: 1.5rem;
    }

    .prolog-hero-image {
        max-height: 180px;
    }

    .prolog-hero-badge {
        font-size: 0.65rem;
        padding: 4px 12px 4px 10px;
    }

    .prolog-hero-overlay {
        top: 10px;
        right: 10px;
    }

    .salam-main {
        font-size: 0.9rem;
    }

    .salam-sub {
        font-size: 0.82rem;
    }

    .quote-text {
        font-size: 0.9rem;
    }

    .btn-inner {
        padding: 12px 24px;
        font-size: 0.88rem;
        gap: 8px;
    }
}

