/* LuSID Synthesizer website — synthwave / Liquid Glass styling */

:root {
    --bg-midnight: #0A0613;
    --bg-indigo: #1A1033;
    --cyan: #00E5FF;
    --magenta: #FF2D75;
    --lime: #A6FF00;
    --text-primary: #F0F4FF;
    --text-secondary: #9A93C2;
    --text-tertiary: #6A638F;
}

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

html, body {
    background: var(--bg-midnight);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "SF Pro", system-ui, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Layered background — gradient + soft radial blooms + faint scanlines */
.bg-gradient {
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, var(--bg-midnight) 0%, var(--bg-indigo) 100%);
    z-index: -3;
}

.bg-bloom-magenta {
    position: fixed;
    top: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 45, 117, 0.28) 0%, transparent 70%);
    z-index: -2;
    pointer-events: none;
}

.bg-bloom-cyan {
    position: fixed;
    bottom: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.22) 0%, transparent 70%);
    z-index: -2;
    pointer-events: none;
}

.scanlines {
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(255, 255, 255, 0.03) 0px,
        rgba(255, 255, 255, 0.03) 1px,
        transparent 1px,
        transparent 3px
    );
    pointer-events: none;
    z-index: -1;
}

main {
    max-width: 720px;
    margin: 0 auto;
    padding: 60px 24px 80px;
}

/* Hero / brandmark */
.hero {
    text-align: center;
    padding: 40px 0 56px;
}

.hero.compact {
    padding: 32px 0 28px;
}

.wordmark {
    font-size: clamp(64px, 14vw, 96px);
    font-weight: 800;
    background: linear-gradient(180deg, var(--cyan) 0%, var(--magenta) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: 0 0 32px rgba(0, 229, 255, 0.35);
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 14px;
}

.tagline {
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-secondary);
}

/* Glass card */
.card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.card p {
    color: var(--text-primary);
    font-size: 16px;
    margin-bottom: 14px;
}

.card p.lead {
    font-size: 22px;
    font-weight: 600;
    color: var(--cyan);
    margin-bottom: 20px;
}

.card p.effective-date {
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 12px;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 28px;
}

.card h2 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-tertiary);
    margin-top: 32px;
    margin-bottom: 12px;
}

.card h2:first-of-type {
    margin-top: 8px;
}

.card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 24px;
    margin-bottom: 8px;
}

.card ul {
    margin: 12px 0 16px 24px;
    color: var(--text-primary);
}

.card li {
    margin-bottom: 8px;
}

.card code {
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 14px;
    background: rgba(0, 229, 255, 0.1);
    color: var(--cyan);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.card a {
    color: var(--cyan);
    text-decoration: none;
    border-bottom: 1px dashed rgba(0, 229, 255, 0.4);
    transition: all 0.2s ease;
}

.card a:hover {
    color: var(--magenta);
    border-bottom-color: rgba(255, 45, 117, 0.6);
}

.card strong {
    color: var(--cyan);
    font-weight: 600;
}

/* Bottom links */
.links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.links a {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 10px 18px;
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 999px;
    transition: all 0.2s ease;
}

.links a:hover {
    color: var(--cyan);
    border-color: var(--cyan);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

footer {
    text-align: center;
    color: var(--text-tertiary);
    font-size: 12px;
    margin-top: 40px;
}
