:root {
    --cyan: #22d3ee;
    --purple: #a855f7;
    --dark: #050505;
}

body {
    background-color: var(--dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#main-content {
  opacity: 0;
  visibility: hidden;
}

.hero-content > *,
.section-reveal {
  opacity: 0;
  transform: translateY(50px);
}

.font-space {
    font-family: 'Space Grotesk', sans-serif;
}

.font-inter {
    font-family: 'Inter', sans-serif;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.glow-cyan {
    box-shadow: 0 0 10px rgba(34, 211, 238, 0.5), 0 0 20px rgba(34, 211, 238, 0.3);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--cyan);
}

.perspective-1000 {
    perspective: 1000px;
}

.project-card {
    transform-style: preserve-3d;
    transition: transform 0.1s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    box-shadow: 0 10px 30px -10px rgba(34, 211, 238, 0.2);
    border-color: rgba(34, 211, 238, 0.3);
}

.tech-tag {
    background: rgba(34, 211, 238, 0.1);
    color: var(--cyan);
    border: 1px solid rgba(34, 211, 238, 0.2);
}

.timeline-dot {
    box-shadow: 0 0 0 4px var(--dark), 0 0 10px var(--cyan);
}

.cursor-blink::after {
    content: '█';
    animation: blink 1s step-start infinite;
    color: #22c55e;
}

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

.card-content {
    transform: translateZ(30px);
}

/* Mobile Menu Container */
#mobile-menu {
    display: flex;              /* Flex for vertical centering */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(5, 5, 5, 0.95); /* Almost black */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 40;
    gap: 2rem;                  /* Space between links */
    opacity: 0;                 /* Start hidden */
    pointer-events: none;       /* Disable interaction until open */
    transition: opacity 0.4s ease;
}

/* Show menu */
#mobile-menu.show {
    opacity: 1;
    pointer-events: auto;
}

/* Menu Links */
#mobile-menu a {
    color: white;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

/* Hover Glow Effect */
#mobile-menu a:hover {
    color: var(--cyan);
}

#mobile-menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: var(--cyan);
    transition: width 0.3s ease;
}

#mobile-menu a:hover::after {
    width: 100%;
}

/* Optional: Add subtle glow like your nav bar */
#mobile-menu a:hover {
    text-shadow: 0 0 10px rgba(34, 211, 238, 0.4);
}

#menu-close {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    padding: 0.5rem 0.8rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

#menu-close:hover {
    background: rgba(34, 211, 238, 0.2);
    color: var(--cyan);
}
