:root {
    --bg: #000000;
    --surface: rgba(14, 14, 14, 0.9);
    --surface-strong: #141414;
    --ink: #c0c0c0;
    --muted: #9b9b9b;
    --line: rgba(192, 192, 192, 0.2);
    --accent: #d9d9d9;
    --accent-deep: #e6e6e6;
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 30%),
        radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.05), transparent 35%),
        linear-gradient(160deg, #050505 0%, #000000 45%, #080808 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.login-shell {
    display: grid;
    place-items: center;
    padding: 1.5rem;
}

.login-card,
.site-shell {
    width: min(100%, 1120px);
}

.login-card {
    padding: 2rem;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--surface);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.eyebrow {
    margin: 0 0 0.5rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--accent-deep);
}

h1,
h2,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 0.75rem;
    font-size: clamp(2.4rem, 8vw, 4.8rem);
    line-height: 0.95;
}

h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.intro-copy {
    max-width: 42rem;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
}

.notice-box,
.placeholder-block {
    border-radius: 20px;
    border: 1px dashed rgba(192, 192, 192, 0.24);
    padding: 1rem 1.1rem;
    background: rgba(255, 255, 255, 0.03);
}

.notice-box {
    margin: 1.5rem 0;
}

.google-login-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    background: #c0c0c0;
    color: #000;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.google-login-button:hover {
    background: #dcdcdc;
    transform: translateY(-1px);
}

.site-shell {
    padding: 1rem;
}

.site-header {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 1rem auto 1.5rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
}

.brand-mark {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.menu-toggle {
    display: none;
    border: 0;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    padding: 0.8rem 1rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-nav a,
.logout-form button {
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0.75rem 1rem;
    color: var(--muted);
    background: transparent;
}

.site-nav a.active,
.site-nav a:hover,
.logout-form button:hover {
    border-color: rgba(192, 192, 192, 0.35);
    background: rgba(192, 192, 192, 0.12);
    color: var(--ink);
}

.logout-form {
    margin: 0;
}

.page-layout {
    display: grid;
    gap: 1rem;
}

.hero-panel,
.content-card {
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 1.5rem;
    background: var(--surface);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.meta-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.meta-label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.content-card.wide {
    grid-column: 1 / -1;
}

.placeholder-block {
    min-height: 12rem;
    display: grid;
    place-items: center;
    color: var(--accent-deep);
    font-weight: 700;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
        repeating-linear-gradient(
            45deg,
            rgba(192, 192, 192, 0.04) 0,
            rgba(192, 192, 192, 0.04) 12px,
            transparent 12px,
            transparent 24px
        );
}

.placeholder-block.alt {
    color: #b3b3b3;
}

@media (max-width: 800px) {
    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .site-header {
        flex-wrap: wrap;
    }

    .site-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding-top: 0.5rem;
    }

    .site-nav.open {
        display: flex;
    }

    .content-grid,
    .meta-row {
        grid-template-columns: 1fr;
    }

    .site-nav a,
    .logout-form button {
        width: 100%;
        text-align: center;
    }
}
