/*
Theme Name: Game Download Theme
Theme URI: https://example.com
Author: Game Core
Description: Theme khusus website download game dengan sistem VIP.
Version: 1.1.0
*/

/* =========================================================
   BASE RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --font-main: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    font-weight: 500;
    line-height: 1.6;
    background: #0f0f0f;
    color: #e5e7eb;
}

body {
    min-height: 100vh;
}

img,
svg,
video,
canvas {
    max-width: 100%;
}

button,
input,
select,
textarea {
    font-family: var(--font-main);
}

button {
    cursor: pointer;
    border: none;
}

a {
    color: #4da3ff;
    text-decoration: none;
}

/*
 * Global link hover tidak boleh underline.
 * Underline global ini yang sebelumnya bikin garis putih di bawah judul.
 */
a:hover,
a:focus,
a:active {
    text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid rgba(96, 165, 250, 0.55);
    outline-offset: 3px;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 15px;
}

/* =========================================================
   GLOBAL TYPOGRAPHY
========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

button,
.btn,
input,
select,
textarea {
    font-weight: 600;
}

/* =========================================================
   SAFE HOTFIX - GAME LINK UNDERLINE CLEANUP
   Aman:
   - Tidak sentuh background-image.
   - Tidak pakai font-size: 0.
   - Tidak pakai ::before content.
   - Tidak reset semua child pakai selector a *.
========================================================= */

/* Area game hub: Home, Ranking/Top Game, Archive/All Game, Library/History */
.gdt-game-home a,
.gdt-game-home a:hover,
.gdt-game-home a:focus,
.gdt-game-home a:active,
.gdt-game-hub a,
.gdt-game-hub a:hover,
.gdt-game-hub a:focus,
.gdt-game-hub a:active,
.gdt-game-archive a,
.gdt-game-archive a:hover,
.gdt-game-archive a:focus,
.gdt-game-archive a:active,
.gdt-game-library-hub a,
.gdt-game-library-hub a:hover,
.gdt-game-library-hub a:focus,
.gdt-game-library-hub a:active {
    text-decoration: none !important;
}

/* Card game tidak boleh underline */
.gdt-game-card,
.gdt-game-card:hover,
.gdt-game-card:focus,
.gdt-game-card:active,
.gdt-game-home-card,
.gdt-game-home-card:hover,
.gdt-game-home-card:focus,
.gdt-game-home-card:active,
.gdt-game-home-slide,
.gdt-game-home-slide:hover,
.gdt-game-home-slide:focus,
.gdt-game-home-slide:active,
.gdt-game-rank-card,
.gdt-game-rank-card:hover,
.gdt-game-rank-card:focus,
.gdt-game-rank-card:active,
.gdt-game-library-card,
.gdt-game-library-card:hover,
.gdt-game-library-card:focus,
.gdt-game-library-card:active,
.game-card,
.game-card:hover,
.game-card:focus,
.game-card:active {
    text-decoration: none !important;
}

