:root {
    --main-red: #ff3e3e;
    --cyber-blue: #00f3ff;
    --bg-black: #0a0a0a;
    --card-bg: #151515;
    --text-white: #e0e0e0;
    --code-font: 'Consolas', 'Monaco', 'Courier New', monospace;
}

body {
    background-color: var(--bg-black);
    color: var(--text-white);
    font-family: 'Segoe UI', 'Hiragino Kaku Gothic ProN', sans-serif;
    margin: 0;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Navigation */
nav {
    padding: 20px;
    border-bottom: 1px solid #222;
    background: rgba(0, 0, 0, 0.8);
    font-family: var(--code-font);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

nav a:hover {
    color: var(--cyber-blue);
}

section {
    scroll-margin-top: 90px;
}

header {
    margin-bottom: 60px;
    border-left: 5px solid var(--main-red);
    padding-left: 30px;
}

.subtitle {
    color: var(--cyber-blue);
    font-size: 0.8rem;
    margin-top: 10px;
    font-family: var(--code-font);
}

hr {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyber-blue), var(--main-red), transparent);
    margin: 50px 0;
    position: relative;
    box-shadow: 0 0 8px rgba(0, 243, 255, 0.4);
}

.glitch-logo {
    font-size: clamp(3rem, 12vw, 9rem);
    font-weight: 900;
    letter-spacing: 0.15em;
    font-family: var(--code-font);
    text-shadow: 2px 0 var(--main-red), -2px 0 var(--cyber-blue);
}

.tagline {
    font-family: var(--code-font);
    color: var(--cyber-blue);
    font-size: clamp(0.7rem, 2vw, 1.1rem);
    margin-top: 20px;
    opacity: 0.8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.section-header {
    margin-bottom: 40px;
    padding-top: 20px;
}

.section-header h2 {
    font-family: var(--code-font);
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    display: inline-block;
    border-right: 10px solid var(--main-red);
    padding-right: 15px;
    margin: 0;
    line-height: 1.2;
}

/* bio */
.logic-box {
    background: #000;
    border: 1px solid #333;
    padding: clamp(25px, 4vw, 40px);
    font-family: var(--code-font);
    margin: 20px auto 100px;
    position: relative;
}

.logic-box::before {
    content: "lyric_logic.sh";
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--main-red);
    padding: 2px 12px;
    font-size: 0.75rem;
    color: #fff;
    font-weight: bold;
}

.code-comment {
    color: #6a9955;
}

.code-keyword {
    color: #c586c0;
}

.code-func {
    color: #dcdcaa;
}

.logic-desc {
    margin-top: 25px;
    border-top: 1px solid #222;
    padding-top: 20px;
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.8;
}

.text-highlight {
    color: var(--cyber-blue);
    font-weight: bold;
}

.text-highlight-red {
    color: var(--main-red);
    font-weight: bold;
}

.logic-box {
    background: #000;
    border: 1px solid #333;
    padding: 30px;
    font-family: var(--code-font);
    margin-bottom: 40px;
    position: relative;
}

.logic-box::before {
    content: "lyric_logic.sh";
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--main-red);
    padding: 2px 12px;
    font-size: 0.75rem;
    color: #fff;
    font-weight: bold;
}

.code-comment {
    color: #6a9955;
}

.code-keyword {
    color: #c586c0;
}

.code-func {
    color: #dcdcaa;
}

.manifesto-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid #222;
    border-left: 4px solid var(--cyber-blue);
    padding: 35px;
    margin-bottom: 50px;
    line-height: 1.9;
    color: #ccc;
    font-size: 0.95rem;
    font-family: 'Segoe UI', sans-serif;
}

.manifesto-lead {
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 500;
}

.manifesto-quote {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px dashed #333;
    font-size: 1.05rem;
    font-weight: bold;
    color: #eee;
    line-height: 2;
    font-family: var(--code-font);
}

.text-highlight {
    color: var(--cyber-blue);
    font-weight: bold;
}

.text-highlight-red {
    color: var(--main-red);
    font-weight: bold;
}

.timeline-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-family: var(--code-font);
}

.timeline-item {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #222;
    border-left: 3px solid #444;
    padding: 20px 25px;
    position: relative;
    transition: 0.3s;
}

