@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400;500;700&family=Source+Code+Pro:wght@400&display=swap');

body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #1f1c2c 0%, #3c3a53 100%);
    font-family: 'Unbounded', Arial, sans-serif;
    color: #928dab;
    overflow: auto;
}

.container {
    text-align: center;
    width: 90%;
    max-width: 300px;
    padding: 15px;
    background: rgba(146, 141, 171, 0.2);
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(0); }
    to { opacity: 1; transform: translateY(0); }
}

.greet {
    text-align: left;
    font-size: 1.2em;
    font-family: 'Source Code Pro', monospace;
    color: #928dab;
    margin: 10px 0;
    display: flex;
    align-items: center;
    background: #1f1c2c;
    padding: 6px 10px;
    border-radius: 4px;
}

.typing {
    margin-left: 8px;
}

.cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background-color: #928dab;
    vertical-align: middle;
    animation: blink 1s step-end infinite;
}

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

h2 {
    font-size: 1em;
    margin: 10px 0;
    color: #928dab;
    font-weight: 400;
    line-height: 1.4;
}

img {
    width: 80px;
    height: auto;
    margin: 10px 5px 10px 5px;
}

.stack-toggle {
    margin: 10px 0;
    width: 100%;
    text-align: left;
}

.stack-button {
    background-color: #928dab;
    color: #1f1c2c;
    padding: 8px 14px;
    border: none;
    border-radius: 4px;
    font-family: 'Unbounded', sans-serif;
    font-size: 0.9em;
    cursor: pointer;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.stack-button:hover {
    background-color: #a8a3c1;
}

.arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.arrow.down {
    transform: rotate(90deg);
}

.stack-content {
    max-height: 0;
    overflow: hidden;
    background-color: #1f1c2c;
    border-radius: 0 0 4px 4px;
    padding: 0 14px;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    color: #928dab;
    font-family: 'Source Code Pro', monospace;
    font-size: 0.9em;
    line-height: 15px;
}

.stack-content.show {
    max-height: 300px;
    padding: 10px 14px;
}

.stack-content ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.stack-content > ul > li {
    padding: 4px 0;
}

.stack-content > ul > li::before {
    content: "> ";
    color: #928dab;
}

.stack-content ul ul {
    padding-left: 20px;
}

.stack-content ul ul li {
    padding: 2px 0;
}

.stack-content ul ul li::before {
    content: "- ";
    color: #928dab;
}

.links {
    margin-top: 10px;
}

.links-row {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 6px;
}

.link-button {
    flex: 1;
    background-color: #1f1c2c;
    color: #928dab;
    padding: 8px 14px;
    text-decoration: none;
    border-radius: 4px;
    font-family: 'Unbounded', sans-serif;
    font-size: 0.85em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-align: center;
}

.link-button:hover {
    background-color: #928dab;
    color: #1f1c2c;
}