/* Judul game: hilangkan garis putih/underline */
.gdt-game-title,
.game-title,
.gdt-game-home-title,
.gdt-game-home-subtitle,
.gdt-game-home-card-body h3,
.gdt-game-home-control-title,
.gdt-game-home-section-title,
.gdt-game-rank-title,
.gdt-game-hub-title,
.gdt-game-hub-subtitle,
.gdt-game-library-name,
.gdt-game-library-title,
.gdt-game-library-subtitle,
.gdt-game-archive-title,
.gdt-game-archive-subtitle {
    text-decoration: none !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

/* Judul game saat hover/focus/click */
.gdt-game-home a:hover .gdt-game-home-title,
.gdt-game-home a:hover .gdt-game-home-subtitle,
.gdt-game-home a:hover .gdt-game-home-card-body h3,
.gdt-game-home a:hover .gdt-game-home-control-title,
.gdt-game-home a:hover .gdt-game-home-section-title,
.gdt-game-hub a:hover .gdt-game-rank-title,
.gdt-game-hub a:hover .gdt-game-hub-title,
.gdt-game-hub a:hover .gdt-game-hub-subtitle,
.gdt-game-archive a:hover .gdt-game-title,
.gdt-game-archive a:hover .game-title,
.gdt-game-archive a:hover .gdt-game-archive-title,
.gdt-game-archive a:hover .gdt-game-archive-subtitle,
.gdt-game-library-hub a:hover .gdt-game-library-name,
.gdt-game-library-hub a:hover .gdt-game-library-title,
.gdt-game-library-hub a:hover .gdt-game-library-subtitle,
.gdt-game-home a:focus .gdt-game-home-title,
.gdt-game-home a:focus .gdt-game-home-subtitle,
.gdt-game-home a:focus .gdt-game-home-card-body h3,
.gdt-game-home a:focus .gdt-game-home-control-title,
.gdt-game-home a:focus .gdt-game-home-section-title,
.gdt-game-hub a:focus .gdt-game-rank-title,
.gdt-game-hub a:focus .gdt-game-hub-title,
.gdt-game-hub a:focus .gdt-game-hub-subtitle,
.gdt-game-archive a:focus .gdt-game-title,
.gdt-game-archive a:focus .game-title,
.gdt-game-archive a:focus .gdt-game-archive-title,
.gdt-game-archive a:focus .gdt-game-archive-subtitle,
.gdt-game-library-hub a:focus .gdt-game-library-name,
.gdt-game-library-hub a:focus .gdt-game-library-title,
.gdt-game-library-hub a:focus .gdt-game-library-subtitle,
.gdt-game-home a:active .gdt-game-home-title,
.gdt-game-home a:active .gdt-game-home-subtitle,
.gdt-game-home a:active .gdt-game-home-card-body h3,
.gdt-game-home a:active .gdt-game-home-control-title,
.gdt-game-home a:active .gdt-game-home-section-title,
.gdt-game-hub a:active .gdt-game-rank-title,
.gdt-game-hub a:active .gdt-game-hub-title,
.gdt-game-hub a:active .gdt-game-hub-subtitle,
.gdt-game-archive a:active .gdt-game-title,
.gdt-game-archive a:active .game-title,
.gdt-game-archive a:active .gdt-game-archive-title,
.gdt-game-archive a:active .gdt-game-archive-subtitle,
.gdt-game-library-hub a:active .gdt-game-library-name,
.gdt-game-library-hub a:active .gdt-game-library-title,
.gdt-game-library-hub a:active .gdt-game-library-subtitle {
    text-decoration: none !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

/* Hover judul game: efek halus, bukan underline */
.gdt-game-card:hover .gdt-game-title,
.gdt-game-card:hover .game-title,
.gdt-game-home-card:hover .gdt-game-home-card-body h3,
.gdt-game-home-slide:hover .gdt-game-home-title,
.gdt-game-rank-card:hover .gdt-game-rank-title,
.gdt-game-library-card:hover .gdt-game-library-name,
.game-card:hover .game-title {
    color: #dbeafe !important;
    text-shadow: 0 0 14px rgba(96, 165, 250, 0.18);
}

/* =========================================================
   SAFE HOTFIX - MANGA LINK UNDERLINE CLEANUP
   Disiapkan juga supaya card manga tidak kena underline global.
========================================================= */

.gdt-manga-card a,
.gdt-manga-card a:hover,
.gdt-manga-card a:focus,
.gdt-manga-card a:active,
.gdt-manga-home-card a,
.gdt-manga-home-card a:hover,
.gdt-manga-home-card a:focus,
.gdt-manga-home-card a:active,
.gdt-manga-library-card a,
.gdt-manga-library-card a:hover,
.gdt-manga-library-card a:focus,
.gdt-manga-library-card a:active {
    text-decoration: none !important;
}

.gdt-manga-card,
.gdt-manga-card:hover,
.gdt-manga-card:focus,
.gdt-manga-card:active,
.gdt-manga-home-card,
.gdt-manga-home-card:hover,
.gdt-manga-home-card:focus,
.gdt-manga-home-card:active,
.gdt-manga-library-card,
.gdt-manga-library-card:hover,
.gdt-manga-library-card:focus,
.gdt-manga-library-card:active,
.manga-card,
.manga-card:hover,
.manga-card:focus,
.manga-card:active {
    text-decoration: none !important;
}

.gdt-manga-title,
.manga-title,
.gdt-manga-card-title,
.gdt-manga-name,
.gdt-manga-item-title,
.gdt-manga-library-title,
.gdt-manga-home-title,
.gdt-manga-card h3,
.gdt-manga-card h2 {
    text-decoration: none !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

.gdt-manga-card a:hover .gdt-manga-title,
.gdt-manga-card a:hover .manga-title,
.gdt-manga-card a:hover .gdt-manga-card-title,
.gdt-manga-card a:hover .gdt-manga-name,
.gdt-manga-card a:hover .gdt-manga-item-title,
.gdt-manga-card a:hover .gdt-manga-library-title,
.gdt-manga-card a:hover .gdt-manga-home-title,
.gdt-manga-card a:hover h3,
.gdt-manga-card a:hover h2,
.gdt-manga-card a:focus .gdt-manga-title,
.gdt-manga-card a:focus .manga-title,
.gdt-manga-card a:focus .gdt-manga-card-title,
.gdt-manga-card a:focus .gdt-manga-name,
.gdt-manga-card a:focus .gdt-manga-item-title,
.gdt-manga-card a:focus .gdt-manga-library-title,
.gdt-manga-card a:focus .gdt-manga-home-title,
.gdt-manga-card a:focus h3,
.gdt-manga-card a:focus h2,
.gdt-manga-card a:active .gdt-manga-title,
.gdt-manga-card a:active .manga-title,
.gdt-manga-card a:active .gdt-manga-card-title,
.gdt-manga-card a:active .gdt-manga-name,
.gdt-manga-card a:active .gdt-manga-item-title,
.gdt-manga-card a:active .gdt-manga-library-title,
.gdt-manga-card a:active .gdt-manga-home-title,
.gdt-manga-card a:active h3,
.gdt-manga-card a:active h2 {
    text-decoration: none !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

.gdt-manga-card:hover .gdt-manga-title,
.gdt-manga-card:hover .manga-title,
.gdt-manga-card:hover .gdt-manga-card-title,
.gdt-manga-card:hover .gdt-manga-name,
.gdt-manga-card:hover .gdt-manga-item-title,
.gdt-manga-card:hover h3,
.gdt-manga-card:hover h2,
.gdt-manga-home-card:hover .gdt-manga-home-title,
.gdt-manga-library-card:hover .gdt-manga-library-title,
.manga-card:hover .manga-title {
    color: #dbeafe !important;
    text-shadow: 0 0 14px rgba(96, 165, 250, 0.18);
}






/* =========================================================
   HOTFIX PALETTE V2
   Samakan nuansa background ke hitam kebiruan seperti header/footer
   Aman untuk beta: hanya override visual
========================================================= */

:root {
    --gdt-blue-1: #60a5fa;
    --gdt-blue-2: #2563eb;
    --gdt-blue-3: #1d4ed8;
    --gdt-blue-4: #0f172a;
    --gdt-dark-1: #020617;
    --gdt-dark-2: #0b1120;
    --gdt-dark-3: #111827;
    --gdt-blue-glow-soft: rgba(96, 165, 250, 0.14);
    --gdt-blue-glow: rgba(96, 165, 250, 0.20);
    --gdt-blue-glow-strong: rgba(37, 99, 235, 0.24);
    --gdt-border-blue: rgba(96, 165, 250, 0.16);
    --gdt-border-blue-strong: rgba(96, 165, 250, 0.24);
}

/* =========================================================
   GLOBAL PAGE FEEL
========================================================= */

html,
body {
    background: var(--gdt-dark-1);
    color: #e5e7eb;
}

/* =========================================================
   ACCOUNT PAGE - UBAH KUNING JADI BIRU GELAP
========================================================= */

/* Card utama account biar nyatu dengan header/footer */
.account-wrap .card {
    background:
        linear-gradient(180deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.985)) !important;
    border: 1px solid rgba(96, 165, 250, 0.08) !important;
    box-shadow: 0 28px 88px rgba(0, 0, 0, 0.72) !important;
}

/* Menu umum tetap biru-gelap */
.account-wrap .menu a {
    background:
        linear-gradient(180deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.98)) !important;
    border-color: rgba(96, 165, 250, 0.10) !important;
}

.account-wrap .menu a:hover {
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.99)) !important;
    border-color: rgba(96, 165, 250, 0.20) !important;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.10) !important;
}

