/* =================================================================
   Dickinson Group Lab Website — Modern Design System
   ================================================================= */

/* --- Unified UChicago Sans Serif font-face mapping --- */
/* The CDN CSS declares each weight as a separate font-family name.
   We remap them into one unified family so font-weight works normally. */
@font-face { font-family: 'UChicagoSans'; src: url('https://uchicago-brand-fonts.s3.us-east-2.amazonaws.com/fonts/uchicago-sans-serif/UChicagoSansSerif-Light.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'UChicagoSans'; src: url('https://uchicago-brand-fonts.s3.us-east-2.amazonaws.com/fonts/uchicago-sans-serif/UChicagoSansSerif-LightItalic.woff2') format('woff2'); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: 'UChicagoSans'; src: url('https://uchicago-brand-fonts.s3.us-east-2.amazonaws.com/fonts/uchicago-sans-serif/UChicagoSansSerif-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'UChicagoSans'; src: url('https://uchicago-brand-fonts.s3.us-east-2.amazonaws.com/fonts/uchicago-sans-serif/UChicagoSansSerif-RegularItalic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'UChicagoSans'; src: url('https://uchicago-brand-fonts.s3.us-east-2.amazonaws.com/fonts/uchicago-sans-serif/UChicagoSansSerif-SemiBold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'UChicagoSans'; src: url('https://uchicago-brand-fonts.s3.us-east-2.amazonaws.com/fonts/uchicago-sans-serif/UChicagoSansSerif-SemiBoldItalic.woff2') format('woff2'); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: 'UChicagoSans'; src: url('https://uchicago-brand-fonts.s3.us-east-2.amazonaws.com/fonts/uchicago-sans-serif/UChicagoSansSerif-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'UChicagoSans'; src: url('https://uchicago-brand-fonts.s3.us-east-2.amazonaws.com/fonts/uchicago-sans-serif/UChicagoSansSerif-BoldItalic.woff2') format('woff2'); font-weight: 700; font-style: italic; font-display: swap; }

/* --- CSS Custom Properties (UChicago Brand) --- */
:root {
    /* UChicago Maroon: #800000 — Light Theme */
    --color-bg: #ffffff;
    --color-bg-alt: #f7f5f3;
    --color-bg-card: #ffffff;
    --color-bg-card-hover: #faf8f6;
    --color-surface: #f0eded;
    --color-border: rgba(0, 0, 0, 0.08);
    --color-border-hover: rgba(0, 0, 0, 0.15);

    --color-text: #1a1a1a;
    --color-text-secondary: #555555;
    --color-text-muted: #999999;

    /* UChicago Maroon accent system */
    --color-accent: #800000;
    --color-accent-hover: #9a1515;
    --color-accent-light: #b02a2a;
    --color-accent-glow: rgba(128, 0, 0, 0.12);
    --color-accent-soft: rgba(128, 0, 0, 0.06);

    /* Secondary UChicago teal accent */
    --color-secondary: #5a9fa6;
    --color-secondary-soft: rgba(90, 159, 166, 0.08);

    --color-highlight: #a07d1e;
    --color-success: #0d8f65;

    --font-sans: 'UChicagoSans', Helvetica, Arial, sans-serif;
    --font-serif: 'UChicagoSerif', Georgia, serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px var(--color-accent-glow);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: var(--color-accent-hover);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover {
    color: var(--color-accent);
}

img {
    max-width: 100%;
    display: block;
}

/* --- Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Section --- */
.section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 80px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent-hover);
    background: var(--color-accent-soft);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--color-text);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
}

/* === UCHICAGO BRAND BAR === */
.uc-brand-bar {
    width: 100%;
    background: #800000;
    min-height: 40px;
    max-height: 55px;
    display: flex;
    align-items: center;
    z-index: 1001;
    position: relative;
}

.uc-brand-bar-inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 40px;
}

.uc-brand-bar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #ffffff;
    transition: opacity 0.2s;
}

.uc-brand-bar-link:hover {
    opacity: 0.85;
}

.uc-phoenix {
    width: 30px;
    height: 25px;
    flex-shrink: 0;
}

