/* ============================================================
   9Anime Theme — Landing page styles (index.php)
   ============================================================ */

.landing-page { background: #0d0d0d; }

/* ── Hero ──────────────────────────────────────────────── */
.landing-hero {
    background: #0d0d0d;
    padding: 40px 16px 36px;
    text-align: center;
    border-bottom: 1px solid #1e1e1e;
    max-width: 680px;
    margin: 0 auto;
}
.landing-hero-logo { margin-bottom: 16px; }
.landing-hero-logo img {
    height: 60px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
}

.landing-hero h1 {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    margin: 0 0 16px;
}

/* Visually hidden label (accessible but not visible) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ── Search bar ────────────────────────────────────────── */
.landing-search-wrap {
    max-width: 480px;
    margin: 0 auto 12px;
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #333;
    transition: border-color .15s;
}
.landing-search-wrap:focus-within {
    border-color: #7c3aed;
}
.landing-search-wrap input {
    flex: 1;
    background: #1a1a1a;
    border: none;
    padding: 11px 16px;
    color: #e0e0e0;
    font-size: 14px;
    outline: none;
    font-family: 'Nunito', sans-serif;
    min-width: 0;
}
.landing-search-wrap input::placeholder { color: #555; }
.landing-search-wrap button {
    background: #7c3aed;
    color: #fff;
    border: none;
    padding: 11px 18px;
    font-size: 15px;
    cursor: pointer;
    transition: background .15s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.landing-search-wrap button:hover { background: #6d28d9; }

/* ── Tagline ───────────────────────────────────────────── */
.landing-tagline {
    font-size: 13px;
    color: #666;
    margin: 0 0 16px;
}

/* ── Quick browse links ────────────────────────────────── */
.landing-quick-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-bottom: 20px;
}
.landing-quick-links a {
    padding: 5px 14px;
    background: rgba(255,255,255,.05);
    border: 1px solid #333;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #aaa;
    transition: all .15s;
    white-space: nowrap;
}
.landing-quick-links a:hover {
    border-color: #7c3aed;
    color: #c4b5fd;
    background: rgba(124,58,237,.1);
}

/* ── Twitter link ──────────────────────────────────────── */
.landing-twitter-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1da1f2;
    font-size: 12px;
    margin-bottom: 16px;
    text-decoration: none;
}
.landing-twitter-link:hover { text-decoration: underline; color: #1da1f2; }
.landing-twitter-link i { font-size: 14px; }

/* ── Home CTA button ───────────────────────────────────── */
.landing-home-btn {
    display: inline-block;
    background: #7c3aed;
    color: #fff;
    padding: 10px 32px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background .15s;
}
.landing-home-btn:hover { background: #6d28d9; color: #fff; }

/* ── Body content sections ─────────────────────────────── */
.landing-body {
    max-width: 800px;
    margin: 0 auto;
    padding: 32px 16px 0;
    font-size: 14px;
    color: #aaa;
    line-height: 1.75;
}
.landing-body p { margin: 0 0 14px; color: #999; }
.landing-body h2 {
    font-size: 18px;
    font-weight: 800;
    color: #e0e0e0;
    margin: 28px 0 10px;
}
.landing-body ul { list-style: disc; padding-left: 20px; margin-bottom: 14px; }
.landing-body ul li { margin-bottom: 6px; }
.landing-body ul li strong { color: #ddd; }
.landing-body a { color: #8b5cf6; }
.landing-body a:hover { text-decoration: underline; }

/* ── Trending list ─────────────────────────────────────── */
.landing-trending-list {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 24px;
}
.landing-trending-list li { padding: 4px 0; }
.landing-trending-list li a {
    font-size: 13px;
    font-weight: 600;
    color: #c4b5fd;
}
.landing-trending-list li a:hover { color: #8b5cf6; text-decoration: underline; }
.landing-trending-list li small {
    font-size: 11px;
    color: #555;
    margin-left: 4px;
}

/* ── Genre hub grid ────────────────────────────────────── */
.landing-genre-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.landing-genre-grid a {
    padding: 4px 12px;
    background: rgba(255,255,255,.04);
    border: 1px solid #2a2a2a;
    border-radius: 4px;
    font-size: 12px;
    color: #888;
    transition: all .15s;
}
.landing-genre-grid a:hover {
    border-color: #7c3aed;
    color: #c4b5fd;
    background: rgba(124,58,237,.08);
}

/* ── FAQ in landing ────────────────────────────────────── */
.landing-faq .faq-item { border-color: #222; }
.landing-faq .faq-question { background: #161616; color: #ddd; }
.landing-faq .faq-question:hover { background: #1a1a1a; }
.landing-faq .faq-answer { background: #111; color: #999; border-color: #222; }

/* ── Bottom CTA ────────────────────────────────────────── */
.landing-bottom-btn {
    text-align: center;
    padding: 20px 16px 40px;
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 600px) {
    .landing-hero { padding: 28px 14px 28px; }
    .landing-hero-logo img { height: 48px; }
    .landing-hero h1 { font-size: 19px; margin-bottom: 14px; }
    .landing-search-wrap { margin-bottom: 10px; }
    .landing-search-wrap input { padding: 10px 12px; font-size: 13px; }
    .landing-search-wrap button { padding: 10px 14px; font-size: 14px; }
    .landing-tagline { font-size: 12px; }
    .landing-quick-links { gap: 5px; }
    .landing-quick-links a { padding: 4px 10px; font-size: 11px; }
    .landing-trending-list { grid-template-columns: 1fr; }
    .landing-body { padding: 24px 14px 0; }
    .landing-body h2 { font-size: 16px; }
}