/* Icon hover jangan kuning lagi */
.account-wrap .menu a:hover .menu-icon {
    color: var(--gdt-blue-1) !important;
}

/* Kikenna Komik card: dari kuning jadi biru-gelap */
.account-wrap .menu a.kikenna-komik {
    background:
        radial-gradient(circle at 10% 0%, rgba(96, 165, 250, 0.14), transparent 34%),
        linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(2, 6, 23, 0.95)) !important;
    border-color: rgba(96, 165, 250, 0.18) !important;
    box-shadow: none !important;
}

.account-wrap .menu a.kikenna-komik:hover {
    background:
        radial-gradient(circle at 10% 0%, rgba(96, 165, 250, 0.20), transparent 36%),
        linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(2, 6, 23, 0.98)) !important;
    border-color: rgba(96, 165, 250, 0.28) !important;
    box-shadow: 0 12px 34px rgba(37, 99, 235, 0.14) !important;
}

/* Logo K kecil di menu komik: full biru */
.account-wrap .menu-k-logo {
    background:
        radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.22), transparent 36%),
        linear-gradient(135deg, #60a5fa 0%, #2563eb 52%, #1d4ed8 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25) !important;
}

/* =========================================================
   GAME HOME - BIRU GELAP
========================================================= */

.gdt-game-home {
    --home-a: #60a5fa !important;
    --home-b: #2563eb !important;
    --home-glow: rgba(96, 165, 250, 0.16) !important;
}

