@font-face {
    font-family: 'Diatype';
    src: url('fonts/DiatypeVariable.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: 'Diatype';
    src: url('fonts/DiatypeVariable-Italic.woff2') format('woff2');
    font-weight: 100 900;
    font-style: italic;
}

:root {
    --bg-color: #E93323;
    --card-color: #0D9916;
    --text-primary: rgba(0, 0, 0, 0.85);
    --text-secondary: rgba(0, 0, 0, 0.75);
    --line-color: rgba(0, 0, 0, 0.15);
    --font-main: 'Diatype', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Vertically center usually, but the original might be top-aligned with margin */
    padding: 2rem 1rem;
}

.page {
    width: 100%;
    display: flex;
    justify-content: center;
}

.page-content {
    background-color: var(--card-color);
    width: 40%;
    max-width: 420px;
    min-width: 320px;
    border-radius: 15.47px;
    padding: 10.31px 21.65px;
    display: flex;
    flex-direction: column;
}

/* Typography */
a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.7;
}

a:active {
    opacity: 0.5;
}

h1 {
    font-size: 55.68px;
    font-weight: 750;
    line-height: 1.0;
    letter-spacing: -1.12px;
    margin: 0;
    padding: 0;
}

.header {
    display: flex;
    justify-content: space-between;
    font-weight: 440;
    font-size: 19.59px;
    line-height: 23.51px;
    margin-bottom: 0;
    padding-bottom: 8.25px;
}

/* Specific link styling */
.header a {
    font-weight: 440;
}

.info-item {
    font-size: 30.93px;
    line-height: 34.02px;
    font-weight: 600;
    letter-spacing: -0.31px;
    padding: 0;
    margin: 0;
}

.divider {
    border: none;
    height: 2px;
    background-color: rgba(0, 0, 0, 0.75);
    width: 100%;
    margin-top: 8.25px;
    margin-bottom: 8.25px;
}

.divider:last-of-type {
    margin-bottom: 8px;
}

/* Animations */

/* Entry Animation */
.fade-up-entry {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* Staggered Delays */
.intro.fade-up-entry {
    animation-delay: 0.1s;
}

.info-item.fade-up-entry:nth-of-type(1) {
    animation-delay: 0.2s;
}

/* Studies */
.info-item.fade-up-entry:nth-of-type(2) {
    animation-delay: 0.3s;
}

/* Works */
.info-item.fade-up-entry:nth-of-type(3) {
    animation-delay: 0.4s;
}

/* Book */
.info-item.fade-up-entry:nth-of-type(4) {
    animation-delay: 0.5s;
}

/* Game */
.info-item.fade-up-entry:nth-of-type(5) {
    animation-delay: 0.6s;
}

/* Lives */
.info-item.fade-up-entry:nth-of-type(6) {
    animation-delay: 0.7s;
}

/* Born */
.footer.fade-up-entry {
    animation-delay: 0.8s;
}

/* Marquee Animation */
.footer {
    padding: 0;
    margin: 0;
    overflow: hidden;
    margin-top: 8px;
    /* Consistent standard spacing */
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: scroll 40s linear infinite;
    font-size: 30.93px;
    line-height: 34.02px;
    font-weight: 600;
    /* As analyzed */
    font-family: 'Diatype', sans-serif;
}

.marquee-content span {
    display: inline-block;
    padding-right: 2rem;
}

/* Specific styling for 'Drake' to be italic if we wrap it, 
   but since the content is currently plain text in HTML, 
   we need to update HTML to wrap 'Drake' in <i> tags first, 
   or just style the whole line. The original has mixed styles. */
.marquee-content i {
    font-style: italic;
    font-weight: 600;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
        /* Move half the width of content (assuming duplicated content) */
    }
}

/* Responsive */
@media (max-width: 768px) {
    .page-content {
        width: 100%;
        border-radius: 15.47px;
        /* Consistent with desktop */
        padding: 10.31px 21.65px;
        /* Consistent with desktop */
    }

    /* Removed font-size overrides to maintain consistency */
}