@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&family=Space+Mono&display=swap');

:root {
    --bg-stealth: #040814;
    --card-stealth: #091126;
    --border-blue: #16254d;
    --border-active: #263d7a;
    
    --cyan-volt: #00f0ff;
    --cyan-glow: rgba(0, 240, 255, 0.15);
    
    --text-white: #ffffff;
    --text-main: #9bb1e6;
    --text-muted: #536696;
    
    --font-sans: 'Space Grotesk', sans-serif;
    --font-mono: 'Space Mono', monospace;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================
   GLOBAL RESET & UTILITIES
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-sans);
    scroll-behavior: smooth;
}

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

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 90px 24px;
}

/* Scrollbar Interface */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-stealth); }
::-webkit-scrollbar-thumb { background: var(--border-blue); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--cyan-volt); }

/* ==========================================
   HEADER NAVIGATION (COBALT GLASS)
   ========================================== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 6%;
    background: rgba(4, 8, 20, 0.85);
    border-bottom: 1px solid var(--border-blue);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}

header:hover {
    border-bottom-color: var(--border-active);
    box-shadow: 0 4px 30px rgba(0, 240, 255, 0.02);
}

.logo {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 1.5px;
    font-size: 1.05rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 28px;
}

nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

nav a:hover, nav a.active {
    color: var(--cyan-volt);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}

/* ==========================================
   HERO DISPLAY VIEWPORT
   ========================================== */
#viewport {
    min-height: calc(90vh - 65px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 40px 24px;
    border-bottom: 1px solid var(--border-blue);
}

.glow-ring {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--cyan-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 650px;
}

.profile-frame {
    margin-bottom: 28px;
    display: inline-block;
    position: relative;
}

.profile-frame::after {
    content: '';
    position: absolute;
    inset: -4px;
    border: 1px solid var(--cyan-volt);
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse-ring 3s infinite linear;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(1.1); opacity: 0; }
}

.profile-img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-blue);
    padding: 4px;
    background: var(--card-stealth);
    transition: var(--transition-smooth);
}

#viewport:hover .profile-img {
    border-color: var(--cyan-volt);
    box-shadow: 0 0 20px var(--cyan-glow);
    transform: scale(1.03);
}

h1 {
    font-size: 3.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-white);
    margin-bottom: 16px;
}

.divider {
    width: 60px;
    height: 3px;
    background: var(--cyan-volt);
    margin: 0 auto 24px auto;
    box-shadow: 0 0 10px var(--cyan-volt);
}

.tagline {
    font-size: 1.15rem;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 36px;
}

/* ==========================================
   BUTTON CONFIGURATIONS
   ========================================== */
.action-btn {
    display: inline-block;
    text-decoration: none;
    font-family: var(--font-mono);
    color: var(--cyan-volt);
    border: 1px solid var(--cyan-volt);
    padding: 14px 36px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    background: transparent;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.02);
}

.action-btn:hover {
    background: var(--cyan-volt);
    color: var(--bg-stealth);
    box-shadow: 0 0 25px var(--cyan-glow);
    transform: translateY(-2px);
}

.action-btn.cyan-fill {
    background: rgba(0, 240, 255, 0.05);
}

.action-btn.linktree-volt {
    color: #00ff66;
    border-color: #00ff66;
}
.action-btn.linktree-volt:hover {
    background: #00ff66;
    color: var(--bg-stealth);
    box-shadow: 0 0 25px rgba(0, 255, 102, 0.2);
}

/* ==========================================
   SECTION ARRAYS
   ========================================== */
section {
    border-bottom: 1px solid var(--border-blue);
    background: var(--bg-stealth);
}

h2 {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 24px;
    letter-spacing: 1px;
}

section p {
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 32px;
    line-height: 1.7;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.project-card.dynamic {
    background-color: var(--card-stealth);
    border: 1px solid var(--border-blue);
    padding: 32px;
    border-radius: 6px;
    transition: var(--transition-smooth);
}

.project-card.dynamic:hover {
    border-color: var(--cyan-volt);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 240, 255, 0.03);
}

.project-card.dynamic h3 {
    font-size: 1.1rem;
    color: var(--text-white);
    margin-bottom: 12px;
}

.project-card.dynamic p {
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 20px;
}

.tech-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--cyan-volt);
    background: rgba(0, 240, 255, 0.04);
    padding: 4px 12px;
    border-radius: 4px;
    border: 1px solid rgba(0, 240, 255, 0.1);
}

/* ==========================================
   STEALTH BASE FOOTER
   ========================================== */
footer {
    background-color: var(--bg-stealth);
    padding: 48px 24px;
}

.footer-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--card-stealth);
    border: 1px solid var(--border-blue);
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.social-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

.social-icon:hover {
    color: var(--cyan-volt);
    border-color: var(--cyan-volt);
    box-shadow: 0 0 15px var(--cyan-glow);
    transform: translateY(-2px);
}

.social-icon.youtube-volt:hover {
    color: #ff3333;
    border-color: #ff3333;
    box-shadow: 0 0 15px rgba(255, 51, 51, 0.2);
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-family: var(--font-mono);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    h1 { font-size: 2.3rem; }
    header { flex-direction: column; gap: 16px; padding: 20px; }
    nav ul { gap: 16px; }
    .container { padding: 60px 20px; }
}