/* ============================================================ */
/* HOMEPAGE REDESIGN - KasinoRanking.ai                         */
/* ============================================================ */

/* --- Container --- */
.hp-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* --- Common --- */
.hp-section-title {
    font-size: 32px; font-weight: 800; color: #fff; text-align: center;
    margin-bottom: 8px; display: flex; align-items: center; justify-content: center; gap: 10px;
}
.hp-section-sub { text-align: center; color: #aaa; font-size: 16px; margin-bottom: 48px; }
.hp-gold { color: #FFD700; }
.hp-disclaimer { font-size: 11px; color: #888; display: block; margin-top: 6px; }

/* --- Buttons --- */
.hp-btn-primary {
    display: inline-block; padding: 14px 32px; background: linear-gradient(135deg, #FFE44D, #FFD700, #C7A600);
    color: #1a1a1a; font-weight: 700; font-size: 15px; border-radius: 8px; text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s; border: none; cursor: pointer;
}
.hp-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,215,0,0.3); }
.hp-btn-outline {
    display: inline-block; padding: 14px 32px; background: transparent; color: #FFD700;
    font-weight: 600; font-size: 15px; border-radius: 8px; text-decoration: none;
    border: 2px solid #FFD700; transition: all 0.2s;
}
.hp-btn-outline:hover { background: rgba(255,215,0,0.1); }
.hp-btn-sm { padding: 10px 24px; font-size: 14px; }
.hp-btn-lg { padding: 18px 48px; font-size: 17px; }
.hp-btn-block { display: block; width: 100%; text-align: center; box-sizing: border-box; }

/* ============================================================ */
/* SECTION 1: HERO                                               */
/* ============================================================ */
.hp-hero {
    position: relative; overflow: hidden; padding: 80px 0 60px;
    background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 50%, #1a1a1a 100%);
}
.hp-hero-bg {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(255,215,0,0.05) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(47,86,171,0.08) 0%, transparent 50%);
}
.hp-hero-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; gap: 40px; position: relative; z-index: 1;
}
.hp-hero-text { flex: 1; min-width: 0; }
.hp-hero-visual { flex: 0 0 360px; display: flex; justify-content: center; }
.hp-hero-illustration { width: 100%; max-width: 360px; height: auto; }

.hp-eyebrow {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 600; color: #FFD700;
    background: rgba(255,215,0,0.1); padding: 6px 14px; border-radius: 20px;
    margin-bottom: 20px; border: 1px solid rgba(255,215,0,0.2);
}
.hp-hero-title { font-size: 48px; font-weight: 900; color: #fff; line-height: 1.1; margin-bottom: 16px; }
.hp-hero-sub { font-size: 18px; color: #ccc; line-height: 1.6; margin-bottom: 24px; max-width: 520px; }

.hp-trust-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hp-trust-badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; color: #ddd; background: rgba(255,255,255,0.06);
    padding: 6px 12px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.08);
}

.hp-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Floating animations */
@keyframes hpFloat1 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes hpFloat2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes hpFloat3 { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-10px) rotate(5deg); } }
.hp-float-1 { animation: hpFloat1 3s ease-in-out infinite; }
.hp-float-2 { animation: hpFloat2 4s ease-in-out infinite 0.5s; }
.hp-float-3 { animation: hpFloat3 3.5s ease-in-out infinite 1s; }