/* Hero overlay home tetap hitam kebiruan */
.gdt-game-home-slide::before {
    background:
        linear-gradient(90deg, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.76) 48%, rgba(2, 6, 23, 0.24) 100%),
        linear-gradient(180deg, rgba(2, 6, 23, 0.08) 0%, rgba(2, 6, 23, 0.94) 100%),
        radial-gradient(circle at top left, rgba(96, 165, 250, 0.14), transparent 36%) !important;
}

/* Kicker home jangan kuning */
.gdt-game-home-kicker {
    color: #eff6ff !important;
    background: linear-gradient(135deg, #60a5fa, #2563eb) !important;
    box-shadow: 0 14px 34px rgba(37, 99, 235, 0.18) !important;
}

/* Tombol hero */
.gdt-game-home-hero-btn {
    color: #eff6ff !important;
    background: linear-gradient(135deg, #60a5fa, #2563eb) !important;
    box-shadow: 0 14px 34px rgba(37, 99, 235, 0.18) !important;
}

/* =========================================================
   TOP GAME / RANKING HUB - SEMUA MODE DISERAGAMKAN BIRU
========================================================= */

.gdt-game-hub,
.gdt-game-hub.is-download,
.gdt-game-hub.is-like,
.gdt-game-hub.is-favorite {
    --rank-a: #60a5fa !important;
    --rank-b: #2563eb !important;
    --rank-glow: rgba(96, 165, 250, 0.16) !important;
}

.gdt-game-hub-hero {
    background:
        radial-gradient(circle at top left, rgba(96, 165, 250, 0.14), transparent 34%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.98)) !important;
    border: 1px solid rgba(96, 165, 250, 0.12) !important;
    box-shadow: 0 26px 76px rgba(0, 0, 0, 0.32) !important;
}

.gdt-game-hub-hero::after {
    background: rgba(37, 99, 235, 0.16) !important;
    filter: blur(10px) !important;
    opacity: 0.9 !important;
}

.gdt-game-hub-kicker {
    color: #eff6ff !important;
    background: linear-gradient(135deg, #60a5fa, #2563eb) !important;
    box-shadow: 0 14px 34px rgba(37, 99, 235, 0.18) !important;
}

/* =========================================================
   LIBRARY HUB / HISTORY - SERAGAM BIRU GELAP
========================================================= */

.gdt-game-library-hub,
.gdt-game-library-hub.is-like,
.gdt-game-library-hub.is-favorite,
.gdt-game-library-hub.is-download {
    --hub-a: #60a5fa !important;
    --hub-b: #2563eb !important;
    --hub-glow: rgba(96, 165, 250, 0.16) !important;
}

.gdt-game-library-hero {
    background:
        radial-gradient(circle at top left, rgba(96, 165, 250, 0.14), transparent 36%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.97), rgba(2, 6, 23, 0.98)) !important;
    border: 1px solid rgba(96, 165, 250, 0.12) !important;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35) !important;
}

