* {
    box-sizing: border-box;
}


body {
    display: flex;
    flex-direction: column;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #121212;
    color: #c1c1c1;
    margin: 0;
    padding-top: 80px;
    padding-bottom: 0;
    transition: background-color 1.5s ease, color 1.5s ease;
}

main {
    flex: 1;
}

.mono {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9em;
    letter-spacing: -0.5px;
}

.topnav{
    background-color: #121212;
    height: 65px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    box-sizing: border-box;
    z-index: 100;
    border-bottom: 2px solid #8ad0ff;


    box-shadow: 0 2px 15px rgba(0, 150, 255, 0.7),
                0 0 60px rgba(0, 150, 255, 0.5),
                0 0 120px rgba(0, 150, 255, 0.3);
    transition: border-bottom-color 1.5s ease, box-shadow 1.5s ease;
}

.brand {
    font-size: 22px;
    font-weight: 800;
    color: #f1f1f1;
    letter-spacing: -0.5px;
    transition-duration: 0.3s;
}

.brand:hover{
    color: white;
    text-shadow: 0 0 15px rgba(0, 150, 255, 0.6);
    transition-duration: 0.5s;
}

.topnav-links {
    display: flex;
    gap: 30px;
}

.topnav-links a {
    font-family: 'Roboto Mono', monospace;
    color: #888;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.topnav-links a:hover {
    color: #0096ff;
}

.topnav-links a.active {
    color: #F0F8FF;
    text-shadow: 0 0 15px rgba(0, 150, 255, 0.4);
    font-weight: bold;
}

.bouncing-dot {
    display: inline-block;
    color: #0096ff;
    position: relative;
    font-size: 30px;
    line-height: 0;
}

.kicker {
    display: inline-block;
    position: relative;
    transition: 0.5s ease-out;
}

.kicking {
    animation: kickLeg 0.8s ease-in-out;
}

@keyframes kickLeg {
    0% { transform: rotate(0deg) translateX(0); }
    30% { transform: rotate(-30deg) translateX(-2px); }
    50% { transform: rotate(20deg) translateX(5px); }
    80% { transform: rotate(10deg) translateX(2px); }
    90% { transform: rotate(7deg) translateX(1px); }
    95% { transform: rotate(4deg) translateX(0); }
    99% { transform: rotate(1deg) translateX(0); }
    100% { transform: rotate(0deg) translateX(0); }
}


.accent { color: #0096ff; }
section { padding: 100px 7%;}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    min-height: 60vh;
    padding: 120px 10% 0;
}

.hero-content {
    flex: 1;
    max-width: 600px; }

.hero-image-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: fit-content; 
}
.hero-profile-img {
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
    aspect-ratio: 1 / 1;

    border: 2px solid #0096ff;
    box-shadow: 0 0 30px rgba(0, 150, 255, 0.3);
    transition: all 1.5s ease;
}

.default-img {
    position: relative;
    z-index: 1;
    display: block;
}

.mtrx-img {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    z-index: 2;
    opacity: 0;
    border-radius: 50%; 
    object-fit: cover;
    pointer-events: none;
}

.hero-profile-img:hover {
    box-shadow: 0 0 50px rgba(0, 150, 255, 0.5);
    transform: scale(1.02);
    transition-duration: 0.5s;
}


.hero-title {
    font-size: clamp(40px, 8vw, 80px);
    font-weight: 800;
    color: #f1f1f1;
    margin: 0;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(30px, 5vw, 60px);
    color: #8892b0; /* slightly muted contrast */
    margin: 10px 0 0 0;
    line-height: 1.1;
}

.hero-description {
    margin: 20px 0 50px 0;
    max-width: 540px;
    font-size: 18px;
    color: #8892b0;
    line-height: 1.6;
}

.hero-cta { display: flex; gap: 20px; }

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-links img {
    min-height: 22px;
    width: 150px;
    transition: all 0.3s ease;
    transition-duration: 0.3s;
}

.social-links a:hover img {
    transform: translateY(-3px);
    transition-duration: 0.3s;
}

.social-icon {
    min-height: 22px;
    fill: #8892b0;
    transition: all 0.3s ease;
}

