:root {
  /* NEO-BRUTALISM PALETTE */
  --bg: #fdfaf1;
  --fg: #000000;
  --primary: #e14e2c; /* Red/Orange from screenshot */
  --secondary: #5cd19c; /* Green from screenshot */
  --accent: #ffda47; /* Yellow */
  --white: #ffffff;
  --cream: #f9f6e5;
  
  --border-width: 4px;
  --border: var(--border-width) solid var(--fg);
  --shadow: 8px 8px 0px 0px var(--fg);
  --shadow-hover: 4px 4px 0px 0px var(--fg);
  --shadow-active: 2px 2px 0px 0px var(--fg);
  --radius: 10px;
  
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'Roboto Mono', monospace;
}

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

body, html {
    min-height: 100vh;
    background-color: var(--bg);
    color: var(--fg);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.5;
}

/* --- PARALLAX BACKGROUND --- */
.parallax-container {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.parallax-shape {
    position: absolute;
    width: 60px;
    height: 60px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.8;
}

.shape-star-pink {
    top: 15%; left: 10%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ff8da1"><path d="M12 0l3 9h9l-7 5 3 9-8-6-8 6 3-9-7-5h9z"/></svg>');
}

.shape-star-green {
    top: 20%; right: 10%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%235cd19c"><path d="M12 0l3 9h9l-7 5 3 9-8-6-8 6 3-9-7-5h9z"/></svg>');
}

/* --- HEADER --- */
header {
    height: 80px;
    width: 100%;
    background: var(--white);
    border-bottom: var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 4000;
}

.logo-text a {
    text-decoration: none;
    color: var(--fg);
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -1px;
}

.logo-text span:first-child {
    color: var(--fg);
}

.logo-text span:last-child {
    color: var(--primary);
}

nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--fg);
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.2s;
}

nav a:hover {
    transform: translateY(-2px);
    color: var(--primary);
}

nav a.active {
    text-decoration: underline;
    text-underline-offset: 6px;
    text-decoration-thickness: 3px;
}

.nav-clock-btn {
    background: var(--white);
    border: var(--border);
    padding: 8px 15px;
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--fg);
    font-family: var(--font-mono);
    font-weight: 700;
    box-shadow: 4px 4px 0px 0px var(--fg);
    display: flex;
    align-items: center;
    gap: 10px;
}

nav a i {
    margin-right: 8px;
}

.menu-toggle {
    display: none;
}

/* --- MAIN CONTENT --- */
.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px 100px 20px; /* Top padding for fixed header, bottom for fixed footer */
    min-height: 100vh;
}

/* --- HERO SECTION --- */
.hero-section {
    text-align: center;
    margin-bottom: 80px;
    padding: 40px 0;
}

.hero-section h1 {
    font-size: 5rem;
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 30px;
    letter-spacing: -2px;
}

.hero-section p {
    font-size: 1.4rem;
    color: #666;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cta-box {
    background: var(--cream);
    border: var(--border);
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    position: relative;
}

.cta-input-group {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.cta-input {
    flex: 1;
    background: var(--white);
    border: var(--border);
    padding: 20px;
    font-size: 1.2rem;
    font-family: var(--font-mono);
    box-shadow: 4px 4px 0px 0px var(--fg);
    outline: none;
}

.cta-btn {
    background: var(--primary);
    color: var(--white);
    border: var(--border);
    padding: 0 40px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 4px 4px 0px 0px var(--fg);
    transition: all 0.2s;
}

.cta-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px 0px var(--fg);
}

.cta-btn:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px 0px var(--fg);
}

