/* ===========================================================
 * Kuya King - kuyaking.homes
 * theme-1be6.css | class prefix: ge68-
 * Palette: #9AFF9A / #999999 / #2D2D2D / #90EE90 / #98FB98
 * Mobile-first. Dark backgrounds, light text.
 * =========================================================== */

:root {
    --ge68-bg:        #2D2D2D;
    --ge68-bg-2:      #232323;
    --ge68-bg-3:      #1a1a1a;
    --ge68-surface:   #333333;
    --ge68-line:      #3f3f3f;
    --ge68-text:      #f1f7f1;
    --ge68-muted:     #999999;
    --ge68-accent:    #9AFF9A;
    --ge68-accent-2:  #90EE90;
    --ge68-accent-3:  #98FB98;
    --ge68-radius:    14px;
    --ge68-shadow:    0 6px 24px rgba(0,0,0,.45);
    --ge68-header-h:  56px;
    --ge68-nav-h:     60px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body {
    margin: 0;
    padding: 0;
    background: var(--ge68-bg);
    color: var(--ge68-text);
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--ge68-accent); text-decoration: none; }
a:hover { color: var(--ge68-accent-3); }
ul, ol { margin: 0; padding-left: 1.25rem; }
p { margin: 0 0 .85rem; }

/* ---------- Layout containers ---------- */
.ge68-wrap {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 14px;
}
.ge68-section {
    padding: 26px 0 18px;
    border-top: 1px solid var(--ge68-line);
}
.ge68-section h2 {
    font-size: 1.25rem;
    margin: 0 0 4px;
    color: var(--ge68-accent-3);
    letter-spacing: .3px;
}
.ge68-section .ge68-eyebrow {
    color: var(--ge68-muted);
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px;
}
.ge68-lead {
    color: #cfd6cf;
    font-size: .95rem;
}

/* ---------- Header ---------- */
.ge68-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: linear-gradient(180deg, #1f2a1f 0%, #1a1a1a 100%);
    border-bottom: 1px solid #2c3a2c;
    height: var(--ge68-header-h);
    display: flex;
    align-items: center;
}
.ge68-header .ge68-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.ge68-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ge68-text);
    font-weight: 700;
}
.ge68-brand img { width: 32px; height: 32px; border-radius: 8px; }
.ge68-brand .ge68-brand-name { font-size: 1.05rem; line-height: 1; }
.ge68-brand .ge68-brand-name b { color: var(--ge68-accent); }
.ge68-burger {
    background: transparent;
    border: 1px solid var(--ge68-line);
    color: var(--ge68-accent);
    width: 38px; height: 38px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.05rem;
    display: inline-flex; align-items: center; justify-content: center;
}
.ge68-auth { display: flex; gap: 6px; }
.ge68-btn {
    border: none;
    border-radius: 10px;
    padding: 9px 14px;
    font-weight: 700;
    font-size: .85rem;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease, background .2s;
    line-height: 1;
}
.ge68-btn-login {
    background: #2f3b2f;
    color: var(--ge68-accent);
    border: 1px solid var(--ge68-line);
}
.ge68-btn-register {
    background: linear-gradient(135deg, #9AFF9A 0%, #90EE90 100%);
    color: #14301a;
    box-shadow: 0 4px 14px rgba(154,255,154,.25);
}
.ge68-btn:hover { transform: translateY(-1px); }
.ge68-btn-register:hover { color: #0f2715; }

/* ---------- Mobile slide menu ---------- */
.ge68-menu-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 9998;
    opacity: 0; visibility: hidden;
    transition: opacity .25s;
}
.ge68-menu-overlay.ge68-overlay-show { opacity: 1; visibility: visible; }
.ge68-mobile-menu {
    position: fixed; top: 0; left: 0;
    width: 80%; max-width: 300px;
    height: 100%;
    background: var(--ge68-bg-2);
    z-index: 9999;
    transform: translateX(-105%);
    transition: transform .28s ease;
    padding: 18px 16px;
    overflow-y: auto;
    border-right: 1px solid var(--ge68-line);
}
.ge68-mobile-menu.ge68-menu-open { transform: translateX(0); }
.ge68-menu-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 12px;
}
.ge68-menu-close {
    background: transparent; border: none; color: var(--ge68-muted);
    font-size: 1.4rem; cursor: pointer;
}
.ge68-menu-cta {
    display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px;
}
.ge68-menu-cta .ge68-btn { width: 100%; text-align: center; padding: 11px; }
.ge68-menu-nav { list-style: none; padding: 0; margin: 0; }
.ge68-menu-nav li { border-bottom: 1px solid var(--ge68-line); }
.ge68-menu-nav a {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 8px;
    color: var(--ge68-text);
    font-size: .95rem;
}
.ge68-menu-nav a i { color: var(--ge68-accent-2); width: 22px; text-align: center; }