.uc-wordmark {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: #ffffff;
    white-space: nowrap;
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: top 0.15s linear, padding var(--transition), box-shadow var(--transition), border-color var(--transition);
    background: #ffffff;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid var(--color-border);
}

.navbar.scrolled {
    padding: 12px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
}

.brand-text {
    color: var(--color-text);
}

.brand-accent {
    color: var(--color-accent-hover);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-links a {
    color: #000000;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
    color: #800000;
    background: rgba(128, 0, 0, 0.05);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-sans);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    border: none;
}

.btn-primary {
    background: var(--color-accent);
    color: white;
    box-shadow: 0 4px 16px rgba(128, 0, 0, 0.3);
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(128, 0, 0, 0.4);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border-hover);
}

.btn-outline:hover {
    background: rgba(128, 0, 0, 0.05);
    border-color: var(--color-text-muted);
    color: var(--color-text);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

/* === HERO === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    padding: 110px 24px 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(128, 0, 0, 0.06), transparent),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(168, 32, 32, 0.03), transparent),
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(126, 190, 197, 0.03), transparent);
    will-change: transform;
}

.hero-particles {
    position: absolute;
    inset: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 860px;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 20px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.hero-badge:hover {
    opacity: 0.8;
}

.hero-badge-logo {
    height: 100px;
    width: auto;
    max-width: 100%;
}

.hero-title {
    font-family: var(--font-sans);
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 28px;
}

.title-line {
    display: block;
}

.title-accent {
    background: linear-gradient(135deg, #c43c3c, #a82020, #800000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    max-width: 640px;
    margin: 0 auto 40px;
}

.hero-group-name {
    color: var(--color-accent);
    font-weight: 700;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--color-text);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 8px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    animation: bobble 2s ease-in-out infinite;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-text-muted), transparent);
}

@keyframes bobble {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* === RESEARCH === */
.research {
    background: var(--color-bg-alt);
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.research-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.research-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
    opacity: 0;
    transition: opacity var(--transition);
}

.research-card:hover {
    border-color: var(--color-border-hover);
    background: var(--color-bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.research-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 56px;
    height: 56px;
    color: var(--color-accent-hover);
    margin-bottom: 20px;
}

.card-number {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-muted);
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.card-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--color-text);
}

.card-text {
    font-size: 0.92rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
}

.card-tags li {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-accent-hover);
    background: var(--color-accent-soft);
    padding: 4px 12px;
    border-radius: 100px;
    transition: background 0.2s, color 0.2s;
}

.card-tags li a {
    color: inherit;
    text-decoration: none;
}

.card-tags li:has(a):hover {
    background: var(--color-accent);
    color: #fff;
    cursor: pointer;
}

.card-tags li:has(a):hover a {
    color: #fff;
}

/* Research extra */
.research-extra {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.extra-card {
    padding: 32px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.extra-card:hover {
    border-color: var(--color-border-hover);
    background: rgba(128, 0, 0, 0.03);
}

.extra-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-text);
}

.extra-card p {
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.research-cta {
    text-align: center;
    margin-top: 40px;
}

.addgene-btn {
    display: inline-block;
    padding: 12px 32px;
    background: var(--color-accent);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: var(--shadow-sm);
}

.addgene-btn:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* === PI SECTION === */
.pi-section {
    background: var(--color-bg);
}

.pi-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
}

.pi-image-placeholder {
    width: 300px;
    height: 380px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    position: sticky;
    top: 120px;
}

.pi-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pi-initials {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 600;
    color: var(--color-accent-hover);
    opacity: 0.4;
}

.pi-name {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.pi-title {
    font-size: 1.05rem;
    color: var(--color-accent-hover);
    margin-bottom: 20px;
    font-weight: 500;
}

.pi-bio {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 36px;
}

.pi-awards h4,
.pi-education h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-text-muted);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-border);
}

.awards-grid {
    display: grid;
    gap: 12px;
    margin-bottom: 36px;
}

.awards-two-col {
    grid-template-columns: 1fr 1fr;
    gap: 10px 32px;
}

