:root {
    --bg-dark: #070a12;
    --bg-card: #0e1424;
    --bg-panel: #141c30;
    --border-card: #1e2a45;
    
    --gold-primary: #ffb703;
    --care-emerald: #00e676;
    --telegram-blue: #0088cc;
    --whatsapp-green: #25d366;
    
    --text-main: #ffffff;
    --text-muted: #8e9bb0;
    --font-standard: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font-standard);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.8;
}

/* Top Navigation Header */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 10, 18, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-card);
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

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

.nav-links { 
    display: flex; 
    gap: 1rem; 
    align-items: center; 
    list-style: none; 
}

.nav-links a { 
    color: var(--text-main); 
    text-decoration: none; 
    font-weight: 600; 
    font-size: 0.92rem; 
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0.45rem 0.95rem;
    border-radius: 20px;
    border: 1px solid transparent;
    transition: all 0.2s ease; 
}

.nav-links a:hover { 
    color: var(--gold-primary); 
    background: rgba(255, 255, 255, 0.05);
}

.nav-links a.active { 
    color: var(--gold-primary); 
    background: rgba(255, 183, 3, 0.12);
    border-color: var(--gold-primary);
    box-shadow: 0 0 12px rgba(255, 183, 3, 0.2);
}

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

/* Main Container Layout */
.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 1.5rem; 
}

/* Hero Live Care Console */
.hero-console {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
    padding: 3rem 0 3.5rem;
    border-bottom: 1px solid var(--border-card);
    margin-bottom: 3rem;
}

@media (min-width: 900px) {
    .hero-console { 
        grid-template-columns: 1.35fr 1fr; 
    }
}

.hero-logo-banner {
    max-width: 320px;
    width: 100%;
    display: block;
    margin-bottom: 1.2rem;
}

.console-title {
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.2rem;
}

.console-title .gold { color: var(--gold-primary); }
.console-title .emerald { color: var(--care-emerald); }

.console-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 650px;
}

/* 3 Quick Installer Action Cards */
.installer-cards-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.installer-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 14px;
    padding: 1.2rem;
    text-align: center;
    transition: all 0.2s ease;
}

.installer-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-3px);
}

.installer-card i {
    font-size: 2.2rem;
    color: var(--gold-primary);
    margin-bottom: 0.6rem;
}

.installer-card.android i { color: var(--care-emerald); }

.installer-card h4 { 
    font-size: 1rem; 
    font-weight: 800; 
    color: #ffffff; 
    margin-bottom: 0.2rem; 
}

.installer-card span { 
    font-size: 0.78rem; 
    color: var(--text-muted); 
    display: block; 
    margin-bottom: 0.8rem; 
}

.btn-dl-small {
    background: var(--gold-primary);
    color: #000000;
    font-weight: 800;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-block;
    width: 100%;
    transition: background-color 0.2s;
}

.btn-dl-small:hover { background: #e0a200; }
.btn-dl-small.emerald { background: var(--care-emerald); color: #000000; }
.btn-dl-small.emerald:hover { background: #00c853; }

/* Social Support Buttons Group */
.social-support-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-cta-social {
    flex: 1;
    min-width: 200px;
    padding: 0.9rem 1.4rem;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s;
}

.btn-cta-social:hover { transform: translateY(-2px); }
.btn-cta-social.wa { background: var(--whatsapp-green); }
.btn-cta-social.tg { background: var(--telegram-blue); }

/* Right Console Monitor Dashboard */
.console-dashboard {
    background: var(--bg-panel);
    border: 1px solid var(--border-card);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-card);
    padding-bottom: 1rem;
    margin-bottom: 1.2rem;
}

.dash-header h3 { 
    font-size: 1.15rem; 
    font-weight: 800; 
    color: #ffffff; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
}

.dash-tag { 
    background: rgba(0, 230, 118, 0.15); 
    color: var(--care-emerald); 
    font-size: 0.75rem; 
    font-weight: 800; 
    padding: 0.3rem 0.8rem; 
    border-radius: 20px; 
}

.dash-metric-list { 
    display: flex; 
    flex-direction: column; 
    gap: 1rem; 
}

.dash-metric-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    padding: 0.9rem 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dash-metric-item span { font-size: 0.88rem; color: var(--text-muted); }
.dash-metric-item strong { font-size: 0.95rem; color: #ffffff; }
.dash-metric-item strong.green { color: var(--care-emerald); }

.dash-footer-notice {
    margin-top: 1.2rem;
    background: rgba(255, 183, 3, 0.1);
    border: 1px dashed var(--gold-primary);
    color: var(--gold-primary);
    padding: 0.8rem;
    border-radius: 10px;
    font-size: 0.82rem;
    text-align: center;
}

/* Article Body & Typography */
.article-container { 
    max-width: 920px; 
    margin: 0 auto; 
}

.article-body h2 {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--gold-primary);
    margin-top: 2.8rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-card);
    padding-bottom: 0.5rem;
}

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

.article-body h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--care-emerald);
    margin-top: 2rem;
    margin-bottom: 0.8rem;
}

