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

html {
    scroll-behavior: smooth;
}

body {
    background: #000000;
    color: #ffffff;
    font-family: monospace;
    padding: 0 24px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 680px;
    text-align: center;
    padding: 60px 0;
}

/* Staggered Fade-In System */
.fade-in {
    opacity: 0;
    transform: translateY(8px);
    animation: premiumFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fade-in.one   { animation-delay: 0.1s; }
.fade-in.two   { animation-delay: 0.2s; }
.fade-in.three { animation-delay: 0.3s; }
.fade-in.four  { animation-delay: 0.45s; }

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

/* Typography Styling */
.tag {
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 24px;
}

h1 {
    font-size: 1.45rem;
    font-weight: normal;
    margin-bottom: 28px;
}

h1 span {
    display: block;
    font-weight: bold;
    margin-top: 4px;
}

.subtitle {
    font-size: 1.05rem;
    text-align: justify;
    text-align-last: center; /* Maintains centered layout balance */
}

/* Bottom Navigation */
footer {
    margin-top: 70px;
    padding-top: 32px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 20px;
}

.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
}

.footer-nav a:hover {
    font-weight: bold;
    text-decoration: underline;
}

.config-log {
    font-size: 0.85rem;
    font-weight: bold;
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
    body {
        align-items: flex-start;
        padding: 80px 24px;
    }
    .subtitle {
        text-align: center;
    }
    .footer-nav {
        flex-direction: column;
        gap: 12px;
    }
}
