:root {
    --bg-dark: #0a0a0a;
    --bg-card: #161616;
    --text-main: #e0e0e0;
    --text-muted: #a0a0a0;
    --accent-chai: #d4a373;
    --accent-green: #00ff41;
    --accent-red: #ff4d4d;
    --accent-hoppou: #ffcc00;
    --accent-blue: #00d2ff;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-code: 'Courier New', Courier, monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
}

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

.site-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(10, 10, 10, 0.82);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.nav-brand {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: #fff;
    border-color: rgba(212, 163, 115, 0.4);
    background: rgba(212, 163, 115, 0.08);
    outline: none;
}

.nav-link-active {
    color: #fff;
    border-color: rgba(212, 163, 115, 0.55);
    background: rgba(212, 163, 115, 0.14);
}

.scam-text {
    color: var(--accent-green);
    font-family: var(--font-code);
}

.hoppou-text {
    color: var(--accent-hoppou);
    font-weight: bold;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.2s;
    margin: 5px;
}

.btn:hover {
    transform: scale(1.05);
}

.btn-chai {
    background-color: var(--accent-chai);
    color: #000;
}

.btn-music {
    background-color: #6c5ce7;
    color: #fff;
}

.btn-stop {
    background-color: #d63031;
    color: #fff;
}

.btn-refund {
    background-color: var(--accent-red);
    color: #fff;
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

#visualizer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    filter: blur(20px);
    opacity: 0.4;
    pointer-events: none;
}

header {
    padding: 40px 0;
    text-align: center;
    border-bottom: 1px solid #333;
}

h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.subtitle {
    color: var(--text-muted);
    font-size: 1.2rem;
}

.status-badge {
    background: #222;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid var(--accent-green);
    display: inline-block;
    margin-top: 10px;
}

section {
    padding: 60px 0;
}

h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    border-left: 5px solid var(--accent-chai);
    padding-left: 15px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.stats-box {
    background: var(--bg-card);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #333;
}

.friends-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.friend-card {
    background: var(--bg-card);
    padding: 20px;
    border-radius: 10px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.friend-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(212, 163, 115, 0.2);
}

.friend-name {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: #fff;
}

.friend-role {
    font-size: 0.9rem;
    color: var(--accent-chai);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.friend-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.terminal-window {
    background: #000;
    border: 2px solid #333;
    border-radius: 5px;
    padding: 20px;
    font-family: var(--font-code);
    color: var(--accent-green);
    min-height: 200px;
    max-height: 400px;
    overflow-y: auto;
}

.input-line {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 5px;
}

#term-input {
    background: transparent;
    border: none;
    color: var(--accent-green);
    font-family: var(--font-code);
    font-size: 1rem;
    flex-grow: 1;
    outline: none;
}

.section-note {
    margin-bottom: 20px;
    color: #888;
}

.status-online {
    color: var(--accent-green);
}

.repo-link {
    color: var(--accent-chai);
    text-decoration: underline;
}

.item-dir {
    color: grey;
}

.item-file {
    color: white;
}

footer {
    text-align: center;
    padding: 20px;
    background: #111;
    color: #555;
    font-size: 0.8rem;
}

.page-hero {
    padding: 56px 0 28px;
}

.eyebrow {
    color: var(--accent-chai);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.82rem;
    margin-bottom: 12px;
}

.songs-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.song-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.summary-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 10px 14px;
    color: var(--text-muted);
}

.summary-pill strong {
    color: #fff;
}

.songs-grid {
    display: block;
}

.songs-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.song-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.song-list-item:last-child {
    border-bottom: none;
}

.song-list-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.song-list-main {
    display: flex;
    align-items: baseline;
    gap: 12px;
    min-width: 0;
}

.song-list-number {
    color: var(--text-muted);
    font-family: var(--font-code);
    font-size: 0.92rem;
    flex-shrink: 0;
}

.song-list-title {
    font-size: 1.05rem;
    color: #fff;
    margin: 0;
    padding: 0;
    border: 0;
}

code {
    font-family: var(--font-code);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 2px 6px;
}

.song-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.song-badge-gabriel {
    background: rgba(0, 255, 65, 0.12);
    border: 1px solid rgba(0, 255, 65, 0.32);
    color: var(--accent-green);
}

.song-badge-gabriel-parody {
    background: rgba(255, 204, 0, 0.12);
    border: 1px solid rgba(255, 204, 0, 0.3);
    color: var(--accent-hoppou);
}

.song-badge-other {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-muted);
}

.song-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.song-filter {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 10px 14px;
    cursor: pointer;
    transition: 0.2s ease;
}

.song-filter:hover,
.song-filter:focus-visible {
    color: #fff;
    border-color: rgba(212, 163, 115, 0.45);
    outline: none;
}

.song-filter-active {
    color: #fff;
    background: rgba(212, 163, 115, 0.14);
    border-color: rgba(212, 163, 115, 0.55);
}

.song-empty {
    text-align: center;
    padding: 32px;
    border: 1px dashed rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .nav-inner,
    .songs-toolbar,
    .song-list-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .song-list-main {
        align-items: flex-start;
    }
}