.article-body p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.4rem;
    line-height: 1.85;
}

.article-body ul {
    margin-left: 1.5rem;
    margin-bottom: 1.8rem;
    color: var(--text-muted);
}

.article-body li {
    margin-bottom: 0.7rem;
    font-size: 1.02rem;
}

.article-body li strong { color: #ffffff; }

/* Specification Info Table */
.table-wrapper {
    margin: 2rem 0;
    border: 1px solid var(--border-card);
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-card);
}

table.info-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

table.info-table th, 
table.info-table td {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--border-card);
    font-size: 0.98rem;
}

table.info-table tr:last-child th, 
table.info-table tr:last-child td { 
    border-bottom: none; 
}

table.info-table th {
    background: rgba(255, 255, 255, 0.03);
    color: var(--gold-primary);
    font-weight: 700;
    width: 35%;
}

table.info-table td { color: var(--text-main); }

/* VISUAL GAME GRID STYLES */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.2rem;
    margin: 2rem 0 3.5rem;
}

.game-card-visual {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.game-card-visual:hover {
    transform: translateY(-4px);
    border-color: var(--gold-primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.game-card-visual img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid var(--border-card);
}

.game-card-info {
    padding: 0.8rem 0.5rem;
}

.game-card-info h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.2rem;
}

.game-card-info span {
    font-size: 0.78rem;
    color: var(--gold-primary);
    font-weight: 700;
}

/* Fixed Floating Dual CTA Bar */
.floating-cta-bar {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    gap: 10px;
    z-index: 1000;
}

/* Footer */
footer {
    text-align: center;
    padding: 2.5rem 1rem;
    background: #04060b;
    border-top: 1px solid var(--border-card);
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 4rem;
}

/* Mobile Optimization & Responsive Media Queries */
@media (max-width: 768px) {
    header {
        padding: 0.6rem 1rem;
        flex-direction: column;
        gap: 0.6rem;
    }

    .logo-img {
        height: 40px;
    }

    .nav-links {
        gap: 0.5rem;
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        padding: 0.2rem 0.2rem 0.4rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-links a {
        font-size: 0.84rem;
        padding: 0.45rem 0.85rem;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.04);
        border: 1px solid var(--border-card);
        flex-shrink: 0;
    }

    .container {
        padding: 0 1rem;
    }

    .hero-console {
        padding: 1.8rem 0 2.2rem;
        margin-bottom: 1.8rem;
        gap: 1.5rem;
    }

    .console-title {
        font-size: 1.85rem;
    }

    .console-subtitle {
        font-size: 0.98rem;
        margin-bottom: 1.5rem;
    }

    .installer-cards-row {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .social-support-group {
        flex-direction: column;
        gap: 0.8rem;
    }

    .btn-cta-social {
        width: 100%;
        min-height: 46px;
    }

    .console-dashboard {
        padding: 1.2rem;
        border-radius: 18px;
    }

    .dash-metric-item {
        padding: 0.75rem 0.9rem;
        font-size: 0.85rem;
    }

    .dash-metric-item span,
    .dash-metric-item strong {
        font-size: 0.85rem;
    }

    .article-body h2 {
        font-size: 1.45rem;
        margin-top: 2rem;
    }

    .article-body h3 {
        font-size: 1.18rem;
    }

    .article-body p, 
    .article-body li {
        font-size: 0.96rem;
        line-height: 1.75;
    }

    .table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    table.info-table th, 
    table.info-table td {
        padding: 0.75rem 0.8rem;
        font-size: 0.85rem;
    }

    table.info-table th {
        width: 40%;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 35px;
    }

    .console-title {
        font-size: 1.55rem;
    }

    .hero-logo-banner {
        max-width: 220px;
    }

    .nav-links a {
        font-size: 0.82rem;
        padding: 0.35rem 0.5rem;
    }

    table.info-table th {
        width: 45%;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }

    .game-card-info h4 {
        font-size: 0.85rem;
    }

    .game-card-info span {
        font-size: 0.72rem;
    }
}
