/* ========================================
   Vibe Coder - Ultimate Edition
   Terminal Aesthetic + Bento Grid + Glassmorphism
   ======================================== */

:root {
    --bg: #000000;
    --bg-secondary: #0a0a0a;
    --bg-card: rgba(17, 17, 17, 0.8);
    --border: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(245, 158, 11, 0.3);
    --text: #e4e4e7;
    --text-muted: #71717a;
    --accent: #f59e0b;
    --accent-bright: #fbbf24;
    --accent-secondary: #fcd34d;
    --accent-dim: rgba(245, 158, 11, 0.15);
    --neon-glow: 0 0 20px rgba(245, 158, 11, 0.4), 0 0 40px rgba(245, 158, 11, 0.2);
    --font-mono: 'JetBrains Mono', monospace;
    --font-sans: 'Inter', sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --sidebar-width: 300px;
}

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

html { height: 100%; }

body {
    font-family: var(--font-mono);
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    cursor: none;
}

a, button { cursor: none; }

/* ========================================
   Animated Background
   ======================================== */
.bg-gradient {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(245, 158, 11, 0.12), transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(161, 161, 170, 0.08), transparent 50%),
        radial-gradient(ellipse 50% 30% at 50% 100%, rgba(113, 113, 122, 0.06), transparent 50%);
    animation: gradientMove 20s ease-in-out infinite;
}

@keyframes gradientMove {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(3deg); }
}

.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(245, 158, 11, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 158, 11, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.bg-glow {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(245, 158, 11, 0.08) 0%, transparent 50%);
    animation: glowMove 15s ease-in-out infinite;
}

@keyframes glowMove {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(5%, 5%); }
}

.grain {
    position: fixed;
    inset: 0;
    z-index: 1000;
    pointer-events: none;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ========================================
   Custom Cursor
   ======================================== */
.cursor {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    mix-blend-mode: difference;
}

.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
}

.cursor-ring {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.2s ease;
}

.cursor-text {
    position: fixed;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #fff;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

body.cursor-hover .cursor-ring {
    width: 60px;
    height: 60px;
    border-color: var(--accent);
}

body.cursor-project .cursor-text {
    opacity: 1;
}

body.cursor-project .cursor-ring {
    width: 80px;
    height: 80px;
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--accent);
}

/* ========================================
   Keyboard Hints
   ======================================== */
.keyboard-hints {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 100;
    display: flex;
    gap: 16px;
    font-size: 11px;
    color: var(--text-muted);
}

.keyboard-hints kbd {
    display: inline-block;
    padding: 2px 6px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 10px;
    margin-right: 4px;
}

/* ========================================
   Glass Effect
   ======================================== */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
}

/* ========================================
   Layout
   ======================================== */
.layout {
    position: relative;
    z-index: 10;
    display: flex;
    min-height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
    gap: 24px;
}

/* ========================================
   Sidebar
   ======================================== */
.sidebar {
    width: var(--sidebar-width);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 24px;
    height: fit-content;
}

/* Card Base */
.card {
    border-radius: 16px;
    overflow: hidden;
}

/* Terminal Header */
.terminal-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border);
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dot.red { background: #ff5f57; }
.terminal-dot.yellow { background: #febc2e; }
.terminal-dot.green { background: #28c840; }

.terminal-title {
    margin-left: auto;
    font-size: 11px;
    color: var(--text-muted);
}

/* Profile Card */
.profile-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.profile-photo {
    position: relative;
    width: 80px;
    height: 80px;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--border);
}

.profile-status {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 16px;
    height: 16px;
    background: var(--accent);
    border: 3px solid var(--bg);
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { box-shadow: 0 0 0 0 var(--accent); }
    50% { box-shadow: 0 0 0 6px transparent; }
}

.profile-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text);
}

/* Glitch Effect */
.glitch {
    position: relative;
}

.glitch:hover::before,
.glitch:hover::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.glitch:hover::before {
    color: #ff00ff;
    animation: glitch1 0.3s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.glitch:hover::after {
    color: #00ffff;
    animation: glitch2 0.3s infinite;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
}

@keyframes glitch1 {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-3px); }
    40% { transform: translateX(3px); }
    60% { transform: translateX(-1px); }
    80% { transform: translateX(1px); }
}

