.populer-wrapper {
    background: #f0f4ff;
    padding: 80px 0;
}

.populer-heading {
    font-size: 2.2rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 10px;
}

.populer-subtitle {
    font-size: 1rem;
    color: #64748b;
}

.populer-card {
    background: white;
    border-radius: 24px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.populer-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.populer-icon {
    font-size: 60px;
    width: 100%;
    padding: 30px 28px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.populer-perda .populer-icon { background: linear-gradient(135deg, #dc2626, #f97316); }
.populer-perbup .populer-icon { background: linear-gradient(135deg, #1d4ed8, #0ea5e9); }
.populer-sk .populer-icon { background: linear-gradient(135deg, #059669, #34d399); }

.populer-title {
    font-size: 1.6rem !important;
    font-weight: 900 !important;
    color: white !important;
    letter-spacing: 3px !important;
    text-align: center !important;
    padding: 16px 28px !important;
    margin: 0 !important;
}

.populer-perda .populer-title { background: linear-gradient(135deg, #dc2626, #f97316); }
.populer-perbup .populer-title { background: linear-gradient(135deg, #1d4ed8, #0ea5e9); }
.populer-sk .populer-title { background: linear-gradient(135deg, #059669, #34d399); }

.populer-content {
    padding: 20px 20px 24px;
}

.populer-text {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 14px;
    margin-bottom: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.populer-text:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
    transform: translateX(4px);
}

.populer-text a {
    color: #0f172a;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    display: block;
    margin-bottom: 4px;
}

.populer-text a:hover { color: #2563eb; }

.populer-text small {
    color: #2563eb;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
}

.populer-text small i.fa-file-pdf { font-size: 16px !important; color: #ef4444 !important; }
.populer-text small i.fa-download { font-size: 14px !important; color: #2563eb !important; }

.populer-subtitle {
    font-size: 1.2rem !important;
    color: #475569 !important;
    font-weight: 600 !important;
}

/* Animated gradient background untuk header section */
.populer-wrapper {
    background: linear-gradient(270deg, #1e3a8a, #1d4ed8, #0ea5e9, #059669, #2563eb);
    background-size: 300% 300%;
    animation: gradientMove 8s ease infinite;
    padding: 80px 0;
}

@keyframes gradientMove {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.populer-heading {
    font-size: 2.4rem !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3) !important;
    margin-bottom: 12px !important;
}

.populer-subtitle {
    font-size: 1.15rem !important;
    color: rgba(255,255,255,0.85) !important;
    font-weight: 600 !important;
}

/* RESPONSIVE */
@media(max-width:768px){
    .populer-heading { font-size: 1.5rem !important; }
    .populer-subtitle { font-size: 0.95rem !important; }
    .populer-card { margin-bottom: 20px; }
    .populer-text a { font-size: 0.85rem !important; }
}

/* FIX TABLET - 3 kolom selalu sejajar */
@media(max-width:992px){
    .row.g-4.justify-content-center > .col-lg-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    .populer-card {
        min-height: auto !important;
    }
    .populer-text a {
        font-size: 0.9rem !important;
    }
}

@media(min-width:600px) and (max-width:992px){
    .row.g-4.justify-content-center > .col-lg-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}
