/* Shared design tokens, fonts, layout and small utilities */

@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;700&display=swap');

:root{
    --bg: #0b0b0b;              /* slightly off-black */
    --text: #e6e6e6;
    --muted: #B2B8D5;
    --accent-a: #F1C293;
    --accent-b: #D4C9CA;
    --accent-c: #99B6FF;
    --max-width: 720px;
}

/* Reset / base */
html,body{
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden; /* keep page full-screen without scrolling */
    font-family: 'Comfortaa', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
    box-sizing: border-box;
}

/* Page-level layout variants (keeps current positions/behaviour) */
.index-page {
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("images/octospace_announcement_bg_wo_text.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-bottom: 0; /* footer fixed */
    min-height: 100vh;
}

.imprint-page {
    display: flex;
    align-items: center;         /* vertical centering */
    justify-content: flex-start; /* left-aligned content */
    /* font-family: monospace; */
    min-height: 100vh;
    padding-left: 20%;           /* keep 20% space to the left border */
    padding-right: 2rem;
}

/* Shared content container */
.content {
    max-width: var(--max-width);
    width: 100%;
    text-align: left;
    line-height: 1.5;
}

/* Logo + subtext (used on index) */
.logo {
    font-weight: 400; /* use Comfortaa-medium (500 is available) but render with default weight */
    font-size: clamp(48px, 5.5vw, 120px);
    line-height: 1;
    margin: 0;
    padding: 0;
    text-transform: lowercase;
    background: linear-gradient(90deg, var(--accent-a) 0%, var(--accent-b) 50%, var(--accent-c) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-align: center;
    user-select: none;
    transform: translateY(-1.2vh); /* keeps current lifted look */
}

.subtext {
    font-size: clamp(20px, 2.2vw, 50px);;
    margin: 0.6rem 0 0;
    color: var(--muted);
    text-align: center;
    user-select: none;
}

/* Footer and links */
.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.6rem 1rem;
    box-sizing: border-box;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
}

a { color: var(--text); text-decoration: underline; }

/* Links that should use monospace */
.back-link,
.imprint-link {
    text-decoration: underline;
    /* font-family: monospace; */
    color: var(--text);
    padding: 0.2rem;
}

/* specific back-link placement */
.back-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 1000;
}

/* small utilities */
.hidden { display:none; }