/* ---------- Hero / Carousel ---------- */
.ge68-hero { position: relative; padding-top: 12px; }
.ge68-carousel {
    position: relative;
    border-radius: var(--ge68-radius);
    overflow: hidden;
    box-shadow: var(--ge68-shadow);
}
.ge68-slide {
    display: none;
    position: relative;
    height: 200px;
    background-size: cover;
    background-position: center;
}
.ge68-slide.ge68-slide-active { display: block; }
.ge68-slide::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(20,30,20,.92) 0%, rgba(20,30,20,.35) 70%, rgba(20,30,20,0) 100%);
}
.ge68-slide-body {
    position: absolute; left: 14px; right: 14px; bottom: 16px; z-index: 2;
    color: #fff;
}
.ge68-slide-body h3 { margin: 0 0 6px; font-size: 1.15rem; color: #eaffea; }
.ge68-slide-body p { margin: 0 0 10px; font-size: .82rem; color: #cfe6cf; max-width: 80%; }
.ge68-slide-body .ge68-btn-register { display: inline-block; }
.ge68-dots {
    position: absolute; bottom: 8px; right: 12px; z-index: 3;
    display: flex; gap: 6px;
}
.ge68-slide-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: rgba(255,255,255,.45);
    border: none; padding: 0; cursor: pointer;
}
.ge68-slide-dot.ge68-dot-active { background: var(--ge68-accent); }

/* ---------- Marquee ---------- */
.ge68-marquee {
    background: #161d16;
    color: var(--ge68-accent-2);
    font-size: .8rem;
    padding: 7px 0;
    overflow: hidden;
    border-bottom: 1px solid var(--ge68-line);
    margin-top: 12px;
}
.ge68-marquee span {
    display: inline-block;
    padding-left: 100%;
    white-space: nowrap;
    animation: ge68scroll 22s linear infinite;
}
@keyframes ge68scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* ---------- Stats ---------- */
.ge68-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 12px 0 4px;
}
.ge68-stat {
    background: var(--ge68-surface);
    border: 1px solid var(--ge68-line);
    border-radius: 10px;
    padding: 10px 6px;
    text-align: center;
}
.ge68-stat b { display: block; font-size: 1.15rem; color: var(--ge68-accent); }
.ge68-stat small { color: var(--ge68-muted); font-size: .72rem; }

/* ---------- Tabs ---------- */
.ge68-tabs {
    display: flex; gap: 6px;
    overflow-x: auto;
    padding: 8px 0 12px;
    scrollbar-width: none;
}
.ge68-tabs::-webkit-scrollbar { display: none; }
.ge68-tab {
    flex: 0 0 auto;
    padding: 7px 13px;
    border-radius: 999px;
    border: 1px solid var(--ge68-line);
    background: #262626;
    color: var(--ge68-muted);
    font-size: .82rem;
    cursor: pointer;
    white-space: nowrap;
}
.ge68-tab.ge68-tab-active {
    background: var(--ge68-accent);
    color: #14301a;
    border-color: var(--ge68-accent);
    font-weight: 700;
}

/* ---------- Game grid ---------- */
.ge68-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
}
.ge68-card {
    background: var(--ge68-surface);
    border: 1px solid var(--ge68-line);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: transform .15s, box-shadow .15s, border-color .15s;
}
.ge68-card:hover {
    transform: translateY(-2px);
    border-color: var(--ge68-accent-2);
    box-shadow: 0 8px 18px rgba(0,0,0,.5);
}
.ge68-card .ge68-card-img {
    aspect-ratio: 1 / 1;
    background: #111;
    background-size: cover;
    background-position: center;
}
.ge68-card .ge68-card-name {
    padding: 6px 8px 8px;
    font-size: .76rem;
    line-height: 1.25;
    color: #e7efe7;
    min-height: 32px;
}
.ge68-card .ge68-play {
    position: absolute; top: 6px; right: 6px;
    background: rgba(0,0,0,.55);
    color: var(--ge68-accent);
    border: 1px solid rgba(154,255,154,.4);
    border-radius: 6px;
    font-size: .68rem;
    padding: 3px 7px;
    cursor: pointer;
}

