/* ==========================================================
   modern.css — AXS Velocity Edition
   Automotive-Premium Content Styles
   Navbar & Topbar: TIDAK DIUBAH (ada di style.css)
========================================================== */

/* ── Root Tokens ───────────────────────────────────────── */
:root {
    --axs-primary:      #D81324;
    --axs-primary-glow: rgba(216, 19, 36, 0.3);
    --axs-bg:           #0a0a0a;
    --axs-surface:      #111111;
    --axs-card:         #161616;
    --axs-card-hover:   #1e1e1e;
    --axs-border:       rgba(255,255,255,0.07);
    --axs-text:         #ffffff;
    --axs-muted:        #666666;
    --axs-gold:         #c8a84b;
    --axs-font-title:   'Barlow', 'Montserrat', sans-serif;
}

/* ── Base Body ─────────────────────────────────────────── */
body {
    background: #0a0a0a;
    color: var(--axs-text);
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ── Password Toggle (login) ───────────────────────────── */
.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: rgba(255,255,255,0.4);
    z-index: 10;
    transition: color 0.2s;
}
.password-toggle:hover { color: var(--axs-primary); }

/* ── Shared Section Label ──────────────────────────────── */
.axs-section-label {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}
.axs-section-label::before {
    content: '';
    display: block;
    width: 4px;
    height: 100%;
    min-height: 28px;
    background: var(--axs-primary);
    border-radius: 2px;
    flex-shrink: 0;
}
.axs-section-label h2,
.axs-section-label h4 {
    margin: 0;
    font-family: var(--axs-font-title);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
    color: #fff;
}
.axs-section-label .view-all {
    margin-left: auto;
    color: var(--axs-primary);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}
.axs-section-label .view-all:hover { gap: 10px; }

/* ── Hero Section ──────────────────────────────────────── */
.hero-velocity {
    position: relative;
    height: 88vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.carousel-item.hero-velocity {
    display: flex !important;
    align-items: center;
}
.carousel-item:not(.active).hero-velocity {
    display: none !important;
}
.hero-velocity::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(0,0,0,0.88) 0%,
        rgba(0,0,0,0.5) 50%,
        rgba(0,0,0,0.65) 100%
    );
}
.hero-content {
    position: relative;
    z-index: 2;
}
.velocity-title {
    font-family: var(--axs-font-title);
    font-size: 5.5rem;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.92;
    letter-spacing: -3px;
}
.velocity-subtitle {
    font-size: 0.8rem;
    letter-spacing: 5px;
    font-weight: 700;
    text-transform: uppercase;
}
.animate-up {
    animation: fadeUp 0.7s ease both;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Carousel indicators */
.carousel-indicators [data-bs-target] {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--axs-primary);
    border: none;
    opacity: 0.4;
    transition: opacity 0.3s, transform 0.3s;
}
.carousel-indicators .active {
    opacity: 1;
    transform: scale(1.4);
}

/* ── Main Content Wrapper ──────────────────────────────── */
.axs-main-content {
    background: #0a0a0a;
    padding: 60px 0;
}