.example-tags {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.tag-btn {
    background: var(--cream);
    border: var(--border);
    padding: 8px 18px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 4px 4px 0px 0px var(--fg);
}

/* --- BENTO GRID --- */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.bento-item {
    background: var(--white);
    border: var(--border);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
}

.bento-item:hover {
    transform: translate(-4px, -4px);
    box-shadow: 12px 12px 0px 0px var(--fg);
}

.item-wide { grid-column: 1; }
.hero-split { grid-column: span 4; display: none; } /* Hide old hero */

.section-title {
    font-size: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-value {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary);
}

.about-panel p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.skill-tile {
    background: var(--cream);
    border: var(--border);
    padding: 15px;
    text-align: center;
    font-weight: 700;
    border-radius: var(--radius);
    box-shadow: 4px 4px 0px 0px var(--fg);
}

/* --- TERMINAL --- */
.terminal-text {
    background: var(--fg);
    color: var(--secondary);
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    border: var(--border);
    height: 100%;
    overflow-y: auto;
    border-radius: var(--radius);
}

/* --- FOOTER --- */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    border-top: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    background: var(--white);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

footer.visible {
    opacity: 1;
    visibility: visible;
}

/* --- MOBILE --- */
@media (max-width: 900px) {
    header { 
        padding: 0 15px; 
        height: 70px;
    }
    
    .logo-text a { font-size: 1.2rem; }

    .content {
        padding: 100px 15px 80px 15px;
    }

    .hero-section {
        margin-bottom: 40px;
        padding: 20px 0;
    }

    .hero-section h1 { 
        font-size: 2.5rem; 
        line-height: 1;
    }

    .hero-section p {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .cta-box {
        padding: 20px;
        border-radius: var(--radius);
    }

    .cta-input-group {
        flex-direction: column;
        gap: 10px;
    }

    .cta-btn {
        padding: 15px;
        width: 100%;
    }

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

    .item-wide { grid-column: span 1; }

    .stat-value { font-size: 2.5rem; }

    .logo-text {
        display: block;
    }

    nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 15px;
        right: 15px;
        width: calc(100% - 30px);
        background: var(--white);
        border: var(--border);
        border-radius: var(--radius);
        padding: 25px;
        gap: 15px;
        z-index: 1001;
        box-shadow: var(--shadow);
    }

    nav.active {
        display: flex;
    }

    nav a {
        width: 100%;
        background: var(--cream);
        border: var(--border);
        border-radius: var(--radius);
        padding: 12px 20px;
        box-shadow: 4px 4px 0px 0px var(--fg);
        display: flex;
        align-items: center;
        transition: all 0.2s;
    }

    nav a:hover {
        transform: translate(-2px, -2px);
        box-shadow: 6px 6px 0px 0px var(--fg);
        background: var(--white);
    }

    nav a.active {
        background: var(--primary);
        color: var(--white);
        text-decoration: none;
    }

    .menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
        cursor: pointer;
        border: var(--border);
        border-radius: var(--radius);
        background: var(--white);
        box-shadow: 4px 4px 0px 0px var(--fg);
        color: var(--fg);
        transition: all 0.2s;
    }

    .nav-clock-btn {
        padding: 5px 10px;
        font-size: 0.8rem;
    }

    footer {
        font-size: 0.8rem;
        padding: 20px 0;
        height: auto;
    }
}

@media (max-width: 480px) {
    .hero-section h1 { font-size: 2rem; }
    .logo-text { display: none; }
}

/* --- SPLASH SECTION --- */
.splash-section {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--bg);
    position: relative;
    z-index: 2500; /* Higher than header */
}

.splash-logo {
    width: 450px;
    height: 450px;
    border-radius: 50%;
    border: var(--border);
    background: var(--white);
    box-shadow: var(--shadow);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.5s;
}

.splash-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.scroll-hint {
    margin-top: 30px;
    font-weight: 900;
    letter-spacing: 5px;
    font-size: 0.9rem;
    animation: blink 1.5s infinite;
}

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

/* --- ENTRANCE ANIMATIONS --- */
.parallax-item {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.parallax-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Delay for bento items to create a staggered effect */
.bento-grid .parallax-item:nth-child(1) { transition-delay: 0.1s; }
.bento-grid .parallax-item:nth-child(2) { transition-delay: 0.2s; }
.bento-grid .parallax-item:nth-child(3) { transition-delay: 0.3s; }
.bento-grid .parallax-item:nth-child(4) { transition-delay: 0.4s; }
.bento-grid .parallax-item:nth-child(5) { transition-delay: 0.5s; }
.bento-grid .parallax-item:nth-child(6) { transition-delay: 0.6s; }
.bento-grid .parallax-item:nth-child(7) { transition-delay: 0.7s; }
.bento-grid .parallax-item:nth-child(8) { transition-delay: 0.8s; }
