/* GALAXY77 Official Portal Stylesheet v2 - High Conversion & Core Web Vitals Optimized */
:root {
    --bg-main: #070b12;
    --bg-card: #101726;
    --bg-card-hover: #172136;
    --border-color: #243049;
    --accent-gold: #f59e0b;
    --accent-gold-light: #fde047;
    --accent-green: #10b981;
    --accent-blue: #3b82f6;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --font-stack: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-stack);
    line-height: 1.65;
    font-size: 16px;
    padding-bottom: 68px; /* Space for mobile sticky bar */
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--accent-gold-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 18px;
}

/* Top Status & Running Announcement Marquee */
.top-bar {
    background: #04070c;
    border-bottom: 1px solid var(--border-color);
    font-size: 13px;
    padding: 8px 0;
    color: var(--text-secondary);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--accent-green);
    border-radius: 50%;
    margin-right: 6px;
    box-shadow: 0 0 8px var(--accent-green);
}

.announcement-bar {
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.12), rgba(16, 185, 129, 0.12));
    border-bottom: 1px solid rgba(245, 158, 11, 0.25);
    padding: 8px 0;
    font-size: 13.5px;
    color: #fde047;
    overflow: hidden;
}

.announcement-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}

/* Header & Official Logo */
.site-header {
    background: rgba(16, 23, 38, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 76px;
    gap: 16px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo img {
    height: 46px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 22px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 14.5px;
}

.nav-links a:hover, .nav-links a.active {
    color: #ffffff;
}

.header-cta {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 7px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-align: center;
}

.btn-login {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid var(--border-color);
}

.btn-login:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold-light);
    background: rgba(245, 158, 11, 0.08);
}

.btn-register {
    background: linear-gradient(135deg, #fde047 0%, #f59e0b 55%, #d97706 100%);
    color: #05080f;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-register:hover {
    transform: translateY(-1px);
    color: #000000;
    box-shadow: 0 6px 22px rgba(245, 158, 11, 0.5);
}

.btn-apk {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #04130d;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.btn-apk:hover {
    transform: translateY(-1px);
    color: #000000;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-chat {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.4);
}

.btn-chat:hover {
    background: rgba(59, 130, 246, 0.25);
    color: #93c5fd;
}

.btn-lg {
    padding: 13px 24px;
    font-size: 15px;
}

/* Visual Banner Showcase Section */
.banner-showcase {
    padding: 24px 0 12px;
}

.banner-wrapper {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
    margin-bottom: 18px;
    background: var(--bg-card);
}

.quick-cta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 12px;
}

.quick-cta-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 700;
    font-size: 14.5px;
    color: var(--text-primary);
}

.quick-cta-card:hover {
    border-color: var(--accent-gold);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 28px 0 40px;
    border-bottom: 1px solid var(--border-color);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 28px;
    align-items: center;
}

.hero-eyebrow {
    color: var(--accent-gold);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.hero h1 {
    font-size: 32px;
    line-height: 1.25;
    font-weight: 800;
    margin-bottom: 14px;
    color: #ffffff;
}

.hero p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 22px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Quick Access Panel */
.access-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 22px;
}

.access-panel h2 {
    font-size: 16.5px;
    margin-bottom: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mirror-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mirror-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(7, 11, 18, 0.75);
    padding: 11px 14px;
    border-radius: 7px;
    border: 1px solid rgba(36, 48, 73, 0.8);
    font-size: 14px;
}

.badge-online {
    font-size: 12px;
    color: var(--accent-green);
    font-weight: 700;
    background: rgba(16, 185, 129, 0.14);
    padding: 4px 10px;
    border-radius: 5px;
}

/* Main Content Layout */
.content-section {
    padding: 40px 0;
}

.article-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 34px;
    margin-bottom: 28px;
}

.article-box h2 {
    font-size: 23px;
    color: #fff;
    margin: 28px 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.article-box h2:first-child {
    margin-top: 0;
}

.article-box h3 {
    font-size: 18.5px;
    color: var(--accent-gold);
    margin: 20px 0 10px;
}

.article-box p {
    color: #cbd5e1;
    margin-bottom: 16px;
}

.article-box ul, .article-box ol {
    margin: 0 0 20px 22px;
    color: #cbd5e1;
}

.article-box li {
    margin-bottom: 10px;
}

/* Specification / Info Table */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 28px;
    font-size: 14.5px;
}

.spec-table th, .spec-table td {
    padding: 13px 16px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.spec-table th {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    width: 34%;
    font-weight: 600;
}

.spec-table td {
    color: var(--text-primary);
    font-weight: 500;
}

/* Cards Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 18px;
    margin: 22px 0;
}

.feature-card {
    background: rgba(7, 11, 18, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 9px;
    padding: 20px;
}

.feature-card h3 {
    margin-top: 0;
    font-size: 17px;
    color: #fff;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14.5px;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Testimonials */
.testi-card {
    background: rgba(7, 11, 18, 0.75);
    border-left: 3px solid var(--accent-gold);
    padding: 18px 20px;
    border-radius: 0 8px 8px 0;
}

.testi-meta {
    margin-top: 12px;
    font-size: 13px;
    color: var(--accent-gold);
    font-weight: 600;
}

/* FAQ List */
.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 12px;
    background: rgba(7, 11, 18, 0.5);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 15.5px;
    padding: 15px 20px;
}

.faq-answer {
    padding: 12px 20px 16px;
    color: var(--text-secondary);
    font-size: 14.5px;
    border-top: 1px solid rgba(36, 48, 73, 0.5);
}

/* Footer */
.site-footer {
    background: #04070c;
    border-top: 1px solid var(--border-color);
    padding: 44px 0 32px;
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 28px;
}

.footer-title {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 15px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
}

/* Floating Livechat Button (Desktop & Mobile) */
.floating-livechat {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 999;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #04130d;
    font-weight: 800;
    font-size: 14px;
    padding: 12px 18px;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
    display: flex;
    align-items: center;
    gap: 8px;
    border: 2px solid #34d399;
}

.floating-livechat:hover {
    transform: scale(1.04);
    color: #000;
}

/* Sticky Bottom Conversion Bar (Mobile & Tablet) */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 15, 26, 0.98);
    border-top: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    padding: 8px 10px;
    z-index: 998;
}

.sticky-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 7px 4px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-align: center;
}

.sticky-daftar {
    background: linear-gradient(135deg, #fde047 0%, #f59e0b 100%);
    color: #05080f;
}

.sticky-login {
    background: #1e293b;
    border: 1px solid #334155;
}

.sticky-apk {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
}

.sticky-chat {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #60a5fa;
}

/* Responsive */
@media (max-width: 860px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .nav-links {
        display: none;
    }
    .quick-cta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .article-box {
        padding: 20px;
    }
    .hero h1 {
        font-size: 25px;
    }
    .brand-logo img {
        height: 38px;
    }
}
