:root {
    --bg: #08070a;
    --panel: #131015;
    --panel-2: #1a1118;
    --text: #f8fafc;
    --muted: #b8b3bd;
    --cyan: #35d8ff;
    --pink: #ff4fa3;
    --red: #ff3355;
    --yellow: #ffd166;
    --violet: #8b6cff;
    --green: #84f7c5;
    --line: rgba(255, 255, 255, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--text);
    background:
        linear-gradient(90deg, rgba(53, 216, 255, 0.035) 1px, transparent 1px),
        linear-gradient(rgba(255, 79, 163, 0.03) 1px, transparent 1px),
        radial-gradient(circle at 16% 10%, rgba(255, 51, 85, 0.22), transparent 24rem),
        radial-gradient(circle at 88% 4%, rgba(53, 216, 255, 0.18), transparent 24rem),
        linear-gradient(180deg, #09070b 0%, #171016 46%, #060508 100%);
    background-size: 52px 52px, 52px 52px, auto, auto, auto;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
}

a {
    color: inherit;
    text-decoration: none;
}

.scanline {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 10;
    opacity: 0.08;
    background-image: linear-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px);
    background-size: 100% 4px;
}

.site-header,
.site-footer {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 0;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    font-weight: 900;
    letter-spacing: 0;
    color: var(--text);
    text-transform: uppercase;
    text-shadow: 2px 0 0 var(--red), -2px 2px 0 rgba(53, 216, 255, 0.55);
}

.site-brand img {
    max-height: 42px;
    width: auto;
}

.site-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav a {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    border: 1px solid rgba(255, 79, 163, 0.24);
    padding: 0 12px;
    color: var(--muted);
    background: rgba(8, 7, 10, 0.64);
    box-shadow: inset 0 -2px 0 rgba(255, 51, 85, 0.24);
}

.home {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto 64px;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 28px;
    align-items: stretch;
    min-height: 420px;
    padding: 52px 0 32px;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.eyebrow,
.post-meta {
    color: var(--yellow);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 820px;
    margin: 10px 0 18px;
    font-size: clamp(44px, 8vw, 96px);
    line-height: 0.95;
    letter-spacing: 0;
    text-shadow: 3px 0 0 rgba(255, 51, 85, 0.7), -4px 4px 0 rgba(53, 216, 255, 0.42), 0 0 28px rgba(255, 209, 102, 0.16);
}

.hero p {
    max-width: 640px;
    color: var(--muted);
    font-size: 18px;
}

.hero-panel,
.post-card,
.article {
    border: 1px solid var(--line);
    background:
        linear-gradient(145deg, rgba(19, 16, 21, 0.94), rgba(26, 17, 24, 0.92)),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 8px);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.3);
    position: relative;
}

.hero-panel::before,
.post-card::before,
.article::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-top: 2px solid rgba(255, 51, 85, 0.82);
    box-shadow: inset 0 0 32px rgba(53, 216, 255, 0.07), inset 0 0 54px rgba(255, 79, 163, 0.07);
}

.hero-panel {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    padding: 22px;
}

.hero-panel::after {
    content: "KAWASAKI NIGHT / REHEARSAL ROOM / DISTORTION";
    position: absolute;
    left: 18px;
    top: 104px;
    color: rgba(255, 255, 255, 0.32);
    font-size: 11px;
    font-weight: 800;
    writing-mode: vertical-rl;
}

.stage-sign {
    position: absolute;
    top: 24px;
    left: 24px;
    right: 24px;
    height: 58px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 51, 85, 0.78);
    color: var(--text);
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 0;
    background:
        linear-gradient(90deg, rgba(255, 51, 85, 0.28), rgba(53, 216, 255, 0.14)),
        rgba(0, 0, 0, 0.32);
    box-shadow: 0 0 24px rgba(255, 51, 85, 0.2);
    transform: rotate(-1.4deg);
}

.city-rails {
    position: absolute;
    left: 28px;
    right: 28px;
    top: 96px;
    height: 82px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.16);
    background:
        linear-gradient(135deg, transparent 48%, rgba(53, 216, 255, 0.22) 49%, rgba(53, 216, 255, 0.22) 51%, transparent 52%),
        linear-gradient(45deg, transparent 48%, rgba(255, 79, 163, 0.18) 49%, rgba(255, 79, 163, 0.18) 51%, transparent 52%);
    background-size: 54px 54px;
    opacity: 0.8;
}

