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

html {
    scroll-behavior: smooth;
}

::selection {
    background: #333;
    color: #fff;
}

body {
    background-color: #101010;
    display: flex;
    justify-content: center;
    color: #dedede;
    font-family: 'Courier New', Courier, monospace;
    line-height: 1.6;
    padding: 40px 20px;
    overflow-x: hidden;
}

main {
    width: 100%;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

h2, h3 {
    font-weight: normal;
    font-size: 1rem;
}

p {
    color: #a0a0a0;
    font-size: 0.95rem;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #888;
    border-bottom: 1px solid #222;
    padding-bottom: 20px;
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand {
    font-weight: bold;
    color: #888;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.brand:hover {
    color: #fff;
    transform: translateX(3px);
}

.section-title {
    color: #888;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.intro {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stack-grid {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 15px;
    font-size: 0.9rem;
}

.stack-category {
    color: #888;
}

.stack-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.stack-item {
    display: flex;
    align-items: center;
    color: #dedede;
    opacity: 0;
    transform: translateX(-15px);
    transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), color 0.2s ease;
}

.stagger-left.visible .stack-item {
    opacity: 1;
    transform: translateX(0);
}

.stack-item::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background-color: #555;
    border-radius: 50%;
    margin-right: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.stack-item:hover {
    color: #fff;
}

.list-item {
    display: flex;
    justify-content: space-between;
    padding: 20px 12px;
    margin: 0 -12px;
    border-bottom: 1px dotted #333;
    text-decoration: none;
    color: inherit;
    border-radius: 4px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.list-item:last-child {
    border-bottom: none;
}

.item-content h3 {
    color: #dedede;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.item-title-text {
    transition: transform 0.3s ease;
}

.item-title-text::after {
    content: '\00a0\2197';
    display: inline-block;
    opacity: 0;
    transform: translate(-4px, 4px);
    transition: all 0.3s ease;
}

.list-item:hover .item-title-text::after {
    opacity: 1;
    transform: translate(0, 0);
}

.list-item:hover .item-content h3 {
    color: #fff;
}

.item-role {
    display: block;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
    font-style: italic;
}

.item-meta {
    font-size: 0.85rem;
    color: #888;
    white-space: nowrap;
    padding-left: 20px;
    transition: color 0.3s ease;
}

.list-item:hover .item-meta {
    color: #dedede;
}

footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #888;
    padding-top: 20px;
    border-top: 1px solid #222;
}

.inline-link {
    color: #dedede;
    text-decoration: none;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.inline-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #dedede;
    transform-origin: bottom right;
    transition: transform 0.3s cubic-bezier(0.86, 0, 0.07, 1);
}

.inline-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

footer .inline-link {
    margin-left: 15px;
    color: #888;
}

footer .inline-link:hover {
    color: #dedede;
}

footer .inline-link::after {
    background-color: #dedede;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1), transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-down {
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1), transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-in-down.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-scale {
    opacity: 0;
    transform: scale(0.97);
    transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1), transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-in-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.stagger-child {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.stagger-parent.visible .stagger-child {
    opacity: 1;
    transform: translateY(0);
}