/**
 * KOPRALJITU - Ultra-Luxury Theme Stylesheet (Tier-1 Standard)
 * Tactical Military Army Green & Gold Accent
 * Glassmorphism 3.0 with WebGL Spectral Light Diffraction
 */

@import url('https://fonts.googleapis.com/css2?family=Teko:wght@600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --bg-dark: #000000;
    --bg-surface: rgba(8, 20, 10, 0.78);
    --bg-card: rgba(14, 28, 16, 0.72);
    --bg-card-hover: rgba(22, 44, 26, 0.85);
    --primary: #22c55e;
    --primary-army: #15803d;
    --primary-glow: rgba(34, 197, 94, 0.45);
    --accent-gold: #eab308;
    --accent-camo: #84cc16;
    --border-color: rgba(34, 197, 94, 0.28);
    --border-glow: rgba(34, 197, 94, 0.65);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --font-heading: 'Teko', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    min-height: 100vh;
    padding-bottom: 40px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ==========================================================================
   1. SITE HEADER & NAVIGATION (GLASSMORPHISM 3.0)
   ========================================================================== */
.site-header {
    background: rgba(14, 26, 16, 0.78);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(34, 197, 94, 0.35);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.75), 0 0 20px rgba(34, 197, 94, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}

.header-brand-wrap {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    height: 52px;
    max-height: 52px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 14px rgba(34, 197, 94, 0.8));
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.06);
}

.search-wrapper {
    position: relative;
    flex: 1;
    max-width: 440px;
}

.search-input {
    background: rgba(16, 30, 18, 0.75) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid var(--border-color) !important;
    color: #fff !important;
    border-radius: 50px !important;
    padding: 8px 18px 8px 38px !important;
    font-size: 0.88rem !important;
    height: 42px;
    transition: all 0.3s ease;
}

.search-input::placeholder {
    color: #94a3b8;
    font-size: 0.84rem;
}

.search-input:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 20px var(--primary-glow) !important;
    background: rgba(22, 42, 25, 0.9) !important;
}

.search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 15px;
    pointer-events: none;
    z-index: 5;
}

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

.btn-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 8px 16px;
    border-radius: 8px;
    letter-spacing: 0.3px;
    text-decoration: none !important;
    transition: all 0.25s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-army-login {
    background: linear-gradient(135deg, rgba(19, 34, 22, 0.9), rgba(31, 54, 35, 0.9));
    border: 1px solid var(--border-color);
    color: #ffffff !important;
    backdrop-filter: blur(8px);
}

.btn-army-login:hover {
    background: linear-gradient(135deg, #1b3020, #28472e);
    border-color: var(--primary);
    box-shadow: 0 0 16px var(--primary-glow);
    transform: translateY(-2px);
}

.btn-army-reg {
    background: linear-gradient(135deg, #22c55e, #15803d);
    border: 1px solid #4ade80;
    color: #052e16 !important;
    font-weight: 800;
    box-shadow: 0 0 16px rgba(34, 197, 94, 0.55);
    animation: army-pulse 2.2s infinite ease-in-out;
    position: relative;
    overflow: hidden;
}

.btn-army-reg:hover {
    background: linear-gradient(135deg, #4ade80, #16a34a);
    box-shadow: 0 0 25px rgba(74, 222, 128, 0.9);
    transform: translateY(-2px);
}

@keyframes army-pulse {
    0%, 100% { box-shadow: 0 0 12px rgba(34, 197, 94, 0.45); }
    50% { box-shadow: 0 0 22px rgba(74, 222, 128, 0.8); }
}

/* ==========================================================================
   2. RUNNING ANNOUNCEMENT (MARQUEE)
   ========================================================================== */
.marquee-container {
    background: rgba(18, 32, 20, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 9px 14px;
    color: #bbf7d0;
    font-size: 0.86rem;
    font-weight: 600;
    box-shadow: inset 0 0 15px rgba(34, 197, 94, 0.12), 0 2px 10px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
}

.marquee-badge {
    background: linear-gradient(135deg, #15803d, #166534);
    border: 1px solid var(--primary);
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.35);
}

.marquee-container marquee {
    flex: 1;
    font-size: 0.85rem;
    letter-spacing: 0.2px;
}

/* ==========================================================================
   3. TRUST COUNTER & STATS BAR (CONVERSION BOOSTER)
   ========================================================================== */
.trust-stats-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 22px;
}

.stat-box {
    background: rgba(18, 32, 20, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.stat-box:hover {
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.3);
    transform: translateY(-2px);
}

.stat-icon {
    font-size: 1.4rem;
    color: var(--accent-gold);
    flex-shrink: 0;
    filter: drop-shadow(0 0 6px rgba(234, 179, 8, 0.6));
}

.stat-label {
    font-size: 0.72rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.4px;
    margin-bottom: 2px;
}

.stat-value {
    font-size: 0.88rem;
    color: #ffffff;
    font-weight: 800;
}

/* ==========================================================================
   4. LIVE WINNER TICKER WIDGET
   ========================================================================== */
.winner-ticker {
    background: linear-gradient(90deg, rgba(18, 32, 20, 0.88), rgba(28, 48, 30, 0.88), rgba(18, 32, 20, 0.88));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 12px 18px;
    margin-bottom: 24px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6), inset 0 0 15px rgba(34, 197, 94, 0.12);
    position: relative;
    overflow: hidden;
}

.winner-ticker::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #4ade80, #15803d);
}

.winner-ticker:hover {
    border-color: var(--primary);
    box-shadow: 0 6px 30px rgba(34, 197, 94, 0.4);
    transform: translateY(-2px);
}

.winner-ticker-mobile-header {
    display: none;
}

.winner-ticker-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}

.winner-icon-box {
    font-size: 1.6rem;
    color: #eab308;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(234, 179, 8, 0.6));
}

.winner-info {
    flex: 1;
    min-width: 0;
}

.winner-top-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}

