:root {
    --bg-dark: #07070c;
    --bg-card: rgba(18, 18, 28, 0.72);
    --bg-card-solid: #12121c;
    --border-glass: rgba(255, 215, 0, 0.18);
    --border-subtle: rgba(255, 255, 255, 0.08);
    
    --gold-primary: #f5b82e;
    --gold-bright: #ffe066;
    --gold-gradient: linear-gradient(135deg, #ffd700 0%, #f59e0b 50%, #d97706 100%);
    
    --purple-primary: #8b3dff;
    --purple-glow: rgba(139, 61, 255, 0.45);
    --gold-glow: rgba(245, 184, 46, 0.35);
    
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    --font-display: 'Orbitron', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 95px;
}

/* AMBIENT AI BACKGROUND */
.ambient-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.45;
}

.orb-gold {
    width: 450px;
    height: 450px;
    background: var(--gold-primary);
    top: -120px;
    left: -100px;
}

.orb-purple {
    width: 520px;
    height: 520px;
    background: var(--purple-primary);
    bottom: 10%;
    right: -150px;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 40px 40px;
}

.container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 20px;
}

.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

/* POPUP MODAL */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 10, 0.85);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-glass-card {
    position: relative;
    width: 100%;
    max-width: 430px;
    background: linear-gradient(165deg, #171524 0%, #0b0b12 100%);
    border: 1.5px solid rgba(255, 215, 0, 0.45);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(139, 61, 255, 0.35), 0 0 25px rgba(245, 184, 46, 0.25);
    transform: translateY(20px) scale(0.96);
    transition: all 0.35s ease;
}

.modal-overlay.active .modal-glass-card {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(10, 10, 18, 0.8);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.modal-close:hover {
    background: var(--gold-primary);
    color: #000;
}

.modal-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.modal-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ai-badge-live {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 10, 18, 0.85);
    border: 1px solid var(--gold-primary);
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: var(--gold-bright);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.modal-content {
    padding: 20px 22px 22px;
    text-align: center;
}

.modal-title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 800;
    color: var(--gold-bright);
    margin-bottom: 6px;
}

.modal-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-footer-info {
    margin-top: 14px;
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    justify-content: center;
    gap: 8px;
}

/* HEADER */
.glass-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(9, 9, 15, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-glass);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    background: transparent;
}

.brand-logo img {
    height: 48px;
    width: auto;
    display: block;
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
    mix-blend-mode: lighten;
    -webkit-mask-image: radial-gradient(ellipse 86% 80% at 50% 50%, #000 68%, rgba(0, 0, 0, 0.3) 88%, transparent 100%);
    mask-image: radial-gradient(ellipse 86% 80% at 50% 50%, #000 68%, rgba(0, 0, 0, 0.3) 88%, transparent 100%);
}

.ai-search-bar {
    flex: 1;
    max-width: 480px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(245, 184, 46, 0.3);
    border-radius: 999px;
    padding: 4px 6px 4px 16px;
    transition: 0.3s;
}

.ai-search-bar:focus-within {
    border-color: var(--gold-bright);
    box-shadow: 0 0 18px var(--gold-glow);
}

.ai-search-bar .ai-icon {
    color: var(--gold-primary);
    margin-right: 10px;
}

.ai-search-bar input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 13px;
}

.ai-search-bar button {
    background: var(--gold-gradient);
    color: #000;
    border: none;
    padding: 7px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    transition: 0.2s;
}

.ai-search-bar button:hover {
    filter: brightness(1.1);
}

.header-actions {
    display: flex;
    gap: 10px;
}

.btn-nav-login, .btn-nav-daftar {
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    padding: 9px 20px;
    border-radius: 999px;
    transition: 0.25s;
}

.btn-nav-login {
    color: var(--gold-bright);
    border: 1px solid var(--gold-primary);
    background: rgba(245, 184, 46, 0.08);
}

.btn-nav-login:hover {
    background: rgba(245, 184, 46, 0.2);
}

.btn-nav-daftar {
    color: #000;
    background: var(--gold-gradient);
    box-shadow: 0 0 16px var(--gold-glow);
}

.btn-nav-daftar:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 24px rgba(255, 215, 0, 0.6);
}

/* CATEGORY STRIP */
.category-strip {
    background: rgba(139, 61, 255, 0.12);
    border-top: 1px solid var(--border-subtle);
    padding: 8px 0;
}