/* ── Photo Grid Cards ──────────────────────────────────── */
.v-card {
    background: var(--axs-card);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--axs-border);
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1),
                border-color 0.35s, box-shadow 0.35s;
    cursor: pointer;
}
.v-card:hover {
    transform: translateY(-5px) scale(1.01);
    border-color: var(--axs-primary);
    box-shadow: 0 12px 35px rgba(0,0,0,0.7), 0 0 0 1px var(--axs-primary-glow);
}
.v-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.v-card:hover img {
    transform: scale(1.06);
}
.v-card-body {
    padding: 14px 16px 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.97));
    position: absolute;
    bottom: 0; left: 0; right: 0;
}
.v-card-title {
    font-family: var(--axs-font-title);
    font-size: 0.82rem;
    font-weight: 800;
    margin: 0 0 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.v-card-meta {
    font-size: 0.68rem;
    color: var(--axs-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}
/* Red tag strip on hover */
.v-card::after {
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 3px;
    height: 100%;
    background: var(--axs-primary);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s ease;
}
.v-card:hover::after { transform: scaleY(1); }

/* ── Featured Video Section ────────────────────────────── */
.featured-drives {
    margin-top: 52px;
}
.axs-video-frame {
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    position: relative;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.axs-video-frame:hover {
    border-color: var(--axs-primary);
    box-shadow: 0 0 30px rgba(216,19,36,0.2);
}
.axs-video-frame video {
    width: 100%;
    display: block;
}
.axs-video-label {
    padding: 10px 14px;
    background: #111;
    border-top: 2px solid var(--axs-primary);
    font-family: var(--axs-font-title);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--axs-primary);
}

/* ── Dashboard Sidebar ─────────────────────────────────── */
.dashboard-widget {
    background: var(--axs-card);
    border: 1px solid var(--axs-border);
    border-radius: 4px;
    padding: 24px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}
.dashboard-widget::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: var(--axs-primary);
}

.widget-title {
    font-family: var(--axs-font-title);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--axs-muted);
    margin-bottom: 22px;
}

/* Stats */
.axs-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 8px;
}
.axs-stat-box {
    background: #0f0f0f;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 3px;
    padding: 16px 12px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.axs-stat-box::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--axs-primary), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.axs-stat-box:hover::after { opacity: 1; }
.axs-stat-val {
    font-family: var(--axs-font-title);
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
    display: block;
    margin-bottom: 4px;
}
.axs-stat-val.red { color: var(--axs-primary); }
.axs-stat-val.white { color: #fff; }
.axs-stat-key {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--axs-muted);
}

/* Activity Feed */
.axs-feed-label {
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--axs-muted);
    margin: 22px 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.axs-feed-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--axs-border);
}
.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: all 0.2s ease;
    cursor: pointer;
}

.activity-item:hover {
    background: rgba(255,255,255,0.03);
    padding-left: 5px;
}
.activity-item:last-child { border-bottom: none; padding-bottom: 0; }
.activity-icon {
    width: 32px;
    height: 32px;
    background: rgba(216,19,36,0.1);
    border: 1px solid rgba(216,19,36,0.2);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--axs-primary);
    font-size: 0.75rem;
    flex-shrink: 0;
}
.activity-text {
    font-size: 0.78rem;
    line-height: 1.4;
    color: rgba(255,255,255,0.85);
}
.activity-time {
    font-size: 0.65rem;
    color: var(--axs-muted);
    display: block;
    margin-top: 2px;
}

/* Quick Utilities Widget */
.axs-utilities-widget {
    background: #0f0f0f;
    border: 1px solid rgba(216,19,36,0.25);
    border-left: 3px solid var(--axs-primary);
    border-radius: 4px;
    padding: 20px 22px;
    margin-bottom: 16px;
}
.axs-util-title {
    font-family: var(--axs-font-title);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--axs-primary);
    margin-bottom: 16px;
}
.axs-util-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 3px;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.axs-util-link:hover {
    background: rgba(216,19,36,0.08);
    border-color: rgba(216,19,36,0.3);
    color: #fff;
}
.axs-util-link .util-icon {
    width: 28px;
    height: 28px;
    background: rgba(216,19,36,0.1);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--axs-primary);
    flex-shrink: 0;
}
.axs-util-link:last-of-type { margin-bottom: 0; }

/* ── HAKI / Legality Section ───────────────────────────── */
.axs-haki-section {
    background: #080808;
    border-top: 1px solid rgba(255,255,255,0.04);
    padding: 80px 0;
}
.axs-haki-label {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--axs-primary);
    margin-bottom: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.axs-haki-label::before,