.winner-username {
    font-weight: 800;
    color: #4ade80;
    font-size: 0.92rem;
    letter-spacing: 0.3px;
}

.winner-time {
    color: #94a3b8;
    font-size: 0.76rem;
}

.winner-bottom-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 0.84rem;
    color: #e2e8f0;
}

.winner-game {
    font-weight: 700;
    color: #ffffff;
}

.winner-arrow {
    color: #4ade80;
    font-weight: 800;
}

.winner-nominal {
    color: #cbd5e1;
    font-weight: 600;
}

.nominal-val {
    color: #facc15;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(250, 204, 21, 0.5);
}

.winner-action-box {
    flex-shrink: 0;
}

.btn-ticker-action {
    background: linear-gradient(135deg, #15803d, #166534);
    border: 1px solid var(--primary);
    color: #fff !important;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 8px 16px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 12px rgba(34, 197, 94, 0.4);
    transition: all 0.25s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-ticker-action:hover {
    background: linear-gradient(135deg, #22c55e, #15803d);
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.8);
}

/* ==========================================================================
   5. SECTION TITLES
   ========================================================================== */
#title-home {
    margin: 28px 0 24px 0;
}

.title-home {
    font-family: var(--font-heading);
    color: #ffffff;
    font-size: clamp(1.4rem, 4.5vw, 2.2rem);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-shadow: 0 0 18px rgba(34, 197, 94, 0.8), 0 0 40px rgba(21, 128, 61, 0.55);
    margin-bottom: 6px;
}

.subtitle-home {
    color: #94a3b8;
    font-size: 0.86rem;
    line-height: 1.45;
}

/* ==========================================================================
   6. POST CARDS & GRID (FROSTED GLASS 3.0)
   ========================================================================== */
.card-post {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.card-post:hover {
    transform: translateY(-6px);
    background: var(--bg-card-hover);
    border-color: var(--primary);
    box-shadow: 0 12px 35px rgba(34, 197, 94, 0.35);
}

.img-post-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #081409;
}

.img-post {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-post:hover .img-post {
    transform: scale(1.06);
}

.badge-wd {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.95), rgba(21, 128, 61, 0.95));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(134, 239, 172, 0.45);
    color: #052e16;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
}

.card-body {
    padding: 16px;
}

.card-title {
    color: #ffffff;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
}

.time-post {
    font-size: 0.76rem;
    color: #4ade80;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-text {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 14px;
}

