/* inter-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  src: url('../webfonts/inter-v20-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('../webfonts/inter-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('../webfonts/inter-v20-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('../webfonts/inter-v20-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('../webfonts/inter-v20-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  src: url('../webfonts/inter-v20-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


        :root { 
            --x-blue: #1d9bf0; 
            --x-dark: #0f1419;
            --border-color: #eff3f4; 
            --text-main: #0f1419; 
            --text-muted: #536471; 
            --bg-surface: #f9f9f9;
            --card-shadow: 0 10px 30px rgba(0,0,0,0.04);
            --card-hover-shadow: 0 20px 40px rgba(0,0,0,0.08);
        }
        
        body { 
            font-family: 'Inter', sans-serif; 
            background: #fff; 
            color: var(--text-main); 
            margin: 0; padding: 0;
        }
        a { text-decoration: none; transition: 0.2s; }

        /* HERO & AI SEARCH */
        .hero-section { padding: 60px 0 40px; text-align: center; }
        
        /* AI Box Enhanced */
        .ai-search-wrapper { position: relative; max-width: 750px; margin: 30px auto; }
        .ai-label-float {
            position: absolute; top: -12px; left: 25px; background: var(--x-dark); color: #fff;
            font-size: 0.75rem; padding: 2px 12px; border-radius: 20px; font-weight: 600; z-index: 2;
            box-shadow: 0 4px 10px rgba(0,0,0, 0.2);
        }

        .ai-search-box { 
            padding: 15px 15px 15px 20px;
            background: #fff; border: 2px solid var(--border-color); border-radius: 24px;
            display: flex; flex-direction: column; box-shadow: 0 10px 30px rgba(0,0,0,0.05);
            transition: all 0.3s ease; position: relative;
        }
        .ai-search-box:focus-within { border-color: var(--x-blue); box-shadow: 0 10px 30px rgba(29, 155, 240, 0.15); transform: translateY(-2px); }
        .ai-input-area { display: flex; align-items: flex-start; width: 100%; }
        .ai-textarea {
            flex-grow: 1; border: none; resize: none; outline: none;
            font-family: 'Inter', sans-serif; font-size: 1.05rem; color: var(--text-main);
            min-height: 28px; max-height: 200px; overflow-y: hidden;
            padding: 5px 10px; background: transparent; line-height: 1.5;
        }
        .ai-textarea::placeholder { color: #94a3b8; opacity: 0.8; font-style: italic; }

        .search-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 5px; border-top: 1px dashed var(--border-color); }
        .char-count { font-size: 0.75rem; color: var(--text-muted); }
        .char-count.limit-reached { color: #f4212e; }
        .ai-search-badge {
            background: var(--x-blue); border: 1px solid var(--x-blue); color: #fff;
            font-weight: 700; padding: 8px 24px; border-radius: 50px;
            cursor: pointer; transition: 0.2s; display: flex; align-items: center; gap: 8px; font-size: 0.9rem;
        }
        .ai-search-badge:hover:not(:disabled) { background: #1a8cd8; transform: translateY(-1px); }
        .ai-search-badge:disabled { opacity: 0.6; cursor: not-allowed; }
        #ai-result-box { margin-top: 15px; padding: 20px; background: #fff; border-top: 1px solid var(--border-color); display: none; text-align: left; animation: fadeIn 0.3s ease; }
        @keyframes fadeIn { from{opacity:0;} to{opacity:1;} }

        /* QUICK TOOLS */
        .tool-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 40px 0; }
        .tool-item { background: #f7f9f9; border: 1px solid var(--border-color); border-radius: 12px; padding: 15px; text-align: center; color: var(--text-main); }
        .tool-item:hover { border-color: var(--x-blue); background: #fff; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
        .tool-item i { font-size: 1.2rem; color: var(--text-main); margin-bottom: 5px; display: block; }
        .tool-item:hover i { color: var(--x-blue); }
        .tool-item span { font-size: 0.8rem; font-weight: 700; }

        /* TRENDING */
        .trend-card { background: #f7f9f9; border-radius: 16px; padding: 25px; border: 1px solid var(--border-color); }
        .trend-row { display: flex; justify-content: space-between; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid #e1e8ed; }
        .trend-row:last-child { border-bottom: none; }
        .trend-topic { font-weight: 800; color: var(--text-main); flex: 1; padding-right: 15px; word-break: break-word; }
        .trend-count { font-size: 0.8rem; color: var(--text-muted); text-align: right; }

        /* TOP 10 TABLE */
        .table-custom-wrapper {
            background: #fff; border-radius: 16px; box-shadow: 0 4px 12px rgba(0,0,0,0.05);
            overflow: hidden; border: 1px solid var(--border-color);
        }
        .table-custom { width: 100%; border-collapse: collapse; }
        .table-custom thead { background: #0f1419; }
        .table-custom th { 
            font-weight: 700; color: #fff; text-transform: uppercase; 
            font-size: 0.75rem; letter-spacing: 1px; padding: 15px; border-bottom: none; text-align: left;
        }
        .table-custom td { padding: 15px; vertical-align: middle; border-bottom: 1px solid #eff3f4; }
        .rank-badge {
            width: 30px; height: 30px; background: #eff3f4; color: #536471;
            border-radius: 8px; display: flex; align-items: center; justify-content: center;
            font-size: 0.8rem; font-weight: 800;
        }
        .table-custom tr:nth-child(1) .rank-badge { background: #FFD700; color: #fff; } 
        .table-custom tr:nth-child(2) .rank-badge { background: #C0C0C0; color: #fff; } 
        .table-custom tr:nth-child(3) .rank-badge { background: #CD7F32; color: #fff; }
        .table-footer { background: #f7f9f9; padding: 10px 20px; font-size: 0.8rem; color: #536471; text-align: center; }

        /* AUDIT SECTION */
        .audit-section { padding: 50px 0; background: var(--bg-surface); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
        .checker-box { background: #fff; padding: 35px; border-radius: 20px; border: 1px solid var(--border-color); box-shadow: 0 5px 20px rgba(0,0,0,0.03); max-width: 800px; margin: 0 auto; }
        
        /* Mobile Friendly Input */
        .checker-input-wrapper {
            background: #fff; border: 2px solid var(--border-color); border-radius: 16px;
            padding: 8px; margin: 20px 0; transition: 0.2s;
            display: flex; flex-wrap: wrap; align-items: center; gap: 5px;
        }
        .checker-input-wrapper:focus-within { border-color: var(--x-dark); }
        .checker-input { 
            flex: 1; padding: 10px 15px; border: none; font-size: 1rem; outline: none; min-width: 150px;
        }
        .checker-btn { 
            background: var(--x-dark); color: #fff; border: none; padding: 10px 25px; 
            border-radius: 12px; font-weight: 700; cursor: pointer; transition: 0.2s; white-space: nowrap; flex-shrink: 0;
        }
        .checker-btn:hover { background: #333; }

        /* Audit Results */
        #x-checker-result { display: none; margin-top: 30px; animation: fadeIn 0.4s ease; border-top: 2px dashed var(--border-color); padding-top: 25px; }
        
        .profile-card {
            display: flex; flex-direction: column; align-items: center; text-align: center; gap: 15px; margin-bottom: 25px;
        }
        .profile-card img { width: 80px; height: 80px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
        
        .stat-grid { display: grid; grid-template-columns: 1fr; gap: 8px; width: 100%; margin-top: 15px; }
        .stat-box { 
            background: #f7f9f9; padding: 10px 15px; border-radius: 12px; 
            display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--border-color);
        }
        .stat-val { font-weight: 800; font-size: 0.95rem; color: #0f1419; }
        .stat-lbl { font-size: 0.75rem; text-transform: uppercase; color: #536471; letter-spacing: 0.5px; margin: 0; }

        .compare-box { margin-top: 25px; background: #fff; border: 1px solid var(--border-color); border-radius: 12px; padding: 20px; border-left: 5px solid var(--x-dark); }
        .compare-header { display: flex; flex-direction: column; gap: 10px; margin-bottom: 15px; }
        .compare-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--border-color); font-size: 0.95rem; }
        .compare-row:last-child { border-bottom: none; }
        .compare-row b { color: #0f1419; }

        /* EDITOR'S PICKS */
        .picks-section { padding: 60px 0; background: #fff; }
        .pick-list { counter-reset: pick-count; list-style: none; padding: 0; margin: 0; }
        .pick-list li { 
            counter-increment: pick-count; position: relative; 
            padding: 10px 0 10px 30px; border-bottom: 1px solid #f1f5f9; 
        }
        .pick-list li::before { 
            content: counter(pick-count) "."; position: absolute; left: 0; top: 10px;
            font-weight: 800; color: var(--text-muted); font-size: 0.95rem;
        }
        .pick-list li:hover::before { color: var(--x-blue); }
        .pick-list li a { color: var(--text-main); font-weight: 600; font-size: 0.95rem; }
        .pick-list li a:hover { color: var(--x-blue); text-decoration: underline; }

        /* ARCHIVE */
        .art-row { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--border-color); }
        .art-title { font-weight: 700; color: var(--text-main); }
        .art-row:hover .art-title { color: var(--x-blue); }
        .art-date { font-size: 0.8rem; color: var(--text-muted); min-width: 100px; text-align: right; }

        #btn-load-more {
            transition: 0.3s; font-weight: 700; letter-spacing: 0.5px;
            background: var(--x-dark); border: none; color: #fff;
        }
        #btn-load-more:hover { background: #333; transform: translateY(-2px); }

        /* MOBILE RESPONSIVE */
        @media (max-width: 992px) { 
            .tool-grid { grid-template-columns: repeat(3, 1fr); }
            
            /* Checker Mobile */
            .checker-input-wrapper { flex-direction: column; align-items: stretch; }
            .checker-input-wrapper input { text-align: center; border-bottom: 1px solid var(--border-color); margin-bottom: 5px; }
            .checker-input-wrapper button { width: 100%; }

            /* Table Mobile Card View */
            .table-custom thead { display: none; }
            .table-custom, .table-custom tbody, .table-custom tr, .table-custom td { display: block; width: 100%; }
            .table-custom tr { 
                margin-bottom: 15px; border-bottom: 1px solid var(--border-color); padding-bottom: 15px; 
                display: flex; flex-wrap: wrap; align-items: center; gap: 10px; position: relative;
            }
            .table-custom tr:last-child { border-bottom: none; margin-bottom: 0; }
            .table-custom td { border: none; padding: 5px 0; }
            
            .table-custom td:nth-child(1) { width: 40px; }
            .table-custom td:nth-child(2) { width: calc(100% - 50px); }
            .table-custom td:nth-child(3) { 
                width: 100%; text-align: left; padding-left: 40px; 
                color: var(--x-blue); font-weight: 800 !important; font-size: 0.9rem;
            }
            .table-custom td:nth-child(3)::before { content: 'Followers: '; color: var(--text-muted); font-weight: 500; }
        }
        
        @media (max-width: 576px) { 
            .tool-grid { grid-template-columns: repeat(2, 1fr); }
            .art-row { flex-direction: column; align-items: flex-start; }
            .ai-search-box { padding: 15px; }
            .search-footer { flex-direction: column-reverse; gap: 10px; align-items: stretch; }
        }
    

       /* Kelas baru: misal namanya .link-panah */
.link-panah {
  text-decoration: none;
  color: #008f68; /* Warna teks hijau gelap */
  font-weight: 700;
  position: relative;
  /* Garis bawah default agar orang tahu ini link */
  border-bottom: 3px solid rgba(0, 143, 104, 0.3); 
  transition: color 0.3s ease-in-out;
  display: inline-block; /* Supaya rapi dengan ikon */
}

/* 1. BAGIAN IKON (Memakai ::before) */
.link-panah::before {
  content: '→'; /* Bisa ganti dengan '👉' atau '🔗' */
  margin-right: 5px; /* Jarak antara ikon dan teks */
  display: inline-block;
  transition: transform 0.3s ease; /* Animasi gerak ikon */
}

/* 2. BAGIAN BACKGROUND HOVER (Memakai ::after) */
.link-panah::after {
  content: '';
  background-color: rgba(0, 143, 104, 0.2); /* Warna background saat hover (transparan) */
  position: absolute;
  left: 0;
  bottom: 0; /* Mulai dari paling bawah */
  width: 100%;
  height: 0%; /* Awalnya 0, tidak terlihat */
  z-index: -1; /* Di belakang teks */
  transition: all 0.3s ease-in-out;
}

/* EFEK SAAT MOUSE DI-HOVER */
.link-panah:hover {
  color: #004d38; /* Warna teks jadi lebih gelap saat hover */
}

.link-panah:hover::before {
  transform: translateX(5px); /* Ikon panah maju sedikit ke kanan */
}

.link-panah:hover::after {
  height: 100%; /* Background naik memenuhi teks */
}