/* ---------- Featured banner ---------- */
.ge68-feature {
    background: linear-gradient(135deg, #203020 0%, #182218 100%);
    border: 1px solid #2c3a2c;
    border-radius: var(--ge68-radius);
    padding: 16px;
    margin-top: 14px;
    display: flex; flex-direction: column; gap: 10px;
}
.ge68-feature h3 { margin: 0; color: var(--ge68-accent-3); font-size: 1.1rem; }
.ge68-feature p { margin: 0; color: #cfd6cf; font-size: .9rem; }
.ge68-feature .ge68-feature-row {
    display: flex; gap: 10px; align-items: center;
}
.ge68-feature img {
    width: 88px; height: 88px; border-radius: 12px; object-fit: cover; flex: 0 0 auto;
}

/* ---------- Promo link block ---------- */
.ge68-promo-link {
    display: inline-block;
    color: var(--ge68-accent);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.ge68-promo-link:hover { color: var(--ge68-accent-3); }

/* ---------- FAQ ---------- */
.ge68-faq-item {
    background: var(--ge68-surface);
    border: 1px solid var(--ge68-line);
    border-radius: 10px;
    margin-bottom: 8px;
    overflow: hidden;
}
.ge68-faq-toggle {
    width: 100%;
    text-align: left;
    background: transparent;
    color: var(--ge68-text);
    border: none;
    padding: 12px 14px;
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.ge68-faq-toggle i { color: var(--ge68-accent); transition: transform .2s; }
.ge68-faq-item.ge68-faq-open .ge68-faq-toggle i { transform: rotate(180deg); }
.ge68-faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
    padding: 0 14px;
    color: #cfd6cf;
    font-size: .85rem;
}
.ge68-faq-item.ge68-faq-open .ge68-faq-body {
    max-height: 320px;
    padding: 0 14px 12px;
}

/* ---------- Article SEO ---------- */
.ge68-article p { color: #d4dad4; font-size: .9rem; }
.ge68-article h3 { color: var(--ge68-accent-2); font-size: 1rem; margin: 14px 0 4px; }

/* ---------- Footer ---------- */
.ge68-footer {
    margin-top: 22px;
    background: #161616;
    border-top: 1px solid var(--ge68-line);
    padding: 22px 0 96px;
}
.ge68-footer h4 {
    color: var(--ge68-accent-3);
    font-size: .9rem;
    margin: 14px 0 8px;
    letter-spacing: .5px;
}
.ge68-footer a { color: #c2c8c2; font-size: .82rem; }
.ge68-footer a:hover { color: var(--ge68-accent); }
.ge68-footer .ge68-foot-cols {
    display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.ge68-foot-list { list-style: none; padding: 0; margin: 0; }
.ge68-foot-list li { margin-bottom: 6px; }
.ge68-foot-bottom {
    border-top: 1px solid var(--ge68-line);
    margin-top: 16px; padding-top: 12px;
    color: var(--ge68-muted); font-size: .74rem; text-align: center;
}
.ge68-disclaimer {
    background: #1c1c1c; border: 1px dashed #3a3a3a;
    padding: 10px; border-radius: 8px;
    color: #9aa39a; font-size: .76rem; margin-top: 12px;
}

/* ---------- Mobile bottom nav ---------- */
.ge68-bottomnav {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    height: var(--ge68-nav-h);
    background: linear-gradient(0deg, #121212 0%, #1c1c1c 100%);
    border-top: 1px solid #2c3a2c;
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    z-index: 1000;
    padding: 4px 0 calc(env(safe-area-inset-bottom, 0px));
}
.ge68-bottomnav button, .ge68-bottomnav a {
    flex: 1;
    background: transparent;
    border: none;
    color: #9aa39a;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2px;
    text-decoration: none;
    font-size: 10px;
    min-width: 60px; min-height: 52px;
    cursor: pointer;
    transition: color .18s, transform .12s;
}
.ge68-bottomnav button i, .ge68-bottomnav a i { font-size: 22px; }
.ge68-bottomnav button:active, .ge68-bottomnav a:active { transform: scale(.94); }
.ge68-bottomnav .ge68-nav-active { color: var(--ge68-accent); }
.ge68-bottomnav .ge68-nav-promo {
    color: var(--ge68-accent);
    position: relative;
}
.ge68-bottomnav .ge68-nav-promo::before {
    content: '';
    position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
    width: 38px; height: 38px; border-radius: 50%;
    background: linear-gradient(135deg, #9AFF9A, #90EE90);
    box-shadow: 0 4px 10px rgba(154,255,154,.4);
    z-index: -1;
}
.ge68-bottomnav .ge68-nav-promo i {
    position: relative; top: -8px;
    color: #14301a; font-size: 20px;
}
.ge68-bottomnav .ge68-nav-promo span { position: relative; top: -6px; }

/* ---------- Reveal animation ---------- */
.ge68-reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .5s; }
.ge68-reveal.ge68-revealed { opacity: 1; transform: translateY(0); }

/* ---------- Desktop ---------- */
@media (min-width: 769px) {
    .ge68-bottomnav { display: none; }
    .ge68-wrap { max-width: 960px; }
    .ge68-header .ge68-burger { display: none; }
    .ge68-grid { grid-template-columns: repeat(5, 1fr); }
    .ge68-footer .ge68-foot-cols { grid-template-columns: repeat(4, 1fr); }
    .ge68-slide { height: 320px; }
}

/* Mobile content clearance for bottom nav */
@media (max-width: 768px) {
    main { padding-bottom: calc(var(--ge68-nav-h) + 16px); }
}