.axs-haki-label::after {
    content: '◆';
    font-size: 0.4rem;
    opacity: 0.5;
}
.axs-haki-img-wrap {
    position: relative;
    display: inline-block;
}
.axs-haki-img-wrap img {
    border: 1px solid rgba(216,19,36,0.3);
    padding: 8px;
    background: #0f0f0f;
    max-width: 100%;
    filter: contrast(1.05);
}
.axs-haki-img-wrap::before {
    content: 'RESMI';
    position: absolute;
    top: -1px; right: -1px;
    background: var(--axs-primary);
    color: #fff;
    font-size: 0.55rem;
    font-weight: 900;
    letter-spacing: 2px;
    padding: 3px 8px;
}
.axs-haki-text h2 {
    font-family: var(--axs-font-title);
    font-size: 2.2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 16px;
}
.axs-haki-text h2 span {
    color: var(--axs-primary);
}
.axs-haki-text p {
    color: rgba(255,255,255,0.45);
    font-size: 0.88rem;
    line-height: 1.8;
    max-width: 480px;
}
.axs-haki-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(216,19,36,0.08);
    border: 1px solid rgba(216,19,36,0.2);
    border-radius: 2px;
    padding: 8px 16px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--axs-primary);
    margin-top: 20px;
}

/* ── Chapter Cards (datawag_*.php) ─────────────────────── */
.chapter-card {
    background: rgba(18,18,18,0.9);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 6px;
    overflow: hidden;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    box-shadow: 0 8px 32px rgba(0,0,0,0.6);
}
.chapter-card:hover {
    transform: translateY(-8px);
    border-color: var(--axs-primary);
    box-shadow: 0 20px 50px rgba(216,19,36,0.2);
}
.chapter-logo-box {
    position: relative;
    height: 180px;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px;
}
.chapter-logo-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}
.chapter-card:hover .chapter-logo-box img { transform: scale(1.08); }
.chapter-logo-box::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 40%;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
}
.chapter-info-box {
    padding: 24px;
    text-align: center;
    position: relative;
    z-index: 2;
}
.chapter-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--axs-primary);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.chapter-title {
    font-family: var(--axs-font-title);
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: -0.3px;
}
.chapter-admin { font-size: 0.82rem; color: var(--axs-primary); font-weight: 600; margin-bottom: 4px; }
.chapter-date  { font-size: 0.72rem; color: var(--axs-muted); }
.chapter-btn-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff;
    padding: 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    margin-top: 16px;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.chapter-btn-wa:hover {
    background: #25D366;
    border-color: #25D366;
    color: #fff;
    box-shadow: 0 4px 14px rgba(37,211,102,0.3);
}
.chapter-dl-btn {
    position: absolute;
    top: 10px; right: 10px;
    width: 30px; height: 30px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.75rem;
    opacity: 0;
    transform: scale(0.6);
    transition: all 0.25s;
    z-index: 10;
}
.chapter-card:hover .chapter-dl-btn { opacity: 1; transform: scale(1); }
.chapter-dl-btn:hover { background: var(--axs-primary); color: #fff; }

/* ── Login Page ─────────────────────────────────────────── */
.login-screen {
    min-height: 100vh;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    position: relative;
}
.login-screen::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 60% 40%, rgba(216,19,36,0.07) 0%, transparent 65%);
    pointer-events: none;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .velocity-title { font-size: 3.2rem; letter-spacing: -1px; }
    .axs-haki-text h2 { font-size: 1.8rem; }
}

/* ── Unified Community Header (FB Style) ───────────────── */
.comm-header {
    background: #111;
    border-bottom: 1px solid var(--axs-border);
    position: relative;
    overflow: visible !important;
}

.comm-cover {
    width: 100%;
    height: auto;
    aspect-ratio: 820 / 312; /* Facebook Cover Desktop Ratio */
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 0 0 12px 12px;
    z-index: 1;
}

.comm-cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.8));
}

.comm-bottom-area {
    background: var(--axs-card);
    padding-bottom: 20px;
    position: relative;
    z-index: 2;
    overflow: visible !important;
}

.comm-profile-box {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    padding-bottom: 15px;
    position: relative;
    z-index: 100 !important;
    overflow: visible !important;
}