.guitar-core {
    position: absolute;
    left: 50%;
    top: 124px;
    width: 150px;
    height: 190px;
    border: 2px solid var(--red);
    border-radius: 52% 48% 42% 58%;
    background:
        radial-gradient(circle at 42% 58%, rgba(255, 209, 102, 0.34), transparent 16px),
        linear-gradient(135deg, rgba(53, 216, 255, 0.16), transparent 52%),
        linear-gradient(315deg, rgba(255, 79, 163, 0.24), transparent 48%);
    transform: translateX(-50%) rotate(-12deg);
}

.guitar-core::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 140px;
    width: 26px;
    height: 138px;
    border: 2px solid rgba(53, 216, 255, 0.82);
    background: rgba(53, 216, 255, 0.12);
    transform: translateX(-50%);
}

.guitar-core::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 42px;
    width: 52px;
    height: 52px;
    border: 2px solid var(--yellow);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 22px rgba(255, 230, 109, 0.28);
}

.equalizer {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 106px;
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 9px;
    height: 72px;
}

.equalizer i {
    display: block;
    width: 13px;
    border: 1px solid rgba(69, 243, 255, 0.72);
    background: linear-gradient(180deg, var(--red), var(--pink), var(--cyan));
    box-shadow: 0 0 18px rgba(255, 51, 85, 0.24);
}

.equalizer i:nth-child(1) { height: 28px; }
.equalizer i:nth-child(2) { height: 48px; }
.equalizer i:nth-child(3) { height: 34px; }
.equalizer i:nth-child(4) { height: 68px; }
.equalizer i:nth-child(5) { height: 44px; }
.equalizer i:nth-child(6) { height: 58px; }
.equalizer i:nth-child(7) { height: 32px; }

.post-card:nth-child(3n + 1) {
    border-color: rgba(69, 243, 255, 0.24);
}

.post-card:nth-child(3n + 2) {
    border-color: rgba(255, 79, 216, 0.24);
}

.post-card:nth-child(3n + 3) {
    border-color: rgba(255, 230, 109, 0.24);
}

.stat-grid {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.stat-grid span {
    border: 1px solid rgba(69, 243, 255, 0.35);
    padding: 10px;
    color: var(--cyan);
    font-size: 12px;
    font-weight: 800;
    background: rgba(0, 0, 0, 0.22);
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.post-card {
    overflow: hidden;
    transition: transform 180ms ease, border-color 180ms ease;
}

.post-card:hover {
    transform: translateY(-4px);
    border-color: rgba(69, 243, 255, 0.65);
}

.post-image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background:
        linear-gradient(135deg, rgba(255, 51, 85, 0.28), rgba(53, 216, 255, 0.24)),
        repeating-linear-gradient(-8deg, rgba(255, 255, 255, 0.07) 0 2px, transparent 2px 10px);
}

.post-card-body {
    padding: 18px;
}

.post-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.post-card h2,
.article h1 {
    margin: 10px 0;
    line-height: 1.1;
    letter-spacing: 0;
}

.post-card h2 {
    font-size: 22px;
}

.post-card p,
.article-header p {
    color: var(--muted);
}

.post-shell {
    width: min(880px, calc(100% - 32px));
    margin: 28px auto 72px;
}

.article {
    padding: clamp(22px, 5vw, 56px);
}

.article h1 {
    font-size: clamp(34px, 6vw, 64px);
}

.article-image {
    width: 100%;
    margin: 24px 0 8px;
    border: 1px solid var(--line);
}

.article-content {
    color: #e5e7eb;
    font-size: 18px;
}

.article-content a {
    color: var(--cyan);
    border-bottom: 1px solid rgba(69, 243, 255, 0.45);
}

.article-content pre,
.article-content code {
    font-family: "SFMono-Regular", Consolas, monospace;
}

.article-content pre {
    overflow-x: auto;
    border: 1px solid var(--line);
    padding: 18px;
    background: #05070c;
}

.kg-width-wide {
    width: min(1120px, calc(100vw - 32px));
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
}

.kg-width-full {
    width: 100vw;
    max-width: none;
    margin-left: 50%;
    transform: translateX(-50%);
}

.kg-width-wide img,
.kg-width-full img {
    width: 100%;
    height: auto;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin: 34px 0 0;
    color: var(--muted);
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid var(--line);
    padding: 24px 0 36px;
    color: var(--muted);
    font-size: 13px;
}

@media (max-width: 860px) {
    .site-header,
    .site-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero,
    .post-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 28px;
    }
}
