:root {
    --text: #fff;
    --muted: rgba(255, 255, 255, .65);

    /* black glass */
    --glass: rgba(18, 24, 38, .55);
    /* header + mobile menu */
    --glass-strong: rgba(12, 12, 16, .90);
    /* content card */

    /* subtle light stroke on dark glass */
    --stroke: rgba(255, 255, 255, .08);

    /* shadows tuned for dark UI */
    --shadow: 0 18px 55px rgba(0, 0, 0, .45);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, .35);

    --radius: 22px;
    --radius-sm: 16px;

    --black: #121826;

    --text-sm: 13px;
    --text-xs: 12px;
}


* {
    box-sizing: border-box
}

html,
body {
    height: 100%;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    margin: 0;
    color: var(--text);
    overflow-x: hidden;
    padding-top: 72px;
    /* IMPORTANT: fixed header spacing */
}

/* Background */
.bg {
    position: fixed;
    inset: 0;
    background: url("/assets/background.jpg") center / cover no-repeat;
    z-index: -2;
}


/* .bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, .10), rgba(255, 255, 255, .50));
    z-index: -1;
} */

.container {
    width: min(1100px, calc(100% - 44px));
    margin: 0 auto;
}

/* Header */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 14px 0;

    background: var(--glass);
    border-bottom: 1px solid var(--stroke);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo {
    width: 156px;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .12));
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 10px 18px;
    border-radius: 999px;
    background: transparent;
    border: none;
    box-shadow: none;
}

.nav a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 13px;
}

.nav a:hover {
    color: #fff;
    opacity: .6;
}

/* Overlay */
.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
    z-index: 900;
}

.menu-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    border: 1px solid rgba(0, 0, 0, .08);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .12);
    user-select: none;
    white-space: nowrap;
    color: #fff;
}

.btn-img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
}

.btn-dark {
    background: rgba(20, 25, 38, .86);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .10);
}

.btn-blue-glow {
    background: linear-gradient(135deg, #1e90ff, #2da8ff);
    box-shadow: 0 8px 20px rgba(45, 168, 255, .45), 0 0 0 1px rgba(255, 255, 255, .15) inset;
}

.btn-blue-glow:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(45, 168, 255, .55), 0 0 0 1px rgba(255, 255, 255, .2) inset;
}

.btn-green-glow {
    background: linear-gradient(135deg, #16c172, #22e38a);
    box-shadow: 0 8px 20px rgba(34, 227, 138, .45), 0 0 0 1px rgba(255, 255, 255, .15) inset;
}

.btn-green-glow:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(34, 227, 138, .55), 0 0 0 1px rgba(255, 255, 255, .2) inset;
}

/* Hero */
.hero {
    text-align: center;
    padding: 52px 22px 40px;
}

.hero-logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.hero-logo {
    width: 92px;
    height: 92px;
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .18);
}

.hero-title {
    margin: 10px 0 12px;
    font-size: clamp(30px, 3.6vw, 44px);
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: #fff;
}

.hero-subtitle {
    margin: 0 auto;
    max-width: 760px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    color: #fff;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 0 auto 22px;
}

@media (max-width:768px) {
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Hamburger */
.hamburger-btn {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .10);
    background: rgba(20, 25, 38, .86);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .10);
    cursor: pointer;

    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px;

    font-size: 0;
    line-height: 0;
}

.hamburger-btn span {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 99px;
}

/* Mobile menu (SAME glass as header) */
.mobile-menu {
    display: none;
    padding: 10px 18px 16px;
}

.mobile-menu a {
    display: block;
    padding: 12px 6px;
    text-decoration: none;
    font-weight: 600;
    color: #fff;
}

.mobile-cta {
    margin-top: 8px;
    text-align: center;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(20, 25, 38, .86);
    border: 1px solid rgba(255, 255, 255, .10);
}