.gdt-game-library-kicker {
    color: #eff6ff !important;
    background: linear-gradient(135deg, #60a5fa, #2563eb) !important;
    box-shadow: 0 14px 34px rgba(37, 99, 235, 0.18) !important;
}

/* Card library/history */
.gdt-game-library-card {
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.95), rgba(2, 6, 23, 0.98)) !important;
    border-color: rgba(96, 165, 250, 0.10) !important;
}

/* =========================================================
   ALL GAME / ARCHIVE - SERAGAM BIRU GELAP
========================================================= */

.gdt-game-archive {
    --arc-a: #60a5fa !important;
    --arc-b: #2563eb !important;
    --arc-glow: rgba(96, 165, 250, 0.16) !important;
}

.gdt-game-archive-hero {
    background:
        radial-gradient(circle at top left, rgba(96, 165, 250, 0.14), transparent 36%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.97), rgba(2, 6, 23, 0.98)) !important;
    border: 1px solid rgba(96, 165, 250, 0.12) !important;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34) !important;
}

.gdt-game-archive-kicker {
    color: #eff6ff !important;
    background: linear-gradient(135deg, #60a5fa, #2563eb) !important;
    box-shadow: 0 14px 34px rgba(37, 99, 235, 0.18) !important;
}

/* Card archive */
.gdt-game-card {
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.95), rgba(2, 6, 23, 0.98)) !important;
    border-color: rgba(96, 165, 250, 0.10) !important;
}

/* Modal warning archive yang sebelumnya kuning */
.gdt-game-warning-modal .gdt-game-warning-box,
.gdt-game-warning-content,
.gdt-game-warning-inner {
    border-color: rgba(96, 165, 250, 0.18) !important;
    box-shadow: 0 0 36px rgba(37, 99, 235, 0.12) !important;
}

.gdt-game-warning-confirm,
.gdt-game-warning-submit,
.gdt-game-warning-primary {
    background: linear-gradient(135deg, #60a5fa, #2563eb) !important;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.16) !important;
}

/* Toggle/checkbox accent */
.gdt-game-archive input[type="checkbox"],
.gdt-game-archive input[type="radio"] {
    accent-color: #60a5fa !important;
}

/* =========================================================
   EXTRA SAFETY
   Hilangkan glow kuning yang tersisa di beberapa text/button game
========================================================= */

.gdt-game-home *,
.gdt-game-hub *,
.gdt-game-library-hub *,
.gdt-game-archive *,
.account-wrap * {
    text-shadow: none;
}

/* Kembalikan hover title ke glow biru halus */
.gdt-game-card:hover .gdt-game-title,
.gdt-game-card:hover .game-title,
.gdt-game-home-card:hover .gdt-game-home-card-body h3,
.gdt-game-home-slide:hover .gdt-game-home-title,
.gdt-game-rank-card:hover .gdt-game-rank-title,
.gdt-game-library-card:hover .gdt-game-library-name,
.game-card:hover .game-title,
.account-wrap .menu a:hover span,
.account-wrap .menu a:hover strong {
    color: #dbeafe !important;
    text-shadow: 0 0 14px rgba(96, 165, 250, 0.16) !important;
}