.strip-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    overflow-x: auto;
    scrollbar-width: none;
}

.strip-inner::-webkit-scrollbar {
    display: none;
}

.strip-tag {
    font-size: 11px;
    font-weight: 800;
    color: var(--gold-primary);
    white-space: nowrap;
}

.strip-links {
    display: flex;
    gap: 8px;
}

.strip-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid transparent;
    white-space: nowrap;
    transition: 0.2s;
}

.strip-links a:hover, .strip-links a.active {
    color: #fff;
    border-color: var(--purple-primary);
    background: rgba(139, 61, 255, 0.25);
}

/* HERO SECTION */
.main-content {
    padding-top: 28px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 24px;
    align-items: start;
}

/* SHOWCASE PANEL (2 IMAGES) */
.showcase-panel {
    padding: 18px;
    display: flex;
    gap: 14px;
}

.thumbnail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.thumb-btn {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.12);
    background: #000;
    cursor: pointer;
    padding: 0;
    transition: 0.25s;
    opacity: 0.65;
}

.thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-btn.active, .thumb-btn:hover {
    opacity: 1;
    border-color: var(--gold-primary);
    box-shadow: 0 0 15px var(--gold-glow);
}

.main-viewer {
    position: relative;
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.35);
    aspect-ratio: 1 / 1;
    background: #0b0b12;
}

.main-viewer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease, transform 0.4s ease;
}

.main-viewer:hover img {
    transform: scale(1.02);
}

.viewer-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    background: rgba(9, 9, 15, 0.82);
    backdrop-filter: blur(8px);
    border: 1px solid var(--gold-primary);
    color: var(--gold-bright);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.viewer-controls {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    pointer-events: none;
}

.viewer-controls button {
    pointer-events: auto;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 215, 0, 0.4);
    background: rgba(10, 10, 18, 0.78);
    color: var(--gold-bright);
    cursor: pointer;
    transition: 0.2s;
}

.viewer-controls button:hover {
    background: var(--gold-primary);
    color: #000;
}

/* RIGHT INFO PANEL */
.info-panel {
    padding: 26px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #c4b5fd;
    background: rgba(139, 61, 255, 0.18);
    border: 1px solid rgba(139, 61, 255, 0.45);
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 8px #22c55e;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.5; }
}

.hero-title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 18px;
}

.text-gradient-gold {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* STATS BOXES */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 12px 16px;
}

.stat-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.stat-value {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 800;
}

.stat-value.gold { color: var(--gold-bright); }
.stat-value.purple { color: #c084fc; }

/* BUTTONS */
.cta-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 22px;
}

.btn-ai {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    padding: 13px 20px;
    border-radius: 14px;
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn-gold-glow {
    background: var(--gold-gradient);
    color: #09090f;
    box-shadow: 0 6px 24px var(--gold-glow);
}

.btn-gold-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.55);
}

.btn-dark-gold {
    background: rgba(245, 184, 46, 0.1);
    color: var(--gold-bright);
    border: 1.5px solid var(--gold-primary);
}

.btn-dark-gold:hover {
    background: rgba(245, 184, 46, 0.22);
    transform: translateY(-2px);
}

.btn-purple-outline {
    background: rgba(139, 61, 255, 0.18);
    color: #fff;
    border: 1px solid var(--purple-primary);
}

.btn-purple-outline:hover {
    background: var(--purple-primary);
}

/* SELECTORS */
.selector-section {
    margin-bottom: 18px;
}

.selector-header {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.ping-indicator {
    color: #4ade80;
}

.server-pills, .market-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.server-pill, .market-chip {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    font-size: 12px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s;
}

.server-pill.active, .server-pill:hover {
    border-color: var(--gold-primary);
    background: rgba(245, 184, 46, 0.15);
    color: var(--gold-bright);
}

.market-chip.active, .market-chip:hover {
    border-color: var(--purple-primary);
    background: rgba(139, 61, 255, 0.22);
    color: #fff;
}

/* PROMO CALLOUT */
.promo-callout {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(90deg, rgba(139, 61, 255, 0.22) 0%, rgba(245, 184, 46, 0.15) 100%);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 14px;
    padding: 12px 16px;
    margin-bottom: 18px;
}

.promo-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--gold-gradient);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.promo-text strong {
    display: block;
    font-size: 12px;
    color: var(--gold-bright);
}

.promo-text span {
    font-size: 12px;
    color: var(--text-muted);
}