/* Mobile header layout */
@media (max-width:768px) {

    .desktop-nav,
    .desktop-cta {
        display: none
    }

    .topbar-inner {
        display: grid;
        grid-template-columns: 44px 1fr 44px;
        align-items: center;
        gap: 10px;
    }

    .brand {
        grid-column: 2;
        justify-self: center
    }

    .hamburger-btn {
        display: flex;
        grid-column: 3;
        justify-self: end;
    }

    .mobile-menu.is-open {
        display: block
    }
}


/* Download cards */
.download {
    padding: 18px 0 26px;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 400px));
    gap: 14px;
    justify-content: center;
}

.dl-card {
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, .10);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.dl-head {
    padding: 10px 14px;
    font-weight: 800;
    font-size: 11px;
    color: #000;
}

.dl-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    /* button on top, badges below */
    gap: 10px;
}

.dl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 11px;
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .18);
}

.dl-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
}

.badge {
    font-size: 10px;
    font-weight: 800;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .65);
    border: 1px solid rgba(255, 255, 255, .6);
    color: #fff;
}

.badge.icon {
    width: 30px;
    text-align: center;
    padding: 6px 0;
}

/* Themes */
.dl-android {
    background: rgba(220, 245, 230, .70)
}

.dl-android .dl-head {
    background: rgba(175, 230, 195, .55)
}

.dl-ios {
    background: rgba(255, 225, 235, .70)
}

.dl-ios .dl-head {
    background: rgba(255, 190, 210, .55)
}

.dl-btn-green {
    background: linear-gradient(135deg, #168f54, #22c55e)
}

.dl-btn-red {
    background: linear-gradient(135deg, #c81e3a, #ff3b5b)
}

/* Mobile slider for download cards */
@media (max-width:900px) {
    .download {
        overflow: hidden
    }

    .download-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 14px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 10px;

        justify-content: flex-start;
    }

    .dl-card {
        flex: 0 0 86%;
        max-width: 86%;
        scroll-snap-align: start;
    }

    .download-grid::-webkit-scrollbar {
        height: 8px
    }

    .download-grid::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, .35);
        border-radius: 999px;
    }

    .download-grid::-webkit-scrollbar-thumb {
        background: rgba(11, 16, 32, .18);
        border-radius: 999px;
    }
}

@media (max-width:480px) {
    .dl-card {
        flex-basis: 88%;
        max-width: 88%
    }
}

/* Content */
.content {
    padding: 18px 0 26px
}

