/*
Theme Name: Lulubox Super GP Child
Theme URI: https://example.com
Description: GeneratePress child theme for the Lulubox Super APK micro website. Adds a Play Store style app download box, a 5 second download timer page, a custom compact header, and a custom footer with legal links.
Author: Your Site
Template: generatepress
Version: 1.1
Text Domain: lulubox-super-child
*/

html {
    overflow-x: hidden;
}

/* ---------- General ---------- */
body {
    background: #f5f5f7;
    overflow-x: hidden;
}

/* Safety net: fully hide GeneratePress default header/footer
   in case the PHP override does not apply on some setups */
.site-header,
.site-footer,
.sidebar,
.widget-area,
#right-sidebar,
#left-sidebar {
    display: none !important;
}

.content-area,
#content {
    width: 100% !important;
    float: none !important;
}

/* ---------- Custom header ---------- */
.lulubox-header {
    background: #fff;
    border-bottom: 1px solid #eee;
}

.lulubox-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    max-width: 900px;
    margin: 0 auto;
}

.lulubox-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.lulubox-logo img {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: block;
}

.lulubox-logo-fallback {
    display: block;
    line-height: 0;
}

.lulubox-brand-text {
    font-size: 16px;
    font-weight: 500;
    color: #1a1a1a;
}

.lulubox-menu-toggle {
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 8px;
    cursor: pointer;
}

.lulubox-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #1a1a1a;
}

.lulubox-mobile-nav {
    display: none;
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 8px 16px 14px;
}

.lulubox-mobile-nav.is-open {
    display: block;
}

.lulubox-mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lulubox-mobile-nav li {
    padding: 8px 0;
    border-bottom: 1px solid #f2f2f2;
}

.lulubox-mobile-nav a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 14px;
}

/* ---------- Breadcrumb ---------- */
.lulubox-breadcrumb {
    max-width: 900px;
    margin: 0 auto;
    padding: 14px 16px 0;
    font-size: 12px;
    color: var(--text-muted, #888);
}

/* ---------- App download box (shown at top of single post) ---------- */
.lulubox-app-box {
    background: #6C5CE7;
    border-radius: 16px;
    padding: 24px 20px;
    color: #fff;
    margin: 16px;
}

.lulubox-app-header {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.lulubox-app-icon img {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    object-fit: cover;
    background: #fff;
    display: block;
}

.lulubox-app-meta h2 {
    color: #fff;
    margin: 0 0 4px;
    font-size: 20px;
    line-height: 1.3;
}

.lulubox-app-meta p {
    color: rgba(255, 255, 255, 0.8);
    margin: 2px 0;
    font-size: 13px;
}

.lulubox-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFD400;
    color: #1a1a1a;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    height: 48px;
    margin-bottom: 20px;
    transition: opacity 0.2s ease;
}

.lulubox-download-btn:hover {
    opacity: 0.9;
    color: #1a1a1a;
}

.lulubox-download-btn.disabled {
    background: #a79ee0;
    color: rgba(26, 26, 26, 0.6);
    pointer-events: none;
}

.lulubox-screenshots-label {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    margin: 0 0 10px;
}

.lulubox-screenshots {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.lulubox-screenshots img {
    width: 100px;
    height: 170px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

/* ---------- Download timer page ---------- */
.lulubox-download-page {
    background: #6C5CE7;
    border-radius: 16px;
    padding: 50px 20px;
    text-align: center;
    display: none;
    flex-direction: column;
    align-items: center;
    color: #fff;
    margin: 16px;
}

.lulubox-app-icon-center img {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    margin-bottom: 20px;
    background: #fff;
}

#lulubox-timer-text {
    font-size: 14px;
    margin: 0 0 22px;
}

/* ---------- About this app card ---------- */
.lulubox-about-card {
    background: #fff;
    border-radius: 12px;
    padding: 18px 20px;
    margin: 16px auto 24px;
    max-width: 900px;
}

.lulubox-about-card h2 {
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 10px;
    color: #1a1a1a;
}

.lulubox-about-card p {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
}

/* ---------- Hide default featured image + title on app posts ---------- */
.lulubox-app-post .featured-image,
.lulubox-app-post .entry-header .entry-title,
.lulubox-app-post .entry-meta {
    display: none;
}

/* ---------- Custom footer ---------- */
.lulubox-custom-footer {
    background: #1a1a1a;
    padding: 24px 16px;
    text-align: center;
    margin-top: 30px;
}

.lulubox-footer-links {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
}

.lulubox-footer-links a {
    color: inherit;
    text-decoration: none;
    margin: 0 6px;
}

.lulubox-footer-links a:hover {
    text-decoration: underline;
}

.lulubox-footer-links span {
    opacity: 0.5;
}

.lulubox-footer-copy {
    margin: 12px 0 0;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
}