.timeline-item:hover {
    border-color: #444;
    background: rgba(20, 20, 20, 0.5);
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 25px;
    width: 9px;
    height: 9px;
    background: var(--bg-black);
    border: 2px solid var(--cyber-blue);
    border-radius: 50%;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
}

.t-version {
    font-size: 0.85rem;
    font-weight: bold;
}

.status-done {
    color: var(--cyber-blue);
}

.status-maintenance {
    color: #ffaa00;
}

.status-upcoming {
    color: var(--main-red);
}

.t-date {
    font-size: 0.75rem;
    color: #777;
}

.t-desc {
    margin: 0;
    font-size: 0.95rem;
    color: #aaa;
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;
}

/* members */
.member-grid,
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 260px));
    gap: 25px;
    margin-bottom: 80px;
}

.support-grid {
    margin-bottom: 120px;
}

.member-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.member-card {
    background: var(--card-bg);
    border: 1px solid #222;
    overflow: hidden;
    transition: 0.4s ease;
    height: 100%;
}

.member-link:hover .member-card {
    border-color: var(--c, var(--cyber-blue));
    box-shadow: 0 0 15px var(--c, rgba(0, 243, 255, 0.3));
    transform: translateY(-5px);
}

.img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #111;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.info {
    padding: 15px;
}

.role-tag {
    font-family: var(--code-font);
    color: var(--c, var(--main-red));
    font-size: 0.75rem;
    font-weight: bold;
}

.name-jp {
    font-size: 1.3rem;
    font-weight: bold;
    display: block;
    margin: 3px 0;
    color: #fff;
}

.name-real {
    font-size: 0.75rem;
    color: #777;
}


/* discography */
.edition-block {
    margin-bottom: 100px;
    padding-top: 40px;
    border-top: 1px solid #222;
}

.edition-header {
    margin-bottom: 35px;
    border-left: 5px solid var(--main-red);
    padding-left: 20px;
    display: block;
}

.edition-label {
    font-family: var(--code-font);
    color: var(--main-red);
    font-size: 0.75rem;
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    opacity: 0.8;
}

.edition-title {
    font-family: var(--code-font);
    font-size: clamp(1.4rem, 3.5vw, 2.4rem);
    font-weight: 900;
    margin: 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
}

.song-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
}

.song-card {
    text-align: left;
    transition: 0.3s;
    text-decoration: none;
    display: block;
}

.song-card:hover {
    transform: translateY(-5px);
}

.song-jacket {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #222;
    margin-bottom: 15px;
    border: 1px solid #333;
    object-fit: cover;
    transition: 0.3s;
}

.song-card:hover .song-jacket {
    border-color: var(--main-red);
    box-shadow: 0 0 15px rgba(255, 62, 62, 0.2);
}

.song-title {
    font-size: 0.95rem;
    font-weight: bold;
    color: #fff;
    display: block;
    line-height: 1.4;
}

.catalog-btn-container {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 70px;
}

/* protocol */
.protocol-link-box {
    background: #000;
    border: 1px solid #222;
    padding: 40px;
    margin-bottom: 80px;
}

.protocol-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    border: 1px solid var(--main-red);
    color: var(--main-red);
    text-decoration: none;
    font-family: var(--code-font);
    font-weight: bold;
    transition: 0.3s;
}

.protocol-btn:hover {
    background: var(--main-red);
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 62, 62, 0.4);
}

/* Footer */
footer {
    background: #050505;
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid #1a1a1a;
}

.disclaimer-text {
    font-size: 0.65rem;
    color: #555;
    margin-top: 20px;
    max-width: 800px;
    margin: 20px auto 0;
    font-family: sans-serif;
}

@media (max-width: 768px) {
    nav {
        gap: 10px;
        font-size: 0.65rem;
    }

    .container {
        padding: 40px 15px;
    }

    .song-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .song-jacket {
        margin-bottom: 8px;
        border-radius: 4px;
    }

    .song-title {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .edition-header {
        margin-bottom: 20px;
        padding-left: 12px;
        border-left-width: 4px;
    }

    .edition-title {
        font-size: 1.3rem;
    }

    .edition-block {
        margin-bottom: 60px;
        padding-top: 25px;
    }

    .member-grid,
    .support-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .info {
        padding: 10px;
    }

    .name-jp {
        font-size: 1.1rem;
    }
}