.award {
    display: flex;
    align-items: baseline;
    gap: 16px;
}

.award-year {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent-hover);
    min-width: 40px;
    font-variant-numeric: tabular-nums;
}

.award-name {
    font-size: 0.92rem;
    color: var(--color-text-secondary);
}

.education-items {
    display: grid;
    gap: 16px;
}

.edu-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.edu-degree {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--color-text);
}

.edu-school {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

/* === TEAM === */
.team {
    background: var(--color-bg-alt);
}

/* Group photo */
.group-photo-wrapper {
    margin-bottom: 60px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.group-photo-wrapper img {
    width: 100%;
    display: block;
}

.team-category {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.team-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    text-align: center;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

.team-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(128, 0, 0, 0.1);
}

.team-card:hover .team-avatar {
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(128, 0, 0, 0.15);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-avatar {
    background: var(--color-surface);
    color: var(--color-text-muted);
}

.placeholder-avatar svg {
    width: 32px;
    height: 32px;
}

.team-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.team-role {
    font-size: 0.85rem;
    color: var(--color-accent-hover);
    margin-bottom: 4px;
}

.team-info {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* Alumni collapsible section */
.alumni-section {
    margin-top: 48px;
    border-top: 1px solid var(--color-border);
    padding-top: 8px;
}

.alumni-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    padding: 16px 0;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--color-text-secondary);
    transition: color var(--transition);
}

.alumni-toggle:hover {
    color: var(--color-accent);
}

.alumni-toggle-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-text-muted);
    transition: transform 0.3s ease;
    line-height: 1;
}

.alumni-toggle[aria-expanded="true"] .alumni-toggle-icon {
    transform: rotate(45deg);
}

.alumni-content {
    padding-bottom: 24px;
}

.alumni-category {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--color-accent);
    margin: 28px 0 12px;
    font-weight: 600;
}

.alumni-category:first-child {
    margin-top: 8px;
}

.alumni-list {
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
}

.alumni-list li {
    padding: 6px 0;
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
    border-bottom: 1px solid rgba(128, 128, 128, 0.08);
}

.alumni-list li:last-child {
    border-bottom: none;
}

.alumni-list li strong {
    color: var(--color-text);
    font-weight: 600;
}

.alumni-list li a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
}

.alumni-list li a:hover {
    text-decoration: underline;
}

.team-placeholder {
    opacity: 0.5;
    border-style: dashed;
}

/* Alumni */
.team-alumni {
    max-width: 700px;
    margin: 0 auto;
}

.team-alumni h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 32px;
}

.alumni-list {
    display: grid;
    gap: 12px;
}

.alumni-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.alumni-item:hover {
    border-color: var(--color-border-hover);
    background: rgba(128, 0, 0, 0.03);
}

.alumni-name {
    font-weight: 600;
    font-size: 0.92rem;
}

.alumni-detail {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* === FEATURED PUBLICATIONS === */
.featured-pubs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 960px;
    margin: 0 auto 48px;
}

.featured-pub-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.featured-pub-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.featured-pub-journal {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 4px 10px;
    border-radius: 100px;
    width: fit-content;
}

.journal-nature {
    background: #e8f5e9;
    color: #1b5e20;
}

.journal-nar {
    background: #e3f2fd;
    color: #0d47a1;
}

.journal-pnas {
    background: #fce4ec;
    color: #880e4f;
}

.featured-pub-title {
    font-family: var(--font-serif);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-text);
    transition: color 0.2s;
}

.featured-pub-card:hover .featured-pub-title {
    color: var(--color-accent);
}

.featured-pub-authors {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

.featured-pub-year {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-accent-hover);
    margin-top: auto;
}

/* === NEWS (BLUESKY FEED) === */
.news-feed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.news-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 20px;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Skeleton loading cards */
.news-skeleton {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.skeleton-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.skeleton-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    flex-shrink: 0;
}