.btn-readmore {
    background: linear-gradient(135deg, #15803d, #166534);
    border: 1px solid var(--primary);
    color: #fff !important;
    border-radius: 10px;
    padding: 9px 16px;
    font-weight: 800;
    font-size: 0.84rem;
    letter-spacing: 0.3px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 12px rgba(34, 197, 94, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
}

.btn-readmore:hover {
    background: linear-gradient(135deg, #22c55e, #15803d);
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.75);
    color: #fff;
    transform: translateY(-1px);
}

/* ==========================================================================
   7. SINGLE POST VIEW
   ========================================================================== */
.single-post-card {
    background: var(--bg-card);
    backdrop-filter: blur(18px);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 8px 35px rgba(0, 0, 0, 0.7);
}

.single-post-title {
    font-family: var(--font-heading);
    color: #fff;
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    letter-spacing: 1px;
    text-shadow: 0 0 14px rgba(34, 197, 94, 0.7);
    line-height: 1.35;
}

.single-post-content {
    color: #e2e8f0;
    font-size: 0.95rem;
    line-height: 1.8;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 15px 0;
    border: 1px solid var(--border-color);
}

/* ==========================================================================
   8. SEO CONTENT BOX & FOOTER
   ========================================================================== */
.seo-box {
    background: rgba(18, 32, 20, 0.82);
    backdrop-filter: blur(14px);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 22px;
    box-shadow: inset 0 0 20px rgba(34, 197, 94, 0.12);
    font-size: 0.88rem;
    line-height: 1.7;
    color: #cbd5e1;
}

.copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-top: 25px;
}

/* ==========================================================================
   9. MODAL POPUP STRUK BCA
   ========================================================================== */
.proof-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.proof-modal-overlay.active {
    display: flex;
}

.proof-modal-box {
    background: #101c12;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    max-width: 440px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(34, 197, 94, 0.45);
    position: relative;
    animation: modal-zoom 0.28s ease;
}

@keyframes modal-zoom {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.proof-modal-header {
    background: #162a19;
    padding: 12px 18px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.proof-modal-close {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.2s;
}

.proof-modal-close:hover {
    background: var(--primary);
    color: #052e16;
    transform: scale(1.1);
}

.proof-modal-iframe {
    width: 100%;
    height: 680px;
    border: none;
    background: #fff;
}

/* ==========================================================================
   10. MOBILE RESPONSIVE ADAPTATIONS (MAX-WIDTH: 768px)
   ========================================================================== */
@media (max-width: 768px) {
    .site-header {
        padding: 8px 0 10px 0;
    }

    .header-inner {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        gap: 8px 10px;
        align-items: center;
    }

    .header-brand-wrap {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }

    .logo-img {
        height: 44px;
        max-height: 44px;
    }

    .header-actions {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        gap: 6px;
    }

    .btn-header {
        padding: 6px 12px;
        font-size: 0.78rem;
        border-radius: 7px;
    }

    .search-wrapper {
        grid-column: 1 / 3;
        grid-row: 2 / 2;
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .search-input {
        height: 38px;
        padding: 6px 14px 6px 34px !important;
        font-size: 0.82rem !important;
    }

    .search-icon {
        left: 12px;
        font-size: 13px;
    }

    /* Trust Stats on Mobile */
    .trust-stats-bar {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 16px;
    }

    .stat-box {
        padding: 8px 12px;
    }

    /* Live Winner Ticker on Mobile (Refined Executive Card) */
    .winner-ticker {
        padding: 10px 12px;
        margin-bottom: 18px;
        border-radius: 12px;
    }

    .winner-ticker-mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 6px;
        padding-bottom: 6px;
        border-bottom: 1px dashed rgba(34, 197, 94, 0.25);
    }

    .pulse-dot-wrap {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        background: rgba(34, 197, 94, 0.18);
        border: 1px solid rgba(34, 197, 94, 0.4);
        padding: 2px 7px;
        border-radius: 20px;
        font-size: 0.68rem;
        font-weight: 800;
        color: #4ade80;
        letter-spacing: 0.5px;
    }

    .pulse-dot {
        width: 6px;
        height: 6px;
        background: #22c55e;
        border-radius: 50%;
        box-shadow: 0 0 6px #22c55e;
        animation: dot-blink 1.2s infinite ease-in-out;
    }

    @keyframes dot-blink {
        0%, 100% { opacity: 1; transform: scale(1); }
        50% { opacity: 0.3; transform: scale(0.7); }
    }

    .ticker-time-mobile {
        font-size: 0.72rem;
        color: #94a3b8;
    }

    .winner-ticker-body {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        gap: 6px 10px;
        align-items: center;
    }

    .winner-icon-box {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
        font-size: 1.3rem;
    }

    .winner-info {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }

    .winner-top-row {
        display: none;
    }

    .winner-user-inline {
        font-weight: 800;
        color: #4ade80;
        font-size: 0.86rem;
    }

    .winner-bottom-row {
        font-size: 0.78rem;
        line-height: 1.3;
    }

    .winner-action-box {
        grid-column: 1 / 3;
        grid-row: 2 / 2;
        width: 100%;
        margin-top: 4px;
    }

    .btn-ticker-action {
        width: 100%;
        justify-content: center;
        padding: 7px 12px;
        font-size: 0.78rem;
        border-radius: 8px;
    }

    /* Single Post & Cards */
    .card-body {
        padding: 12px;
    }

    .card-title {
        font-size: 0.94rem;
    }

    .card-text {
        font-size: 0.78rem;
        margin-bottom: 10px;
    }

    .btn-readmore {
        padding: 7px 12px;
        font-size: 0.78rem;
    }

    .single-post-card {
        padding: 16px;
    }

    .proof-modal-iframe {
        height: 75vh;
    }
}