.content-card {
    background: var(--glass-strong);
    border: 1px solid var(--stroke);
    border-radius: 22px;
    padding: 22px 22px 26px;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.content-card p {
    margin: 0 0 14px;
    color: #fff;
    line-height: 1.7;
    font-size: 13px;
}

.content-card ul {
    margin: 0 0 18px 18px;
    color: #fff;
    line-height: 1.8;
    font-size: 13px;
}

.table-wrap {
    margin-top: 22px;
}


.compare-table {
    background: rgba(240, 242, 246, 0.90);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.compare-table th,
.compare-table td {
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
    font-size: 13px;
    line-height: 1.6;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.compare-table th {
    font-weight: 800;
    background: rgba(255, 255, 255, 0.85);
    color: var(--text);
}

.compare-table td:first-child {
    font-weight: 700;
    white-space: nowrap;
}

.compare-table tr:last-child td {
    border-bottom: none;
}

.compare-table .sub {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: rgba(12, 15, 22, 0.6);
}

/* Container for the table */
.dark-table-container {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #ffffff;
  background-color: #121212;
  padding: 20px;
  border-radius: 8px;
}

/* Heading Style */
.table-title {
  color: #ffffff;
  margin-bottom: 20px;
  font-size: 1.5rem;
  border-left: 5px solid #007bff; /* Blue accent bar */
  padding-left: 15px;
}

/* Table Structure */
.styled-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #1e1e1e;
  border-radius: 8px;
  overflow: hidden; /* Ensures rounded corners show */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* Header Row */
.styled-table thead tr {
  background-color: #2c2c2c;
  color: #ffffff;
  text-align: left;
  font-weight: bold;
}

/* Cell Spacing */
.styled-table th, 
.styled-table td {
  padding: 15px 20px;
}

/* Row Borders */
.styled-table tbody tr {
  border-bottom: 1px solid #333333;
}

/* Remove border from the very last row */
.styled-table tbody tr:last-of-type {
  border-bottom: none;
}

/* Hover Effect */
.styled-table tbody tr:hover {
  background-color: #252525;
}

/* Special styling for the first column (Device Name) */
.device-name {
  font-weight: bold;
  color: #4dabf7; /* Light blue accent text */
}

/* --- MOBILE RESPONSIVE STYLES --- */
@media screen and (max-width: 600px) {
  
  /* 1. Hide the table header row completely */
  .styled-table thead {
    display: none;
  }

  /* 2. Make rows display as blocks (cards) */
  .styled-table tbody tr {
    display: block;
    margin-bottom: 20px;
    border: 1px solid #333;
    border-radius: 8px;
    background-color: #252525;
  }

  /* 3. Make cells display as blocks (full width) */
  .styled-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
    text-align: right;
    padding: 12px 15px;
  }

  /* 4. Make the last cell in the card have no border */
  .styled-table td:last-child {
    border-bottom: none;
  }

  /* 5. Add Labels via CSS so you don't need to change HTML */
  /* This injects the header text before the value on mobile */
  
  /* First column (Peranti) - Make it look like a Card Title */
  .styled-table td:nth-of-type(1) {
    background-color: #2c2c2c;
    justify-content: center;
    font-size: 1.2rem;
    color: #4dabf7;
    font-weight: bold;
  }
  
  /* Second column (Kaedah Pemasangan) */
  .styled-table td:nth-of-type(2)::before {
    content: "Kaedah:";
    font-weight: bold;
    color: #aaa;
    margin-right: 10px;
  }

  /* Third column (Langkah Tambahan) */
  .styled-table td:nth-of-type(3) {
    display: block; /* Stack this one for long text */
    text-align: left;
  }
  .styled-table td:nth-of-type(3)::before {
    content: "Langkah Tambahan:";
    display: block;
    font-weight: bold;
    color: #aaa;
    margin-bottom: 5px;
    font-size: 0.85rem;
  }
}

/* Mobile tweak */
@media (max-width: 768px) {

    .compare-table th,
    .compare-table td {
        padding: 12px;
        font-size: 12px;
    }

    .table-wrap {
        overflow-x: scroll;
        /* force scrollbar */
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    /* Visible scrollbar (mobile only) */
    .table-wrap::-webkit-scrollbar {
        height: 8px;
    }

    .table-wrap::-webkit-scrollbar-track {
        background: rgba(15, 23, 42, 0.08);
        border-radius: 999px;
    }

    .table-wrap::-webkit-scrollbar-thumb {
        background: rgba(15, 23, 42, 0.22);
        border-radius: 999px;
    }
}

/* =========================
   Tool Card - Site Consistent
   ========================= */
.tool-card {
    background: var(--glass-strong);
    border: 1px solid var(--stroke);
    border-radius: 22px;
    padding: 22px 22px 26px;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* header area */
.tool-header {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.tool-title {
    font-size: 18px;
    font-weight: 800;
    margin: 0;
    color: var(--text);
}

.tool-sub {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    max-width: 78ch;
}

/* badge (avoid conflict with your download .badge) */
.tool-card .badge {
    border: 1px solid var(--stroke);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
    color: rgba(12, 15, 22, .70);
    background: rgba(255, 255, 255, .55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    height: fit-content;
}

/* grid layout */
.tool-card .grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width:760px) {
    .tool-card .grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.tool-card .field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tool-card label {
    font-size: 12px;
    font-weight: 700;
    color: rgba(12, 15, 22, .65);
}

/* inputs (glassy like site) */
.tool-card select,
.tool-card input {
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 14px;
    padding: 10px 12px;
    font-size: 13px;
    background: rgba(255, 255, 255, .72);
    color: var(--text);
    outline: none;
    width: 100%;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.tool-card select:disabled,
.tool-card input:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.tool-card select:focus,
.tool-card input:focus {
    border-color: rgba(30, 144, 255, .45);
    box-shadow:
        0 12px 28px rgba(15, 23, 42, .12),
        0 0 0 4px rgba(30, 144, 255, .18);
}

.tool-card .small {
    font-size: 12px;
    color: rgba(12, 15, 22, .60);
}

/* actions */
.tool-card .actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

/* buttons match your site style */
.tool-card button {
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    color: #fff;
    background: rgba(20, 25, 38, .86);
    /* same vibe as .btn-dark */
    box-shadow: 0 10px 24px rgba(15, 23, 42, .12);
}

.tool-card button.secondary {
    background: rgba(255, 255, 255, .70);
    color: rgba(12, 15, 22, .85);
    border: 1px solid rgba(15, 23, 42, .12);
}

.tool-card button:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(30, 144, 255, .18);
}

/* result panel = glass card */
.tool-card .result {
    margin-top: 14px;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, .10);
    padding: 14px;
    display: none;

    background: rgba(255, 255, 255, .70);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .10);
}

.tool-card .result.show {
    display: block;
}

.tool-card .result h3 {
    margin: 0 0 6px;
    font-size: 14px;
}

.tool-card .result p {
    margin: 6px 0;
    color: rgba(12, 15, 22, .85);
    font-size: 13px;
    line-height: 1.6;
}

.tool-card .result .meta {
    color: rgba(12, 15, 22, .60);
    font-size: 12px;
    margin-top: 8px;
}

/* status */
.tool-card .status {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    font-weight: 800;
}

.tool-card .dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #9ca3af;
}

/* toned states (still soft + glassy) */
.tool-card .ok {
    background: rgba(220, 245, 230, .70);
    border-color: rgba(6, 95, 70, .20);
}

.tool-card .ok .dot {
    background: #16a34a;
}

.tool-card .ok .status {
    color: #147f4d;
}

.tool-card .warn {
    background: rgba(255, 240, 210, .70);
    border-color: rgba(146, 64, 14, .20);
}

.tool-card .warn .dot {
    background: #f59e0b;
}

.tool-card .warn .status {
    color: #b45309;
}

.tool-card .bad {
    background: rgba(255, 225, 235, .70);
    border-color: rgba(127, 29, 29, .20);
}

.tool-card .bad .dot {
    background: #ef4444;
}

.tool-card .bad .status {
    color: #c81e3a;
}

.tool-card .helper {
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

/* =========================
   MOBILE ONLY FIX (Select looks wider / messy)
   ========================= */
@media (max-width: 768px) {

    /* keep selected text inside the field (no overflow) */
    .tool-card select {
        max-width: 100%;
        width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;

        padding-right: 40px;
        /* space for arrow */
    }

    /* helps on some browsers (desktop/Android) */
    .tool-card option {
        white-space: nowrap;
    }
}


/* Footer */
.glass-footer {
    padding: 26px 0;
    background: var(--glass);
    border-top: 1px solid var(--stroke);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}


.glass-footer-inner {
    display: grid;
    grid-template-columns: 1.2fr 1.4fr 1fr;
    gap: 28px;
    align-items: start;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-logo {
    width: 88px;
    height: auto;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .18));
}

.footer-tagline {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.footer-copy {
    margin: 20px 0 0;
    font-size: 12px;
    color: #fff;
}

.footer-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 46px;
    justify-content: center;
}

.footer-col h4,
.footer-right h4 {
    margin: 0 0 12px;
    font-size: 14px;
    color: #fff;
}

.footer-col a {
    display: block;
    text-decoration: none;
    font-size: 13px;
    padding: 6px 0;
    color: #fff;
}

.footer-col a:hover {
    color: #fff;
    opacity: .6;
}

.footer-right {
    justify-self: end;
    text-align: left;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.social-btn {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(20, 25, 38, .86);
    border: 1px solid rgba(255, 255, 255, .10);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform .15s ease, box-shadow .15s ease;
    text-decoration: none;
}

.social-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, .16);
}

.footer-social .social-btn i {
    color: #fff;
}

/* Footer responsive */
@media (max-width:980px) {
    .glass-footer-inner {
        grid-template-columns: 1fr;
        gap: 18px
    }

    .footer-right {
        justify-self: start
    }

    .footer-cols {
        grid-template-columns: 1fr 1fr;
        gap: 22px
    }
}

@media (max-width:520px) {
    .footer-cols {
        grid-template-columns: 1fr
    }
}

/* =========================
   GAME HUB (gh-*) — matches Mega888-V1 glass UI
   ========================= */

/* hub header inside .content-card */
.hub-head {
    margin-bottom: 14px;
}

.hub-title {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--text);
}

.hub-sub {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

/* hub card container */

/* Tabs row (pills) */
.gh-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    margin-bottom: 12px;
}

.gh-tab {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(20, 25, 38, .55);
    color: #fff;
    border-radius: 999px;
    padding: 9px 12px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .10);
    transition: transform .15s ease, opacity .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.gh-tab:hover {
    opacity: .85;
    transform: translateY(-1px);
}

/* STRONGER focus (keyboard / accessibility) */
.gh-tab:focus {
    outline: none;
    border-color: #2da8ff;
    box-shadow:
        0 0 0 2px rgba(45, 168, 255, .35),
        0 14px 32px rgba(30, 144, 255, .45);
}

/* VERY OBVIOUS active tab */
.gh-tab.is-active {
    background: linear-gradient(135deg,
            rgba(30, 144, 255, .95),
            rgba(45, 168, 255, .95));
    color: #fff;
    border-color: rgba(255, 255, 255, .35);

    box-shadow:
        0 16px 36px rgba(30, 144, 255, .55),
        0 0 0 2px rgba(255, 255, 255, .18) inset;
}

/* count badge inside tab */
.gh-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 20px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(0, 0, 0, .35);
    color: #fff;
}