.skeleton-lines {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.skeleton-line {
    height: 12px;
    border-radius: 6px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
}

.skeleton-line.w40 { width: 40%; }
.skeleton-line.w60 { width: 60%; }
.skeleton-line.w70 { width: 70%; }
.skeleton-line.w75 { width: 75%; }
.skeleton-line.w80 { width: 80%; }
.skeleton-line.w90 { width: 90%; }
.skeleton-line.w100 { width: 100%; }

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.news-error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 48px 20px;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.news-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-decoration: none;
    color: inherit;
}

.news-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.news-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.news-author {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--color-text);
}

.news-handle {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.news-date {
    font-size: 0.73rem;
    color: var(--color-text-muted);
    margin-left: auto;
    white-space: nowrap;
}

.news-text {
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--color-text-secondary);
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-image {
    width: 100%;
    border-radius: var(--radius-sm);
    object-fit: cover;
    max-height: 200px;
}

.news-view-link {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
    margin-top: auto;
}

.news-card:hover .news-view-link {
    color: var(--color-accent-hover);
}

.news-follow {
    text-align: center;
    margin-top: 40px;
}

/* === PUBLICATIONS === */
.publications {
    background: var(--color-bg);
}

.pub-list {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    gap: 2px;
}

.pub-item {
    display: grid;
    grid-template-columns: 50px 1fr auto;
    gap: 20px;
    align-items: start;
    padding: 24px 20px;
    border-radius: var(--radius-md);
    transition: all var(--transition);
    border: 1px solid transparent;
}

.pub-item:hover {
    background: var(--color-bg-card);
    border-color: var(--color-border);
}

.pub-year {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-accent-hover);
    padding-top: 2px;
    font-variant-numeric: tabular-nums;
}

.pub-title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 6px;
    color: var(--color-text);
}

.pub-authors {
    font-size: 0.82rem;
    color: var(--color-text-secondary);
    margin-bottom: 4px;
}

.pub-journal {
    font-size: 0.82rem;
    color: var(--color-text-muted);
}

.pub-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 4px 10px;
    border-radius: 100px;
    white-space: nowrap;
    align-self: center;
    line-height: 1.3;
}

