/* css/style.css */
:root {
    --primary: #2c5aa0;
    --primary-light: #3a6bc0;
    --secondary: #e9c46a;
    --dark: #2a2d34;
    --light: #f8f9fa;
    --gray: #6c757d;
    --success: #28a745;
    --border-radius: 8px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

 /* Header */
        header {
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            color: white;
            padding: 1.5rem 0;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: var(--shadow);
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .logo i {
            font-size: 1.8rem;
        }

        .logo h1 {
            font-size: 1.5rem;
            font-weight: 600;
        }

        nav ul {
            display: flex;
            list-style: none;
            gap: 1.5rem;
        }

        nav a {
            color: white;
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
            padding: 0.5rem 0;
            position: relative;
        }

        nav a:hover {
            color: var(--secondary);
        }

        nav a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--secondary);
            transition: var(--transition);
        }

        nav a:hover::after {
            width: 100%;
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
        }

        /* Hero Section */
        .hero {
            background: DarkSlateBlue; 
                        
            background-size: cover;
            background-position: center;
            color: white;
            padding: 5rem 0;
            text-align: center;
        }

        .hero h2 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            font-weight: 700;
        }

        .hero p {
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto 2rem;
        }

        .search-box {
            max-width: 600px;
            margin: 0 auto;
            position: relative;
        }

        .search-box input {
            width: 100%;
            padding: 1rem 1.5rem;
            border-radius: 50px;
            border: none;
            font-size: 1rem;
            box-shadow: var(--shadow);
        }

        .search-box button {
            position: absolute;
            right: 10px;
            top: 50%;
            transform: translateY(-50%);
            background: var(--primary);
            color: white;
            border: none;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            cursor: pointer;
            transition: var(--transition);
        }

        .search-box button:hover {
            background: var(--primary-light);
        }

        /* Filters */
        .filters {
            background-color: white;
            padding: 1.5rem 0;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }

        .filter-container {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            align-items: center;
            justify-content: space-between;
        }

        .filter-group {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .filter-select {
            padding: 0.7rem 1rem;
            border-radius: var(--border-radius);
            border: 1px solid #ddd;
            background-color: white;
            font-family: 'Poppins', sans-serif;
            min-width: 150px;
        }

        .view-toggle {
            display: flex;
            gap: 0.5rem;
        }

        .view-toggle button {
            background: white;
            border: 1px solid #ddd;
            padding: 0.5rem 0.8rem;
            border-radius: var(--border-radius);
            cursor: pointer;
            transition: var(--transition);
        }

        .view-toggle button.active {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }

        /* Main Content */
        .main-content {
            padding: 3rem 0;
        }

        .content-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
        }

        .content-header h2 {
            font-size: 1.8rem;
            font-weight: 600;
        }

        .results-count {
            color: var(--gray);
        }

        /* Bait Grid */
        .bait-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 1.5rem;
        }

        .bait-card {
            background: white;
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
        }

        .bait-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
        }

        .bait-header {
            background: var(--primary);
            color: white;
            padding: 1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .bait-number {
            background: var(--secondary);
            color: var(--dark);
            padding: 0.3rem 0.7rem;
            border-radius: 20px;
            font-weight: 600;
            font-size: 0.9rem;
        }

        .bait-title {
            font-weight: 600;
            font-size: 1.1rem;
        }

        .bait-content {
            padding: 1.5rem;
        }

        .bait-arabic {
            font-family: 'Amiri', serif;
            font-size: 1.5rem;
            text-align: right;
            margin-bottom: 1rem;
            line-height: 1.8;
        }

        .bait-latin {
            font-style: italic;
            margin-bottom: 1rem;
            color: var(--gray);
        }

        .bait-translation {
            margin-bottom: 1rem;
            border-left: 3px solid var(--primary-light);
            padding-left: 1rem;
        }

        .bait-actions {
            display: flex;
            justify-content: space-between;
            margin-top: 1.5rem;
            padding-top: 1rem;
            border-top: 1px solid #eee;
        }

        .btn {
            padding: 0.5rem 1rem;
            border-radius: var(--border-radius);
            border: none;
            font-family: 'Poppins', sans-serif;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .btn-primary {
            background: var(--primary);
            color: white;
        }

        .btn-primary:hover {
            background: var(--primary-light);
        }

        .btn-outline {
            background: transparent;
            border: 1px solid var(--primary);
            color: var(--primary);
        }

        .btn-outline:hover {
            background: var(--primary);
            color: white;
        }

        /* Bait List View */
        .bait-list .bait-card {
            display: flex;
            flex-direction: row;
        }

        .bait-list .bait-header {
            flex: 0 0 200px;
            flex-direction: column;
            justify-content: center;
            align-items: flex-start;
        }

        .bait-list .bait-content {
            flex: 1;
        }

        /* Detail Modal */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            z-index: 1000;
            overflow-y: auto;
            padding: 2rem 0;
        }

        .modal-content {
            background: white;
            width: 90%;
            max-width: 800px;
            margin: 0 auto;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            position: relative;
        }

        .modal-header {
            background: var(--primary);
            color: white;
            padding: 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-radius: var(--border-radius) var(--border-radius) 0 0;
        }

        .modal-close {
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
        }

        .modal-body {
            padding: 2rem;
        }

        .detail-section {
            margin-bottom: 2rem;
        }

        .detail-section h3 {
            font-size: 1.3rem;
            margin-bottom: 1rem;
            color: var(--primary);
            border-bottom: 2px solid var(--secondary);
            padding-bottom: 0.5rem;
        }

        .audio-player {
            width: 100%;
            margin: 1rem 0;
        }

        .tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-top: 1rem;
        }

        .tag {
            background: #e9ecef;
            padding: 0.3rem 0.7rem;
            border-radius: 20px;
            font-size: 0.8rem;
            color: var(--gray);
        }

        /* Error Message */
        .error-message {
            background: #f8d7da;
            color: #721c24;
            padding: 1rem;
            border-radius: var(--border-radius);
            margin: 1rem 0;
            border: 1px solid #f5c6cb;
        }

        .error-message a {
            color: #721c24;
            font-weight: bold;
            text-decoration: underline;
        }

        /* Loading State */
        .loading {
            text-align: center;
            padding: 2rem;
            color: var(--gray);
        }

        .loading i {
            font-size: 2rem;
            margin-bottom: 1rem;
        }

        /* No Results */
        .no-results {
            text-align: center;
            padding: 3rem;
            color: var(--gray);
        }

        .no-results i {
            font-size: 3rem;
            margin-bottom: 1rem;
            opacity: 0.5;
        }

        /* Setup Prompt */
        .setup-prompt {
            background: #d1ecf1;
            color: #0c5460;
            padding: 1.5rem;
            border-radius: var(--border-radius);
            margin: 2rem 0;
            text-align: center;
            border: 1px solid #bee5eb;
        }

        .setup-prompt a {
            display: inline-block;
            background: var(--primary);
            color: white;
            padding: 0.7rem 1.5rem;
            border-radius: var(--border-radius);
            text-decoration: none;
            margin-top: 1rem;
            transition: var(--transition);
        }

        .setup-prompt a:hover {
            background: var(--primary-light);
        }

        /* Footer */
        footer {
            background: var(--dark);
            color: white;
            padding: 3rem 0 1.5rem;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .footer-section h3 {
            font-size: 1.2rem;
            margin-bottom: 1.5rem;
            position: relative;
            padding-bottom: 0.5rem;
        }

        .footer-section h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 2px;
            background: var(--secondary);
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 0.8rem;
        }

        .footer-links a {
            color: #ddd;
            text-decoration: none;
            transition: var(--transition);
        }

        .footer-links a:hover {
            color: var(--secondary);
            padding-left: 5px;
        }

        .social-links {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }

        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            color: white;
            transition: var(--transition);
        }

        .social-links a:hover {
            background: var(--primary);
            transform: translateY(-3px);
        }

        .copyright {
            text-align: center;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: #aaa;
            font-size: 0.9rem;
        }

        /* Responsive Design */
        @media (max-width: 992px) {
            .bait-grid {
                grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            }
        }

        @media (max-width: 768px) {
            .header-content {
                flex-direction: column;
                gap: 1rem;
            }

            nav ul {
                flex-direction: column;
                text-align: center;
                gap: 1rem;
                display: none;
            }

            nav ul.show {
                display: flex;
            }

            .mobile-menu-btn {
                display: block;
            }

            .filter-container {
                flex-direction: column;
                align-items: flex-start;
            }

            .bait-list .bait-card {
                flex-direction: column;
            }

            .bait-list .bait-header {
                flex: 0 0 auto;
            }

            .hero h2 {
                font-size: 2rem;
            }

            .hero p {
                font-size: 1rem;
            }
        }

        @media (max-width: 576px) {
            .bait-grid {
                grid-template-columns: 1fr;
            }

            .hero {
                padding: 3rem 0;
            }

            .modal-body {
                padding: 1.5rem;
            }
        }
        
        
        
 /* === BREADCRUMB YG BENER === */
