@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400;700;900&family=Instrument+Sans:wght@400;500;600;700&display=swap');

:root {
    --primary: #f8fafc;
    --accent: #5eff00;
    /* Neon Lime */
    --bg: #030303;
    --border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Instrument Sans', sans-serif;
}

body {
    background: var(--bg);
    color: var(--primary);
    overflow-x: hidden;
}

h1,
h2,
.unbounded {
    font-family: 'Unbounded', sans-serif;
    letter-spacing: -2px;
}

/* --- Fixed System HUD (ADVANCED FEATURE) --- */
.titan-hud {
    position: fixed;
    top: 40px;
    right: 40px;
    width: 280px;
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 25px;
    z-index: 1000;
}

.hud-item {
    margin-bottom: 20px;
}

.hud-label {
    font-size: 0.6rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hud-val {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
}

.hud-bar {
    width: 100%;
    height: 2px;
    background: var(--border);
    margin-top: 8px;
    position: relative;
}

.hud-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--accent);
    width: 0%;
    /* JS */
    transition: 0.4s;
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10%;
}

.hero p.tag {
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 5px;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(3rem, 10vw, 8rem);
    line-height: 0.85;
    margin-bottom: 40px;
}

.btn-pill {
    padding: 15px 40px;
    border-radius: 100px;
    border: 1px solid var(--primary);
    background: transparent;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
    display: inline-block;
}

.btn-pill:hover {
    background: var(--primary);
    color: #000;
}

/* --- Section Design (Place were right) --- */
.section {
    padding: 150px 10%;
    border-top: 1px solid var(--border);
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.sec-title {
    font-size: 3.5rem;
    margin-bottom: 30px;
}

/* --- Advanced Projects (Horizontal Scroll Section) --- */
.project-strip {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    padding-bottom: 50px;
    scrollbar-width: none;
}

.p-card {
    min-width: 450px;
    height: 600px;
    background: #0a0a0a;
    border: 1px solid var(--border);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.p-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    transition: 0.6s;
}

.p-card:hover .p-img {
    opacity: 0.7;
    transform: scale(1.05);
}

/* --- Skills Tag Cloud --- */
.skill-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.skill-tag {
    padding: 10px 25px;
    border-radius: 100px;
    background: var(--border);
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.3s;
}

.skill-tag:hover {
    background: var(--accent);
    color: #000;
}

/* Sticky Background Orbs */
.bg-vortex {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), #111 0%, #000 70%);
}

/* Animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(50px);
    transition: 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.revealed {
    opacity: 1;
    transform: translateY(0);
}