/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variables */
:root {
    --bg-color: #1b000b;
    --bg-panel: rgba(0, 0, 0, 0.7);
    --text-color: #f5f5f5;
    --muted-color: #b3b3b3;
    --accent-color: #d10258;
    --accent-soft: rgba(204, 20, 100, 0.3);
    --particle-color: white;

    --font-mono: "JetBrains Mono", "Maple Mono", ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* ---- particles.js container ---- */
#particles-js {
    background-color: transparent;
    background-image: url("");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -9999;
}

/* Base */
html, body {
    height: 100%;
}

body {
    color: var(--text-color);
    font-family: var(--font-mono);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    background: radial-gradient(circle at top, #3b0010 0%, var(--bg-color) 45%, #050005 100%);

}

/* Animations */
.prompt {
    animation-delay: 0.2s;
}

.title {
    animation-delay: 0.35s;
}

.subtitle {
    animation-delay: 0.5s;
}

.navigation {
    animation-delay: 0.5s;
}

.terminal-prompt {
    animation-delay: 0.7s;
}

/* Main container */
.main {
    width: 100%;
    max-width: 1080px;
    background-color: var(--bg-panel);
    border-radius: 18px;
    padding: 2.625rem 3rem;
    box-shadow: 
        0 0 60px rgba(0, 0, 0, 0.8),
        0 0 30px var(--accent-soft);
    border: 1.5px solid var(--accent-soft);
}

/* Hero */
.hero {
    margin-bottom: 2.25rem;
}

.prompt {
    font-size: 1.35rem;
    color: var(--muted-color);
    margin-bottom: 0.75rem;
}

h1 {
    font-size: 2.4rem;
    margin-bottom: 0.75rem;
}

.subtitle {
    font-size: 1.425rem;
    color: var(--muted-color);
    line-height: 1.4;
}

.subtitle code {
    font-family: var(--font-mono);
    font-size: 1.35em;
}

/* Navigation */
.navigation {
    display: flex;
    flex-direction: column;
    gap: 0.225rem;
    margin-top: 0.75rem;
    padding-left: 1.125rem;
    border-left: 3px solid var(--accent-soft);
}

.navigation a {
    display: flex;
    align-items: baseline;
    gap: 1.2rem;
    padding: 0.375rem 0;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.425rem;
    position: relative;
    transition:
        color 0.15s ease-out,
        transform 0.15s ease-out,
        text-shadow 0.15s ease-out;
}

.nav-prefix {
    color: var(--muted-color);
    font-size: 1.275rem;
}

.nav-name {
    color: var(--accent-color);
}

/* Hover states */
.navigation a:hover,
.navigation a:focus-visible {
    transform: translateX(6px);
    text-shadow: 0 0 12px rgba(255, 6, 164, 0.3);
}

.navigation a:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 4.5px;
}

/* Terminal prompt */
.terminal-prompt {
    margin-top: 3rem;
    font-family: var(--font-mono);
    font-size: 1.425rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.prompt-user {
    color: var(--accent-color);
}

.prompt-path {
    color: var(--muted-color);
}

/* Blinking cursor */
.cursor {
    width: 15px;
    height: 1.65em;
    background-color: var(--accent-color);
    display: inline-block;
    margin-left: 3px;
    animation: cursor-blink 1.5s steps(1) infinite;
    opacity: 1;
}

@keyframes cursor-blink {
    0%, 50% {
        opacity: 1;
    }
    50.01%, 100% {
        opacity: 0;
    }
}

@media (max-width: 900px) {
	h1 {
		font-size: 2rem;
	}
}

@media (max-width: 600px) {
    .h1 {
        font-size: 0.8rem;
    }
}

@media (max-width: 561px) {
    .h1 {
        font-size: 0.5rem;
    }
}
