/*
Theme Name: Komikcast Landing
Author: Komikcast
Description: Mobile-first SEO landing theme for an independent Indonesian comic portal. WordPress routes, feeds, REST endpoints, and sitemap providers remain under core or plugin control.
Version: 1.5.0
Requires at least: 6.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: komikcast-landing
Tags: one-column, custom-logo, accessibility-ready, dark
*/

:root {
  --kc-bg: #050b14;
  --kc-surface: #0b1626;
  --kc-surface-2: #101f34;
  --kc-ink: #f7faff;
  --kc-muted: #a8b5c8;
  --kc-blue: #2f6bd9;
  --kc-blue-light: #70a1ff;
  --kc-line: rgba(255, 255, 255, 0.12);
  --kc-shadow: 0 26px 80px rgba(0, 0, 0, 0.38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--kc-ink);
  background:
    radial-gradient(circle at 16% 10%, rgba(47, 107, 217, 0.18), transparent 31rem),
    radial-gradient(circle at 92% 26%, rgba(112, 161, 255, 0.12), transparent 30rem),
    var(--kc-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.24;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
  pointer-events: none;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { top: 12px; left: 12px; z-index: 9999; width: auto; height: auto; clip: auto; padding: 12px 16px; border-radius: 10px; background: #fff; color: #06101f; font-weight: 800; }
.kc-shell { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

.kc-header { padding: 24px 0 8px; }
.kc-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.kc-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.kc-brand__icon { width: 48px; height: 48px; border-radius: 14px; box-shadow: 0 10px 28px rgba(47,107,217,.34); }
.kc-brand__word { font-size: clamp(1.35rem, 2.4vw, 1.72rem); font-weight: 900; letter-spacing: -.05em; }
.kc-brand--custom .custom-logo-link { display: block; }
.kc-brand--custom .custom-logo { width: auto; max-width: min(280px, 56vw); max-height: 58px; }
.kc-header__pill { display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; border: 1px solid var(--kc-line); border-radius: 999px; background: rgba(11,22,38,.78); color: var(--kc-muted); font-size: .82rem; font-weight: 750; backdrop-filter: blur(12px); }
.kc-header__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--kc-blue-light); box-shadow: 0 0 0 4px rgba(112,161,255,.13); }

.kc-main { padding: 70px 0 56px; }
.kc-hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr); align-items: center; gap: clamp(42px, 7vw, 92px); }
.kc-eyebrow { display: inline-flex; align-items: center; margin-bottom: 22px; padding: 8px 13px; border: 1px solid rgba(112,161,255,.42); border-radius: 999px; background: rgba(47,107,217,.12); color: #bcd3ff; font-size: .77rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.kc-title { max-width: 760px; margin: 0; font-size: clamp(3rem, 6vw, 5.7rem); font-weight: 950; letter-spacing: -.072em; line-height: .98; text-wrap: balance; }
.kc-title__accent { color: var(--kc-blue-light); }
.kc-title__accent::after { display: none; }
.kc-lead { max-width: 690px; margin: 26px 0 0; color: var(--kc-muted); font-size: clamp(1.02rem, 1.55vw, 1.16rem); }
.kc-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }
.kc-button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border: 1px solid transparent; border-radius: 14px; font-weight: 850; text-decoration: none; transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease; }
.kc-button:hover, .kc-button:focus-visible { transform: translateY(-2px); }
.kc-button:focus-visible, .kc-brand:focus-visible, .kc-footer__nav a:focus-visible, .kc-faq-item summary:focus-visible { outline: 3px solid rgba(112,161,255,.58); outline-offset: 4px; }
.kc-button--primary { background: linear-gradient(135deg, #326fe0, #2252ab); box-shadow: 0 14px 34px rgba(47,107,217,.28); color: #fff; }
.kc-button--primary:hover { box-shadow: 0 18px 42px rgba(47,107,217,.38); }
.kc-button--secondary { border-color: var(--kc-line); background: rgba(255,255,255,.06); color: #fff; }
.kc-button--secondary:hover { border-color: rgba(112,161,255,.48); background: rgba(112,161,255,.1); }
.kc-button--disabled { cursor: default; opacity: .54; }
.kc-button__icon { width: 22px; height: 22px; }
.kc-microcopy { margin: 18px 0 0; color: #7f8da2; font-size: .83rem; }

.kc-visual { position: relative; display: grid; width: min(100%, 500px); margin-inline: auto; aspect-ratio: 1; place-items: center; }
.kc-visual__glow { position: absolute; inset: 7%; border-radius: 50%; background: radial-gradient(circle, rgba(47,107,217,.5), rgba(47,107,217,.08) 48%, transparent 72%); filter: blur(9px); }
.kc-logo-card { position: relative; z-index: 2; width: 66%; padding: 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 32%; background: rgba(10,22,39,.62); box-shadow: var(--kc-shadow); backdrop-filter: blur(14px); transform: rotate(-2deg); }
.kc-logo-card::after { position: absolute; inset: 9px; content: ""; border: 1px solid rgba(255,255,255,.12); border-radius: 29%; pointer-events: none; }
.kc-logo-card img { border-radius: 28%; }
.kc-chip { position: absolute; z-index: 3; padding: 8px 13px; border: 1px solid rgba(255,255,255,.17); border-radius: 999px; background: rgba(11,22,38,.9); box-shadow: 0 10px 30px rgba(0,0,0,.3); color: #dce8ff; font-size: .8rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.kc-chip--manga { top: 16%; left: 4%; transform: rotate(-7deg); }
.kc-chip--manhwa { top: 23%; right: 1%; transform: rotate(7deg); }
.kc-chip--manhua { right: 10%; bottom: 12%; transform: rotate(-4deg); }

.kc-section { padding: 44px 0 76px; }
.kc-section__heading { max-width: 690px; margin: 0 auto 32px; text-align: center; }
.kc-section__heading h2 { margin: 0; font-size: clamp(1.9rem, 4vw, 3rem); letter-spacing: -.055em; line-height: 1.08; }
.kc-section__heading p { margin: 13px 0 0; color: var(--kc-muted); }
.kc-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.kc-feature { padding: 25px; border: 1px solid var(--kc-line); border-radius: 20px; background: linear-gradient(155deg, rgba(16,31,52,.9), rgba(8,18,32,.86)); box-shadow: 0 18px 48px rgba(0,0,0,.2); }
.kc-feature__number { display: grid; width: 40px; height: 40px; place-items: center; margin-bottom: 18px; border: 1px solid rgba(112,161,255,.34); border-radius: 12px; background: rgba(47,107,217,.15); color: #a9c7ff; font-weight: 900; }
.kc-feature h3 { margin: 0; font-size: 1.05rem; }
.kc-feature p { margin: 8px 0 0; color: var(--kc-muted); font-size: .93rem; }

.kc-content-section { padding: 82px 0; border-top: 1px solid rgba(255,255,255,.07); scroll-margin-top: 24px; }
.kc-content-section--tinted { background: linear-gradient(180deg, rgba(16,31,52,.48), rgba(7,15,27,.36)); }
.kc-prose-grid { display: grid; grid-template-columns: minmax(160px, .36fr) minmax(0, 1fr); gap: clamp(34px, 8vw, 100px); }
.kc-section-label { color: #8db5ff; font-size: .78rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.kc-prose { max-width: 800px; }
.kc-prose h2, .kc-faq-layout h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -.055em; line-height: 1.08; text-wrap: balance; }
.kc-prose p { margin: 22px 0 0; color: var(--kc-muted); }
.kc-section__heading--left { margin-inline: 0; text-align: left; }
.kc-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.kc-type-card { padding: 28px; border: 1px solid var(--kc-line); border-radius: 22px; background: rgba(5,13,24,.72); scroll-margin-top: 24px; }
.kc-type-card__origin { display: inline-flex; margin-bottom: 18px; padding: 6px 10px; border-radius: 999px; background: rgba(47,107,217,.15); color: #b7d0ff; font-size: .73rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.kc-type-card h3 { margin: 0; font-size: 1.35rem; letter-spacing: -.03em; }
.kc-type-card p { margin: 12px 0 0; color: var(--kc-muted); font-size: .92rem; }
.kc-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; padding: 0; margin: 0; list-style: none; }
.kc-steps li { display: flex; gap: 17px; padding: 24px; border: 1px solid var(--kc-line); border-radius: 20px; background: rgba(11,22,38,.72); }
.kc-steps li > span { display: grid; flex: 0 0 38px; width: 38px; height: 38px; place-items: center; border-radius: 11px; background: var(--kc-blue); color: #fff; font-weight: 900; }
.kc-steps h3 { margin: 3px 0 0; font-size: 1rem; }
.kc-steps p { margin: 8px 0 0; color: var(--kc-muted); font-size: .88rem; }
.kc-safety { max-width: 900px; margin: 28px auto 0; padding: 24px 26px; border: 1px solid rgba(112,161,255,.3); border-radius: 18px; background: rgba(47,107,217,.1); }
.kc-safety h3 { margin: 0; font-size: 1.02rem; }
.kc-safety p { margin: 8px 0 0; color: #b8c6da; font-size: .9rem; }
.kc-faq-layout { display: grid; grid-template-columns: minmax(220px, .58fr) minmax(0, 1fr); gap: clamp(34px, 8vw, 100px); }
.kc-faq-layout > div:first-child > p { margin: 16px 0 0; color: var(--kc-muted); }
.kc-faq-layout .kc-section-label { margin-bottom: 14px; }
.kc-faq-list { display: grid; gap: 12px; }
.kc-faq-item { border: 1px solid var(--kc-line); border-radius: 16px; background: rgba(5,13,24,.72); overflow: hidden; }
.kc-faq-item summary { position: relative; padding: 19px 52px 19px 20px; cursor: pointer; font-weight: 850; list-style: none; }
.kc-faq-item summary::-webkit-details-marker { display: none; }
.kc-faq-item summary::after { position: absolute; top: 50%; right: 20px; content: "+"; color: var(--kc-blue-light); font-size: 1.45rem; line-height: 1; transform: translateY(-50%); }
.kc-faq-item[open] summary::after { content: "−"; }
.kc-faq-item p { padding: 0 20px 20px; margin: 0; color: var(--kc-muted); }
.kc-updated { padding-top: 25px; padding-bottom: 25px; color: #7f8da2; font-size: .78rem; text-align: center; }
.kc-updated time { color: #aebcd0; }
.kc-status { display: grid; min-height: 62vh; place-items: center; padding: 60px 0 90px; text-align: center; }
.kc-status__inner { max-width: 720px; }
.kc-status__code { margin: 0; color: var(--kc-blue-light); font-size: .88rem; font-weight: 950; letter-spacing: .16em; }
.kc-status h1 { margin: 10px 0 0; font-size: clamp(2.5rem, 7vw, 4.8rem); letter-spacing: -.065em; line-height: 1; }
.kc-status p:not(.kc-status__code) { margin: 22px auto 28px; color: var(--kc-muted); }
.kc-content-list { display: grid; gap: 24px; }
.kc-entry { padding: clamp(24px, 5vw, 48px); border: 1px solid var(--kc-line); border-radius: 22px; background: rgba(11,22,38,.72); }
.kc-entry__title { margin: 0; font-size: clamp(2rem, 5vw, 3.7rem); letter-spacing: -.055em; line-height: 1.08; }
.kc-entry__title a { text-decoration: none; }
.kc-entry__title a:hover { color: var(--kc-blue-light); }
.kc-entry__content { margin-top: 22px; color: var(--kc-muted); }
.kc-entry__content > *:first-child { margin-top: 0; }
.kc-entry__content > *:last-child { margin-bottom: 0; }

.kc-footer { padding: 28px 0 36px; border-top: 1px solid var(--kc-line); background: rgba(3,8,15,.44); }
.kc-footer__inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; }
.kc-footer p { max-width: 720px; margin: 0; color: #8190a6; font-size: .79rem; }
.kc-footer__copy { white-space: nowrap; }
.kc-footer__nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 15px; }
.kc-footer__nav a { color: #b9c9e1; font-size: .82rem; font-weight: 750; text-decoration: none; }
.kc-footer__nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 860px) {
  .kc-main { padding-top: 46px; }
  .kc-hero { grid-template-columns: 1fr; }
  .kc-copy { text-align: center; }
  .kc-lead { margin-inline: auto; }
  .kc-actions { justify-content: center; }
  .kc-visual { max-width: 460px; }
  .kc-features { grid-template-columns: 1fr; }
  .kc-prose-grid, .kc-faq-layout { grid-template-columns: 1fr; }
  .kc-types, .kc-steps { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .kc-shell { width: min(100% - 28px, 1160px); }
  .kc-header { padding-top: 17px; }
  .kc-header__pill { display: none; }
  .kc-brand__icon { width: 43px; height: 43px; border-radius: 12px; }
  .kc-main { padding-top: 36px; }
  .kc-title { font-size: clamp(2.7rem, 13.5vw, 4rem); }
  .kc-actions { display: grid; grid-template-columns: 1fr; }
  .kc-button { width: 100%; }
  .kc-visual { width: 100%; max-width: 390px; }
  .kc-logo-card { width: 68%; padding: 13px; }
  .kc-chip { font-size: .68rem; }
  .kc-footer__inner { display: grid; }
  .kc-footer__nav { gap: 10px 16px; }
  .kc-content-section { padding: 64px 0; }
  .kc-type-card, .kc-steps li { padding: 21px; }
  .kc-faq-item summary { padding-left: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .kc-button { transition: none; }
}