.desc-box h3 {
    font-size: 14px;
    color: var(--gold-primary);
    margin-bottom: 6px;
}

.desc-box p {
    font-size: 13px;
    color: var(--text-muted);
}

/* TRUST SECTION */
.trust-section {
    margin-top: 28px;
    padding: 28px;
    text-align: center;
}

.section-heading {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--gold-bright);
}

.ratings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.rating-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 18px;
}

.stars {
    color: var(--gold-primary);
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.rating-score {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 4px;
}

.rating-source {
    font-size: 12px;
    color: var(--text-muted);
}

/* FAQ & SEO GRID */
.info-faq-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.faq-box, .seo-box {
    padding: 24px;
}

.panel-subtitle, .seo-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--gold-bright);
    margin-bottom: 16px;
}

.accordion-item {
    border-bottom: 1px solid var(--border-subtle);
}

.accordion-header {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 700;
    padding: 14px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    cursor: pointer;
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-body p {
    font-size: 13px;
    color: var(--text-muted);
    padding-bottom: 14px;
}

.accordion-item.open .accordion-body {
    max-height: 160px;
}

.accordion-item.open .accordion-header i {
    transform: rotate(180deg);
    color: var(--gold-primary);
}

.tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.tag-pill {
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(245, 184, 46, 0.1);
    border: 1px solid rgba(245, 184, 46, 0.3);
    color: var(--gold-bright);
}

.seo-paragraphs p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

/* FOOTER */
.ai-footer {
    margin-top: 40px;
    background: #050508;
    border-top: 1px solid var(--border-glass);
    padding-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 28px;
    padding-bottom: 32px;
}

.footer-logo {
    height: 46px;
    width: auto;
    display: block;
    margin-bottom: 12px;
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
    mix-blend-mode: lighten;
    -webkit-mask-image: radial-gradient(ellipse 86% 80% at 50% 50%, #000 68%, rgba(0, 0, 0, 0.3) 88%, transparent 100%);
    mask-image: radial-gradient(ellipse 86% 80% at 50% 50%, #000 68%, rgba(0, 0, 0, 0.3) 88%, transparent 100%);
}

.footer-brand p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: var(--gold-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.2s;
}

.social-links a:hover {
    background: var(--gold-primary);
    color: #000;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 800;
    color: var(--gold-bright);
    margin-bottom: 14px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 13px;
    transition: 0.2s;
}

.footer-col ul a:hover {
    color: var(--gold-primary);
}

.payment-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.payment-badges span {
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    color: #e2e8f0;
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding: 16px 0;
    font-size: 12px;
    color: var(--text-muted);
}

.bottom-flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

/* FLOATING BOTTOM NAVIGATION BAR */
.floating-bottom-nav {
    position: fixed;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    width: calc(100% - 32px);
    max-width: 480px;
    background: linear-gradient(135deg, rgba(24, 20, 38, 0.92), rgba(12, 12, 20, 0.95));
    backdrop-filter: blur(18px);
    border: 1.5px solid rgba(255, 215, 0, 0.45);
    border-radius: 22px;
    padding: 8px 14px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.75), 0 0 20px rgba(245, 184, 46, 0.2);
}

.floating-bottom-nav .nav-item {
    text-decoration: none;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 700;
    transition: 0.2s;
}

.floating-bottom-nav .nav-item i {
    font-size: 16px;
}

.floating-bottom-nav .nav-item.active,
.floating-bottom-nav .nav-item:hover {
    color: var(--gold-bright);
}

.nav-center-cta {
    margin-top: -26px;
    color: var(--gold-bright) !important;
}

.center-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    border: 3px solid #09090f;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

/* AI TOAST */
.ai-toast {
    position: fixed;
    top: 85px;
    right: 20px;
    z-index: 9999;
    background: rgba(15, 15, 25, 0.95);
    border: 1px solid var(--gold-primary);
    color: var(--gold-bright);
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    transform: translateX(140%);
    transition: transform 0.3s ease;
}

.ai-toast.show {
    transform: translateX(0);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero-grid, .info-faq-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .ai-search-bar {
        display: none;
    }
}

@media (max-width: 600px) {
    .showcase-panel {
        flex-direction: column-reverse;
    }
    .thumbnail-sidebar {
        flex-direction: row;
        justify-content: center;
    }
    .ratings-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 21px;
    }
}