﻿:root {
    --bg: #12241c;
    --bg-elevated: #1b3328;
    --accent: #f2c14e;
    --text: #eef4f0;
    --muted: #a9c0b4;
    --border: rgba(255, 255, 255, 0.09);
}

html, body {
    margin: 0;
    min-height: 100%;
    background: var(--bg);
    color: var(--text);
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    line-height: 1.6;
}

a {
    color: var(--accent);
}

h1, h2 {
    letter-spacing: -0.02em;
}

.page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content {
    flex: 1;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 4rem;
}

/* Navigation */
.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.2);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}

.brand-mark {
    font-size: 1.6rem;
    line-height: 1;
}

.nav-links {
    display: flex;
    gap: 0.5rem;
}

.nav-link {
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    color: var(--muted);
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-link:hover {
    background: var(--bg-elevated);
    color: var(--text);
}

.nav-link.active {
    background: var(--accent);
    color: #1a1405;
    font-weight: 600;
}

/* Hero */
.hero {
    text-align: center;
    padding: 3.5rem 0 3rem;
}

.hero-mark {
    font-size: 4rem;
    line-height: 1;
}

.hero h1 {
    margin: 0.5rem 0 0.25rem;
    font-size: clamp(2.25rem, 6vw, 3.5rem);
}

.tagline {
    margin-top: 0;
    color: var(--muted);
    font-size: 1.15rem;
}

.btn-primary-goose {
    display: inline-block;
    margin-top: 1.25rem;
    padding: 0.7rem 1.75rem;
    border: none;
    border-radius: 999px;
    background: var(--accent);
    color: #1a1405;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary-goose:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(242, 193, 78, 0.25);
    color: #1a1405;
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.25rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.card-goose {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
}

.card-goose h2 {
    margin-top: 0;
    font-size: 1.15rem;
    color: var(--accent);
}

code {
    background: rgba(255, 255, 255, 0.08);
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    color: var(--text);
    font-size: 0.9em;
}

.counter-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.counter-value {
    color: var(--muted);
}

.site-footer {
    padding: 2rem 1.5rem;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.9rem;
    text-align: center;
}

/* Blazor error UI */
#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    color: #000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
