:root {
    --bg-color: #000000;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --accent-color: #38bdf8;
    --card-bg: rgba(15, 17, 23, 0.75);
    --glow-color: rgba(255, 255, 255, 0.2);
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    position: relative;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 20px 0px var(--glow-color), 0 25px 50px -12px rgba(0, 0, 0, 0.7);
        border-color: rgba(255, 255, 255, 0.12);
    }
    50% {
        box-shadow: 0 0 35px 4px rgba(255, 255, 255, 0.35), 0 25px 50px -12px rgba(0, 0, 0, 0.7);
        border-color: rgba(255, 255, 255, 0.3);
    }
    100% {
        box-shadow: 0 0 20px 0px var(--glow-color), 0 25px 50px -12px rgba(0, 0, 0, 0.7);
        border-color: rgba(255, 255, 255, 0.12);
    }
}

@keyframes floatWatermark {
    0% { transform: translate(-50%, -52%); }
    50% { transform: translate(-50%, -48%); }
    100% { transform: translate(-50%, -52%); }
}

@keyframes blink {
    50% { border-color: transparent; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

.bg-watermark {
    position: fixed;
    top: 50%;
    left: 50%;
    width: min(85vw, 600px);
    height: min(85vw, 600px);
    opacity: 0.12;
    pointer-events: none;
    user-select: none;
    z-index: 1;
    animation: floatWatermark 8s ease-in-out infinite;
}

.dot-navigation {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 10;
}

.nav-dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    padding: 0;
}

.nav-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.3);
}

.nav-dot.active {
    background-color: #ffffff;
    transform: scale(1.3);
    box-shadow: 0 0 10px #ffffff;
}

.section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 60px 24px;
    box-sizing: border-box;
    position: relative;
    scroll-snap-align: start;
}

.split-container {
    display: flex;
    gap: 30px;
    max-width: 860px;
    width: 100%;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.card {
    background-color: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px 30px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    animation: pulseGlow 4s ease-in-out infinite;
    transition: transform 0.3s ease;
}

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

.audio-card {
    background-color: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 30px;
    max-width: 360px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    animation: pulseGlow 4s ease-in-out infinite;
}

.audio-header {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.album-art-container {
    width: 160px;
    height: 160px;
    margin: 0 auto 20px auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
}

#album-art {
width: 100%;
height: 100%;
object-fit: cover;
}

.audio-info {
    margin-bottom: 20px;
}

.track-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
}

.track-artist {
    font-size: 0.9rem;
    color: var(--accent-color);
}

.progress-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    cursor: default;
    margin-bottom: 8px;
    position: relative;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: var(--text-main);
    border-radius: 3px;
    transition: width 0.1s linear;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.audio-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.audio-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
}

.audio-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.play-pause-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.play-icon, .pause-icon {
    width: 18px;
    height: 18px;
    display: block;
}

.loop-icon-svg {
    width: 16px;
    height: 16px;
    opacity: 0.8;
    display: block;
}

.audio-btn.active .loop-icon-svg {
    opacity: 1;
}

.audio-btn.active {
    color: var(--accent-color);
    border-color: var(--accent-color);
    background: rgba(56, 189, 248, 0.05);
}

.terminal-container {
    display: flex;
    gap: 20px;
    max-width: 1140px;
    width: 100%;
    z-index: 2;
}

.terminal-card {
    background-color: rgba(15, 17, 23, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
    flex: 1;
    min-width: 520px;
    box-sizing: border-box;
    text-align: left;
    font-family: monospace;
    font-size: 0.82rem;
    line-height: 1.6;
    animation: pulseGlow 4s ease-in-out infinite;
}

.terminal-header {
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
    font-size: 0.95rem;
    white-space: nowrap;
}

.terminal-divider {
    color: var(--text-muted);
    margin-bottom: 12px;
    user-select: none;
    white-space: nowrap;
}

.terminal-line {
    margin: 6px 0;
    white-space: nowrap;
}

.terminal-label {
    color: #38bdf8;
    font-weight: bold;
}

.fade-card {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(4px);
    transition: opacity 0.8s ease, transform 0.8s ease, filter 0.8s ease;
}

.fade-card.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.avatar-container {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 24px;
}

img.avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: block;
    box-sizing: border-box;
}

h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 4px 0;
    letter-spacing: -0.025em;
}

.pronouns {
    font-size: 0.8rem;
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
    display: block;
}

.tagline-container {
    display: block;
    max-width: 320px;
    margin: 0 auto 24px auto;
    text-align: center;
}

.tagline {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    font-family: monospace;
    display: inline;
    border-right: 2px solid #ffffff;
    white-space: pre-wrap;
    word-break: break-word;
    animation: blink 0.75s step-end infinite;
}

.divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.08);
    margin: 24px 0;
    border: none;
}

.meta-list {
    text-align: left;
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.clickable {
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.clickable:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.clickable:active {
    transform: scale(0.98);
}

.meta-label {
    font-weight: 600;
    color: var(--text-main);
}

.meta-value {
    font-family: monospace;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 2px 8px;
    border-radius: 6px;
    color: #e5e7eb;
}

.minor-tag {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: #ef4444;
    margin-bottom: 20px;
    display: block;
}

.bio-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 16px 0;
    text-align: left;
}

.scroll-hint {
    position: absolute;
    bottom: 30px;
    color: var(--text-muted);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    opacity: 0.4;
    user-select: none;
    z-index: 2;
}

@media (max-width: 1120px) {
    .terminal-container {
        flex-direction: column;
        max-width: 520px;
        align-items: center;
    }
    .terminal-card {
        min-width: 100%;
    }
    .split-container {
        flex-direction: column-reverse;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .dot-navigation {
        display: none;
    }
    .section {
        padding: 40px 16px;
        min-height: auto;
        height: auto;
        scroll-snap-align: none;
    }
    html {
        scroll-snap-type: none;
    }
    .card, .audio-card {
        padding: 30px 20px;
        max-width: 100%;
    }
    .terminal-card {
        min-width: 100%;
        padding: 20px;
        overflow-x: auto;
    }
    .terminal-line {
        white-space: pre-wrap;
        word-break: break-all;
    }
    .scroll-hint {
        display: none;
    }
}