@keyframes glitch2 {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(3px); }
    40% { transform: translateX(-3px); }
    60% { transform: translateX(1px); }
    80% { transform: translateX(-1px); }
}

.profile-tagline {
    font-size: 0.9rem;
    color: var(--accent);
    height: 1.2em;
}

.cursor-blink {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

.profile-bio {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.terminal-text .prompt {
    color: var(--accent);
    margin-right: 8px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 8px;
    padding: 0 24px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon svg {
    width: 18px;
    height: 18px;
}

.social-icon:hover {
    background: var(--accent-dim);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
    box-shadow: var(--neon-glow);
}

/* Contact Button */
.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 16px 24px 24px;
    padding: 14px;
    background: var(--accent-dim);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 12px;
    color: var(--accent);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-btn svg {
    width: 16px;
    height: 16px;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg);
    box-shadow: var(--neon-glow);
}

.contact-btn:hover svg {
    opacity: 1;
    transform: translateX(0);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: currentColor;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    50% { opacity: 0.5; }
}

/* Glow Button */
.glow-btn:hover {
    box-shadow: var(--neon-glow);
}

/* Current Work */
.current-work {
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 12px;
}

.cw-label {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 8px;
}

.cw-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cw-title {
    flex: 1;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
}

.cw-progress {
    width: 50px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.cw-bar {
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
}

/* Now Playing */
.now-playing {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 12px;
}

.np-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1DB954;
    border-radius: 10px;
    color: #000;
}

.np-icon svg {
    width: 20px;
    height: 20px;
}

.np-info {
    flex: 1;
    min-width: 0;
}

.np-label {
    display: block;
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.np-track {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.np-artist {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.np-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 20px;
}

.np-bars span {
    width: 3px;
    background: #1DB954;
    border-radius: 2px;
    animation: bars 0.8s ease-in-out infinite;
}

.np-bars span:nth-child(1) { height: 60%; animation-delay: 0s; }
.np-bars span:nth-child(2) { height: 100%; animation-delay: 0.2s; }
.np-bars span:nth-child(3) { height: 40%; animation-delay: 0.4s; }
.np-bars span:nth-child(4) { height: 80%; animation-delay: 0.6s; }

@keyframes bars {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.5); }
}

/* ========================================
   Feed / Main Content
   ======================================== */
.feed {
    flex: 1;
    min-width: 0;
}

/* Time Display */
.time-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.time-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.time-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}

/* ========================================
   Links Grid
   ======================================== */
.links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

/* ========================================
   Finder Window
   ======================================== */
.finder-window {
    background: rgba(30, 30, 30, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.finder-titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(50, 50, 50, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.finder-buttons {
    display: flex;
    gap: 8px;
}

.finder-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: opacity 0.2s;
}

.finder-btn:hover { opacity: 0.8; }
.finder-btn.close { background: #ff5f57; }
.finder-btn.minimize { background: #ffbd2e; }
.finder-btn.maximize { background: #28ca41; }

.finder-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
}

.finder-title svg {
    width: 16px;
    height: 16px;
    opacity: 0.6;
}

.finder-actions {
    font-size: 11px;
    color: var(--text-muted);
}

.finder-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    background: rgba(40, 40, 40, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.finder-breadcrumb {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-family: var(--font-mono);
}

.breadcrumb-item {
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
}

.breadcrumb-item:hover { color: var(--text); }
.breadcrumb-item.active { color: var(--accent); }
.breadcrumb-sep { color: var(--text-muted); opacity: 0.4; }

.finder-view-toggle {
    display: flex;
    gap: 4px;
}

.view-btn {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 6px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.view-btn:hover { background: rgba(255, 255, 255, 0.05); color: var(--text); }
.view-btn.active { background: rgba(255, 255, 255, 0.1); color: var(--accent); }
.view-btn svg { width: 14px; height: 14px; }

.finder-content {
    display: flex;
    min-height: 300px;
    max-height: 400px;
}

.finder-sidebar {
    width: 180px;
    padding: 12px;
    background: rgba(25, 25, 25, 0.5);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    overflow-y: auto;
}

.sidebar-section {
    margin-bottom: 16px;
}

.sidebar-title {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    padding: 4px 8px;
    margin-bottom: 4px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 12px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.sidebar-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
}

.sidebar-item.active {
    background: var(--accent-dim);
    color: var(--accent);
}

.sidebar-item svg {
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

.sidebar-item.active svg { opacity: 1; }

.finder-main {
    flex: 1;
    overflow-y: auto;
}

.finder-list {
    padding: 8px;
}

/* Grid View */
.finder-list.grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 8px;
}

.finder-list.grid-view .finder-item {
    flex-direction: column;
    text-align: center;
    padding: 12px 8px;
    gap: 8px;
}

.finder-list.grid-view .finder-item-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto;
}

.finder-list.grid-view .finder-item-icon svg {
    width: 24px;
    height: 24px;
}

.finder-list.grid-view .finder-item-info {
    width: 100%;
}

.finder-list.grid-view .finder-item-name {
    font-size: 11px;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.finder-list.grid-view .finder-item-meta,
.finder-list.grid-view .finder-item-category,
.finder-list.grid-view .finder-item-year {
    display: none;
}

.finder-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.finder-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.finder-item:active {
    background: var(--accent-dim);
}

.finder-item-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}

.finder-item-icon svg {
    width: 18px;
    height: 18px;
}

.finder-item-info {
    flex: 1;
    min-width: 0;
}

.finder-item-name {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.finder-item-meta {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.finder-item-category {
    font-size: 11px;
    padding: 3px 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.finder-item-year {
    font-size: 11px;
    color: var(--text-muted);
    font-family: var(--font-mono);
    flex-shrink: 0;
    width: 40px;
    text-align: right;
}

.finder-statusbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    background: rgba(40, 40, 40, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 11px;
    color: var(--text-muted);
}

.finder-status-hint {
    opacity: 0.5;
}

/* Finder Back Button */
.finder-back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    margin-right: 12px;
}

.finder-back:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
}

.finder-back svg {
    width: 14px;
    height: 14px;
}

/* Breadcrumb Clickable */
.breadcrumb-item.clickable {
    cursor: pointer;
}

.breadcrumb-item.clickable:hover {
    color: var(--accent);
    text-decoration: underline;
}

/* Finder List & Detail Transitions */
.finder-list,
.finder-detail {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Finder Detail View */
.finder-detail {
    padding: 24px;
    height: 100%;
    overflow-y: auto;
}

.detail-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.detail-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.detail-icon svg {
    width: 28px;
    height: 28px;
}

.detail-title-area {
    flex: 1;
    min-width: 0;
}

.detail-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 4px 0;
}

.detail-tagline {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.detail-badges {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.detail-category {
    font-size: 11px;
    padding: 4px 10px;
    background: var(--accent-dim);
    color: var(--accent);
    border-radius: 6px;
    font-weight: 500;
}

.detail-year {
    font-size: 11px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border-radius: 6px;
    font-family: var(--font-mono);
}

.detail-body {
    margin-bottom: 24px;
}

.detail-section {
    margin-bottom: 20px;
}

.detail-section:last-child {
    margin-bottom: 0;
}

.detail-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.detail-description {
    font-size: 13px;
    line-height: 1.7;
    color: var(--text);
    margin: 0;
}

.detail-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.detail-features li {
    font-size: 12px;
    color: var(--text);
    padding-left: 16px;
    position: relative;
}

.detail-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-family: var(--font-mono);
}

.detail-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.detail-tech span {
    font-size: 11px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.detail-footer {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.detail-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--accent);
    color: var(--bg);
    text-decoration: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
}

.detail-link:hover {
    background: var(--accent-bright);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.detail-link svg {
    width: 16px;
    height: 16px;
}

/* Screenshot Folders */
.detail-screenshots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.screenshot-folder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: all 0.2s;
}

.screenshot-folder:hover {
    background: rgba(255, 255, 255, 0.05);
}

.screenshot-folder:hover .folder-icon {
    transform: scale(1.08);
}

.folder-icon {
    position: relative;
    width: 48px;
    height: 40px;
    transition: transform 0.2s;
}

.folder-svg {
    width: 48px;
    height: 40px;
    color: #5c9eff;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.folder-preview {
    position: absolute;
    top: 11px;
    left: 5px;
    right: 5px;
    bottom: 3px;
    background-size: cover;
    background-position: center;
    border-radius: 1px;
    opacity: 0.85;
}

.folder-name {
    font-size: 9px;
    color: var(--text-muted);
    text-align: center;
    max-width: 56px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Finder Lightbox */
.finder-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.finder-lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.lightbox-close svg {
    width: 18px;
    height: 18px;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text);
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.lightbox-nav svg {
    width: 22px;
    height: 22px;
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-content {
    max-width: 90vw;
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.lightbox-counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 13px;
    color: var(--text);
    font-family: var(--font-mono);
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 24px;
}

/* Card Header */
.card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.card-icon {
    font-size: 1rem;
}

.card-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.card-count {
    margin-left: auto;
    font-size: 0.75rem;
    padding: 4px 10px;
    background: var(--accent-dim);
    border-radius: 100px;
    color: var(--accent);
}

/* Now Card */
.now-card .now-content {
    padding: 20px;
}

.now-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.now-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.5;
}

.now-progress {
    display: flex;
    align-items: center;
    gap: 12px;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
    border-radius: 3px;
    animation: progressGlow 2s ease-in-out infinite;
}

@keyframes progressGlow {
    50% { box-shadow: 0 0 10px var(--accent); }
}

.progress-text {
    font-size: 0.75rem;
    color: var(--accent);
    white-space: nowrap;
}

/* Stats Card */
.stats-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 8px;
}

/* Link Card */
.link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px 16px;
    text-decoration: none;
}

.link-card:hover {
    border-color: var(--accent);
}

.link-card.telegram:hover { border-color: #0088cc; }
.link-card.discord:hover { border-color: #5865F2; }
.link-card.youtube:hover { border-color: #FF0000; }

.link-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    color: var(--accent);
    transition: all 0.3s ease;
}

.link-icon svg {
    width: 24px;
    height: 24px;
}

.link-card.telegram .link-icon { color: #0088cc; }
.link-card.discord .link-icon { color: #5865F2; }
.link-card.youtube .link-icon { color: #FF0000; }

.link-card:hover .link-icon {
    transform: scale(1.1);
}

.link-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}

/* Projects Card */
.projects-list {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 400px;
    overflow-y: auto;
}

.projects-list::-webkit-scrollbar {
    width: 4px;
}

.projects-list::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 2px;
}

.project-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.project-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.project-color {
    width: 4px;
    height: 32px;
    border-radius: 2px;
    flex-shrink: 0;
}

.project-info {
    flex: 1;
    min-width: 0;
}

.project-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
}

.project-platform {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.project-arrow {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    opacity: 0;
    transform: translate(-8px, 8px);
    transition: all 0.2s ease;
}

.project-item:hover .project-arrow {
    opacity: 1;
    transform: translate(0, 0);
}

/* Stack Card */
.stack-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 20px;
}

.stack-item {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.stack-item img,
.stack-item svg {
    width: 28px;
    height: 28px;
}

.stack-item svg {
    color: var(--text);
}

.stack-item:hover {
    transform: translateY(-4px) scale(1.1);
    border-color: var(--accent);
    box-shadow: var(--neon-glow);
}

/* Tooltip */
[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 11px;
    color: var(--text);
    white-space: nowrap;
    z-index: 100;
}

/* Thoughts Card */
.thought {
    padding: 20px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
    font-style: italic;
}

.thought .prompt {
    font-style: normal;
}

.thought-date {
    display: block;
    margin-top: 12px;
    font-size: 0.75rem;
    font-style: normal;
    opacity: 0.5;
}

/* Footer */
.footer {
    margin-top: 24px;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
}

.footer .heart {
    color: #ef4444;
    animation: heartBeat 1s ease-in-out infinite;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.footer .muted {
    color: var(--text-muted);
}

/* ========================================
   Modal
   ======================================== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
    -webkit-backdrop-filter: blur(0px);
}

.modal.active .modal-backdrop {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.modal-container {
    position: relative;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    border-radius: 20px;
    overflow: hidden;
    transform: translateY(20px) scale(0.98);
    opacity: 0;
    transition: transform 0.25s var(--ease), opacity 0.2s ease;
    background: rgba(17, 17, 17, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal.active .modal-container {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-muted);
    cursor: none;
    transition: all 0.2s ease;
}

.modal-close svg {
    width: 20px;
    height: 20px;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
}

.modal-content {
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 32px 32px 24px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.modal-meta {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.modal-category {
    font-size: 0.75rem;
    padding: 6px 14px;
    background: var(--accent-dim);
    border-radius: 100px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.modal-year {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.modal-tagline {
    font-size: 1rem;
    color: var(--text-muted);
}

.modal-screenshots {
    padding: 24px;
    background: rgba(0, 0, 0, 0.2);
    overflow-x: auto;
}

.screenshots-track {
    display: flex;
    gap: 16px;
}

.screenshots-track img {
    height: 200px;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.modal-body {
    padding: 24px 32px;
}

.modal-section {
    margin-bottom: 24px;
}

.modal-section h3 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

.modal-section h3 .prompt {
    color: var(--accent);
    margin-right: 8px;
}

.modal-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.modal-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.modal-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.modal-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.modal-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.modal-tech span {
    font-size: 0.8rem;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-muted);
}

.modal-footer {
    padding: 20px 32px 32px;
    display: flex;
    justify-content: center;
}

.modal-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--accent);
    border-radius: 12px;
    color: var(--bg);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.modal-link svg {
    width: 18px;
    height: 18px;
}

.modal-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--neon-glow);
}

/* ========================================
   Contact Modal
   ======================================== */
.contact-modal {
    max-width: 400px;
    text-align: center;
}

.contact-content {
    padding: 48px 32px;
}

.contact-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-dim);
    border-radius: 50%;
    color: var(--accent);
}

.contact-icon svg {
    width: 28px;
    height: 28px;
}

.contact-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.contact-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.contact-email {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--accent);
    padding: 16px 24px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px dashed var(--accent);
    border-radius: 12px;
    margin-bottom: 24px;
    user-select: all;
}

.contact-content .contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--accent);
    border-radius: 12px;
    color: var(--bg);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.contact-content .contact-btn svg {
    width: 18px;
    height: 18px;
}

.contact-content .contact-btn:hover {
    transform: translateY(-2px);
}

/* ========================================
   Easter Egg
   ======================================== */
.easter-egg {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.easter-egg.active {
    opacity: 1;
    visibility: visible;
}

.ascii-art {
    font-size: 12px;
    color: var(--accent);
    line-height: 1.2;
    text-shadow: var(--neon-glow);
}

.easter-egg p {
    margin-top: 24px;
    font-size: 1rem;
    color: var(--text);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-card,
    .now-card,
    .stack-card,
    .thoughts-card {
        grid-column: span 2 !important;
    }

    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .finder-content {
        flex-direction: column;
    }

    .finder-sidebar {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        padding: 8px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .sidebar-section {
        display: flex;
        flex-direction: row;
        gap: 8px;
        margin-bottom: 0;
    }

    .sidebar-title {
        display: none;
    }

    .sidebar-item {
        white-space: nowrap;
        padding: 6px 12px;
    }
}

@media (max-width: 768px) {
    body { cursor: auto; }
    a, button { cursor: auto; }
    .cursor { display: none; }
    .keyboard-hints { display: none; }

    .layout {
        flex-direction: column;
        padding: 16px;
    }

    .sidebar {
        width: 100%;
        position: relative;
        top: 0;
    }

    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }

    .projects-card,
    .now-card,
    .stack-card,
    .thoughts-card {
        grid-column: span 2 !important;
        grid-row: span 1 !important;
    }

    .modal-features {
        grid-template-columns: 1fr;
    }

    /* Finder Mobile */
    .finder-window {
        border-radius: 0;
        margin: 0 -16px;
        width: calc(100% + 32px);
    }

    .finder-toolbar {
        padding: 8px 12px;
    }

    .finder-breadcrumb {
        font-size: 11px;
    }

    .finder-view-toggle {
        display: none;
    }

    .finder-content {
        min-height: 250px;
        max-height: none;
    }

    .finder-main {
        min-height: 200px;
    }

    .finder-item {
        padding: 8px 12px;
        gap: 10px;
    }

    .finder-item-icon {
        width: 32px;
        height: 32px;
    }

    .finder-item-icon svg {
        width: 16px;
        height: 16px;
    }

    .finder-item-name {
        font-size: 12px;
    }

    .finder-item-meta {
        font-size: 10px;
    }

    .finder-item-category {
        display: none;
    }

    .finder-item-year {
        font-size: 10px;
    }

    /* Detail View Mobile */
    .finder-detail {
        padding: 16px;
    }

    .detail-header {
        flex-direction: column;
        gap: 12px;
    }

    .detail-icon {
        width: 48px;
        height: 48px;
    }

    .detail-icon svg {
        width: 24px;
        height: 24px;
    }

    .detail-name {
        font-size: 18px;
    }

    .detail-badges {
        width: 100%;
    }

    .detail-screenshots {
        gap: 6px;
        justify-content: flex-start;
    }

    .folder-icon {
        width: 40px;
        height: 34px;
    }

    .folder-svg {
        width: 40px;
        height: 34px;
    }

    .folder-preview {
        top: 9px;
        left: 4px;
        right: 4px;
        bottom: 2px;
    }

    .folder-name {
        font-size: 8px;
        max-width: 48px;
    }

    /* Lightbox Mobile */
    .lightbox-close {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
    }

    .lightbox-prev { left: 12px; }
    .lightbox-next { right: 12px; }

    .lightbox-content {
        max-width: 95vw;
        max-height: 75vh;
        padding: 10px;
    }

    .lightbox-counter {
        bottom: 16px;
        font-size: 12px;
        padding: 6px 12px;
    }

    /* Links Grid Mobile */
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .link-card {
        padding: 12px;
    }

    .link-icon svg {
        width: 18px;
        height: 18px;
    }

    .link-title {
        font-size: 11px;
    }

    /* Time Display Mobile */
    .time-display {
        padding: 8px 12px;
    }

    .time-label {
        font-size: 9px;
    }

    .time-value {
        font-size: 14px;
    }

    /* Contact Modal Mobile */
    .contact-modal .modal-container {
        margin: 16px;
        max-width: calc(100% - 32px);
    }

    .contact-content {
        padding: 24px;
    }

    .contact-icon {
        width: 56px;
        height: 56px;
    }

    .contact-title {
        font-size: 20px;
    }
}

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

    .bento-item {
        grid-column: span 1 !important;
    }

    /* Links Grid 2 Column on small mobile */
    .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Finder sidebar horizontal scroll */
    .finder-sidebar {
        flex-wrap: nowrap;
    }

    .sidebar-section {
        flex-wrap: nowrap;
    }

    /* Profile Card Mobile */
    .profile-card {
        padding: 20px;
    }

    .profile-photo {
        width: 80px;
        height: 80px;
    }

    .profile-name {
        font-size: 1.5rem;
    }

    .social-links {
        gap: 12px;
    }

    .social-icon {
        width: 36px;
        height: 36px;
    }

    /* Current work card */
    .current-work {
        padding: 12px;
    }

    .cw-label {
        font-size: 9px;
    }

    .cw-title {
        font-size: 11px;
    }
}

/* ========================================
   Admin (Keep for admin panel)
   ======================================== */
/* ========================================
   Login Page
   ======================================== */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-box {
    width: 100%;
    max-width: 400px;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    backdrop-filter: blur(20px);
}

.login-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
}

/* ========================================
   Admin Panel
   ======================================== */
.admin-container { max-width: 900px; margin: 0 auto; padding: 24px; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.admin-title { font-size: 1.25rem; font-weight: 700; }
.admin-nav { display: flex; gap: 10px; }
.admin-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-size: 13px; font-family: var(--font-mono); text-decoration: none; cursor: pointer; transition: all 0.2s ease; }
.admin-btn:hover { background: rgba(255,255,255,0.1); }
.admin-btn.primary { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.admin-btn.danger { color: #ef4444; border-color: rgba(239, 68, 68, 0.3); }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 12px; text-align: left; border-bottom: 1px solid var(--border); }
.admin-table th { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }
.admin-actions { display: flex; gap: 6px; }
.alert { padding: 12px; border-radius: 8px; margin-bottom: 16px; font-size: 13px; }
.alert.error { background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3); color: #ef4444; }
.alert.success { background: var(--accent-dim); border: 1px solid rgba(245, 158, 11, 0.3); color: var(--accent); }
.modal-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.8); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 20px; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.modal-overlay.active { opacity: 1; visibility: visible; }
.login-container { max-width: 360px; margin: 80px auto; padding: 0 16px; }
.login-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 32px; }
.login-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 24px; text-align: center; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-label { font-size: 0.8rem; color: var(--text-muted); }
.form-input { padding: 12px 14px; background: rgba(0,0,0,0.3); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-family: var(--font-mono); font-size: 0.9rem; outline: none; transition: border-color 0.2s; }
.form-input:focus { border-color: var(--accent); }
