/* ==========================================================================
   JEMBER PUTRA INDONESIA (EST 2007) - OFFICIAL THEME & DESIGN SYSTEM
   Warna Utama: Crimson Red, Obsidian Carbon, Championship Gold, Crisp White
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --jpi-red: #D90429;
    --jpi-red-bright: #EF233C;
    --jpi-red-dark: #8D0801;
    --jpi-gold: #F59E0B;
    --jpi-gold-light: #FCD34D;
    --jpi-gold-dark: #B45309;
    --jpi-black: #0B0C10;
    --jpi-card-bg: #14161F;
    --jpi-card-hover: #1A1E2B;
    --jpi-border: rgba(255, 255, 255, 0.1);
    --jpi-border-gold: rgba(245, 158, 11, 0.35);
    --jpi-text-muted: #94A3B8;
    --jpi-glow-red: 0 0 35px rgba(217, 4, 41, 0.35);
    --jpi-glow-gold: 0 0 30px rgba(245, 158, 11, 0.3);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--jpi-black);
    color: #F8FAFC;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 800;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* ================= UTILITIES & HELPERS ================= */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-gold { color: var(--jpi-gold) !important; }
.text-red { color: var(--jpi-red-bright) !important; }
.text-muted { color: var(--jpi-text-muted) !important; }
.bg-dark { background-color: var(--jpi-black) !important; }
.bg-card { background-color: var(--jpi-card-bg) !important; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.btn-gold {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: #000;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
}

.btn-gold:hover {
    background: linear-gradient(135deg, #FBBF24, #F59E0B);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(245, 158, 11, 0.6);
}

.btn-red {
    background: linear-gradient(135deg, var(--jpi-red), var(--jpi-red-dark));
    color: #FFF;
    box-shadow: 0 4px 20px rgba(217, 4, 41, 0.4);
}

.btn-red:hover {
    background: linear-gradient(135deg, var(--jpi-red-bright), var(--jpi-red));
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(239, 35, 60, 0.6);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFF;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #FFF;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.78rem;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-pos-GK { background: #F59E0B; color: #000; }
.badge-pos-DF { background: #10B981; color: #FFF; }
.badge-pos-MF { background: #0EA5E9; color: #FFF; }
.badge-pos-FW { background: #EF233C; color: #FFF; }

.badge-status-verified {
    background: rgba(16, 185, 129, 0.2);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.4);
}
.badge-status-pending {
    background: rgba(245, 158, 11, 0.2);
    color: #F59E0B;
    border: 1px solid rgba(245, 158, 11, 0.4);
}
.badge-status-rejected {
    background: rgba(239, 35, 60, 0.2);
    color: #EF233C;
    border: 1px solid rgba(239, 35, 60, 0.4);
}

/* ================= NAVBAR ================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(11, 12, 16, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--jpi-border);
    transition: all 0.3s ease;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
    gap: 16px;
    max-width: 1320px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-logo img {
    height: 48px;
    filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.3));
}

.brand-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #FFF;
    letter-spacing: 0.5px;
    line-height: 1.15;
}

.brand-title span {
    display: block;
    font-size: 0.65rem;
    color: var(--jpi-gold);
    font-weight: 600;
    letter-spacing: 1.2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.4vw, 22px);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: #CBD5E1;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    position: relative;
    padding: 6px 2px;
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    color: var(--jpi-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--jpi-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.nav-actions .btn {
    padding: 8px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    border-radius: 8px;
}

.nav-dashboard-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

/* ================= MOBILE NAV TOGGLE & DRAWER ================= */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    cursor: pointer;
    padding: 9px;
    z-index: 101;
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    background: rgba(245, 158, 11, 0.15);
    border-color: var(--jpi-gold);
}

.hamburger-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: #FFF;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.nav-toggle.is-active .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background: var(--jpi-gold);
}

.nav-toggle.is-active .hamburger-bar:nth-child(2) {
    opacity: 0;
    transform: scale(0.2);
}

.nav-toggle.is-active .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background: var(--jpi-gold);
}

/* Mobile Nav Backdrop */
.mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(4, 5, 8, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-nav-backdrop.is-active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 86vw;
    height: 100vh;
    height: 100dvh;
    background: #0E1017;
    border-left: 1px solid var(--jpi-border-gold);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -15px 0 35px rgba(0, 0, 0, 0.85);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav-drawer.is-active {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: #0B0C10;
}

.mobile-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-brand img {
    height: 38px;
    width: auto;
    filter: drop-shadow(0 2px 6px rgba(245, 158, 11, 0.3));
}

.mobile-brand-title {
    font-size: 1.05rem;
    font-weight: 900;
    color: #FFF;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.mobile-brand-sub {
    font-size: 0.65rem;
    color: var(--jpi-gold);
    font-weight: 700;
    letter-spacing: 1.2px;
}

.mobile-nav-close {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #CBD5E1;
    font-size: 1.15rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.mobile-nav-close:hover {
    background: rgba(239, 35, 60, 0.2);
    color: var(--jpi-red);
    border-color: var(--jpi-red);
}

.mobile-nav-menu {
    list-style: none;
    padding: 14px 12px;
    margin: 0;
    flex: 1;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 16px;
    color: #CBD5E1;
    font-weight: 700;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.mobile-nav-link i {
    font-size: 1rem;
    width: 22px;
    text-align: center;
    color: #64748B;
    transition: color 0.2s ease;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
    background: rgba(245, 158, 11, 0.1);
    color: #FFF;
    border-left-color: var(--jpi-gold);
}

.mobile-nav-link:hover i, .mobile-nav-link.active i {
    color: var(--jpi-gold);
}

.mobile-nav-link.highlight-gold {
    color: #FCD34D;
    background: rgba(245, 158, 11, 0.08);
}

.mobile-nav-link.highlight-gold i {
    color: var(--jpi-gold);
}

.mobile-nav-actions {
    padding: 18px 16px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #090A0D;
}

.mobile-user-greeting {
    margin-bottom: 12px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-user-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--jpi-gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-user-name {
    font-size: 0.95rem;
    font-weight: 800;
    color: #FFF;
    margin-top: 3px;
}

.btn-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 18px;
    font-size: 0.9rem;
    border-radius: 8px;
    text-decoration: none;
    box-sizing: border-box;
}

.mobile-wa-direct-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    padding: 11px 14px;
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.35);
    color: #25D366;
    font-weight: 800;
    font-size: 0.85rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mobile-wa-direct-btn:hover {
    background: #25D366;
    color: #FFF;
}

body.nav-open {
    overflow: hidden;
    touch-action: none;
}

/* ================= HERO SECTION ================= */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 135px;
    background-color: #0B0C10;
    overflow: hidden;
}

.hero-bg-backdrop {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    opacity: 0.40;
    filter: contrast(1.18) saturate(1.12);
    transform: scale(1.02);
}

.hero-overlay-dark {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: radial-gradient(circle at 50% 20%, rgba(217, 4, 41, 0.35), transparent 65%),
                radial-gradient(circle at 85% 50%, rgba(245, 158, 11, 0.20), transparent 50%),
                linear-gradient(180deg, rgba(11, 12, 16, 0.78) 0%, rgba(11, 12, 16, 0.38) 35%, rgba(11, 12, 16, 0.82) 75%, #0B0C10 100%);
    pointer-events: none;
}

.hero-overlay-grid {
    position: absolute;
    inset: 0;
    z-index: 3;
    background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid var(--jpi-border-gold);
    color: var(--jpi-gold);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    box-shadow: var(--jpi-glow-gold);
}

.hero-title {
    font-size: 3.6rem;
    line-height: 1.08;
    margin-bottom: 20px;
    color: #FFF;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7);
}

.hero-title .highlight {
    background: linear-gradient(135deg, #FFF 20%, var(--jpi-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #94A3B8;
    max-width: 680px;
    margin: 0 auto 36px auto;
    line-height: 1.7;
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

/* Counter Bar */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: rgba(20, 22, 31, 0.75);
    backdrop-filter: blur(10px);
    border: 1px solid var(--jpi-border);
    border-radius: 12px;
    padding: 24px;
    margin-top: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.stat-item {
    text-align: center;
    border-right: 1px solid var(--jpi-border);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--jpi-gold);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.8rem;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* ================= CARDS & SECTIONS ================= */
.section {
    padding: 90px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.section-tag {
    font-size: 0.8rem;
    color: var(--jpi-gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 2.4rem;
    color: #FFF;
    margin-bottom: 16px;
}

.section-desc {
    color: #94A3B8;
    font-size: 1rem;
}

/* Grid Layouts */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
}

/* Card Styling */
.card {
    background: var(--jpi-card-bg);
    border: 1px solid var(--jpi-border);
    border-radius: 12px;
    padding: 28px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--jpi-border-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), var(--jpi-glow-gold);
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: rgba(245, 158, 11, 0.1);
    color: var(--jpi-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.card-title {
    font-size: 1.25rem;
    color: #FFF;
    margin-bottom: 12px;
}

.card-text {
    color: #94A3B8;
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Division Cards */
.division-card {
    background: linear-gradient(180deg, #181B26 0%, #0F1017 100%);
    border: 1px solid var(--jpi-border);
    border-radius: 14px;
    padding: 30px 24px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.division-card:hover {
    border-color: var(--jpi-red-bright);
    box-shadow: var(--jpi-glow-red);
}

.division-code {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: var(--jpi-gold);
    line-height: 1;
    margin-bottom: 8px;
}

.division-name {
    font-size: 1.05rem;
    color: #FFF;
    margin-bottom: 16px;
}

.division-meta {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: #CBD5E1;
}

/* Player Showcase Cards */
.player-mini-card {
    background: linear-gradient(180deg, #1A1D2A 0%, #111219 100%);
    border: 1px solid var(--jpi-border);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.player-mini-card:hover {
    border-color: var(--jpi-gold);
    transform: translateY(-6px);
}

.player-mini-photo {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: top center;
    display: block;
    background: #0B0C10;
}

.player-mini-info {
    padding: 20px;
    position: relative;
}

.player-mini-pos {
    position: absolute;
    top: -16px;
    right: 20px;
}

.player-mini-name {
    font-size: 1.15rem;
    color: #FFF;
    margin-bottom: 4px;
}

.player-mini-club {
    font-size: 0.82rem;
    color: var(--jpi-text-muted);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ================= FOOTER ================= */
.footer {
    background: #07080B;
    border-top: 1px solid var(--jpi-border);
    padding: 70px 0 30px 0;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand img {
    height: 60px;
    margin-bottom: 16px;
}

.footer-brand p {
    color: #94A3B8;
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 320px;
}

.footer-heading {
    font-size: 1rem;
    color: #FFF;
    margin-bottom: 20px;
    position: relative;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #94A3B8;
    font-size: 0.88rem;
}

.footer-links a:hover {
    color: var(--jpi-gold);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: #64748B;
    flex-wrap: wrap;
    gap: 12px;
}

/* ================= FLOATING WHATSAPP ================= */
.float-wa {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    animation: wa-pulse 2.5s infinite;
}

.float-wa i {
    font-size: 33px;
    color: #FFF;
    line-height: 1;
}

.float-wa:hover {
    transform: scale(1.12) rotate(8deg);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.65);
    color: #FFF;
}

@keyframes wa-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    .nav-menu, .nav-actions { display: none !important; }
    .nav-toggle { display: flex; }
    .hero-title { font-size: 2.8rem; }
    .grid-2 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .stat-item:nth-child(2) { border-right: none; }
}

@media (max-width: 768px) {
    .navbar-container { padding: 0 16px; }
    .brand-logo img { height: 40px; }
    .brand-title { font-size: 0.95rem; }
    .brand-title span { font-size: 0.6rem; }
    .hero-title { font-size: 2.2rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .stats-bar { grid-template-columns: 1fr; gap: 16px; }
    .stat-item { border-right: none; border-bottom: 1px solid var(--jpi-border); padding-bottom: 14px; }
    .stat-item:last-child { border-bottom: none; }
    .float-wa {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
    }
    .float-wa i {
        font-size: 28px;
    }
}

/* ================= HISTORY LOGO GOLDEN SHEEN & BREATHING AURA ================= */
.history-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 10px;
}

.history-logo-stage {
    position: relative;
    width: 350px;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.history-logo-aura {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 320px;
    height: 320px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(245, 158, 11, 0.45) 0%, rgba(217, 4, 41, 0.25) 45%, transparent 72%);
    filter: blur(45px);
    border-radius: 50%;
    animation: goldenAuraPulse 4s infinite ease-in-out;
    pointer-events: none;
    z-index: 1;
}

.history-logo-img {
    position: relative;
    width: 100%;
    max-width: 340px;
    height: auto;
    display: block;
    filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 25px rgba(245, 158, 11, 0.35));
    animation: logoFloat3D 5s ease-in-out infinite;
    z-index: 2;
    user-select: none;
}

/* Kilatan Cahaya Berjalan (Diagonal Light Sheen Sweep) yang menyapu perisai */
.history-logo-sheen {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
    /* Masking persis mengikuti siluet perisai logo */
    -webkit-mask-image: url('../img/LOGO-JPIC-3D.png');
    mask-image: url('../img/LOGO-JPIC-3D.png');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    animation: logoFloat3D 5s ease-in-out infinite;
}

.history-logo-sheen::after {
    content: '';
    position: absolute;
    top: -60%;
    left: -130%;
    width: 75%;
    height: 220%;
    background: linear-gradient(
        115deg,
        transparent 15%,
        rgba(255, 255, 255, 0.15) 35%,
        rgba(255, 255, 255, 0.95) 50%,
        rgba(252, 211, 77, 0.95) 55%,
        rgba(245, 158, 11, 0.5) 62%,
        transparent 75%
    );
    transform: rotate(25deg);
    animation: goldenSheenSweep 4.2s cubic-bezier(0.25, 1, 0.5, 1) infinite;
    filter: blur(2px);
}

@keyframes goldenSheenSweep {
    0% {
        left: -130%;
        opacity: 0;
    }
    12% {
        opacity: 1;
    }
    45% {
        left: 150%;
        opacity: 1;
    }
    46%, 100% {
        left: 150%;
        opacity: 0;
    }
}

@keyframes goldenAuraPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(0.92);
        opacity: 0.65;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 1;
        filter: blur(52px);
    }
}

@keyframes logoFloat3D {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