/* Nature family — green */
.pub-badge-nature { background: #e8f5e9; color: #1b5e20; }
/* Cell family — teal */
.pub-badge-cell { background: #e0f2f1; color: #004d40; }
/* Science family — indigo */
.pub-badge-science { background: #e8eaf6; color: #1a237e; }
/* JACS / ACS family — orange */
.pub-badge-acs { background: #fff3e0; color: #e65100; }
/* PNAS — pink */
.pub-badge-pnas { background: #fce4ec; color: #880e4f; }
/* Nucleic Acids Res / NAR — blue */
.pub-badge-nar { background: #e3f2fd; color: #0d47a1; }
/* eLife — amber */
.pub-badge-elife { background: #fff8e1; color: #f57f17; }
/* Chem Rev / Chem Sci — purple */
.pub-badge-chem { background: #f3e5f5; color: #6a1b9a; }
/* Preprints — grey */
.pub-badge-preprint { background: #f5f5f5; color: #616161; }
/* Other / default — light neutral */
.pub-badge-other { background: #f0f0f0; color: #555; }

a.pub-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

a.pub-link .pub-title {
    transition: color 0.2s;
}

a.pub-link:hover .pub-title {
    color: var(--color-accent);
}

/* Publication search bar */
.pub-search-wrapper {
    max-width: 480px;
    margin: 0 auto 24px;
    position: relative;
}

.pub-search {
    width: 100%;
    padding: 12px 20px 12px 44px;
    font-family: var(--font-sans);
    font-size: 0.88rem;
    border: 1px solid var(--color-border);
    border-radius: 100px;
    background: var(--color-bg-card);
    color: var(--color-text);
    outline: none;
    transition: all var(--transition);
}

.pub-search:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(128, 0, 0, 0.08);
}

.pub-search::placeholder {
    color: var(--color-text-muted);
}

.pub-search-wrapper::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
}

.pub-filter-mode {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 16px;
}

.pub-mode-btn {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 24px;
    border: 1px solid var(--color-border);
    background: transparent;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all var(--transition);
}

.pub-mode-btn:first-child {
    border-radius: 100px 0 0 100px;
}

.pub-mode-btn:last-child {
    border-radius: 0 100px 100px 0;
    border-left: none;
}

.pub-mode-btn:hover {
    color: var(--color-text);
}

.pub-mode-btn.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
}

.pub-mode-btn.active + .pub-mode-btn {
    border-left-color: var(--color-accent);
}

.pub-filter-bar {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.pub-filter-btn {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 100px;
    border: 1px solid var(--color-border);
    background: transparent;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: all var(--transition);
}

.pub-filter-btn:hover,
.pub-filter-btn.active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
}

/* Nav logo */
.nav-logo {
    height: 36px;
    width: auto;
    margin-right: 12px;
    vertical-align: middle;
}

/* === OUTREACH === */
.outreach {
    background: var(--color-bg-alt);
}

.outreach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.outreach-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

.outreach-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.outreach-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    color: var(--color-accent-hover);
}

.outreach-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.outreach-card p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.outreach-btn {
    display: inline-block;
    margin-top: 16px;
    padding: 8px 20px;
    background: var(--color-accent);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.outreach-btn:hover {
    background: var(--color-accent-hover);
    transform: translateY(-1px);
}

/* === CONTACT === */
.contact {
    background: var(--color-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info .section-title {
    text-align: left;
}

.contact-info > p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    display: grid;
    gap: 28px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: var(--color-accent-hover);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item div {
    font-size: 0.92rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.contact-item strong {
    color: var(--color-text);
    display: block;
    margin-bottom: 4px;
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 380px;
    border: 1px solid var(--color-border);
}

.map-embed {
    width: 100%;
    height: 100%;
    min-height: 380px;
    display: block;
    border: none;
}

/* Copy to clipboard button */
.copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
    position: relative;
    vertical-align: middle;
    margin-left: 6px;
}

.copy-btn:hover {
    color: var(--color-accent);
    background: rgba(128, 0, 0, 0.06);
}

.copy-tooltip {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-text);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
}

.copy-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: var(--color-text);
}

.copy-btn.copied .copy-tooltip {
    opacity: 1;
    visibility: visible;
}

.copy-btn.copied {
    color: var(--color-success);
}

/* === FOOTER === */
.footer {
    padding: 60px 0 40px;
    background: #404040;
    color: #ffffff;
}

.footer-uchicago {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-uc-logo {
    width: 280px;
    min-width: 215px;
    max-width: 350px;
    height: auto;
    display: block;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
}

.footer-logo {
    height: 48px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-brand p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 12px;
    font-weight: 400;
}

.footer-links h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    font-size: 0.88rem;
    color: #ffffff;
    opacity: 0.8;
    padding: 4px 0;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 3px;
    transition: opacity var(--transition), text-decoration-style 0.2s;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration-style: solid;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    opacity: 0.8;
    transition: all var(--transition);
}

.footer-social-link:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    opacity: 1;
    transform: translateY(-2px);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* === BACK TO TOP BUTTON === */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-accent);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(128, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(128, 0, 0, 0.3);
}

.back-to-top:active {
    transform: translateY(0);
}

/* === ANIMATIONS === */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .research-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .research-extra {
        grid-template-columns: 1fr;
    }

    .pi-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pi-image-placeholder {
        width: 200px;
        height: 260px;
        margin: 0 auto;
        position: static;
    }

    .pi-initials {
        font-size: 3rem;
    }

    .awards-two-col {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .featured-pubs {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-feed {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {

    .uc-brand-bar-inner {
        padding: 0 16px;
    }

    .uc-wordmark {
        font-size: 0.7rem;
        letter-spacing: 0.08em;
    }

    .uc-phoenix {
        width: 24px;
        height: 20px;
    }

    .section {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-bg-alt);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 4px;
        transition: right var(--transition);
        border-left: 1px solid var(--color-border);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 1rem;
        padding: 12px 16px;
    }

    .hero {
        padding: 140px 20px 60px;
        min-height: auto;
    }

    .scroll-indicator {
        display: none;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .outreach-grid {
        grid-template-columns: 1fr;
    }

    .featured-pubs {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .news-feed {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pub-item {
        grid-template-columns: 40px 1fr auto;
        gap: 12px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {

    .uc-wordmark {
        font-size: 0.65rem;
    }

    .uc-phoenix {
        width: 20px;
        height: 17px;
    }

    .footer-uc-logo {
        width: 220px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .awards-grid {
        gap: 8px;
    }

    .award {
        flex-direction: column;
        gap: 2px;
    }
}

/* =================================================================
   EASTER EGG: FITNESS LANDSCAPE RUNNER
   ================================================================= */

/* DNA hint in footer */
.dna-hint {
    font-family: 'Courier New', monospace;
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.4);
    opacity: 0.3;
    margin-top: 8px;
    letter-spacing: 0.1em;
    cursor: default;
    user-select: none;
    transition: opacity 0.3s;
}
.dna-hint:hover {
    opacity: 0.6;
}

/* ACCESS GRANTED overlay */
.access-granted-overlay {
    position: fixed;
    inset: 0;
    z-index: 10001;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: accessFadeIn 0.3s ease-out;
}
.access-granted-text {
    font-family: 'Courier New', monospace;
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--color-success);
    letter-spacing: 0.2em;
    text-shadow: 0 0 20px rgba(13, 143, 101, 0.6), 0 0 60px rgba(13, 143, 101, 0.3);
    animation: accessPulse 0.5s ease-in-out 3;
}
.access-granted-sub {
    font-family: 'Courier New', monospace;
    font-size: clamp(0.7rem, 2vw, 1rem);
    color: var(--color-success);
    opacity: 0;
    letter-spacing: 0.3em;
    margin-top: 16px;
    animation: accessSubFadeIn 0.5s ease-out 0.8s forwards;
}

@keyframes accessFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes accessPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}
@keyframes accessSubFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 0.7; transform: translateY(0); }
}

/* Game overlay */
.game-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: #0d0d0d;
}
.game-overlay canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Game HUD */
.game-hud {
    position: absolute;
    top: max(20px, env(safe-area-inset-top, 20px));
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 1;
}
.game-hud-left, .game-hud-right {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.game-hud-right {
    align-items: flex-end;
}
.game-score, .game-fitness {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.15em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.game-stat {
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.12em;
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.game-stat span {
    font-weight: 700;
    transition: color 0.3s ease;
}

/* Game screens (start / game-over) */
.game-screen {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    background: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(4px);
}
.game-title {
    font-family: 'Courier New', monospace;
    font-size: clamp(1.2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #5a9fa6;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
    text-shadow: 0 0 30px rgba(90, 159, 166, 0.4);
    text-align: center;
}
.game-subtitle, .game-over-msg {
    font-family: 'Courier New', monospace;
    font-size: clamp(0.8rem, 2vw, 1rem);
    color: rgba(255,255,255,0.6);
    margin-bottom: 32px;
    text-align: center;
    padding: 0 20px;
}
.game-controls-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.1em;
    margin-bottom: 40px;
    text-align: center;
}
.game-btn {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    padding: 14px 40px;
    background: #800000;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    margin: 6px;
}
.game-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(128,0,0,0.5);
}
.game-btn-secondary {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
}
.game-btn-secondary:hover {
    box-shadow: 0 4px 20px rgba(255,255,255,0.1);
}
.game-final-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 32px;
    margin-bottom: 32px;
    text-align: center;
}
.game-final-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.game-final-label {
    font-family: 'Courier New', monospace;
    font-size: 0.65rem;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.2em;
    margin-bottom: 6px;
}
.game-final-number {
    font-family: 'Courier New', monospace;
    font-size: 2.2rem;
    font-weight: 700;
    color: #a07d1e;
    text-shadow: 0 0 20px rgba(160, 125, 30, 0.5);
}
.game-final-small {
    font-size: 1.4rem;
    color: #5a9fa6;
    text-shadow: 0 0 15px rgba(90, 159, 166, 0.4);
}
