/* --- Variables & Reset --- */
:root {
    --bg-dark: #050505;
    --bg-card: #0a0a0a;
    --primary-purple: #8A2BE2;
    --accent-purple: #9d4edd;
    --accent-green: #00ff88;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-head: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, .logo {
    font-family: var(--font-head);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-purple { color: var(--primary-purple); }
.text-green { color: var(--accent-green); }
.text-gradient {
    background: linear-gradient(90deg, #fff, var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary-purple);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Buttons --- */
.btn-cta {
    background: linear-gradient(135deg, var(--primary-purple), #6a0dad);
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-outline:hover {
    border-color: var(--primary-purple);
    background: rgba(138, 43, 226, 0.1);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 60px;
}

/* Abstract Background */
.hero-bg-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(138, 43, 226, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 255, 136, 0.05) 0%, transparent 40%);
    z-index: -1;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 20px;
    color: var(--accent-purple);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.headline {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;
}

.sub-headline {
    font-size: 1.15rem; /* Sedikit diperbesar agar lebih jelas */
    color: var(--text-muted);
    
    /* UBAH INI: Lebarkan dari 700px ke 850px agar jadi 2 baris */
    max-width: 850px; 
    
    margin: 0 auto 35px; /* Auto kiri-kanan agar tetap di tengah */
    line-height: 1.6; /* Jarak antar baris agar enak dibaca */
}
.sub-headline strong {
    color: #fff;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* --- Live Ticker --- */
.ticker-wrap {
    width: 100%;
    background: #000; /* Deep Black */
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 12px 0; /* Sedikit lebih tebal agar area klik nyaman */
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 50;
}

.ticker {
    display: inline-block;
    /* Ubah 30s menjadi 60s atau 80s untuk memperlambat */
    animation: ticker 60s linear infinite; 
}

/* Fitur UX: Stop animasi saat mouse diarahkan agar mudah diklik */
.ticker-wrap:hover .ticker {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    margin-right: 50px; /* Jarak antar item lebih lega */
    font-family: 'Space Grotesk', monospace;
    font-size: 0.9rem;
    text-decoration: none; /* Hilangkan garis bawah link */
    color: #fff;
    transition: 0.3s;
    padding: 4px 8px;
    border-radius: 4px;
}

/* Efek Hover pada Item Ticker */
.ticker-item:hover {
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    color: var(--accent-green); /* Teks jadi hijau saat hover */
}

.ticker-up { color: var(--accent-green); }
.ticker-down { color: #ff4d4d; }

@keyframes ticker {
    0% { transform: translateX(0); } /* Mulai dari 0 agar tidak kosong di awal */
    100% { transform: translateX(-50%); } /* Geser setengah karena kita menduplikasi konten */
}
/* --- Sections General --- */
.section-padding {
    padding: 80px 0;
}

.bg-darker {
    background-color: var(--bg-card);
}

.section-header {
    margin-bottom: 50px;
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-muted);
}

/* --- Track Record (Cards) --- */
.signals-scroll-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
}

.signals-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.signals-scroll-container::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 4px;
}

.signal-card {
    min-width: 280px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 20px;
    flex-shrink: 0;
    scroll-snap-align: center;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.signal-card:hover {
    border-color: var(--primary-purple);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.2);
    transform: translateY(-5px);
}

.card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-family: var(--font-head);
    font-weight: 700;
}

.signal-type {
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 4px;
}
.signal-type.long { background: rgba(0, 255, 136, 0.2); color: var(--accent-green); }
.signal-type.spot { background: rgba(138, 43, 226, 0.2); color: var(--accent-purple); }

.card-body {
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.mono-font {
    font-family: monospace;
    color: #fff;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--glass-border);
    padding-top: 10px;
}

.gain-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-green);
    font-family: var(--font-head);
}

/* --- Services --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 100%);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 16px;
    transition: 0.3s;
}

.service-card:hover {
    border-color: var(--primary-purple);
}

.icon-box {
    font-size: 2rem;
    color: var(--primary-purple);
    margin-bottom: 20px;
}

.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; }

/* --- PARTNERS MARQUEE SECTION (UPDATED) --- */
.small-title {
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 40px;
    font-family: var(--font-head);
}

.marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* Efek fade kiri-kanan agar logo muncul/hilang halus */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); 
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    padding: 10px 0;
}

.marquee-track {
    display: flex;
    align-items: center; 
    gap: 80px; /* Jarak antar logo diperlebar agar tidak sesak */
    width: max-content;
    animation: scroll 40s linear infinite;
}

.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}

/* Style Khusus Gambar Logo */
.partner-logo {
    height: 80px; /* Ukuran Desktop: Diperbesar dari 45px ke 80px */
    width: auto;  
    object-fit: contain; /* Menjaga rasio gambar agar tidak gepeng */
    
    /* Efek Grayscale & Opacity */
    filter: grayscale(100%) opacity(0.6); /* Sedikit lebih terang (0.6) agar jelas */
    transition: all 0.4s ease;
    cursor: pointer;
}

/* Efek Hover: Logo jadi Berwarna & Terang */
.partner-logo:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1); 
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Responsif HP */
@media (max-width: 768px) {
    .partner-logo {
        height: 50px; /* Ukuran Mobile: Diperbesar dari 35px ke 50px */
    }
    .marquee-track {
        gap: 40px; /* Jarak di HP disesuaikan */
    }
}

/* =========================================
   ULTRA-PREMIUM TRACK RECORD (FINAL V2)
   ========================================= */

:root {
    --neon-green: #00ff9d;
    --neon-purple: #bd00ff;
    --neon-gold: #ffcc00;
    --neon-red: #ff3333;
    --dark-bg: #030303;
    --glass-border: rgba(255, 255, 255, 0.08);
}

.track-section {
    position: relative;
    padding: 100px 0;
    background-color: var(--dark-bg);
    overflow: hidden;
}

/* 1. CYBER GRID BACKGROUND (Agar tidak hitam polos) */
.cyber-grid {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    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;
    z-index: 1;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

.spotlight-orb {
    position: absolute;
    top: -20%; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.15) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 1;
}

.z-10 { position: relative; z-index: 10; }

/* 2. TYPOGRAPHY HEADER */
.badge-pill {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid var(--neon-purple);
    color: var(--neon-purple);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 50px;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(189, 0, 255, 0.2);
}

