:root {
    --bg-color: #0d0d12;
    --text-primary: #f0f0f5;
    --text-secondary: #9ba1a6;
    --accent: #00ff88;
    --accent-glow: rgba(0, 255, 136, 0.4);
    --surface: #1a1a24;
    --surface-border: #2a2a35;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body, html {
    height: 100%;
    width: 100%;
    overflow: hidden; /* Prevents scrolling */
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, .accent {
    font-family: 'JetBrains Mono', monospace;
}

/* Background Canvas */
#bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none; /* Let clicks pass through */
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.profile-section {
    text-align: center;
    margin-bottom: 3rem;
}

.avatar-container {
    position: relative;
    width: 130px;
    height: 190px;
    margin: 0 auto 1.5rem;
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    object-fit: cover;
    border: 2px solid var(--surface-border);
    position: relative;
    z-index: 2;
    background: var(--surface);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 6px;
    box-shadow: 0 0 20px var(--accent-glow);
    animation: pulse 3s infinite alternate;
    z-index: 1;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.15); opacity: 0; }
}

.brand-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.accent {
    color: var(--accent);
}

.tagline {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 255, 136, 0.1);
    color: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent);
}

/* Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 300px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: transform 0.1s, box-shadow 0.2s;
}

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

.btn.primary {
    background-color: var(--accent);
    color: #000;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn.secondary {
    background-color: var(--surface);
    color: var(--text-primary);
    border: 1px solid var(--surface-border);
}

.btn.full-width {
    margin-top: 1.5rem;
}

/* Bottom Sheets */
.bottom-sheet {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    max-height: 85vh;
    background-color: var(--surface);
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    z-index: 100;
    transition: bottom 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--surface-border);
}

.bottom-sheet.active {
    bottom: 0;
}

.sheet-handle {
    width: 100%;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.sheet-handle::after {
    content: '';
    width: 40px;
    height: 4px;
    background-color: var(--surface-border);
    border-radius: 2px;
}

.sheet-content {
    padding: 0 2rem 2rem 2rem;
    overflow-y: auto;
}

.sheet-content h2 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

/* Cards inside Sheet */
.skill-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--surface-border);
    padding: 1.25rem;
    border-radius: 12px;
}

.card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Contact Links */
.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-primary);
    text-decoration: none;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--surface-border);
    border-radius: 12px;
    font-weight: 500;
}

.contact-link svg {
    color: var(--accent);
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 50;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.overlay.active {
    opacity: 1;
    pointer-events: all;
}