.comm-avatar {
    width: 168px;
    height: 168px;
    background: #000;
    border: 4px solid var(--axs-card);
    border-radius: 50%;
    margin-top: -84px;
    position: relative;
    z-index: 101 !important;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    flex-shrink: 0;
}

.comm-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Change to cover for member photos */
    transition: transform 0.3s;
}

/* Specific styling for logo in avatar (e.g. not logged in) */
.comm-avatar img.is-logo {
    object-fit: contain;
    padding: 20px;
}

.comm-identity {
    padding-bottom: 10px;
    flex-grow: 1;
}

.comm-name {
    font-family: var(--axs-font-title);
    font-weight: 800;
    font-size: 2.2rem;
    color: #fff;
    margin: 0;
    letter-spacing: -0.5px;
}

.comm-tagline {
    font-size: 0.95rem;
    margin: 4px 0 0;
    font-weight: 500;
}

.comm-actions {
    padding-bottom: 10px;
    display: flex;
    gap: 10px;
}

.comm-actions .btn {
    padding: 10px 20px;
    font-weight: 700;
    font-size: 0.88rem;
    border-radius: 8px;
}

/* MOBILE RESPONSIVE (Unified) */
@media (max-width: 992px) {
    .comm-header { overflow: visible !important; }
    .comm-cover { 
        width: 100%;
        height: auto !important;
        aspect-ratio: 820 / 312 !important; /* Keep ratio to prevent crop */
        background-size: cover;
        border-radius: 0;
    }
    .comm-profile-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-top: 0;
        gap: 15px;
        width: 100% !important;
    }
    .comm-avatar {
        width: 100px !important;
        height: 100px !important;
        margin-top: -50px !important;
        border-width: 4px;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .comm-avatar img.is-logo { padding: 15px; }
    .comm-identity { width: 100% !important; padding-top: 5px; }
    .comm-name { font-size: 1.6rem; }
    .comm-tagline { font-size: 0.78rem; }
    .comm-actions {
        width: 100% !important;
        justify-content: center !important;
        margin-top: 5px;
    }
    .comm-actions .btn {
        padding: 8px 16px;
        font-size: 0.78rem;
    }
}

/* ── Selective Text Alignment (Global) ────────────────── */

/* 1. Justify ONLY for long article/history stories */
.article-content p, .rule-body, .axs-justify {
    text-align: justify !important;
    text-justify: inter-word;
    word-break: normal !important;
}

/* 2. Force Normal (Left) for WAG, Marketplace, and Feed Cards */
.axs-list-card, .axs-list-card *, 
.hl-post-card, .hl-post-card *,
.seller-card, .seller-card * {
    text-align: left !important;
}

/* 3. Layout Fix for Squeezed WAG Cards (Prevent Vertical Text) */
@media (max-width: 768px) {
    .axs-list-card {
        flex-wrap: wrap !important;
        gap: 0;
    }
    .axs-list-card .p-3 {
        width: 100% !important;
        min-width: 0 !important;
        padding-top: 0 !important;
    }
    /* Ensure region info doesn't break vertically */
    .axs-list-card span {
        white-space: nowrap !important;
    }
}

/* ── Homepage Layout 3-Column ──────────────────────────── */
.axs-triple-grid {
    display: grid;
    grid-template-columns: 260px 1fr 320px;
    gap: 30px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    padding: 0;
}

/* Sidebar Nav Kiri */
.axs-left-sidebar {
    position: sticky;
    top: 100px;
    height: calc(100vh - 120px);
    overflow-y: auto;
}

.axs-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.axs-nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 10px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.axs-nav-item i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
    transition: transform 0.2s;
}

.axs-nav-item:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
}

.axs-nav-item:hover i {
    transform: scale(1.2);
    color: var(--axs-primary);
}

.axs-nav-item.active {
    background: rgba(216, 19, 36, 0.1);
    color: var(--axs-primary);
}

.axs-nav-item.active i {
    color: var(--axs-primary);
}

