* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    height: 100%;
    width: 100%;
    overflow: hidden;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #ffffff;
    color: #111827;
}

/* Fullscreen Exact Gradient */
.exact-gradient-bg, .exact-gradient-box {
    background: linear-gradient(90deg, #1800e0 0%, #7e12e8 50%, #e824e0 100%);
    height: 100vh;
    width: 100vw;
}

/* Nav Header Links */
.nav-link {
    color: #ffffff;
    font-weight: 800;
    font-size: 1.75rem;
    letter-spacing: -0.01em;
    transition: opacity 0.2s ease, transform 0.2s ease;
    text-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.nav-link:hover {
    opacity: 0.8;
    transform: translateY(-1px);
}

/* Big central titles in white */
.hero-title {
    font-size: clamp(5rem, 18vw, 16rem);
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    user-select: none;
}

.portfolio-title {
    font-size: clamp(4.5rem, 16vw, 14rem);
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    user-select: none;
}

.project-title {
    font-size: clamp(3rem, 8vw, 7rem);
    color: #ffffff;
    user-select: none;
}

/* Lego jump animation */
@keyframes legoJump {
    0% { transform: scale(1) translateY(0); }
    30% { transform: scale(1.15, 0.85) translateY(-20px); }
    50% { transform: scale(0.95, 1.05) translateY(0); }
    70% { transform: scale(1.05, 0.95) translateY(-5px); }
    100% { transform: scale(1) translateY(0); }
}

.animate-lego {
    animation: legoJump 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Speech bubble */
.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 30px;
    border-width: 8px 8px 0 0;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
}