.display-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #fff;
}

.subtitle {
    font-size: 1.1rem;
    color: #888;
    margin-bottom: 50px;
}

/* 3. CARDS LAYOUT */
.cards-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Minimal 350px agar tidak gepeng */
    gap: 40px;
    justify-content: center;
    perspective: 1000px;
}

/* 4. CYBER CARD DESIGN */
.cyber-card {
    position: relative;
    height: 520px; /* TINGGI DIPERBESAR AGAR TIDAK KEPOTONG */
    border-radius: 24px;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.cyber-card:hover {
    transform: translateY(-15px) scale(1.02);
    z-index: 20;
}

/* Glass Effect Layer */
.card-glass {
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    z-index: 1;
}

/* Border Gradient Layer */
.card-border {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(180deg, rgba(255,255,255,0.15), rgba(255,255,255,0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 2;
    transition: 0.3s;
}

.cyber-card:hover .card-border {
    background: linear-gradient(180deg, var(--neon-green), rgba(0,0,0,0));
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.2);
}

/* CONTENT INSIDE */
.card-content {
    position: relative;
    z-index: 3;
    padding: 35px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* HEADER: Coin & Logo */
.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}

.pair-info h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0;
    line-height: 1;
}

.pair { font-size: 0.9rem; color: #666; font-weight: 400; }

.leverage-badge {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
    color: #ccc;
    border: 1px solid rgba(255,255,255,0.05);
}
.leverage-badge.gold { background: rgba(255, 204, 0, 0.15); color: var(--neon-gold); border-color: rgba(255, 204, 0, 0.3); }
.leverage-badge.red { background: rgba(255, 51, 51, 0.15); color: var(--neon-red); border-color: rgba(255, 51, 51, 0.3); }
/* TAMBAHAN WARNA UNTUK KARTU SPOT */

/* Warna Badge & Text */
.leverage-badge.purple { background: rgba(138, 43, 226, 0.15); color: #bd00ff; border-color: rgba(138, 43, 226, 0.3); }
.text-purple { color: #bd00ff; text-shadow: 0 0 30px rgba(189, 0, 255, 0.2); }

.leverage-badge.blue { background: rgba(0, 188, 212, 0.15); color: #00bcd4; border-color: rgba(0, 188, 212, 0.3); }
.text-blue { color: #00bcd4; text-shadow: 0 0 30px rgba(0, 188, 212, 0.2); }

.leverage-badge.orange { background: rgba(255, 152, 0, 0.15); color: #ff9800; border-color: rgba(255, 152, 0, 0.3); }
.text-orange { color: #ff9800; text-shadow: 0 0 30px rgba(255, 152, 0, 0.2); }

/* Placeholder Logo untuk Spot */
.coin-placeholder {
    width: 35px; height: 35px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; color: #fff;
    font-family: var(--font-head);
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.bg-purple { background: #bd00ff; }
.bg-blue { background: #00bcd4; }
.bg-orange { background: #ff9800; }

/* Pastikan Grid Rapi 3 Kolom */
.cards-wrapper {
    display: grid;
    /* Ubah minmax jadi 320px agar pas 3 kolom di layar laptop standar */
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 30px;
}
.exchange-icon {
    height: 28px;
    width: auto;
    filter: brightness(0) invert(1); /* MEMAKSA LOGO JADI PUTIH BERSIH */
    opacity: 0.8;
}

/* BIG PROFIT NUMBER */
.profit-box {
    margin: 10px 0;
    color: var(--neon-green);
    text-shadow: 0 0 30px rgba(0, 255, 157, 0.15);
}
.profit-box.text-gold { color: var(--neon-gold); text-shadow: 0 0 30px rgba(255, 204, 0, 0.15); }

.profit-box .sign { font-size: 2.5rem; vertical-align: top; }
.profit-box .number { font-size: 4.5rem; font-weight: 800; letter-spacing: -2px; line-height: 1; }
.profit-box .decimal { font-size: 2rem; font-weight: 500; opacity: 0.8; }

.glow-max { text-shadow: 0 0 40px rgba(0, 255, 157, 0.4); }

/* CHART */
.chart-area {
    flex-grow: 1; /* Mengisi ruang kosong */
    width: 100%;
    min-height: 100px;
    margin: 20px 0;
    opacity: 0.7;
    /* Masking agar chart tidak terlihat kotak */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

/* STATS (FOOTER DATA) */
.trade-stats {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 20px;
}

.stat-col { display: flex; flex-direction: column; }
.stat-col.right { text-align: right; }

.stat-col .label {
    font-size: 0.7rem;
    color: #666;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 4px;
}

.stat-col .value {
    font-size: 1.1rem;
    font-family: 'Space Grotesk', monospace; /* Pastikan font angka tegas */
    font-weight: 700;
    color: #fff;
}

/* BOTTOM VERIFIED STRIP */
.card-footer {
    font-size: 0.8rem;
    color: #555;
    background: rgba(0,0,0,0.3);
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.card-footer i { color: var(--neon-green); }
.card-footer.gold-glow i { color: var(--neon-gold); }

/* SPECIAL STYLE FOR CENTER HIGHLIGHT CARD */
.cyber-card.highlight {
    transform: scale(1.05);
    z-index: 5;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.cyber-card.highlight .card-border {
    background: linear-gradient(180deg, var(--neon-gold), rgba(0,0,0,0));
}
.cyber-card.highlight:hover {
    transform: scale(1.08) translateY(-10px);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .cards-wrapper { grid-template-columns: 1fr; gap: 30px; }
    .cyber-card.highlight { transform: scale(1); }
    .profit-box .number { font-size: 3.8rem; }
    .cyber-card { height: auto; min-height: 480px; }
}

/* --- Bloomberg Section --- */
.bloomberg-box {
    background: #000;
    border: 1px solid #333;
    border-radius: 16px;
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
}

.bloomberg-content {
    flex: 1;
    padding: 40px;
    min-width: 300px;
}

.feature-list {
    margin-top: 20px;
}
.feature-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bloomberg-visual {
    flex: 1;
    background: #111;
    min-width: 300px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: monospace;
}

.terminal-mockup {
    width: 100%;
    color: #0f0;
    font-size: 0.9rem;
}
.blink { animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* --- Testimonials --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.chat-bubble {
    background: #1a1a1a;
    border-radius: 0 16px 16px 16px;
    padding: 20px;
    border: 1px solid var(--glass-border);
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.avatar {
    width: 40px; height: 40px;
    background: var(--primary-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.user-info { display: flex; flex-direction: column; }
.username { font-weight: 600; font-size: 0.9rem; }
.time { font-size: 0.7rem; color: #666; }
.chat-body { font-size: 0.95rem; line-height: 1.5; }

/* --- Gallery --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    transition: 0.3s;
    filter: grayscale(100%);
}
.gallery-item img:hover {
    filter: grayscale(0%);
    transform: scale(1.02);
}

/* --- Footer --- */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 50px 0 20px;
    background: #000;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-socials a {
    margin-left: 20px;
    font-size: 1.2rem;
    transition: 0.3s;
}
.footer-socials a:hover { color: var(--primary-purple); }

.footer-bottom {
    text-align: center;
    font-size: 0.8rem;
    color: #555;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .headline { font-size: 2.2rem; }
    .nav-links {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #000;
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        transform: translateY(-150%);
        transition: 0.4s;
        border-bottom: 1px solid var(--glass-border);
    }
    
    .nav-links.active {
        transform: translateY(0);
    }

    .hamburger { display: block; }
    .nav-cta { display: none; } /* Hide button in nav on small mobile */
    
    .hero-buttons { flex-direction: column; }
    .gallery-grid { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; gap: 20px; text-align: center; }
    .footer-socials a { margin: 0 10px; }
}

/* --- Premium Signal Card Design --- */
.premium-card {
    position: relative;
    width: 320px;
    height: 200px;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.15);
    border-color: rgba(0, 255, 136, 0.4);
}

/* Layer 1: Chart Canvas Background */
.card-chart-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%; /* Grafik mengisi 70% bagian bawah */
    z-index: 1;
    opacity: 0.6;
    mask-image: linear-gradient(to bottom, transparent, black 20%);
}

.stock-chart {
    width: 100%;
    height: 100%;
    display: block;
}

/* Layer 2: Text Content */
.card-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(180deg, rgba(10,10,10,0.8) 0%, rgba(10,10,10,0) 100%);
    transition: opacity 0.3s ease;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.coin-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.coin-icon, .coin-icon-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.coin-icon-placeholder {
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #fff;
}

.coin-name {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
    margin-bottom: 2px;
}

.coin-sub {
    font-size: 0.75rem;
    color: #888;
}

.price-tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-family: monospace;
    color: #fff;
    backdrop-filter: blur(4px);
}

.card-footer-large {
    text-align: left;
}

.gain-percentage {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
    font-family: 'Space Grotesk', sans-serif;
}

.pnl-label {
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Layer 3: PnL Proof Overlay (Screenshot) */
.proof-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: #000;
    opacity: 0; /* Hidden by default */
    visibility: hidden;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.proof-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Agar gambar memenuhi kartu */
    opacity: 0.8;
}

.proof-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 255, 136, 0.9);
    color: #000;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.75rem;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.proof-placeholder {
    color: #666;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* --- Hover Effects Logic --- */
.premium-card:hover .card-content {
    opacity: 0; /* Hide text on hover */
}

.premium-card:hover .proof-overlay {
    opacity: 1; /* Show screenshot on hover */
    visibility: visible;
}

.signals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    padding: 10px;
}

/* Card Container */
.signal-card {
    position: relative;
    height: 380px; /* Tinggi kartu diperbesar agar lega */
    background: #080808;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.signal-card:hover {
    border-color: var(--primary-purple);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(138, 43, 226, 0.15);
}

/* Layer 1: Canvas (Chart) */
.chart-canvas {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%; /* Grafik mengambil 60% area bawah */
    z-index: 1;
    opacity: 0.8;
}

/* Layer 2: Info Content */
.card-info {
    position: relative;
    z-index: 2;
    padding: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    /* Gradient overlay agar teks jelas terbaca di atas grafik */
    background: linear-gradient(180deg, rgba(8,8,8,1) 0%, rgba(8,8,8,0.8) 40%, rgba(8,8,8,0) 100%);
    transition: opacity 0.3s;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.coin-badge {
    display: flex;
    align-items: center;
    gap: 12px;
}

.coin-img { width: 40px; border-radius: 50%; }
.coin-placeholder { 
    width: 40px; height: 40px; 
    border-radius: 50%; 
    display:flex; align-items:center; justify-content:center; 
    font-weight:bold; color:#000;
}
.bg-gold { background: #ffd700; }
.bg-purple { background: var(--primary-purple); color: white; }

.coin-badge h4 { font-size: 1.1rem; margin: 0; line-height: 1.1; }
.coin-badge span { font-size: 0.8rem; color: #888; }

.live-status {
    font-size: 0.75rem;
    color: var(--accent-green);
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 255, 136, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.blink-dot {
    width: 6px; height: 6px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: blinker 1.5s infinite;
}
@keyframes blinker { 50% { opacity: 0; } }

.card-main-stat {
    margin-bottom: auto; /* Push price row to bottom */
}

.profit-percent {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    font-family: var(--font-head);
    display: block;
    margin-bottom: 5px;
    text-shadow: 0 0 30px rgba(0, 255, 136, 0.2);
}

.stat-label {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-price-row {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 15px;
}

.price-box {
    display: flex;
    flex-direction: column;
}

.price-box span { font-size: 0.75rem; color: #666; }
.price-box strong { font-family: monospace; font-size: 1rem; }

/* Layer 3: Hover Proof */
.proof-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 10;
    background: #000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(1.05); /* Zoom effect start */
}

.proof-overlay img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.signal-card:hover .proof-overlay {
    opacity: 1;
    visibility: visible;
    transform: scale(1); /* Zoom in normal */
}

.signal-card:hover .card-info {
    opacity: 0; /* Hide text when proof shows */
}

.proof-tag {
    position: absolute;
    bottom: 20px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 8px 16px;
    border-radius: 30px;
    backdrop-filter: blur(5px);
    border: 1px solid var(--accent-green);
    font-size: 0.8rem;
    display: flex;
    gap: 8px;
    align-items: center;
}

.proof-empty {
    color: #666;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* Responsiveness */
@media (max-width: 600px) {
    .profit-percent { font-size: 2.5rem; }
    .signal-card { height: 340px; }
}

/* --- HERO SECTION BACKGROUND UPDATE --- */

.hero {
    position: relative;
    height: 90vh; /* Tinggi satu layar penuh */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 60px;
    background-color: var(--bg-dark); /* Fallback color */
}

/* Layer 1: Foto Komunitas */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* GANTI URL INI DENGAN NAMA FILE FOTO ANDA */
    background-image: url('assets/hero-bg.jpg'); 
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    
    /* PENTING: Mengatur tingkat "samar-samar" */
    opacity: 0.35; /* Ubah angka ini (0.1 - 0.5) untuk mengatur kecerahan foto */
    
    /* Efek Blur sedikit agar terlihat estetik (opsional) */
    filter: blur(2px) grayscale(50%); 
}

/* Layer 2: Masking Hitam (Vignette & Fade) */
.hero-overlay-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Gradient: Tengah agak terang, Pinggir & Bawah gelap pekat */
    background: radial-gradient(circle at center, rgba(5,5,5,0.7) 0%, rgba(5,5,5,1) 90%);
    /* Tambahan gradient vertikal agar smooth connect ke section bawah */
    background: linear-gradient(to bottom, rgba(5,5,5,0.8) 0%, rgba(5,5,5,0.6) 50%, #050505 100%);
}

/* Layer 3: Konten Text (Harus paling atas) */
.hero-content {
    position: relative;
    z-index: 2; /* Pastikan di atas background */
}

/* Styling Text Gradient (Sesuai Screenshot) */
.text-gradient {
    background: linear-gradient(90deg, #fff 0%, #a855f7 100%); /* Putih ke Ungu */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- LOGO IMAGE STYLING --- */

/* Reset style font lama agar tidak mengganggu layout gambar */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* Atur Ukuran Logo Gambar */
.logo img {
    height: 40px; /* Tinggi ideal untuk Navbar */
    width: auto;  /* Lebar menyesuaikan otomatis agar tidak gepeng */
    display: block;
    object-fit: contain;
}

/* Penyesuaian Khusus Footer (Opsional: Jika ingin logo footer sedikit lebih besar) */
footer .logo img {
    height: 50px; 
    margin-bottom: 15px; /* Jarak ke teks di bawahnya */
}

/* Penyesuaian Responsif (HP) */
@media (max-width: 768px) {
    .logo img {
        height: 35px; /* Logo sedikit mengecil di layar HP */
    }
    
    footer .logo img {
        height: 45px;
        margin: 0 auto 15px auto; /* Tengah di HP */
    }
}

/* --- WHATSAPP EXCLUSIVE SECTION --- */

.wa-section {
    position: relative;
    overflow: hidden;
}

.wa-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    /* Background Box Besar (Opsional, mirip referensi kotak ungu tipis) */
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.6) 0%, rgba(10, 10, 10, 0.8) 100%);
    border: 1px solid rgba(138, 43, 226, 0.3); /* Border ungu tipis */
    padding: 60px;
    border-radius: 30px;
    position: relative;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
}

/* --- Left Visual Side --- */
.wa-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Glow Ungu di Belakang Gambar */
.glow-orb {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.4) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(40px);
}

/* Badge Hijau di Atas */
.value-badge {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: #00c853; /* Warna Hijau Value */
    color: #000;
    font-weight: 800;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    z-index: 5;
    box-shadow: 0 5px 15px rgba(0, 200, 83, 0.4);
    white-space: nowrap;
    letter-spacing: 0.5px;
}

/* Container Gambar Screenshot */
.mockup-container {
    position: relative;
    z-index: 2;
    width: 320px; /* Lebar HP */
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    border: 4px solid #1a1a1a; /* Frame HP Hitam */
    background: #000;
}

.wa-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    /* Sedikit menggelapkan gambar agar teks notifikasi terbaca */
    filter: brightness(0.9); 
}

/* Animasi Melayang (Floating) */
.floating-anim {
    animation: floating 4s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Notifikasi Kecil Melayang (Pop-up) */
.float-notif {
    position: absolute;
    bottom: 30px;
    right: -40px;
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 12px 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: float-reverse 4s ease-in-out infinite;
}

@keyframes float-reverse {
    0% { transform: translateY(0px); }
    50% { transform: translateY(10px); } /* Gerak berlawanan arah HP */
    100% { transform: translateY(0px); }
}

.notif-icon {
    width: 35px; height: 35px;
    background: var(--accent-green);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #000;
    font-size: 1rem;
}

.notif-text span {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
    color: #fff;
}
.notif-text small {
    color: var(--accent-green);
    font-size: 0.7rem;
}

/* --- Right Content Side --- */
.wa-content {
    flex: 1;
    padding-left: 20px;
}

.wa-title {
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-family: var(--font-head);
}

.wa-desc {
    color: #ccc;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.wa-features {
    margin-bottom: 40px;
}

.wa-features li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.wa-features li i {
    font-size: 1.2rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.wa-features strong {
    color: #fff;
}

.shadow-glow {
    box-shadow: 0 0 25px rgba(138, 43, 226, 0.6);
    transition: all 0.3s ease;
}
.shadow-glow:hover {
    box-shadow: 0 0 40px rgba(138, 43, 226, 0.9);
    transform: translateY(-3px);
}

.small-note {
    font-size: 0.8rem;
    color: #666;
    margin-top: 15px;
    font-style: italic;
}

/* Responsif Mobile */
@media (max-width: 900px) {
    .wa-wrapper {
        flex-direction: column;
        padding: 40px 20px;
        text-align: center;
    }

    .wa-content { padding-left: 0; }
    
    .wa-features li {
        text-align: left; /* List tetap rata kiri agar rapi */
        justify-content: center;
    }
    .wa-features li span { text-align: left; }

    .float-notif {
        right: 10px; /* Geser notif agar tidak keluar layar di HP */
    }
    
    .wa-title { font-size: 2rem; }
}
/* --- FIXED MODAL / LIGHTBOX STYLING --- */
.modal-overlay {
    position: fixed; /* Mengunci posisi di layar */
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95); /* Latar belakang gelap pekat */
    backdrop-filter: blur(5px);
    z-index: 99999; /* Pastikan ini angka paling tinggi */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Animasi muncul */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 500px; /* Maksimal lebar seperti HP */
    max-height: 90vh;
    transform: scale(0.8);
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-image-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.3); /* Glow ungu */
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #000; /* Background hitam jika gambar loading */
    min-height: 200px; /* Agar kotak tetap ada walau gambar error */
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Tombol Close yang Jelas */
.close-modal {
    position: absolute;
    top: -50px; /* Di atas gambar */
    right: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 40px; height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: 0.3s;
}

.close-modal:hover {
    background: #ff4d4d;
    transform: rotate(90deg);
}

.modal-instruction {
    text-align: center;
    color: #666;
    margin-top: 15px;
    font-size: 0.8rem;
}/* --- FIXED: INTERACTIVE CLICK HINT (FLOATING CENTER) --- */

/* 1. Pastikan area grafik menjadi acuan posisi (Anchor) */
.chart-area {
    position: relative; /* WAJIB: Agar tombol melayang relatif terhadap kotak chart ini */
    /* Pastikan properti chart-area sebelumnya tetap ada (width, height, dll) */
}

/* 2. Container Hint dibuat Melayang (Absolute) */
.click-hint {
    position: absolute; /* KUNCI PERBAIKAN: Agar melayang & tidak dorong konten bawah */
    top: 50%;           /* Taruh di tengah vertikal */
    left: 50%;          /* Taruh di tengah horizontal */
    transform: translate(-50%, -50%); /* Geser agar titik tengahnya presisi */
    z-index: 10;        /* Pastikan di atas grafik canvas */
    pointer-events: none; /* Klik tembus ke kartu */
    width: 100%;
    display: flex;
    justify-content: center;
}

/* 3. Styling Tombolnya */
.hint-badge {
    background: rgba(0, 0, 0, 0.7); /* Background agak gelap agar teks jelas */
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    gap: 8px;
    
    /* Animasi Denyut */
    animation: pulse-badge 2s infinite;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.hint-badge i {
    color: var(--neon-green);
}

/* Warna Icon beda untuk kartu Gold */
.cyber-card.highlight .hint-badge i { color: var(--neon-gold); }

/* Animasi Denyut */
@keyframes pulse-badge {
    0% { transform: scale(1); opacity: 0.8; box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.1); }
    50% { transform: scale(1.05); opacity: 1; box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
    100% { transform: scale(1); opacity: 0.8; box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* Efek Hover pada Kartu */
.cyber-card:hover .hint-badge {
    background: var(--neon-green);
    color: #000;
    border-color: var(--neon-green);
    animation: none;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 255, 157, 0.6);
}

.cyber-card:hover .hint-badge i {
    color: #000;
}

.cyber-card.highlight:hover .hint-badge {
    background: var(--neon-gold);
    border-color: var(--neon-gold);
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.6);
}

/* =========================================
   COLLAB SPLIT SECTION (VERTICAL CLEAN)
   ========================================= */

.collab-section {
    position: relative;
    padding: 100px 0;
    background: #020202;
    overflow: hidden;
}

/* Dynamic Background */
.collab-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
}
/* Posisi Glow Disesuaikan: Orange Kiri, Ungu Kanan */
.left-glow {
    position: absolute;
    top: 20%; left: -10%; width: 50%; height: 60%;
    background: radial-gradient(circle, rgba(255, 152, 0, 0.15), transparent 70%);
    filter: blur(100px);
}
.right-glow {
    position: absolute;
    bottom: 20%; right: -10%; width: 50%; height: 60%;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.15), transparent 70%);
    filter: blur(100px);
}

.mb-5 { margin-bottom: 50px; }

/* LAYOUT GRID */
.collab-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

/* --- INFO COLUMNS --- */
.collab-info {
    flex: 1;
    max-width: 380px;
    transition: 0.4s;
}

.info-left { text-align: right; }
.info-right { text-align: left; }

.f-name { font-size: 2.2rem; line-height: 1.1; margin-bottom: 5px; color: #fff; text-transform: uppercase; }
.f-role { display: block; font-size: 0.9rem; color: #fff; font-weight: 700; letter-spacing: 1px; margin-bottom: 15px; opacity: 0.8; }

/* Bio Text Area */
.f-bio-scroll {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 80px;
}

/* Colors */
.text-purple { color: #bd00ff; text-shadow: 0 0 20px rgba(189,0,255,0.3); }
.text-orange { color: #ff9800; text-shadow: 0 0 20px rgba(255,152,0,0.3); }

/* Stats Bar */
.f-stats { margin-bottom: 20px; }
.stat-bar { display: flex; flex-direction: column; gap: 5px; }
.stat-bar label { font-size: 0.7rem; color: #666; text-transform: uppercase; font-weight: 700; }
.bar-track { width: 100%; height: 6px; background: rgba(255,255,255,0.1); border-radius: 10px; overflow: hidden; }
.bar-fill { height: 100%; font-size: 0.7rem; line-height: 6px; color:transparent; border-radius: 10px; text-align: right; padding-right: 5px; }
.bar-fill.purple { background: var(--primary-purple); box-shadow: 0 0 10px var(--primary-purple); }
.bar-fill.orange { background: #ff9800; box-shadow: 0 0 10px #ff9800; }

.info-left .stat-bar { align-items: flex-end; }
.info-right .stat-bar { align-items: flex-start; }

/* Quotes */
.f-quote {
    font-style: italic;
    font-size: 0.85rem;
    padding: 15px;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    margin-bottom: 25px;
    color: #ddd;
    border: 1px solid rgba(255,255,255,0.05);
}
.quote-purple { border-left: 3px solid var(--primary-purple); } /* Note: Swapped logic due to position change */
.quote-orange { border-right: 3px solid #ff9800; }

/* Actions */
.f-actions { display: flex; gap: 15px; }
.f-actions.left { justify-content: flex-end; }
.f-actions.right { justify-content: flex-start; }

.icon-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}
.icon-btn:hover { background: #fff; color: #000; transform: scale(1.1); }


/* --- CENTER VISUAL (VERTICAL SPLIT) --- */
.collab-visual {
    flex: 0 0 450px; /* Lebar area tengah */
    height: 550px;
    position: relative;
    /* Efek 3D Card */
    perspective: 1000px; 
}

.visual-container {
    width: 100%; height: 100%;
    position: relative;
    border-radius: 20px;
    overflow: hidden; /* Penting agar gambar tidak keluar radius */
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.1);
    background: #000;
}

.founder-half {
    position: absolute;
    top: 0; 
    width: 50%; /* Tepat setengah */
    height: 100%; 
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: #111;
}

.founder-half img {
    width: 200%; /* Double width karena containernya 50% */
    height: 100%;
    object-fit: cover;
    object-position: center top; 
    filter: grayscale(100%);
    transition: 0.5s;
}

/* Gradient Overlay */
.overlay-grad {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0.3;
    transition: 0.5s;
    mix-blend-mode: soft-light;
}
.purple-grad { background: var(--primary-purple); }
.orange-grad { background: #ff9800; }

/* LEFT HALF: JAFAR (0 to 50%) */
.half-left {
    left: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.2); /* Sedikit dipertegas bordernya */
}
.half-left img {
    /* 
       UBAH DARI 0% MENJADI -20% 
       (Ini menggeser Jafar ke Kiri agar wajahnya menjauh dari garis tengah)
    */
    transform: translateX(-24%); 
}

/* RIGHT HALF: IMAM (50% to 100%) */
.half-right {
    right: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.half-right img {
    /* 
       UBAH DARI -50% MENJADI -30% 
       (Ini menggeser Imam ke Kanan agar wajahnya menjauh dari garis tengah)
    */
    transform: translateX(-26%); 
}

/* VERTICAL ENERGY RIFT (Garis Tegak) */
.energy-rift-vertical {
    position: absolute;
    top: 0; bottom: 0; left: 50%;
    width: 2px;
    background: #fff;
    transform: translateX(-50%); 
    z-index: 10;
    box-shadow: 
        0 0 15px #fff,
        0 0 30px var(--primary-purple),
        0 0 30px #ff9800;
    opacity: 0.8;
}

/* Logo di Tengah */
.logo-connector {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 50px; height: 50px;
    /* background: #000; */
    /* border: 2px solid #fff; */
    border-radius: 50%;
    z-index: 15;
    display: flex; align-items: center; justify-content: center;
    /* box-shadow: 0 0 30px rgba(255,255,255,0.3); */
}
.logo-connector img { 
    width: 100%; 
    height: 100%; 
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.5));
}

/* --- HOVER EFFECTS (Expanding) --- */

/* Hover Container: Nyalakan warna */
.visual-container:hover .founder-half img { filter: grayscale(0%); }
.visual-container:hover .overlay-grad { opacity: 0.1; } 

/* Hover Kiri (Jafar) - Expand Left */
.visual-container:hover .half-left:hover { 
    width: 60%; 
    z-index: 5;
    box-shadow: 10px 0 30px rgba(0,0,0,0.5);
}
.visual-container:hover .half-left:hover img { 
    transform: translateX(-15%) scale(1.05); 
}
/* Hover Kanan (Imam) - Expand Right */
.visual-container:hover .half-right:hover { 
    width: 60%; 
    z-index: 5;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
}
/* Saat Imam di-hover, geser sedikit lagi biar dinamis */
.visual-container:hover .half-right:hover img { 
    transform: translateX(-35%) scale(1.05); 
}

/* RESPONSIF MOBILE */
@media (max-width: 992px) {
    .collab-wrapper { flex-direction: column; gap: 0; }
    
    .collab-visual { 
        order: 1; 
        width: 100%; height: 400px;
        margin: 0 0 40px 0;
    }
    
    .founder-half img { width: 100%; transform: none !important; }
    
    .collab-info { max-width: 100%; text-align: center; padding: 0 20px; }
    .info-left { order: 2; margin-bottom: 40px; }
    .info-left .stat-bar, .info-right .stat-bar { align-items: center; }
    .info-left .f-actions, .info-right .f-actions { justify-content: center; }
    .quote-orange, .quote-purple { border: none; border-top: 2px solid; }
    .info-right { order: 3; }
}
/* =========================================
   EXCHANGE GATEWAY (COLOR SWAP & LOGO FIX)
   ========================================= */

.gateway-section {
    position: relative;
    padding: 100px 0;
    background: #050505;
    overflow: hidden;
}

/* Background Abstract Lines */
.gateway-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(45deg, #111 25%, transparent 25%, transparent 75%, #111 75%, #111), 
        linear-gradient(45deg, #111 25%, transparent 25%, transparent 75%, #111 75%, #111);
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
    opacity: 0.3;
    z-index: 0;
}

.gateway-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 40px auto 0;
}

/* --- CARD CORE DESIGN --- */
.gate-card {
    position: relative;
    border-radius: 24px;
    background: #0a0a0a;
    border: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gate-card:hover {
    transform: translateY(-10px);
}

/* --- COLOR THEMES (SWAPPED) --- */

/* Bitunix = GREEN Theme (#00C053) */
.card-bitunix:hover { border-color: #00C053; box-shadow: 0 15px 50px rgba(0, 192, 83, 0.2); }
.card-bitunix .card-glow-bg { background: #00C053; }
.card-bitunix .benefit-item i { color: #00C053; }

/* MEXC = BLUE Theme (#4F67FF) */
.card-mexc:hover { border-color: #4F67FF; box-shadow: 0 15px 50px rgba(79, 103, 255, 0.2); }
.card-mexc .card-glow-bg { background: #4F67FF; }
.card-mexc .benefit-item i { color: #4F67FF; }


/* Internal Glow Blob */
.card-glow-bg {
    position: absolute;
    top: -50%; left: 50%;
    width: 300px; height: 300px;
    transform: translateX(-50%);
    filter: blur(80px);
    opacity: 0.2;
    z-index: 0;
    transition: 0.5s;
}
.gate-card:hover .card-glow-bg { opacity: 0.4; }

/* Content Padding */
.card-body {
    position: relative;
    z-index: 2;
    padding: 40px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* --- HEADER & LOGO SCALING FIX --- */
.gate-header {
    text-align: center;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 140px; /* Ruang lebih tinggi agar logo tidak nabrak */
}

/* Style Dasar Logo */
.gate-logo {
    height: auto;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: 0.3s;
    margin-bottom: 20px;
    /* Kita set batas agar tidak meledak, tapi cukup besar */
    max-width: 220px; 
}

/* --- SCALING KHUSUS (PENTING) --- */

/* Bitunix: Biasanya panjang, kita batasi tingginya */
.card-bitunix .gate-logo {
    max-height: 45px; 
    transform: scale(1); /* Normal */
}

/* MEXC: Biasanya kecil, kita PERBESAR EXTREME */
.card-mexc .gate-logo {
    max-height: 55px; 
    transform: scale(1.7); /* Zoom 1.7x agar terlihat besar */
}

/* Hover Effect Logo */
.gate-card:hover .gate-logo { 
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255,255,255,0.5));
}
.card-bitunix:hover .gate-logo { transform: scale(1.05); }
.card-mexc:hover .gate-logo { transform: scale(1.8); } /* Zoom lebih lagi saat hover */


/* Tier Badge */
.tier-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
}
.blue-badge { background: rgba(79, 103, 255, 0.15); color: #4F67FF; border: 1px solid rgba(79, 103, 255, 0.3); }
.green-badge { background: rgba(0, 192, 83, 0.15); color: #00C053; border: 1px solid rgba(0, 192, 83, 0.3); }

/* --- BENEFITS LIST --- */
.benefit-list {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.03);
    padding: 12px 15px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}

.benefit-item i {
    font-size: 1.2rem;
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
}

.benefit-item div { display: flex; flex-direction: column; }
.benefit-item strong { font-size: 0.9rem; color: #fff; }
.benefit-item span { font-size: 0.8rem; color: #888; }

/* --- REFERRAL CODE BOX --- */
.code-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #000;
    border: 1px dashed rgba(255,255,255,0.2);
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.code-box .label { font-size: 0.8rem; color: #666; }
.code-box .code-val { 
    font-family: monospace; 
    font-size: 1rem; 
    color: #fff; 
    font-weight: 700; 
    letter-spacing: 1px;
}
.copy-icon { color: #666; font-size: 0.9rem; }

/* --- ACTION BUTTONS --- */
.btn-gate {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 16px;
    border-radius: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-gate span { position: relative; z-index: 2; }
.btn-gate i { transition: 0.3s; position: relative; z-index: 2; }

/* Button Shine Animation */
.btn-gate::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
    z-index: 1;
}
.btn-gate:hover::before { left: 100%; }
.btn-gate:hover i { transform: translateX(5px); }

.btn-blue { background: linear-gradient(135deg, #4F67FF, #2E45DB); box-shadow: 0 5px 20px rgba(79, 103, 255, 0.4); }
.btn-green { background: linear-gradient(135deg, #00C053, #009640); box-shadow: 0 5px 20px rgba(0, 192, 83, 0.4); }

.btn-blue:hover { box-shadow: 0 10px 30px rgba(79, 103, 255, 0.6); }
.btn-green:hover { box-shadow: 0 10px 30px rgba(0, 192, 83, 0.6); }

/* Responsive */
@media (max-width: 768px) {
    .gateway-grid { grid-template-columns: 1fr; }
    .gate-card { max-width: 100%; }
}

/* =========================================
   LEGAL DISCLAIMER SECTION
   ========================================= */

.disclaimer-section {
    background: #020202; /* Background sangat gelap */
    padding: 20px 0 80px; /* Jarak bawah sebelum footer */
    position: relative;
    z-index: 5;
}

.disclaimer-card {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 59, 59, 0.03); /* Tint Merah Sangat Tipis */
    border: 1px solid rgba(255, 59, 59, 0.2); /* Border Merah Pudar */
    border-radius: 16px;
    padding: 30px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

.disclaimer-card:hover {
    border-color: rgba(255, 59, 59, 0.4);
    background: rgba(255, 59, 59, 0.05);
}

.disc-header {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #ff4d4d; /* Warna Merah Peringatan */
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 77, 77, 0.2);
    padding-bottom: 10px;
}

.disc-text {
    font-size: 0.85rem;
    color: #aaa; /* Warna teks abu-abu agar tidak terlalu mencolok tapi terbaca */
    line-height: 1.7;
    margin-bottom: 15px;
    font-family: var(--font-body);
}

.disc-text:last-child {
    margin-bottom: 0;
}

.disc-text strong {
    color: #fff;
    font-weight: 600;
}

/* Responsif Mobile */
@media (max-width: 768px) {
    .disclaimer-card {
        padding: 25px 20px;
        text-align: left; /* Rata kiri di HP agar lebih mudah dibaca */
    }
    
    .disc-header {
        width: 100%;
        justify-content: flex-start;
    }
}

/* =========================================
   ULTRA FOOTER (MINIMALIST & MOBILE OPTIMIZED)
   ========================================= */

.footer-ultra {
    background: #000;
    position: relative;
    padding: 80px 0 30px;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Neon Top Border */
.footer-ultra::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--primary-purple), var(--accent-green));
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
}

/* Background Watermark Text */
.footer-watermark {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18vw; /* Sangat Besar */
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    font-family: var(--font-head);
    z-index: 0;
}

.footer-glow {
    position: absolute;
    bottom: 0; left: 30%; width: 40%; height: 300px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.08) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 0;
}

/* GRID LAYOUT (DESKTOP) */
.footer-grid {
    display: grid;
    /* 2 Kolom untuk Brand, Sisanya untuk Link */
    grid-template-columns: 1.5fr 0.8fr 0.8fr; 
    gap: 60px;
    margin-bottom: 60px;
}

/* COLUMN 1: BRAND */
.brand-col {
    max-width: 400px;
}

.footer-logo img {
    height: 40px; /* Ukuran Logo Pas */
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 0.9rem;
    color: #888;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Social Buttons */
.social-links-pro {
    display: flex;
    gap: 12px;
}

.soc-btn {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.05);
}

.soc-btn:hover { transform: translateY(-3px); }
.soc-btn.ig:hover { background: #E1306C; border-color: #E1306C; box-shadow: 0 0 15px rgba(225, 48, 108, 0.4); }
.soc-btn.wa:hover { background: #25D366; border-color: #25D366; box-shadow: 0 0 15px rgba(37, 211, 102, 0.4); }
.soc-btn.yt:hover { background: #FF0000; border-color: #FF0000; box-shadow: 0 0 15px rgba(255, 0, 0, 0.4); }
.soc-btn.tg:hover { background: #0088cc; border-color: #0088cc; box-shadow: 0 0 15px rgba(0, 136, 204, 0.4); }

/* LINKS COLUMNS */
.col-title {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 700;
}

/* Garis Ungu di bawah Judul */
.col-title::after {
    content: '';
    position: absolute;
    bottom: -8px; left: 0;
    width: 40px; height: 3px;
    background: var(--primary-purple);
    border-radius: 2px;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #999;
    font-size: 0.95rem;
    transition: 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-green);
    transform: translateX(5px);
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

/* BOTTOM BAR */
.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.85rem;
    color: #555;
}

.bottom-badges span {
    margin-left: 20px;
    color: #777;
    font-size: 0.8rem;
}
.bottom-badges i { color: var(--primary-purple); margin-right: 5px; }

/* =========================================
   RESPONSIVE DESIGN (MOBILE OPTIMIZED)
   ========================================= */

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr; /* Stack jadi 1 kolom */
        gap: 50px;
        text-align: center; /* Rata tengah semua */
    }

    /* Center Brand Column */
    .brand-col {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .social-links-pro {
        justify-content: center;
    }

    /* Center Titles & Underlines */
    .col-title::after {
        left: 50%;
        transform: translateX(-50%); /* Garis ungu jadi di tengah */
    }

    /* Center Links Animation */
    .footer-links a:hover {
        transform: translateX(0) scale(1.05); /* Di HP jangan geser, zoom dikit aja */
    }

    /* Bottom Bar Stacked */
    .footer-bottom-bar {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding-bottom: 20px; /* Tambah jarak bawah untuk HP */
    }

    .bottom-badges span {
        margin: 0 10px; /* Jarak antar badge di HP */
    }
    
    /* Sembunyikan Watermark di HP agar tidak penuh */
    .footer-watermark {
        display: none;
    }
}
/* --- BLOG PAGE STYLING --- */

/* Kartu Berita */
.blog-card {
    background: #0a0a0a;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: 0.3s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.blog-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-green);
    box-shadow: 0 10px 40px rgba(0,255,136,0.1);
}
.blog-thumb {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.blog-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.blog-date {
    font-size: 0.8rem;
    color: var(--accent-green);
    font-family: monospace;
    margin-bottom: 10px;
}
.blog-title {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.4;
    font-weight: 700;
}
.read-more {
    margin-top: auto;
    font-size: 0.9rem;
    color: #888;
    display: flex; align-items: center; gap: 8px;
    transition: 0.3s;
}
.blog-card:hover .read-more { color: #fff; gap: 12px; }

/* MODAL / POPUP BACA BERITA */
.article-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #000;
    z-index: 99999;
    overflow-y: auto;
    transform: translateY(100%); /* Sembunyi di bawah */
    transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}
.article-overlay.active { transform: translateY(0); }

.article-container {
    max-width: 800px;
    margin: 0 auto;
    background: #050505;
    min-height: 100vh;
    border-left: 1px solid rgba(255,255,255,0.05);
    border-right: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 100px;
    position: relative;
}

.article-header-img-wrapper {
    position: relative;
    width: 100%; height: 400px;
}
.art-header-img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.art-header-gradient {
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, #050505 0%, transparent 80%);
}

.article-body {
    padding: 0 40px;
    margin-top: -60px; /* Overlap ke gambar */
    position: relative;
    z-index: 2;
}

#art-title { font-size: 2.5rem; margin: 10px 0 30px; line-height: 1.2; color: #fff; }
.art-date { 
    background: var(--primary-purple); color: #fff; 
    padding: 4px 12px; border-radius: 4px; font-size: 0.8rem; font-weight: 700;
}

/* Rich Text Styling */
.rich-text-content { color: #ddd; font-size: 1.1rem; line-height: 1.8; }
.rich-text-content p { margin-bottom: 20px; }
.rich-text-content h2 { margin-top: 40px; margin-bottom: 15px; color: #fff; font-size: 1.8rem; }
.rich-text-content ul { list-style: disc; margin-left: 20px; margin-bottom: 20px; }
.rich-text-content img { max-width: 100%; border-radius: 10px; margin: 20px 0; }

.close-article {
    position: fixed;
    top: 20px; right: 20px;
    width: 50px; height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 100;
    transition: 0.3s;
}
.close-article:hover { background: var(--neon-red); transform: rotate(90deg); }

@media (max-width: 768px) {
    .article-header-img-wrapper { height: 250px; }
    .article-body { padding: 0 20px; }
    #art-title { font-size: 1.8rem; }
}

/* =========================================
   NEWS COMPACT GRID (REFERENSI STYLE)
   ========================================= */

/* 1. Grid Layout: Muat 4 Kartu Sebaris */
#homepage-news-grid, #blog-grid {
    display: grid;
    /* Min 260px agar muat 4 biji di layar laptop/PC */
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); 
    gap: 25px;
    margin-top: 20px;
}

/* 2. Kartu Berita Baru (Compact Style) */
.news-card-pro {
    background: #111; /* Dark Theme */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: 0.3s ease;
    cursor: pointer;
    height: 100%; /* Agar tinggi sama rata */
}

.news-card-pro:hover {
    transform: translateY(-5px);
    border-color: var(--accent-green);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Gambar Thumbnail */
.news-thumb-wrapper {
    position: relative;
    width: 100%;
    height: 160px; /* Tinggi fix agar rapi */
    overflow: hidden;
}

.news-thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.news-card-pro:hover .news-thumb-wrapper img {
    transform: scale(1.1);
}

/* Badge "Articles" (Pojok Kiri Atas Gambar) */
.news-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-purple); /* KEMBALI KE UNGU */
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(138, 43, 226, 0.5); /* Shadow Ungu */
}

/* Body Content */
.news-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Tanggal */
.news-date {
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.news-date i { color: var(--accent-green); font-size: 0.7rem; }

/* Judul */
.news-title {
    font-size: 1.1rem;
    line-height: 1.4;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    /* Batasi judul maks 3 baris lalu titik-titik (...) */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.2em; /* Menjaga tinggi judul agar kartu sejajar */
}

/* Read More Link */
.news-link {
    margin-top: auto;
    font-size: 0.85rem;
    color: var(--primary-purple); /* TEKS JADI UNGU */
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: 0.3s;
}

.news-card-pro:hover .news-link {
    gap: 10px;
    color: #fff; /* Saat hover jadi putih */
    text-shadow: 0 0 10px var(--primary-purple);
}

/* Responsif Mobile: Jadi 1 Kolom */
@media (max-width: 768px) {
    #homepage-news-grid {
        grid-template-columns: 1fr;
    }
}