/* Media Queries for 3-Column */
@media (max-width: 1200px) {
    .axs-triple-grid {
        grid-template-columns: 80px 1fr 300px;
        padding: 0 20px;
    }
    .axs-nav-item span { display: none; }
}

@media (max-width: 992px) {
    .axs-triple-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
    .axs-left-sidebar {
        display: none !important;
    }
    
    /* Move stats sidebar down */
    .axs-right-sidebar { margin-bottom: 80px; }
}

/* Beri ruang bawah yang cukup agar konten tidak tertutup nav bar pada HP */
@media (max-width: 992px) {
    body { padding-bottom: 70px; }
}

/* Like Button Styles */
.hl-btn-like {
    transition: color 0.2s, transform 0.2s;
}
.hl-btn-like.liked {
    color: var(--axs-primary) !important;
}
.hl-btn-like.liked i {
    animation: bounce 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes bounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.6); }
    100% { transform: scale(1); }
}

/* ── Community Highlights Feed (FB Style) ───────────────── */
.hl-feed-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.hl-post-card {
    background: var(--axs-card);
    border: 1px solid var(--axs-border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s;
}

.hl-post-card:hover {
    border-color: var(--axs-primary-glow);
    transform: translateY(-4px);
}

.hl-post-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
}

.hl-post-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--axs-primary), #7a0010);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    border: 2px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.hl-post-info {
    display: flex;
    flex-direction: column;
}

.hl-post-author {
    font-weight: 700;
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.2;
}

.hl-post-meta {
    font-size: 0.72rem;
    color: var(--axs-muted);
    font-weight: 500;
}

.hl-post-content {
    background: #000;
}

.hl-post-caption {
    padding: 12px 20px 16px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    background: var(--axs-card);
}

.hl-post-image-container {
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hl-post-image {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
}

.hl-post-actions {
    padding: 10px 20px;
    border-top: 1px solid var(--axs-border);
    display: flex;
    gap: 15px;
}

.hl-action-btn {
    background: transparent;
    border: none;
    color: var(--axs-muted);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hl-action-btn:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
}

/* Comments Section */
.hl-comments-section {
    background: rgba(0,0,0,0.15);
    border-top: 1px solid var(--axs-border);
    display: none; /* Toggle via JS */
}

.hl-comments-list {
    padding: 15px 20px;
    max-height: 300px;
    overflow-y: auto;
}

.hl-comment-item {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.hl-comment-item:last-child {
    margin-bottom: 0;
}

.hl-comment-avatar {
    width: 32px;
    height: 32px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    color: #aaa;
    flex-shrink: 0;
}

.hl-comment-bubble {
    background: rgba(255,255,255,0.05);
    padding: 8px 14px;
    border-radius: 0 12px 12px 12px;
    flex-grow: 1;
}

.hl-comment-user {
    font-weight: 700;
    font-size: 0.78rem;
    color: var(--axs-primary);
    margin-bottom: 2px;
}

.hl-comment-text {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.4;
}

.hl-comment-time {
    font-size: 0.65rem;
    color: #444;
    margin-top: 4px;
}

.hl-comment-input-area {
    padding: 12px 20px;
    background: rgba(255,255,255,0.02);
    display: flex;
    gap: 10px;
}

.hl-comment-input-area input {
    flex-grow: 1;
    background: #1e1e1e;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 8px 16px;
    color: #fff;
    font-size: 0.82rem;
    outline: none;
    transition: border-color 0.2s;
}

.hl-comment-input-area input:focus {
    border-color: var(--axs-primary);
}

.hl-comment-input-area button {
    background: var(--axs-primary);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.hl-comment-input-area button:hover {
    background: #b50f1f;
    transform: scale(1.1);
}

/* ── RESTORASI SAMPUL FB STYLE ─────────────────────────── */
.axs-fb-cover {
    background: #111;
    position: relative;
    overflow: visible !important;
}
.cover-photo {
    height: 420px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 0 0 12px 12px;
}
.cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.8));
}
.cover-bottom {
    background: var(--axs-card);
    padding-bottom: 20px;
    position: relative;
    z-index: 2;
}
.cover-profile-box {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    padding-bottom: 15px;
    position: relative;
}
.profile-avatar {
    width: 168px;
    height: 168px;
    background: #000;
    border: 4px solid var(--axs-card);
    border-radius: 50%;
    margin-top: -84px;
    position: relative;
    z-index: 10;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    flex-shrink: 0;
}
.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}
.profile-identity {
    padding-bottom: 10px;
    flex-grow: 1;
}
.profile-name {
    font-family: var(--axs-font-title);
    font-weight: 800;
    font-size: 2.2rem;
    color: #fff;
    margin: 0;
}
.profile-tagline {
    font-size: 0.95rem;
    margin: 4px 0 0;
}