.breadcrumb-real {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    font-size: 0.9rem;
}

.breadcrumb-real a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb-real a:hover {
    color: white;
    text-decoration: underline;
}

.breadcrumb-real span {
    color: white;
    font-weight: 600;
}

/* === NAVIGATION BAR YG CAKEP === */
.bait-nav-bar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid #f0f0f0;
    padding: 1.2rem 0;
    position: sticky;
    top: 80px;
    z-index: 999;
    box-shadow: 0 4px 25px rgba(0,0,0,0.1);
}

.bait-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bait-nav-group {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.bait-nav-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.bait-nav-prev {
    background: white;
    color: #667eea;
    border-color: #667eea;
}

.bait-nav-next {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.bait-nav-home {
    background: var(--dark);
    color: white;
    border-color: var(--dark);
}

.bait-nav-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.bait-nav-info {
    text-align: center;
    padding: 0 2rem;
}

.bait-nav-title {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.3rem;
    font-family: 'Amiri', serif;
}

.bait-nav-subtitle {
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 0.3rem;
}

/* === RESPONSIVE FIX === */
@media (max-width: 768px) {
    .bait-nav-container {
        flex-direction: column;
        gap: 1.2rem;
    }
    
    .bait-nav-group {
        order: 2;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .bait-nav-info {
        order: 1;
        padding: 0;
    }
    
    .bait-nav-btn {
        padding: 0.7rem 1.4rem;
        font-size: 0.9rem;
    }
}


/* === ENHANCED CONTENT STYLING === */
.bait-section {
    padding: 2.5rem;
    border-bottom: 1px solid #eef2f7;
    position: relative;
}

.bait-section:last-child {
    border-bottom: none;
}

.bait-section h2 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.bait-section h2 i {
    color: var(--secondary);
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, var(--secondary), #e9b44a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

/* Arabic Text Styling */
.bait-arabic-enhanced {
    font-family: 'Amiri', serif;
    font-size: 2.2rem;
    line-height: 1.8;
    text-align: right;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2.5rem;
    border-radius: 15px;
    border-right: 5px solid var(--secondary);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 1.5rem;
}

/* Latin Text Styling */
.bait-latin-enhanced {
    font-style: italic;
    font-size: 1.3rem;
    color: #2c3e50;
    padding: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    border-left: 5px solid var(--primary);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Translation Styling */
.bait-translation-box {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid #e9ecef;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    line-height: 1.7;
    font-size: 1.1rem;
    color: #2c3e50;
}

/* Modern Syarah Box */
.bait-syarah-box {
    background: linear-gradient(135deg, #fff9f0 0%, #fff3e0 100%);
    padding: 2.5rem;
    border-radius: 15px;
    border-left: 5px solid #e9c46a;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    line-height: 1.7;
}

.bait-syarah-box p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #5a4a2a;
}

/* Key Points Styling */
.bait-keypoints {
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f3ff 100%);
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid #2c5aa0;
}

.keypoint-item {
    background: white;
    padding: 1.2rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-left: 4px solid var(--primary);
}

.keypoint-item:last-child {
    margin-bottom: 0;
}

.keypoint-item i {
    color: var(--primary);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* Vocabulary Styling */
.bait-vocabulary {
    background: linear-gradient(135deg, #f0fff4 0%, #e6ffe6 100%);
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid #28a745;
}

.vocab-item {
    background: white;
    padding: 1.2rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    border-left: 4px solid #28a745;
}

.vocab-term {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.vocab-meaning {
    color: #2c3e50;
    line-height: 1.5;
}

/* Tags Styling */
.bait-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
}

.bait-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    transition: var(--transition);
}

.bait-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Audio Player Styling */
.audio-player {
    width: 100%;
    height: 50px;
    border-radius: 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.audio-player::-webkit-media-controls-panel {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.audio-player::-webkit-media-controls-play-button {
    background-color: white;
    border-radius: 50%;
}

/* === RESPONSIVE CONTENT === */
@media (max-width: 768px) {
    .bait-section {
        padding: 1.5rem;
    }
    
    .bait-arabic-enhanced {
        font-size: 1.8rem;
        padding: 1.5rem;
    }
    
    .bait-latin-enhanced {
        font-size: 1.1rem;
        padding: 1.5rem;
    }
    
    .bait-syarah-box,
    .bait-keypoints,
    .bait-vocabulary {
        padding: 1.5rem;
    }
    
    .keypoint-item,
    .vocab-item {
        padding: 1rem;
    }
}


/* === JUDUL BAIT YG DIAKUI === */
.bait-title-container {
    text-align: center;
    padding: 3rem 0 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.bait-title-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.bait-main-title {
    font-family: 'Amiri', serif;
    font-size: 2.8rem;
    color: var(--primary);
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: center;
}

.bait-subtitle {
    font-size: 1.4rem;
    color: var(--gray);
    font-weight: 600;
    background: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}


/* === NOMOR BAIT YG DIAKUI === */
.bait-number-super {
    background: linear-gradient(135deg, var(--secondary), #e9b44a);
    color: var(--dark);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.3rem;
    display: inline-block;
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    border: 3px solid white;
    position: relative;
    z-index: 2;
}

.bait-number-super::before {
    content: "";
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50px;
    z-index: -1;
    opacity: 0.3;
}

/* === UPDATE JUDUL CONTAINER === */
.bait-title-container {
    text-align: center;
    padding: 3rem 0 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.bait-title-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}


/* === CONTOH APLIKATIF STYLING - VERSI SANTRI === */
.bait-contoh-box {
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f0fa 100%);
    padding: 2.5rem;
    border-radius: 15px;
    border-left: 5px solid #2c5aa0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin: 1.5rem 0;
}

.contoh-item {
    background: white;
    padding: 1.5rem;
    margin-bottom: 1.2rem;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    border-left: 4px solid #2c5aa0;
}

.contoh-judul {
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    border-bottom: 2px solid #e9c46a;
    padding-bottom: 0.3rem;
}

/* INI NIH YG BANDEL - SEKARANG PAKE SPECIFIC SELECTOR */
.bait-contoh-box .contoh-item .contoh-arabic {
    font-family: 'Amiri', serif !important;
    font-size: 2.2rem !important;
    text-align: right !important;
    margin: 1rem 0 !important;
    color: #1e3c72 !important;
    line-height: 2 !important;
    font-weight: bold !important;
    display: block !important;
}

.contoh-latin {
    font-style: italic;
    color: #4a5568;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.contoh-terjemah {
    color: #2d3748;
    line-height: 1.6;
    padding-left: 1rem;
    border-left: 3px solid #e9c46a;
}

.contoh-isi {
    line-height: 1.6;
    color: #2d3748;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .bait-contoh-box .contoh-item .contoh-arabic {
        font-size: 1.8rem !important;
        line-height: 1.9 !important;
    }
}

@media (max-width: 480px) {
    .bait-contoh-box .contoh-item .contoh-arabic {
        font-size: 1.5rem !important;
        line-height: 1.8 !important;
    }
}


.contoh-penjelasan {
    color: #6c757d;
    font-style: italic;
    margin-top: 0.5rem;
    font-size: 1rem;
}


/* === PAGINATION STYLING - LEVEL PREMIUM === */
.pagination {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.pagination-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.pagination-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
    border: 2px solid transparent;
}

.pagination-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.4);
    border-color: rgba(255,255,255,0.3);
}

.pagination-info {
    background: white;
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 2px solid var(--primary-light);
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.page-number {
    background: white;
    color: var(--primary);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-number:hover {
    background: var(--primary-light);
    color: white;
    transform: translateY(-2px);
}

.page-number.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.4);
}

/* Responsive Pagination */
@media (max-width: 768px) {
    .pagination-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .pagination-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .pagination-info {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .page-number {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}


/* SOLUSI SIMPLE - Kasih spacer div */
/* SOLUSI SIMPLE - Kasih spacer div */
.premium-header {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.95) 100%);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Spacer div - PASTI AMAN */
.header-spacer {
    height: 15px; /* Tinggi sama dengan header */
    width: 100%;
}

.header-content-premium {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-premium {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo-icon-premium {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff6b6b, #ffa500);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.logo-text-premium {
    color: white;
}

.logo-title-premium {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, #ffffff, #e3f2fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-subtitle-premium {
    font-size: 0.8rem;
    opacity: 0.9;
    font-weight: 300;
}

.nav-premium {
    display: flex;
}

.nav-menu-premium {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link-premium {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link-premium:hover,
.nav-link-premium.active-premium {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.mobile-menu-btn-premium {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* PREMIUM FOOTER STYLES */
.premium-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-content-premium {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section-premium {
    display: flex;
    flex-direction: column;
}

.footer-title-premium {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #667eea;
}

.footer-description-premium {
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.footer-stats-premium {
    display: flex;
    gap: 2rem;
}

.footer-stat-premium {
    text-align: center;
}

.stat-number-premium {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    color: #ff6b6b;
}

.stat-label-premium {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-links-premium {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link-premium {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.footer-link-premium:hover {
    color: #667eea;
    transform: translateX(5px);
}

.footer-features-premium {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.feature-item-premium {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.feature-item-premium i {
    color: #4ecdc4;
}

.footer-bottom-premium {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.copyright-premium {
    text-align: center;
    opacity: 0.8;
}

.copyright-premium p {
    margin: 0.5rem 0;
}

.footer-quote-premium {
    font-style: italic;
    opacity: 0.7;
    margin-top: 1rem !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-premium {
        display: none;
    }
    
    .mobile-menu-btn-premium {
        display: block;
    }
    
    .footer-content-premium {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-stats-premium {
        justify-content: center;
    }
}

/* Body padding untuk fixed header */
body {
    padding-top: 80px;
}


/* PAGINATION YANG DIPERHATIKAN BANGET */
.pagination-container-epic {
    margin-top: 4rem;
    text-align: center;
}

.pagination-epic {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.pagination-btn-epic, .pagination-page-epic {
    padding: 0.75rem 1.25rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    text-decoration: none;
    color: #667eea;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    background: white;
}

.pagination-btn-epic:hover, .pagination-page-epic:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.pagination-page-epic.active-epic {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-color: #667eea;
    transform: scale(1.05);
}

.pagination-pages-epic {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.pagination-ellipsis {
    padding: 0.75rem 0.5rem;
    color: #6c757d;
    font-weight: bold;
}

/* Tombol khusus */
.pagination-btn-epic.first-page {
    background: linear-gradient(135deg, #ff6b6b, #ffa500);
    color: white;
    border-color: #ff6b6b;
}

.pagination-btn-epic.last-page {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    color: white;
    border-color: #4ecdc4;
}

.pagination-btn-epic.prev-page {
    background: #f8f9fa;
    border-color: #667eea;
}

.pagination-btn-epic.next-page {
    background: #f8f9fa;
    border-color: #667eea;
}

/* Info pagination */
.pagination-info-epic {
    background: rgba(102, 126, 234, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    color: #667eea;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-info-epic i {
    font-size: 1.1rem;
}

/* Responsive pagination */
@media (max-width: 768px) {
    .pagination-epic {
        gap: 0.25rem;
    }
    
    .pagination-btn-epic, .pagination-page-epic {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .pagination-btn-epic .text-hide-mobile {
        display: none;
    }
    
    .pagination-pages-epic {
        gap: 0.25rem;
    }
}

/* Animasi khusus untuk pagination */
@keyframes paginationBounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        transform: translate3d(0,-8px,0);
    }
    70% {
        transform: translate3d(0,-4px,0);
    }
    90% {
        transform: translate3d(0,-2px,0);
    }
}

.pagination-page-epic.active-epic {
    animation: paginationBounce 1s ease;
}


/* Untuk sembunyikan text di mobile */
.text-hide-mobile {
    display: inline;
}

@media (max-width: 768px) {
    .text-hide-mobile {
        display: none;
    }
}

/* Style untuk no results */
.no-results-epic {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.no-results-epic i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #dee2e6;
}

.features-grid-epic {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* FEATURE CARDS DI SECTION KHUSUS */
.feature-card-epic-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* WARNA BOX SESUAI KONTEKS WEBSITE */
.feature-card-epic-section:nth-child(1) {
    background: linear-gradient(135deg, #667eea, #764ba2); /* Biru/Ungu - Main Brand */
}
.feature-card-epic-section:nth-child(2) {
    background: linear-gradient(135deg, #4ecdc4, #44a08d); /* Hijau/Teal - Pendidikan */
}
.feature-card-epic-section:nth-child(3) {
    background: linear-gradient(135deg, #ff6b6b, #ff8e53); /* Orange/Merah - Terbukti */
}
.feature-card-epic-section:nth-child(4) {
    background: linear-gradient(135deg, #fdcb6e, #e17055); /* Kuning/Orange - Universal */
}
.feature-card-epic-section:nth-child(5) {
    background: linear-gradient(135deg, #a29bfe, #6c5ce7); /* Ungu - Teknologi */
}
.feature-card-epic-section:nth-child(6) {
    background: linear-gradient(135deg, #00b894, #00cec9); /* Hijau - Interaktif */
}

/* TEKS PUTIH BIAR KELIATAN */
.feature-card-epic-section h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.feature-card-epic-section p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1.1rem;
}

/* BACKGROUND SECTION PUTIH */
.bait-list-section-epic {
    background: #ffffff;
    padding: 120px 0 100px 0;
}

/* ICON */
.feature-icon-epic-section {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* GRID */
.features-grid-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* DESKTOP: 3 KOLOM */
@media (min-width: 1024px) {
    .features-grid-section {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* TABLET: 2 KOLOM */
@media (min-width: 768px) and (max-width: 1023px) {
    .features-grid-section {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* HOVER EFFECT */
.feature-card-epic-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}