:root {
    --brand-color: #dde58c; 
}

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

html, body {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

body {
    background-color: #000;
    color: #e0e0e0;
    font-family: 'Space Mono', monospace;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    background-image: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
}

/* --- Layout & Content Styling --- */
.site-header, .content, .data-feed {
    position: relative;
    z-index: 1;
}

.site-header {
    width: 100%;
    animation: fadeIn 1s ease-out;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-color);
    letter-spacing: 2px;
}

.content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-grow: 1;
}

.tagline {
    font-family: 'Press Start 2P', cursive;
    font-size: 3rem;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: -1px;
    min-height: 5rem;
    line-height: 1.2;
}

.cursor {
    color: var(--brand-color);
    animation: blink 1s step-end infinite;
}

.data-feed {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeIn 1s ease-out 0.5s;
    animation-fill-mode: backwards;
}

.data-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.data-item .label {
    font-size: 0.75rem;
    color: #888;
    letter-spacing: 1px;
}

.data-item .value {
    font-size: 1rem;
    color: var(--brand-color);
}

.data-item .value#universe-age::after,
.data-item .value#earth-age::after {
    content: " Gyr";
    color: #888;
    font-size: 0.8em;
    padding-left: 0.5em;
}

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

@keyframes blink {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}

@media (max-width: 768px) {
    body { padding: 1.5rem; }
    .tagline { font-size: 1.3rem; }
    .data-feed { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
}