@media (max-width: 992px) {
    .cover-photo {
        height: auto !important;
        min-height: 180px;
        background-size: contain !important;
        background-repeat: no-repeat !important;
        background-color: #0a0a0a !important;
        background-position: center top !important;
        aspect-ratio: 16/7;
    }
    .profile-avatar {
        width: 100px !important;
        height: 100px !important;
        margin-top: -50px !important;
        margin-left: auto;
        margin-right: auto;
    }
    .profile-avatar img { padding: 10px !important; }
    .cover-profile-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ── MODERN FOOTER STYLES ─────────────────────────────── */
.bg-footer {
    background-color: #0d0d0d !important;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.axs-footer-card {
    background: linear-gradient(135deg, #161616 0%, #111111 100%);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    border-left: 4px solid var(--axs-primary);
    padding: 40px 30px;
    height: 100%;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
}

.axs-footer-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 60px; height: 60px;
    background: radial-gradient(circle at top right, rgba(216,19,36,0.1), transparent);
}

.axs-footer-label {
    font-family: var(--axs-font-title);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
    color: var(--axs-primary);
    margin-bottom: 25px;
    display: block;
}

.axs-footer-text {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    color: rgba(255,255,255,0.6) !important;
    text-align: left !important; /* MENGUNCI RATA KIRI AGAR TIDAK PECH */
    margin-bottom: 25px;
}

.axs-footer-input-group {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 30px;
    padding: 5px;
    display: flex;
    overflow: hidden;
}

.axs-footer-input {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    padding: 8px 20px !important;
    font-size: 0.85rem !important;
    box-shadow: none !important;
    flex: 1;
}

.axs-footer-btn {
    background: var(--axs-primary) !important;
    border: none !important;
    border-radius: 25px !important;
    padding: 8px 20px !important;
    font-weight: 700 !important;
    font-size: 0.75rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s !important;
}

.axs-footer-btn:hover {
    background: #b50f1f !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(216, 19, 36, 0.3);
}

/* Fix untuk Mobile agar halaman bisa di-scroll melewati Bottom Nav */
@media (max-width: 992px) {
    footer, .bg-footer {
        padding-bottom: 120px !important; /* Ruang lebih lega untuk menu bawah */
    }
    .axs-footer-card {
        padding: 30px 20px;
        margin-top: 20px;
    }
    /* Sembunyikan Back to Top di HP karena bertabrakan dengan Menu Bar */
    .back-to-top {
        display: none !important;
    }
    /* Pastikan input group bertumpuk di layar kecil */
    .axs-footer-input-group {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
        gap: 10px;
    }
    .axs-footer-input {
        background: rgba(255,255,255,0.05) !important;
        border: 1px solid rgba(255,255,255,0.1) !important;
        border-radius: 30px !important;
        width: 100%;
        margin-bottom: 5px;
    }
    .axs-footer-btn {
        width: 100%;
        padding: 12px !important;
        border-radius: 30px !important;
    }
}

/* ── Pagination Buttons ── */
.axs-page-btn {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: #ccc;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.axs-page-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}
.axs-page-btn.active {
    background: var(--axs-primary);
    border-color: var(--axs-primary);
    color: #fff;
}
.axs-page-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
