/* Enma — landing page ("/", frontend/front-page.blade.php). Standalone: loaded without halo.css or any
   parent stylesheet. Pure black, dodger-blue accent, Clash Display at its single 400 face.
   Radii: buttons / inputs / chips 10px, cards / posters 8px, panels 12px, circles only for tiny dots. */

:root {
    --en-bg: #000;
    --en-bg-2: #07080C;
    --en-ac: #1E90FF;
    --en-ac-2: #0072E0;
    --en-ac-tx: #6FB8FF;
    --en-grad: linear-gradient(135deg, #1E90FF, #0072E0);
    --en-glow: 0 6px 20px rgba(30, 144, 255, 0.35);
    --en-tx: #fff;
    --en-tx-2: rgba(255, 255, 255, 0.82);
    --en-tx-3: rgba(255, 255, 255, 0.6);
    --en-tx-4: rgba(255, 255, 255, 0.42);
    --en-line: rgba(255, 255, 255, 0.08);
    --en-line-2: rgba(255, 255, 255, 0.14);
    --en-field: rgba(255, 255, 255, 0.04);
    --en-r-btn: 10px;
    --en-r-card: 8px;
    --en-r-panel: 12px;
    --en-gut: 24px;
    --en-font: 'Clash Display', 'Lexend', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-width: thin; scrollbar-color: #1E90FF #000; }
body.en { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--en-bg); color: var(--en-tx-2); font: 400 15px/1.6 var(--en-font); font-synthesis: none; letter-spacing: normal; -webkit-font-smoothing: antialiased; }
.en img { max-width: 100%; }
.en a { color: inherit; text-decoration: none; }
.en h1, .en h2, .en h3, .en b, .en strong { font-weight: 400; }
.en ::selection { background: var(--en-ac); color: #fff; }
.en :focus { outline: none; }
.en :focus-visible { outline: 2px solid var(--en-ac); outline-offset: 2px; border-radius: 4px; }
.en-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.en-ico { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.en-blue { background: var(--en-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.en-skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 8px 14px; border-radius: var(--en-r-btn); background: var(--en-ac); color: #fff !important; }
.en-skip:focus { top: 12px; }
.en-wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--en-gut); }

/* the site's text wordmark (hoshi.partials.logo): white name + gradient "!" */
.en .hl-wordmark { display: inline-flex; align-items: center; font-family: var(--en-font); font-weight: 300; line-height: 1; letter-spacing: normal; white-space: nowrap; color: #fff; }
.en .hl-wordmark .x { margin-left: 4px; background: linear-gradient(135deg, #1E90FF, #0080FF, #87CEEB); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; font-weight: 400; }
.en .hs-logo-img { display: block; width: auto; }

/* ============ top bar ============ */
.en-top { position: relative; z-index: 5; border-bottom: 1px solid var(--en-line); background: rgba(0, 0, 0, 0.6); }
.en-top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.en-brand { display: inline-flex; align-items: center; flex: none; padding: 4px 0; }
.en-nav { display: flex; align-items: center; gap: 2px; }
.en-nav a { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: var(--en-r-btn); color: var(--en-tx-2); font-size: 14px; transition: background 0.15s, color 0.15s; }
.en-nav a:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }

/* ============ hero ============ */
.en-hero { position: relative; overflow: hidden; isolation: isolate; padding: 56px 0 48px; }
.en-hero::before { content: ""; position: absolute; z-index: -1; right: -10%; top: -30%; width: 70%; height: 140%; background: radial-gradient(closest-side, rgba(30, 144, 255, 0.22), rgba(30, 144, 255, 0) 70%); pointer-events: none; }
.en-hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 40%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 80% at 70% 40%, #000, transparent 75%); pointer-events: none; }
.en-bd { position: absolute; z-index: -2; inset: 0; background-position: center; background-size: cover; pointer-events: none; }
.en-bd-img { opacity: 0.32; -webkit-mask-image: linear-gradient(180deg, #000 35%, transparent); mask-image: linear-gradient(180deg, #000 35%, transparent); }
.en-bd-blur { inset: -80px; opacity: 0.2; filter: blur(70px) saturate(1.3); -webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 85%); mask-image: linear-gradient(180deg, #000 20%, transparent 85%); }

.en-hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: 48px; }
.en-hero-solo .en-hero-in { grid-template-columns: minmax(0, 760px); justify-content: center; }
.en-copy { min-width: 0; }

.en-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 6px 12px; border-radius: var(--en-r-btn); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--en-line); color: var(--en-tx-3); font-size: 13px; line-height: 20px; }
.en-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--en-ac); box-shadow: 0 0 0 4px rgba(30, 144, 255, 0.18); flex: none; }

.en h1 { margin: 0; color: #fff; font-size: clamp(38px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; }
.en-lead { max-width: 540px; margin: 22px 0 0; color: var(--en-tx-3); font-size: 16px; line-height: 1.6; }

.en-search { margin-top: 32px; max-width: 620px; }
.en-label { display: block; margin-bottom: 10px; color: var(--en-tx-2); font-size: 13px; line-height: 18px; }
.en-field { position: relative; display: flex; align-items: center; height: 60px; padding: 0 7px 0 18px; gap: 12px; border-radius: var(--en-r-btn); background: rgba(10, 12, 18, 0.85); border: 1px solid var(--en-line-2); transition: border-color 0.15s, box-shadow 0.15s; }
.en-field > .en-ico { width: 18px; height: 18px; color: var(--en-tx-4); }
.en-field:focus-within { border-color: rgba(30, 144, 255, 0.7); box-shadow: 0 0 0 4px rgba(30, 144, 255, 0.16); }
.en-field:focus-within > .en-ico { color: var(--en-ac); }
.en-field input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; background: none; color: #fff; font: 400 16px var(--en-font); font-synthesis: none; letter-spacing: normal; -webkit-appearance: none; appearance: none; }
.en-field input::placeholder { color: var(--en-tx-4); }
.en-field input:focus-visible { outline: none; }
.en-field input::-webkit-search-cancel-button { filter: grayscale(1) brightness(1.6); cursor: pointer; }
.en-go { display: inline-flex; align-items: center; gap: 8px; flex: none; height: 46px; padding: 0 20px; border: 0; border-radius: var(--en-r-btn); background: var(--en-grad); color: #fff; font: 400 14px var(--en-font); font-synthesis: none; cursor: pointer; box-shadow: var(--en-glow); transition: filter 0.15s; }
.en-go:hover { filter: brightness(1.12); }

.en-pop { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; max-width: 700px; margin-top: 18px; }
.en-pop-h { color: var(--en-tx-4); font-size: 13px; line-height: 20px; }
.en-pop ul { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; margin: 0; padding: 0; list-style: none; }
.en-pop li { min-width: 0; max-width: 100%; }
.en-chip { display: block; max-width: 200px; height: 32px; padding: 0 13px; overflow: hidden; border-radius: var(--en-r-btn); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--en-line); color: var(--en-tx-2) !important; font-size: 13px; line-height: 30px; white-space: nowrap; text-overflow: ellipsis; transition: background 0.15s, border-color 0.15s, color 0.15s; }
.en-chip:hover { background: rgba(30, 144, 255, 0.12); border-color: rgba(30, 144, 255, 0.4); color: #fff !important; }

.en-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.en-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 22px; border-radius: var(--en-r-btn); font-size: 14px; line-height: 1; white-space: nowrap; transition: filter 0.15s, background 0.15s, border-color 0.15s; }
.en-btn-p { background: var(--en-grad); color: #fff !important; box-shadow: var(--en-glow); }
.en-btn-p:hover { filter: brightness(1.12); }
.en-btn-g { background: rgba(255, 255, 255, 0.06); border: 1px solid var(--en-line-2); color: #fff !important; }
.en-btn-g:hover { background: rgba(30, 144, 255, 0.12); border-color: rgba(30, 144, 255, 0.45); }
.en-btn-sm { height: 38px; padding: 0 16px; font-size: 13px; }

/* the brand artwork, floating over a soft ring */
.en-art { position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; aspect-ratio: 1 / 0.82; }
.en-art img { position: relative; display: block; width: 100%; max-width: 520px; height: auto; filter: drop-shadow(0 24px 40px rgba(0, 40, 110, 0.55)); animation: en-float 7s ease-in-out infinite; }
.en-ring { position: absolute; left: 50%; top: 50%; width: 86%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(30, 144, 255, 0.22); background: radial-gradient(closest-side, rgba(30, 144, 255, 0.14), rgba(30, 144, 255, 0) 72%); }
.en-ring::after { content: ""; position: absolute; inset: 9%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, 0.08); }
@keyframes en-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ============ section head ============ */
.en-sh { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.en h2 { margin: 0; color: #fff; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; letter-spacing: -0.025em; }
.en-sh-r { display: flex; align-items: center; gap: 8px; }
.en-more { margin-right: 6px; color: var(--en-tx-3) !important; font-size: 13px; transition: color 0.15s; }
.en-more:hover { color: #fff !important; }
.en-arr { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; border-radius: var(--en-r-btn); border: 1px solid var(--en-line-2); background: rgba(255, 255, 255, 0.04); color: #fff; cursor: pointer; transition: background 0.15s, border-color 0.15s, opacity 0.15s; }
.en-arr:hover:not(:disabled) { background: rgba(30, 144, 255, 0.14); border-color: rgba(30, 144, 255, 0.45); }
.en-arr:disabled { opacity: 0.35; cursor: default; }

/* ============ trending rail ============ */
.en-trend { padding: 8px 0 72px; }
.en-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 172px; gap: 16px; margin: 0; padding: 0 0 14px; list-style: none; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0; scrollbar-width: thin; scrollbar-color: rgba(30, 144, 255, 0.6) transparent; }
.en-card { min-width: 0; scroll-snap-align: start; }
.en-card > a { display: block; }
.en-poster { position: relative; display: block; aspect-ratio: 2 / 3; overflow: hidden; border-radius: var(--en-r-card); background: var(--en-bg-2); box-shadow: inset 0 0 0 1px var(--en-line); }
.en-poster img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease, filter 0.25s; }
.en-poster::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); transition: box-shadow 0.2s; pointer-events: none; }
.en-card > a:hover .en-poster img { transform: scale(1.04); filter: brightness(1.08); }
.en-card > a:hover .en-poster::after, .en-card > a:focus-visible .en-poster::after { box-shadow: inset 0 0 0 2px var(--en-ac); }
.en-rank { position: absolute; left: 8px; top: 8px; min-width: 28px; height: 26px; padding: 0 8px; border-radius: 6px; background: rgba(0, 0, 0, 0.72); color: #fff; font-size: 13px; line-height: 26px; text-align: center; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.en-rank-top { background: var(--en-grad); }
.en-score { position: absolute; right: 8px; bottom: 8px; height: 22px; padding: 0 7px; border-radius: 6px; background: rgba(0, 0, 0, 0.72); color: #FFD166; font-size: 12px; line-height: 22px; }
.en-title { display: -webkit-box; margin-top: 10px; overflow: hidden; color: #fff; font-size: 14px; line-height: 1.35; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 2.7em; transition: color 0.15s; }
.en-card > a:hover .en-title { color: var(--en-ac-tx); }
.en-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; color: var(--en-tx-4); font-size: 12px; line-height: 20px; }
.en-tag { height: 20px; padding: 0 6px; border-radius: 5px; font-size: 11px; line-height: 20px; }
.en-tag-s { background: rgba(176, 227, 175, 0.14); color: #B0E3AF; }
.en-tag-d { background: rgba(185, 231, 255, 0.14); color: #B9E7FF; }

/* ============ about panel ============ */
.en-about { padding: 0 0 72px; }
.en-panel { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; padding: 40px; border-radius: var(--en-r-panel); background: linear-gradient(180deg, rgba(30, 144, 255, 0.05), rgba(30, 144, 255, 0) 60%), var(--en-bg-2); border: 1px solid var(--en-line); }
.en-facts { align-self: start; position: sticky; top: 24px; }
.en-facts-h { margin: 0 0 16px; color: var(--en-ac-tx); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.en-facts ul { margin: 0 0 22px; padding: 0; list-style: none; }
.en-facts li { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid var(--en-line); }
.en-facts li:last-child { border-bottom: 1px solid var(--en-line); }
.en-facts li > .en-ico { width: 20px; height: 20px; margin-top: 2px; color: var(--en-ac); }
.en-facts li span { color: var(--en-tx-3); font-size: 13px; line-height: 1.5; }
.en-facts li b { display: block; margin-bottom: 2px; color: #fff; font-size: 15px; }

.en-prose { min-width: 0; max-width: 760px; color: var(--en-tx-3); font-size: 15px; line-height: 1.75; overflow-wrap: anywhere; }
.en-prose > :first-child { margin-top: 0; }
.en-prose > :last-child { margin-bottom: 0; }
.en-prose h2, .en-prose h3, .en-prose h4 { color: #fff; letter-spacing: -0.02em; }
.en-prose h2 { margin: 0 0 16px; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; }
.en-prose h3 { margin: 30px 0 10px; font-size: 19px; line-height: 1.3; }
.en-prose h4 { margin: 24px 0 8px; font-size: 16px; }
.en-prose p { margin: 0 0 14px; }
.en-prose b, .en-prose strong { color: var(--en-tx); }
.en-prose a { color: var(--en-ac-tx); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(111, 184, 255, 0.4); }
.en-prose a:hover { color: #fff; }
.en-prose ul, .en-prose ol { margin: 0 0 14px; padding-left: 1.3em; }
.en-prose img { height: auto; border-radius: var(--en-r-card); }
.en-prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }

/* ============ footer ============ */
.en-foot { padding: 40px 0 32px; border-top: 1px solid var(--en-line); background: #000; }
.en-foot-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 18px; }
.en-foot-head p { margin: 0; padding-left: 20px; border-left: 1px solid var(--en-line-2); color: var(--en-tx-4); font-size: 13px; line-height: 20px; }
.en-az { display: flex; flex-wrap: wrap; gap: 5px; }
.en-az a { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 8px; border-radius: var(--en-r-btn); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--en-line); color: var(--en-tx-2) !important; font-size: 14px; transition: background 0.15s, border-color 0.15s, color 0.15s; }
.en-az a:hover { background: var(--en-grad); border-color: transparent; color: #fff !important; }
.en-foot-bot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--en-line); }
.en-links { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.en-links a { color: var(--en-tx-3); font-size: 14px; line-height: 22px; transition: color 0.15s; }
.en-links a:hover { color: #fff; }
.en-legal { margin: 0; color: var(--en-tx-4); font-size: 13px; line-height: 20px; }

/* ============ responsive ============ */
@media (max-width: 1199px) {
    .en-hero { padding: 56px 0 56px; }
    .en-hero-in { gap: 32px; }
    .en-panel { grid-template-columns: 240px minmax(0, 1fr); gap: 36px; padding: 32px; }
}
@media (max-width: 1023px) {
    .en-hero { padding: 40px 0 48px; }
    .en-hero-in { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .en-art { order: -1; justify-self: center; width: min(400px, 76%); }
    .en-copy { text-align: center; }
    .en-eyebrow { margin-bottom: 18px; }
    .en-lead, .en-search, .en-pop { margin-left: auto; margin-right: auto; }
    .en-pop, .en-pop ul, .en-cta { justify-content: center; }
    .en-panel { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .en-facts { position: static; }
    .en-facts ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
    .en-facts li, .en-facts li:last-child { padding: 14px; border: 1px solid var(--en-line); border-radius: var(--en-r-card); background: rgba(255, 255, 255, 0.02); }
    .en-facts .en-btn { display: none; }
}
@media (max-width: 767px) {
    :root { --en-gut: 16px; }
    .en-nav a { padding: 0 10px; font-size: 13px; }
    .en-hero { padding: 28px 0 40px; }
    .en-art { width: min(320px, 82%); }
    .en-lead { font-size: 15px; }
    .en-search { margin-top: 26px; }
    .en-cta { margin-top: 26px; }
    .en-trend { padding-bottom: 56px; }
    .en-rail { grid-auto-columns: 140px; gap: 12px; }
    .en-about { padding-bottom: 56px; }
    .en-panel { padding: 24px 20px; }
    .en-facts ul { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .en-foot-bot { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
    .en-top-in { gap: 8px; min-height: 58px; }
    .en-nav { gap: 0; }
    .en-nav a { height: 34px; padding: 0 7px; font-size: 13px; }
    .en-art { width: min(250px, 66%); }
    .en-pop li:nth-child(n+5) { display: none; }
    .en-eyebrow { font-size: 12px; padding: 5px 10px; }
    .en-field { height: 56px; padding-left: 14px; gap: 10px; }
    .en-go { width: 44px; height: 44px; padding: 0; justify-content: center; }
    .en-go span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .en-go .en-ico { width: 18px; height: 18px; }
    .en-pop-h { width: 100%; }
    .en-chip { max-width: 170px; }
    .en-cta { gap: 10px; }
    .en-cta .en-btn { flex: 1 1 0; min-width: 0; padding: 0 14px; }
    .en-more { display: none; }
    .en-foot-head p { padding-left: 0; border-left: 0; width: 100%; }
    .en-az a { min-width: 34px; height: 34px; padding: 0 8px; font-size: 13px; }
}
@media (max-width: 374px) {
    .en-top-in { flex-wrap: wrap; justify-content: center; padding-top: 8px; padding-bottom: 6px; }
    .en-nav { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
    .en *, .en *::before, .en *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