/* Tools row */
.gh-tools {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: end;
    margin: 12px 0 10px;
}

.gh-label {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: rgba(255, 255, 255, .75);
    margin-bottom: 6px;
}

.gh-searchRow {
    display: flex;
    gap: 10px;
}

.gh-input {
    width: 100%;
    border-radius: 14px;
    padding: 10px 12px;
    font-size: 13px;
    color: #fff;
    background: rgba(20, 25, 38, .55);
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .10);
    outline: none;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.gh-input::placeholder {
    color: rgba(255, 255, 255, .50);
}

.gh-input:focus {
    border-color: rgba(30, 144, 255, .45);
    box-shadow:
        0 12px 28px rgba(15, 23, 42, .12),
        0 0 0 4px rgba(30, 144, 255, .18);
}

/* Clear button matches your dark button vibe */
.gh-clear {
    border: 1px solid rgba(255, 255, 255, .10);
    background: rgba(20, 25, 38, .86);
    color: #fff;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .10);
}

.gh-clear:hover {
    opacity: .9;
}

.gh-clear:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(30, 144, 255, .18);
}

.gh-status {
    font-size: 12px;
    font-weight: 800;
    color: rgba(255, 255, 255, .80);
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .10);
    background: rgba(20, 25, 38, .35);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

/* Panel */
.gh-panel {
    margin-top: 10px;
}

.gh-panelTitle {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.01em;
}

/* list grid */
.gh-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

@media (min-width: 760px) {
    .gh-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 980px) {
    .gh-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* list item — glass chip card */
.gh-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .10);
    background: rgba(20, 25, 38, .55);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.gh-num {
    width: 34px;
    height: 28px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
    color: rgba(255, 255, 255, .95);
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(0, 0, 0, .30);
}

.gh-name {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
}

/* Mobile: tabs become horizontal scroll (nice + clean) */
@media (max-width: 768px) {
    .gh-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 10px;
    }

    .gh-tab {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .gh-tabs::-webkit-scrollbar {
        height: 8px;
    }

    .gh-tabs::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, .12);
        border-radius: 999px;
    }

    .gh-tabs::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, .25);
        border-radius: 999px;
    }

    .gh-tools {
        grid-template-columns: 1fr;
    }
}