.social-links a:hover .social-icon {
    fill: #0096ff;
    filter: drop-shadow(0 0 8px rgba(0, 150, 255, 0.8));
    transform: translateY(-3px);
}

.btn {
    padding: 14px 28px;
    border-radius: 4px;
    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    font-weight: 500;
}

.btn-primary {
    background-color: transparent;
    color: #0096ff;
    border: 1px solid #0096ff;
}

.btn-primary:hover {
    background-color: rgba(0, 150, 255, 0.1); /* subtle fill on hover */
    box-shadow: 0 0 20px rgba(0, 150, 255, 0.3);
    transform: translateY(-3px); /* slight lift effect */
}

.btn-outline {
    color: #f1f1f1;
    border: 1px solid #f1f1f1;
}

.btn-outline:hover {
    background-color: #f1f1f1;
    color: #121212;
    transform: translateY(-3px);
}

.accent,
.hero-subtitle,
.hero-description,
.topnav-links a,
.bouncing-dot,
.btn {
    transition: color 1.5s ease, background-color 1.5s ease, border-color 1.5s ease, box-shadow 1.5s ease;
}

.footer {
    background-color: #121212;
    height: 65px;
    width: 100%;
    position: relative;

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    box-sizing: border-box;
    z-index: 100;
    
    border-top: 2px solid #8ad0ff;
    box-shadow: 0 -2px 15px rgba(0, 150, 255, 0.7),
    0 0 60px rgba(0, 150, 255, 0.5),
    0 0 120px rgba(0, 150, 255, 0.3);

    transition: border-top-color 1.5s ease, box-shadow 1.5s ease;
    margin-top: 100px;
    flex-shrink: 0;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    font-family: 'Roboto Mono', monospace;
    color: #888;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a:hover {
    color: #0096ff;
    text-shadow: 0 0 15px rgba(0, 150, 255, 0.6);
}

.secret {
    color: #121212;
    transition-duration: 0.3s;
}

.secret:hover {
    color: rgba(12, 50, 150, 0.5);
    transition-duration: 2s;
}

@media (max-width: 1024px) {
    .topnav {
        height: auto;
        flex-direction: column;
        padding: 15px 0;
    }

    .brand {
        margin-bottom: 15px;
    }

    .topnav-links {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 20px;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .topnav-links a {
        font-size: 14px;
        padding: 5px;
    }

    .bouncing-dot {
        display: inline;
        position: static;
        transform: none !important;
        opacity: 1 !important;
    }

    .kicker { transform: none !important; animation: none !important; }

    .hero {
        flex-direction: column-reverse;
        padding: 120px 20px 60px;
        height:auto;
        min-height: auto;
        align-items: center;
        text-align: center;
        gap: 60px;
    }

    .hero-title {
        font-size: clamp(50px, 10vw, 80px);
        white-space: nowrap;
    }

    .hero-image-container {
        margin-top: 0;
        width: auto;
    }

    .hero-content {
        max-width: 600px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-profile-img {
        max-width: 400px;
        width: 80vw;
        height: auto;
        aspect-ratio: 1/1;
    }

    .social-links img {
        width: 100px;
    }

    .hero-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .secret:hover {
        color: #121212
    }

}

@media (max-width: 768px) {
    .hero-title { white-space: normal; }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        gap: 15px;
    }

    .hero-cta .btn {
        width: 100%;
        text-align: center;
        display: block;
    }
}

@media only screen and (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape){

    .topnav {
        height: 50px;
        padding: 0 20px;
        flex-direction: row;
    }

    .brand {
        font-size: 18px;
        margin-bottom: 0;
    }

    .topnav-links {
        width: auto;
        gap: 15px;
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    .topnav-links a {
        font-size: 13px;
    }

    body {
        padding-top: 100px;
    }

    .hero {
        min-height: auto;
        padding: 40px 5% 0;
        flex-direction: row;
        align-items: center;
        gap: 30px;
    }

    .hero-content {
        zoom: 0.8;
    }

    .hero-profile-img {
        max-width: 500px;
    }

    .hero-image-container {
        gap: 15px;
        margin-top: 0;
    }

    .hero-title {
        font-size: 80px;
    }
    
    .secret:hover {
        color: #121212
    }

}