/* ============================================================ */
/* SECTION 2: STATS BAR                                          */
/* ============================================================ */
.hp-stats {
    background: linear-gradient(135deg, #1e1e1e, #252525);
    border-top: 1px solid rgba(255,215,0,0.15); border-bottom: 1px solid rgba(255,215,0,0.15);
    padding: 40px 0;
}
.hp-stats-inner {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center;
}
.hp-stat-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hp-stat-icon { height: 44px; display: flex; align-items: center; justify-content: center; }
.hp-stat-number { font-size: 36px; font-weight: 900; color: #FFD700; line-height: 1; }
.hp-stat-number.animate { animation: countUp 0.8s ease-out; }
@keyframes countUp { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
.hp-stat-label { font-size: 14px; color: #aaa; }

/* ============================================================ */
/* SECTION 3: TOP CASINOS                                        */
/* ============================================================ */
.hp-top-casinos { padding: 80px 0; background: #121212; }

.hp-casino-list { display: flex; flex-direction: column; gap: 16px; }
.hp-casino-card {
    display: grid; grid-template-columns: 60px 100px 1fr 1fr auto auto;
    align-items: center; gap: 16px; padding: 20px 24px;
    background: #1a1a1a; border-radius: 12px; border: 1px solid #2d2d2d;
    transition: transform 0.2s, box-shadow 0.2s; position: relative;
}
.hp-casino-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }

.hp-rank-1 { border-color: #FFD700; background: linear-gradient(135deg, #1a1a1a, #2a2520); }
.hp-rank-2 { border-color: #C0C0C0; }
.hp-rank-3 { border-color: #CD7F32; }

.hp-best-badge {
    position: absolute; top: -10px; right: 20px;
    background: linear-gradient(135deg, #FFE44D, #FFD700); color: #1a1a1a;
    padding: 4px 14px; border-radius: 4px; font-size: 11px; font-weight: 700;
}

.hp-casino-rank {
    font-size: 28px; font-weight: 900; color: #FFD700; text-align: center;
    width: 50px; height: 50px; display: flex; align-items: center; justify-content: center;
    background: rgba(255,215,0,0.08); border-radius: 10px;
}
.hp-rank-2 .hp-casino-rank { color: #C0C0C0; background: rgba(192,192,192,0.08); }
.hp-rank-3 .hp-casino-rank { color: #CD7F32; background: rgba(205,127,50,0.08); }

.hp-casino-logo { width: 100px; height: 50px; display: flex; align-items: center; justify-content: center; }
.hp-casino-logo img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }

.hp-casino-name { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.hp-casino-rating { display: flex; align-items: center; gap: 4px; }
.hp-casino-rating span { font-size: 14px; color: #FFD700; font-weight: 600; margin-left: 4px; }

.hp-casino-features { display: flex; flex-direction: column; gap: 4px; }
.hp-feature { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #ccc; }

.hp-casino-bonus { text-align: center; }
.hp-bonus-text { font-size: 14px; font-weight: 700; color: #FFD700; }

.hp-casino-actions { text-align: center; min-width: 130px; }

/* ============================================================ */
/* SECTION 4: WHY US                                             */
/* ============================================================ */
.hp-why-us { padding: 80px 0; background: linear-gradient(180deg, #0e0e0e, #1a1a1a); }
.hp-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.hp-why-card {
    text-align: center; padding: 40px 28px; background: #1e1e1e;
    border-radius: 16px; border: 1px solid #2d2d2d;
    transition: transform 0.3s, box-shadow 0.3s;
}
.hp-why-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.3); }
.hp-why-icon { margin-bottom: 20px; }
.hp-why-card h3 { font-size: 20px; color: #fff; margin-bottom: 12px; }
.hp-why-card p { font-size: 15px; color: #aaa; line-height: 1.6; }

/* ============================================================ */
/* SECTION 5: BONUSES                                            */
/* ============================================================ */
.hp-bonuses { padding: 80px 0; background: #121212; }
.hp-bonus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hp-bonus-card {
    background: linear-gradient(135deg, #1e1e1e, #252525); border-radius: 16px;
    padding: 32px 24px; text-align: center; border: 1px solid #2d2d2d;
    transition: transform 0.3s, box-shadow 0.3s;
}
.hp-bonus-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.3); }
.hp-bonus-badge {
    display: inline-block; background: rgba(255,215,0,0.15); color: #FFD700;
    padding: 4px 12px; border-radius: 4px; font-size: 11px; font-weight: 700;
    letter-spacing: 0.5px; margin-bottom: 12px;
}
.hp-bonus-casino { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.hp-bonus-amount { font-size: 22px; font-weight: 800; color: #FFD700; margin-bottom: 16px; }
.hp-bonus-meta { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.hp-bonus-meta span { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: #ccc; }

/* ============================================================ */
/* SECTION 6: GAME TYPES                                         */
/* ============================================================ */
.hp-game-types { padding: 80px 0; background: linear-gradient(180deg, #0e0e0e, #121212); }
.hp-games-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.hp-game-card {
    text-align: center; padding: 36px 20px; background: #1e1e1e;
    border-radius: 16px; border: 1px solid #2d2d2d; text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.hp-game-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.3); border-color: #FFD700; }
.hp-game-icon { margin-bottom: 16px; }
.hp-game-card h3 { font-size: 18px; color: #fff; margin-bottom: 8px; }
.hp-game-card p { font-size: 14px; color: #aaa; margin-bottom: 12px; line-height: 1.5; }
.hp-game-link { color: #FFD700; font-size: 14px; font-weight: 600; }

/* ============================================================ */
/* SECTION 7: STEPS                                              */
/* ============================================================ */
.hp-steps { padding: 80px 0; background: #1a1a1a; }
.hp-steps-grid {
    display: flex; align-items: flex-start; justify-content: center; gap: 0;
}
.hp-step {
    text-align: center; flex: 1; max-width: 220px; padding: 0 12px;
}
.hp-step-num {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, #FFE44D, #C7A600);
    color: #1a1a1a; font-size: 20px; font-weight: 800;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 12px;
}
.hp-step-icon { margin-bottom: 12px; }
.hp-step h3 { font-size: 16px; color: #fff; margin-bottom: 8px; }
.hp-step p { font-size: 13px; color: #aaa; line-height: 1.5; }
.hp-step-arrow { display: flex; align-items: center; padding-top: 40px; flex: 0 0 32px; }

/* ============================================================ */
/* SECTION 8: PAYMENTS                                           */
/* ============================================================ */
.hp-payments { padding: 80px 0; background: #121212; }
.hp-pay-grid {
    display: flex; justify-content: center; flex-wrap: wrap; gap: 24px;
}
.hp-pay-item {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    padding: 20px 28px; background: #1e1e1e; border-radius: 12px;
    border: 1px solid #2d2d2d; transition: transform 0.2s, border-color 0.2s;
    min-width: 110px;
}
.hp-pay-item:hover { transform: translateY(-3px); border-color: #FFD700; }
.hp-pay-item span { font-size: 13px; color: #ccc; font-weight: 500; }

/* ============================================================ */
/* SECTION 9: FAQ                                                */
/* ============================================================ */
.hp-faq { padding: 80px 0; background: linear-gradient(180deg, #0e0e0e, #1a1a1a); }
.hp-faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.hp-faq-item {
    background: #1e1e1e; border-radius: 12px; border: 1px solid #2d2d2d;
    overflow: hidden; transition: border-color 0.2s;
}
.hp-faq-item:hover { border-color: #3a3a3a; }
.hp-faq-item.active { border-color: #FFD700; }
.hp-faq-q {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    padding: 18px 24px; background: none; border: none; color: #fff;
    font-size: 16px; font-weight: 600; cursor: pointer; text-align: left;
}
.hp-faq-q:hover { color: #FFD700; }
.hp-faq-icon { transition: transform 0.3s; flex-shrink: 0; }
.hp-faq-item.active .hp-faq-icon { transform: rotate(180deg); }
.hp-faq-a {
    max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 24px;
}
.hp-faq-item.active .hp-faq-a { max-height: 300px; padding: 0 24px 20px; }
.hp-faq-a p { font-size: 15px; color: #aaa; line-height: 1.7; margin: 0; }

/* ============================================================ */
/* SECTION 10: CTA                                               */
/* ============================================================ */
.hp-cta {
    padding: 80px 0; text-align: center;
    background: linear-gradient(135deg, #1a1a1a, #1a1a1a);
    border-top: 1px solid rgba(255,215,0,0.15);
}
.hp-cta-title { font-size: 40px; font-weight: 900; color: #fff; margin-bottom: 12px; }
.hp-cta-sub { font-size: 18px; color: #ccc; margin-bottom: 32px; }

/* ============================================================ */
/* RESPONSIVE                                                    */
/* ============================================================ */

@media (max-width: 1024px) {
    .hp-casino-card {
        grid-template-columns: 50px 80px 1fr auto;
        grid-template-rows: auto auto;
    }
    .hp-casino-features { grid-column: 3 / -1; }
    .hp-casino-bonus { display: none; }
}

@media (max-width: 968px) {
    .hp-hero-inner { flex-direction: column; text-align: center; }
    .hp-hero-visual { flex: 0 0 auto; order: -1; }
    .hp-hero-illustration { max-width: 260px; }
    .hp-hero-title { font-size: 36px; }
    .hp-hero-sub { margin-left: auto; margin-right: auto; }
    .hp-trust-row { justify-content: center; }
    .hp-hero-cta { justify-content: center; }

    .hp-stats-inner { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .hp-stat-number { font-size: 28px; }

    .hp-casino-card {
        grid-template-columns: 1fr;
        text-align: center; gap: 12px; padding: 24px 20px;
    }
    .hp-casino-rank { margin: 0 auto; }
    .hp-casino-logo { margin: 0 auto; }
    .hp-casino-info { text-align: center; }
    .hp-casino-rating { justify-content: center; }
    .hp-casino-features { align-items: center; }
    .hp-casino-bonus { display: block; }

    .hp-why-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
    .hp-bonus-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .hp-games-grid { grid-template-columns: repeat(2, 1fr); }

    .hp-steps-grid { flex-direction: column; align-items: center; gap: 16px; }
    .hp-step-arrow { display: none; }

    .hp-section-title { font-size: 26px; }
    .hp-cta-title { font-size: 30px; }
}

@media (max-width: 480px) {
    .hp-hero { padding: 50px 0 40px; }
    .hp-hero-title { font-size: 28px; }
    .hp-hero-sub { font-size: 16px; }
    .hp-hero-cta { flex-direction: column; }
    .hp-btn-primary, .hp-btn-outline { width: 100%; text-align: center; box-sizing: border-box; }
    .hp-stats-inner { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .hp-stat-number { font-size: 24px; }
    .hp-games-grid { grid-template-columns: 1fr; }
    .hp-pay-grid { gap: 12px; }
    .hp-pay-item { min-width: 90px; padding: 16px 20px; }
    .hp-best-badge { font-size: 10px; right: 10px; }
}

/* ============================================================ */
/* HERO WITH BACKGROUND IMAGE                                    */
/* ============================================================ */

.hp-hero-bg-img {
    background-image: url('/images/homepage/kasinoranking-banner.jfif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0 100px;
}

.hp-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(18,18,18,0.75) 50%, rgba(0,0,0,0.85) 100%);
    z-index: 1;
}

.hp-hero-shimmer {
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,215,0,0.1), transparent);
    animation: hpShimmer 3s infinite;
    z-index: 2;
    pointer-events: none;
}

@keyframes hpShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.hp-hero-inner-centered {
    flex-direction: column;
    text-align: center;
}

.hp-hero-text-centered {
    max-width: 900px;
    margin: 0 auto;
}

/* Hero icons */
.hp-hero-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    font-size: 48px;
}

.hp-hero-icon {
    display: inline-block;
    filter: drop-shadow(0 4px 8px rgba(255,215,0,0.3));
}

/* Hero title override */
.hp-hero-title-lg {
    font-size: 56px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.hp-hero-highlight {
    color: #FFD700;
    position: relative;
    display: inline-block;
}

.hp-hero-highlight::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #FFD700, transparent);
    animation: hpUnderlineGlow 2s ease-in-out infinite;
}

@keyframes hpUnderlineGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Hero subtitle override */
.hp-hero-sub-lg {
    font-size: 20px;
    margin-left: auto;
    margin-right: auto;
    max-width: 700px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* Hero CTA centered */
.hp-hero-cta-centered {
    justify-content: center;
    margin-bottom: 40px;
}

/* Hero CTA button */
.hp-hero-cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    padding: 20px 50px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255,215,0,0.4);
    position: relative;
    overflow: hidden;
}

.hp-hero-cta-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.hp-hero-cta-btn:hover::before {
    left: 100%;
}

.hp-hero-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255,215,0,0.6);
    background: linear-gradient(135deg, #ffed4e, #FFD700);
    color: #000;
}

/* Hero stats row */
.hp-hero-stats-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.hp-hero-stat-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ddd;
    font-size: 16px;
    background: rgba(0,0,0,0.5);
    padding: 12px 24px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,215,0,0.2);
}

.hp-hero-stat-check {
    color: #FFD700;
    font-size: 20px;
    font-weight: bold;
}

/* ============================================================ */
/* HERO BG IMAGE RESPONSIVE                                      */
/* ============================================================ */

@media (max-width: 768px) {
    .hp-hero-bg-img {
        padding: 80px 15px 60px;
    }
    .hp-hero-title-lg {
        font-size: 36px;
    }
    .hp-hero-sub-lg {
        font-size: 16px;
    }
    .hp-hero-cta-btn {
        padding: 16px 40px;
        font-size: 18px;
    }
    .hp-hero-icons {
        font-size: 36px;
        gap: 20px;
    }
    .hp-hero-stats-row {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .hp-hero-stat-badge {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hp-hero-bg-img {
        padding: 60px 15px 50px;
    }
    .hp-hero-title-lg {
        font-size: 28px;
    }
    .hp-hero-sub-lg {
        font-size: 14px;
    }
    .hp-hero-cta-btn {
        width: 100%;
        max-width: 300px;
        padding: 14px 30px;
        font-size: 16px;
        text-align: center;
    }
    .hp-hero-icons {
        font-size: 32px;
    }
}

/* ============================================================ */
/* LATEST ARTICLES                                               */
/* ============================================================ */

.hp-articles { padding: 80px 0; background: linear-gradient(180deg, #0e0e0e, #121212); }

.hp-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.hp-article-card {
    background: #1a1a1a;
    border: 1px solid #2d2d2d;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.hp-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(255,215,0,0.15);
    border-color: rgba(255,215,0,0.3);
}

.hp-article-image {
    position: relative;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #1e1e1e, #2d2d2d);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-decoration: none;
}

.hp-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-article-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #FFE44D, #FFD700);
    color: #1a1a1a;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}

.hp-article-content {
    padding: 20px;
}

.hp-article-content h3 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 10px;
}

.hp-article-content h3 a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.hp-article-content h3 a:hover {
    color: #FFD700;
}

.hp-article-meta {
    color: #888;
    font-size: 13px;
}

/* ============================================================ */
/* CATEGORIES                                                    */
/* ============================================================ */

.hp-categories { padding: 80px 0; background: linear-gradient(180deg, #0e0e0e, #1a1a1a); }

.hp-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

.hp-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 20px 24px;
    background: #1e1e1e;
    border: 1px solid #2d2d2d;
    border-radius: 16px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.hp-cat-card:hover {
    transform: translateY(-5px);
    border-color: #FFD700;
    box-shadow: 0 8px 24px rgba(255,215,0,0.15);
}

.hp-cat-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.hp-cat-name {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.hp-cat-count {
    font-size: 13px;
    color: #aaa;
    margin-bottom: 12px;
}

.hp-cat-subcats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-top: auto;
}

.hp-cat-subcat {
    font-size: 11px;
    color: #ccc;
    background: rgba(255,255,255,0.06);
    padding: 4px 10px;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}

.hp-cat-card:hover .hp-cat-subcat {
    background: rgba(255,215,0,0.12);
    color: #FFD700;
}

/* ============================================================ */
/* TRUST BADGES                                                  */
/* ============================================================ */

.hp-trust { padding: 80px 0; background: linear-gradient(180deg, #121212, #1a1a1a); }

.hp-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.hp-trust-item {
    text-align: center;
    padding: 36px 24px;
    background: #1e1e1e;
    border: 1px solid #2d2d2d;
    border-radius: 16px;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.hp-trust-item:hover {
    transform: translateY(-5px);
    border-color: #FFD700;
    box-shadow: 0 8px 24px rgba(255,215,0,0.15);
}

.hp-trust-icon-lg {
    font-size: 56px;
    margin-bottom: 16px;
}

.hp-trust-item h3 {
    font-size: 18px;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 10px;
}

.hp-trust-item p {
    font-size: 14px;
    color: #aaa;
    line-height: 1.6;
}

/* ============================================================ */
/* IMPROVED TAG CLOUD / CAROUSEL                                 */
/* ============================================================ */

.carousel-pill {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.carousel-pill:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255,215,0,0.3);
    background: rgba(255,215,0,0.15);
    color: #FFD700;
}

/* ============================================================ */
/* NEW SECTIONS RESPONSIVE                                       */
/* ============================================================ */

@media (max-width: 968px) {
    .hp-articles-grid { grid-template-columns: repeat(2, 1fr); }
    .hp-trust-grid { grid-template-columns: repeat(2, 1fr); }
    .hp-cat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .hp-articles-grid { grid-template-columns: 1fr; }
    .hp-trust-grid { grid-template-columns: 1fr; }
    .hp-cat-grid { grid-template-columns: 1fr; }
    .hp-articles { padding: 50px 0; }
    .hp-categories { padding: 50px 0; }
    .hp-trust { padding: 50px 0; }
}
