@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

/* Campus Sports Management System - GCUF inspired theme */

:root {
    --font-body: 'Manrope', 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
    --gcuf-maroon: #ff6b57;
    --gcuf-maroon-deep: #bf4455;
    --gcuf-blue: #4f8cff;
    --gcuf-blue-deep: #081628;
    --gcuf-blue-soft: #8bd7ff;
    --gcuf-gold: #ffd166;
    --gcuf-cream: #f3f7ff;
    --gcuf-paper: #eef6ff;
    --gcuf-surface: #111d34;
    --gcuf-ink: #eef6ff;
    --gcuf-muted: #9abbda;
    --gcuf-border: rgba(79, 140, 255, 0.25);
    --gcuf-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    --gcuf-shadow-strong: 0 32px 90px rgba(0, 0, 0, 0.34);
    --primary: var(--gcuf-blue);
    --secondary: var(--gcuf-blue-soft);
    --success: #2d8b63;
    --danger: #b23a4f;
    --warning: #c58f2c;
    --light: var(--gcuf-cream);
    --dark: var(--gcuf-blue-deep);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.65;
    color: var(--gcuf-ink);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 20% 18%, rgba(139, 215, 255, 0.16), transparent 22%),
        radial-gradient(circle at 85% 10%, rgba(79, 140, 255, 0.12), transparent 18%),
        linear-gradient(180deg, #06101f 0%, #0b1c34 42%, #09172c 100%);
}

main {
    flex: 1 0 auto;
}


body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 84px 84px;
    opacity: 0.16;
    -webkit-mask-image: linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 88%);
    mask-image: linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 88%);
}

a {
    color: var(--gcuf-blue-soft);
    transition: color 0.25s ease;
}

a:hover {
    color: var(--gcuf-blue);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    color: var(--gcuf-paper);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.navbar {
    background: rgba(5, 13, 29, 0.94) !important;
    border-bottom: 1px solid rgba(139, 215, 255, 0.12);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(16px);
}

.navbar-brand {
    font-weight: 700;
    color: var(--gcuf-paper);
}

.brand-mark {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    text-decoration: none;
}

.brand-crest {
    width: 48px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(79, 140, 255, 0.16), rgba(255, 255, 255, 0.72));
    border: 1px solid rgba(79, 140, 255, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.brand-crest img {
    width: 34px;
    height: auto;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
}

.brand-copy small {
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(15, 23, 42, 0.6);
}

.brand-copy strong {
    font-family: var(--font-display);
    font-size: 1.45rem;
    line-height: 1;
    color: var(--gcuf-ink);
}

.navbar-toggler {
    border-color: rgba(15, 23, 42, 0.18);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(79, 140, 255, 0.18);
}

.nav-link {
    position: relative;
    margin: 0 0.1rem;
    padding: 0.85rem 1rem !important;
    border-radius: 999px;
    font-weight: 600;
    color: rgba(238, 246, 255, 0.92) !important;
    transition: color 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
}

.nav-link::before {
    content: "";
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.38rem;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(139, 215, 255, 0.95), rgba(79, 140, 255, 0.95));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gcuf-paper) !important;
    background: rgba(79, 140, 255, 0.16);
    transform: translateY(-1px);
}

.nav-link:hover::before,
.nav-link.active::before {
    transform: scaleX(1);
}

.dropdown-menu {
    border: 1px solid rgba(17, 43, 89, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 50px rgba(17, 43, 89, 0.16);
    overflow: hidden;
    -webkit-backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

.dropdown-item {
    font-weight: 600;
    color: var(--gcuf-ink);
}

.dropdown-item:hover {
    background: rgba(47, 99, 182, 0.08);
    color: var(--gcuf-blue-deep);
}

#userMenu .nav-link.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: linear-gradient(135deg, rgba(124, 224, 255, 0.16), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(124, 224, 255, 0.16);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

#userMenu .nav-link.dropdown-toggle:hover,
#userMenu .nav-link.dropdown-toggle:focus {
    background: linear-gradient(135deg, rgba(124, 224, 255, 0.22), rgba(255, 255, 255, 0.12));
}

#userMenu .nav-link.dropdown-toggle::before {
    left: 1rem;
    right: 1rem;
}

#userName {
    color: var(--gcuf-blue-soft);
    font-weight: 800;
    letter-spacing: 0.01em;
}

#userMenu .nav-link.dropdown-toggle:hover #userName,
#userMenu .nav-link.dropdown-toggle:focus #userName {
    color: #ffffff;
}

.btn {
    border-radius: 18px;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary,
.bg-primary {
    background: linear-gradient(135deg, var(--gcuf-blue-deep) 0%, var(--gcuf-blue) 48%, var(--gcuf-maroon) 100%) !important;
    border-color: transparent !important;
    color: #ffffff !important;
}

.btn-primary {
    position: relative;
    overflow: hidden;
    padding: 0.95rem 1.6rem;
    box-shadow: 0 20px 42px rgba(22, 70, 153, 0.24);
}

.btn-primary::before {
    content: "";
    position: absolute;
    inset: -140% 40% auto -20%;
    height: 220%;
    transform: rotate(22deg);
    background: rgba(255, 255, 255, 0.18);
    transition: transform 0.5s ease;
}

.btn-primary:hover::before {
    transform: rotate(22deg) translateX(130%);
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.42);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.btn-outline-light:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.58);
    box-shadow: 0 18px 35px rgba(12, 23, 45, 0.2);
}

.btn-outline-primary {
    border: 1px solid rgba(139, 215, 255, 0.22);
    color: var(--gcuf-paper);
    background: rgba(79, 140, 255, 0.1);
}

.btn-outline-primary:hover {
    background: rgba(79, 140, 255, 0.24);
    color: #ffffff;
    border-color: rgba(139, 215, 255, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, #7f8aa6, #5a6789);
    border: none;
    color: #ffffff;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #6d7895, #4d5978);
}

.btn-success {
    background: linear-gradient(135deg, #1e8260, #39a17d);
    border: none;
}

.btn-success:hover {
    background: linear-gradient(135deg, #1b7d58, #2f976b);
}

.hero {
    position: relative;
    padding: 4.5rem 0;
    background: linear-gradient(135deg, #061223 0%, #091b32 100%);
    border-radius: 32px;
    border: 1px solid rgba(79, 140, 255, 0.14);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(79, 140, 255, 0.12), transparent 22%),
                radial-gradient(circle at 85% 10%, rgba(139, 215, 255, 0.08), transparent 18%);
    opacity: 0.7;
    pointer-events: none;
}

.hero-heading {
    font-size: clamp(2.7rem, 5vw, 3.8rem);
    line-height: 1.05;
    color: var(--gcuf-paper);
    max-width: 11ch;
}

.hero-copy {
    margin-top: 1.5rem;
    color: var(--gcuf-muted);
    max-width: 34rem;
    font-size: 1.05rem;
}

.hero-tags {
    margin-top: 1.75rem;
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 0.95rem;
    border-radius: 999px;
    background: rgba(15, 28, 48, 0.88);
    border: 1px solid rgba(79, 140, 255, 0.30);
    color: var(--gcuf-blue-soft);
    font-size: 0.85rem;
    font-weight: 600;
}

.hero-preview-card,
.panel-card,
.section-card,
.feature-card,
.event-card {
    background: rgba(8, 18, 33, 0.92);
    border: 1px solid rgba(79, 140, 255, 0.14);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.hero-preview-card {
    border-radius: 28px;
}

.panel-card,
.section-card {
    border-radius: 28px;
}

.feature-card,
.event-card {
    border-radius: 22px;
}

.stat-card {
    border-radius: 22px;
    background: rgba(20, 50, 85, 0.92);
    border: 1px solid rgba(79, 140, 255, 0.22);
    min-height: 120px;
}

.stat-card span,
.feature-card span {
    display: block;
    color: var(--gcuf-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
}

.stat-card strong,
.feature-card strong {
    display: block;
    font-size: 1.35rem;
    color: var(--gcuf-paper);
}

.event-card {
    min-height: 120px;
    padding: 1.25rem;
}

.event-card p {
    margin: 0;
    color: var(--gcuf-muted);
}

.section-card h3,
.feature-card h3 {
    margin-top: 1rem;
    margin-bottom: 0.75rem;
    color: var(--gcuf-paper);
}

.section-card p,
.feature-card p {
    color: var(--gcuf-muted);
}

.icon-list {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 0.95rem;
    border-radius: 999px;
    background: rgba(79, 140, 255, 0.1);
    border: 1px solid rgba(79, 140, 255, 0.2);
    color: var(--gcuf-ink);
    font-size: 0.85rem;
    font-weight: 600;
}

/* ── Dark-theme card overrides (replaces white-bg duplicate) ── */
.hero-preview-card,
.panel-card,
.section-card,
.feature-card,
.event-card {
    background: rgba(10, 20, 40, 0.92);
    border: 1px solid rgba(79, 140, 255, 0.18);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.hero-preview-card {
    border-radius: 28px;
}

.panel-card,
.section-card {
    border-radius: 28px;
}

.feature-card,
.event-card {
    border-radius: 22px;
}

.stat-card {
    border-radius: 22px;
    background: rgba(20, 45, 85, 0.95);
    border: 1px solid rgba(79, 140, 255, 0.25);
    min-height: 120px;
}

.stat-card span,
.feature-card span {
    display: block;
    color: var(--gcuf-blue-soft);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-card strong,
.feature-card strong {
    display: block;
    font-size: 1.55rem;
    font-weight: 800;
    color: #ffffff;
}

.event-card {
    min-height: 120px;
    padding: 1.25rem;
}

.event-card p {
    margin: 0;
    color: var(--gcuf-muted);
}

.section-card h3,
.feature-card h3 {
    margin-top: 1rem;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.section-card p,
.feature-card p {
    color: var(--gcuf-muted);
}

/* Panel card body text readable on dark surface */
.panel-card,
.section-card {
    color: var(--gcuf-ink);
}

.icon-list {
    list-style: none;
    padding-left: 0;
}

.icon-list li {
    margin-bottom: 0.9rem;
    padding-left: 1.4rem;
    position: relative;
    color: var(--gcuf-ink);
}

.icon-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gcuf-blue);
    font-size: 1.3rem;
    line-height: 0.8;
}

/* Removed duplicate map-card */


@media (max-width: 767px) {
    .hero {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: clamp(5rem, 8vw, 7.5rem) 0;
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(10, 24, 48, 0.96), rgba(10, 24, 48, 0.82)), url('../assets/placeholders/event-default.svg') center/cover no-repeat;
    background-blend-mode: overlay;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 18%, rgba(124, 224, 255, 0.18), transparent 26%),
        radial-gradient(circle at 82% 15%, rgba(255, 107, 87, 0.20), transparent 18%),
        linear-gradient(115deg, rgba(255, 255, 255, 0.08) 0 14%, transparent 14% 22%, rgba(255, 255, 255, 0.05) 22% 32%, transparent 32% 100%);
    mix-blend-mode: screen;
    opacity: 0.95;
}

.homepage-hero {
    position: relative;
    overflow: hidden;
    padding: 5rem 0 6rem;
    background: linear-gradient(180deg, #08111f 0%, #0d1f41 22%, #102956 58%, #0b1933 100%);
}

.homepage-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 14% 16%, rgba(124, 224, 255, 0.20), transparent 24%),
        radial-gradient(circle at 92% 18%, rgba(255, 107, 87, 0.14), transparent 20%),
        linear-gradient(45deg, rgba(255, 255, 255, 0.06), transparent 28% 30%, rgba(255, 255, 255, 0.04));
    mix-blend-mode: screen;
    opacity: 0.9;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(157, 206, 255, 0.92);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-heading {
    margin-top: 1.3rem;
    font-size: clamp(3.4rem, 5vw, 4.6rem);
    line-height: 0.98;
    color: #ffffff;
    max-width: 12ch;
}

.hero-copy {
    margin-top: 1.5rem;
    max-width: 46rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
}

.hero-tags {
    margin-top: 1.5rem;
}

.tag-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.72rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.85rem;
    font-weight: 600;
}

.hero-panel {
    position: relative;
    min-height: 100%;
    border-radius: 32px;
    padding: 1.75rem;
    background: rgba(8, 18, 44, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
}

.hero-panel .section-kicker-alt {
    display: inline-flex;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.stat-panel {
    border-radius: 24px;
    padding: 1rem 1.1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.stat-panel span {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.stat-panel strong {
    display: block;
    margin-top: 0.35rem;
    font-size: 1.35rem;
    color: #ffffff;
}

.info-block,
.info-panel {
    border-radius: 28px;
    padding: 1.1rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.info-panel {
    background: rgba(255, 255, 255, 0.06);
}

.mini-panel {
    border-radius: 22px;
    padding: 0.95rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.content-chip-row {
    justify-content: center;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 0.85rem 1.15rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f4f8ff;
    font-weight: 700;
    font-size: 0.9rem;
}

.module-card {
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid rgba(17, 43, 89, 0.08);
    box-shadow: var(--gcuf-shadow);
}

.module-card h3 {
    margin-top: 0.75rem;
    font-size: 1.2rem;
}

.module-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 18px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--gcuf-blue), var(--gcuf-maroon));
    font-weight: 800;
    margin-bottom: 1rem;
}

.map-card {
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.94));
    border: 1px solid rgba(17, 43, 89, 0.08);
    box-shadow: var(--gcuf-shadow);
}

.map-item {
    border-radius: 24px;
    padding: 1rem 1.1rem;
    background: rgba(8, 28, 62, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.09);
}

.icon-list {
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.9rem;
}

.icon-list li {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 1rem 1.1rem;
    color: var(--gcuf-ink);
    box-shadow: var(--gcuf-shadow);
}

@media (max-width: 991px) {
    .homepage-hero {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .hero-heading {
        max-width: 100%;
        font-size: clamp(2.8rem, 7vw, 4rem);
    }
}

/* ── Footer Styles ── */
.site-footer {
    flex-shrink: 0;
    padding: 3rem 0;
}

.site-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
    text-align: left;
}

.site-footer-column h5 {
    color: var(--gcuf-paper);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.site-footer-column h5::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: var(--gcuf-blue);
}

.site-footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.site-footer-links a {
    color: var(--gcuf-muted);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.25s ease;
}

.site-footer-links a:hover {
    color: var(--gcuf-blue-soft);
    padding-left: 5px;
}


@media (max-width: 768px) {
    .hero-copy {
        max-width: 100%;
    }

    .hero-panel {
        padding: 1.3rem;
    }

    .content-chip-row {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    max-width: 58ch;
}

.hero-copy {
    max-width: 44rem;
    margin: 0 auto;
}

.hero-section .section-kicker {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.92);
}

.hero-buttons {
    gap: 1rem;
    margin-top: 2rem;
}

.hero-visual {
    max-width: 360px;
    min-width: 280px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-visual img {
    display: block;
    width: 100%;
    height: auto;
}

.panel-card {
    border-radius: 28px;
    border: 1px solid rgba(79, 140, 255, 0.22);
    background: rgba(10, 22, 44, 0.94);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
    min-height: 100%;
    color: #e8f1ff;
}

.panel-card .section-kicker {
    margin-bottom: 1rem;
}

@media (max-width: 991px) {
    .hero-section {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }

    .hero-copy,
    .hero-title {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-section {
        background-position: top center;
        min-height: auto;
        padding: 3.5rem 0;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        max-width: 260px;
    }
}

.hero-kicker,
.section-kicker,
.page-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 247, 234, 0.96);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-kicker,
.page-kicker {
    background: rgba(79, 140, 255, 0.15);
    border-color: rgba(139, 215, 255, 0.25);
    color: var(--gcuf-blue-soft);
}

.hero-copy h1 {
    margin-top: 1.25rem;
    font-size: clamp(3.25rem, 7vw, 5.5rem);
    line-height: 0.95;
    color: #ffffff;
    max-width: 11ch;
}

.hero-copy .lead {
    max-width: 34rem;
    margin-top: 1.15rem;
    font-size: 1.15rem;
    color: rgba(255, 248, 237, 0.9);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
    max-width: 42rem;
}

.highlight-card {
    padding: 1rem 1.1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
    -webkit-backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.highlight-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 34px rgba(8, 18, 37, 0.18);
}

.highlight-card span {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 247, 234, 0.78);
}

.highlight-card strong {
    display: block;
    margin-top: 0.25rem;
    font-size: 1.25rem;
    color: #ffffff;
}

.showcase-card {
    position: relative;
    margin-left: auto;
    max-width: 30rem;
    padding: 1.6rem;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--gcuf-shadow-strong);
    -webkit-backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    transform-style: preserve-3d;
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.showcase-card:hover {
    transform: translateY(-8px) rotateX(5deg) rotateY(-5deg);
}

.showcase-card::after {
    content: "";
    position: absolute;
    inset: auto -14% -20% auto;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240, 192, 90, 0.34), transparent 62%);
}

.showcase-top {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hero-crest {
    width: 84px;
    height: auto;
    filter: drop-shadow(0 16px 28px rgba(8, 18, 38, 0.25));
}

.showcase-label {
    margin-bottom: 0.15rem;
    color: rgba(255, 248, 237, 0.8);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.showcase-card h2 {
    margin: 0;
    color: #ffffff;
    font-size: 2.15rem;
}

.showcase-card > p {
    margin-top: 1rem;
    color: rgba(255, 248, 237, 0.86);
}

.showcase-stack {
    display: grid;
    gap: 1rem;
    margin-top: 1.4rem;
}

.showcase-stat {
    padding: 1rem 1.1rem;
    border-radius: 22px;
    background: rgba(10, 20, 40, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.showcase-stat span {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: rgba(255, 247, 234, 0.76);
}

.showcase-stat strong {
    display: block;
    margin-top: 0.35rem;
    color: #ffffff;
    font-size: 1.1rem;
}

.showcase-stat small {
    display: block;
    margin-top: 0.4rem;
    color: rgba(255, 248, 237, 0.72);
}

.section-heading {
    max-width: 42rem;
    margin-bottom: 3rem;
}

.section-heading h2 {
    font-size: clamp(2.5rem, 6vw, 3.6rem);
    margin-top: 0.9rem;
}

.section-heading p {
    color: var(--gcuf-muted);
    font-size: 1.04rem;
    margin-top: 0.65rem;
}

.feature-card {
    position: relative;
    overflow: hidden;
    border: none;
    border-radius: 26px;
    box-shadow: var(--gcuf-shadow);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 251, 244, 0.9));
    transition: transform 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
    transform-style: preserve-3d;
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 6px;
    background: linear-gradient(90deg, var(--gcuf-blue), var(--gcuf-gold), var(--gcuf-maroon));
}

.feature-card:hover {
    transform: translateY(-12px) rotateX(5deg);
    box-shadow: var(--gcuf-shadow-strong);
}

.feature-icon {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(47, 99, 182, 0.16), rgba(127, 40, 69, 0.18));
    border: 1px solid rgba(47, 99, 182, 0.12);
    color: var(--gcuf-blue-deep);
    font-size: 1.2rem;
    font-weight: 700;
}

.feature-card h5 {
    margin-top: 1.2rem;
    color: var(--gcuf-ink);
    font-size: 1.8rem;
}

.feature-card p {
    margin-top: 0.55rem;
    color: var(--gcuf-muted);
    font-size: 1rem;
}

.event-card {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 249, 241, 0.92));
    border: 1px solid var(--gcuf-border);
    box-shadow: var(--gcuf-shadow);
    transition: transform 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
    transform-style: preserve-3d;
}

.event-card::after {
    content: "";
    position: absolute;
    inset: auto -20% -35% auto;
    width: 170px;
    height: 170px;
    background: radial-gradient(circle, rgba(100, 179, 231, 0.22), transparent 60%);
    pointer-events: none;
}

.event-card:hover {
    transform: translateY(-12px) rotateX(4deg) rotateY(-4deg);
    box-shadow: var(--gcuf-shadow-strong);
    border-color: rgba(127, 40, 69, 0.18);
}

.event-card .event-header {
    position: relative;
    padding: 1.2rem 1.25rem 1.05rem;
    background: linear-gradient(135deg, var(--gcuf-blue-deep), var(--gcuf-blue) 45%, var(--gcuf-maroon));
    color: #ffffff;
}

.event-card .event-header::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.22);
}

.event-card .event-header h5 {
    color: #ffffff;
    font-size: 1.45rem;
    line-height: 1.1;
}

.event-card .event-body {
    padding: 1.25rem;
}

.event-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.event-meta span {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gcuf-muted);
}

.event-meta strong {
    display: block;
    margin-top: 0.2rem;
    color: var(--gcuf-blue-deep);
    font-size: 1rem;
}

.event-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.42rem 0.85rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.event-status.upcoming {
    background: rgba(45, 139, 99, 0.12);
    color: #1e6b4e;
}

.event-status.ongoing {
    background: rgba(197, 143, 44, 0.14);
    color: #8b6218;
}

.event-status.completed {
    background: rgba(47, 99, 182, 0.12);
    color: var(--gcuf-blue-deep);
}

.event-status.cancelled {
    background: rgba(178, 58, 79, 0.12);
    color: #87263a;
}

.event-date {
    display: inline-block;
    margin-bottom: 0.8rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.card {
    border: none;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 251, 244, 0.9));
    box-shadow: var(--gcuf-shadow);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--gcuf-shadow-strong);
}

.form-control,
.form-select {
    min-height: 3.2rem;
    border-radius: 18px;
    border: 1px solid rgba(17, 43, 89, 0.12);
    background: rgba(255, 255, 255, 0.92);
    padding: 0.9rem 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(47, 99, 182, 0.55);
    box-shadow: 0 0 0 0.25rem rgba(47, 99, 182, 0.12), 0 16px 30px rgba(47, 99, 182, 0.08);
}

.form-label {
    margin-bottom: 0.45rem;
    font-weight: 700;
    color: var(--gcuf-ink);
}

.table-responsive {
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--gcuf-border);
    box-shadow: var(--gcuf-shadow);
    overflow: hidden;
}

.table {
    margin-bottom: 0;
    background: transparent;
}

.table thead {
    background: linear-gradient(90deg, rgba(47, 99, 182, 0.1), rgba(127, 40, 69, 0.1));
    border-bottom: 1px solid rgba(17, 43, 89, 0.08);
}

.table thead th {
    border-bottom: none;
    color: var(--gcuf-muted);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.table tbody tr {
    border-bottom: 1px solid rgba(17, 43, 89, 0.06);
}

.table tbody tr:hover {
    background: rgba(47, 99, 182, 0.05);
}

.list-group {
    gap: 0.85rem;
}

.list-group-item {
    border: none;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--gcuf-shadow);
    color: var(--gcuf-ink);
    font-weight: 700;
}

.list-group-item:hover {
    transform: translateY(-2px);
}

.list-group-item.active {
    background: linear-gradient(135deg, var(--gcuf-blue-deep), var(--gcuf-blue) 48%, var(--gcuf-maroon));
    color: #ffffff;
}

.modal-content {
    border: none;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 251, 244, 0.94));
    box-shadow: var(--gcuf-shadow-strong);
}

.modal-header {
    border-bottom: 1px solid rgba(17, 43, 89, 0.08);
    background: linear-gradient(90deg, rgba(47, 99, 182, 0.08), rgba(127, 40, 69, 0.08));
}

.modal-header .btn-close {
    color: var(--gcuf-ink);
}

.alert {
    border: none;
    border-radius: 18px;
    font-weight: 600;
    box-shadow: 0 14px 28px rgba(17, 43, 89, 0.08);
}

.alert-success {
    background: rgba(45, 139, 99, 0.12);
    color: #1f6f50;
}

.alert-danger {
    background: rgba(178, 58, 79, 0.12);
    color: #87263a;
}

.alert-warning {
    background: rgba(197, 143, 44, 0.16);
    color: #7f5611;
}

.alert-info {
    background: rgba(47, 99, 182, 0.12);
    color: var(--gcuf-blue-deep);
}

.spinner-border {
    color: var(--gcuf-maroon);
}

footer {
    margin-top: auto;
    border-top: none;
    background: linear-gradient(135deg, #0f1f38, #1f3766 55%, #5b1e35) !important;
    color: #ffffff;
}

.text-muted {
    color: var(--gcuf-muted) !important;
}

.shadow-sm {
    box-shadow: var(--gcuf-shadow) !important;
}

.rounded-lg {
    border-radius: 18px;
}

.transition-all {
    transition: all 0.3s ease;
}

.empty-state {
    text-align: center;
    padding: 4rem 1.5rem;
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.empty-state h3,
.empty-state h5 {
    color: var(--gcuf-ink);
    font-size: 2rem;
}

.empty-state p {
    color: var(--gcuf-muted);
}

.page-title {
    margin-top: 0.9rem;
    font-size: clamp(2.4rem, 6vw, 3.6rem);
}

.auth-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(100, 179, 231, 0.28), transparent 28%),
        radial-gradient(circle at top right, rgba(127, 40, 69, 0.22), transparent 34%),
        linear-gradient(180deg, #f6fbff 0%, #f8efe3 100%);
}

.auth-stage {
    min-height: calc(100vh - 92px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem 3rem;
}

.app-sidebar-stack {
    position: sticky;
    top: 1.5rem;
    max-height: calc(100vh - 4.5rem);
    overflow-y: auto;
}

.auth-shell {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    border-radius: 36px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.16);
    box-shadow: var(--gcuf-shadow-strong);
    -webkit-backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.auth-shell--wide {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.auth-brand-panel {
    position: relative;
    padding: clamp(2rem, 4vw, 3rem);
    overflow: hidden;
    background: linear-gradient(135deg, rgba(17, 43, 89, 0.98) 0%, rgba(47, 99, 182, 0.95) 52%, rgba(127, 40, 69, 0.93) 100%);
    color: #ffffff;
}

.auth-brand-panel::before {
    content: "";
    position: absolute;
    inset: -20% auto auto -12%;
    width: 70%;
    height: 140%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent);
    transform: skewX(-18deg);
}

.auth-brand-panel::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -80px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 65%);
}

.auth-brand-top,
.auth-register-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.auth-crest {
    width: 110px;
    height: auto;
    flex-shrink: 0;
    filter: drop-shadow(0 14px 30px rgba(10, 18, 34, 0.24));
}

.auth-motto {
    margin-bottom: 0.35rem;
    font-size: 0.8rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 244, 218, 0.82);
}

.auth-brand-panel h1 {
    margin: 0;
    font-size: clamp(4rem, 9vw, 5.75rem);
    line-height: 0.85;
    color: #ffffff;
}

.auth-subtitle {
    font-size: 1.15rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
}

.auth-description {
    position: relative;
    z-index: 1;
    max-width: 36rem;
    margin-top: 2rem;
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.86);
}

.auth-highlights {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.auth-highlight {
    padding: 1rem 1.1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    -webkit-backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.auth-highlight-value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.9rem;
    line-height: 1;
    color: var(--gcuf-cream);
}

.auth-highlight p {
    margin: 0.4rem 0 0;
    color: rgba(255, 255, 255, 0.78);
}

.auth-form-panel {
    position: relative;
    padding: clamp(2rem, 4vw, 3.25rem);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 242, 0.94));
}

.auth-form-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(100, 179, 231, 0.18), transparent 28%),
        radial-gradient(circle at 20% 45%, rgba(127, 40, 69, 0.08), transparent 30%);
    pointer-events: none;
}

.auth-form-card {
    position: relative;
    z-index: 1;
    height: 100%;
    padding: clamp(1.25rem, 3vw, 1.75rem);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 18px 40px rgba(17, 43, 89, 0.08);
}

.auth-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: rgba(47, 99, 182, 0.1);
    color: var(--gcuf-blue-deep);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.auth-form-card h2 {
    margin: 1rem 0 0.5rem;
    font-size: 3rem;
}

.auth-form-copy {
    max-width: 28rem;
    margin-bottom: 1.5rem;
    color: var(--gcuf-muted);
}

.auth-helper,
.auth-footer-note {
    color: var(--gcuf-muted);
    font-size: 0.92rem;
}

.auth-submit {
    min-height: 3.4rem;
}

.auth-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.auth-links .btn {
    flex: 1 1 220px;
}

.auth-footer-note {
    margin-top: 1.25rem;
}

.auth-mini-link {
    color: var(--gcuf-maroon);
    text-decoration: none;
    font-weight: 700;
}

.auth-access-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.access-toggle {
    min-height: 3.15rem;
    border-radius: 18px;
    border: 1px solid rgba(17, 43, 89, 0.12);
    background: rgba(255, 255, 255, 0.76);
    color: var(--gcuf-blue-deep);
}

.access-toggle.is-active,
.access-toggle:hover {
    background: linear-gradient(135deg, var(--gcuf-blue-deep), var(--gcuf-maroon));
    border-color: transparent;
    color: #ffffff;
}

.page-hero {
    max-width: 56rem;
}

.panel-card {
    padding: 1.5rem;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 250, 242, 0.9));
    border: 1px solid rgba(17, 43, 89, 0.08);
    box-shadow: var(--gcuf-shadow);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.panel-card--compact {
    padding: 1.15rem;
}

.panel-card:hover {
    transform: translateY(-6px);
    border-color: rgba(79, 140, 255, 0.18);
    box-shadow: var(--gcuf-shadow-strong);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.dashboard-stat {
    padding: 1.35rem 1.4rem;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(17, 43, 89, 0.92), rgba(47, 99, 182, 0.88) 56%, rgba(127, 40, 69, 0.9));
    color: #ffffff;
    box-shadow: var(--gcuf-shadow);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.dashboard-stat span {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 247, 234, 0.8);
}

.dashboard-stat strong {
    display: block;
    margin-top: 0.45rem;
    font-family: var(--font-display);
    font-size: 2.35rem;
    line-height: 1;
}

.dashboard-stat:hover {
    transform: translateY(-7px);
    box-shadow: 0 30px 70px rgba(10, 24, 48, 0.24);
}

.event-cover {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(17, 43, 89, 0.9), rgba(47, 99, 182, 0.72), rgba(127, 40, 69, 0.85));
}

.event-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(11, 22, 45, 0.22) 100%);
}

.event-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.event-cover--compact {
    aspect-ratio: 16 / 8;
}

.event-card--featured .event-cover {
    aspect-ratio: 16 / 9;
}

.table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.event-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 1.5rem;
    align-items: stretch;
}

.event-detail-media {
    border-radius: 30px;
    overflow: hidden;
    min-height: 320px;
    background: linear-gradient(135deg, rgba(17, 43, 89, 0.92), rgba(47, 99, 182, 0.82), rgba(127, 40, 69, 0.9));
    box-shadow: var(--gcuf-shadow-strong);
}

.event-detail-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.event-detail-copy {
    padding: 1.6rem;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(17, 43, 89, 0.08);
    box-shadow: var(--gcuf-shadow);
}

.image-preview-shell {
    border-radius: 24px;
    overflow: hidden;
    min-height: 200px;
    background: linear-gradient(135deg, rgba(17, 43, 89, 0.92), rgba(47, 99, 182, 0.82), rgba(127, 40, 69, 0.9));
    border: 1px solid rgba(17, 43, 89, 0.08);
}

.image-preview-shell img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    display: block;
}

.quick-links {
    display: grid;
    gap: 1rem;
}

.quick-link-card {
    display: block;
    padding: 1.05rem 1.15rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(17, 43, 89, 0.08);
    box-shadow: var(--gcuf-shadow);
    text-decoration: none;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.quick-link-card strong {
    display: block;
    color: var(--gcuf-blue-deep);
    font-size: 1.1rem;
}

.quick-link-card span {
    display: block;
    margin-top: 0.35rem;
    color: var(--gcuf-muted);
}

.quick-link-card:hover {
    transform: translateY(-7px);
    border-color: rgba(79, 140, 255, 0.18);
    box-shadow: var(--gcuf-shadow-strong);
}

.quick-link-card:hover strong {
    color: var(--gcuf-blue);
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.profile-item {
    padding: 1rem 1.05rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(17, 43, 89, 0.08);
}

.profile-item span {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gcuf-muted);
}

.profile-item strong {
    display: block;
    margin-top: 0.35rem;
    color: var(--gcuf-blue-deep);
    font-size: 1.1rem;
}

.site-bridge-section {
    padding: 4rem 0 1rem;
}

.site-bridge-heading {
    margin-bottom: 2rem;
}

.site-bridge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.site-bridge-card {
    padding: 1.4rem;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 242, 0.92));
    border: 1px solid rgba(17, 43, 89, 0.08);
    box-shadow: var(--gcuf-shadow);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.site-bridge-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.85rem;
}

.site-bridge-card:hover {
    transform: translateY(-8px);
    border-color: rgba(79, 140, 255, 0.18);
    box-shadow: var(--gcuf-shadow-strong);
}

.site-bridge-card p {
    color: var(--gcuf-muted);
    margin-bottom: 1rem;
    min-height: 4.8rem;
}

.site-footer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: left;
}

.site-footer-column h5 {
    color: #ffffff;
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
}

.site-footer-links {
    display: grid;
    gap: 0.5rem;
}

.site-footer-links a {
    color: rgba(255, 247, 234, 0.84);
    text-decoration: none;
    font-weight: 600;
}

.site-footer-links a:hover {
    color: #ffffff;
}

.directory-hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
    gap: 1.25rem;
    align-items: stretch;
    padding: 1.5rem;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(10, 24, 48, 0.98), rgba(29, 68, 130, 0.92) 54%, rgba(255, 107, 87, 0.86));
    box-shadow: var(--gcuf-shadow-strong);
    color: #ffffff;
}

.directory-hero-panel .page-title,
.directory-hero-panel .text-muted {
    color: #ffffff !important;
}

.directory-hero-side {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.directory-mini-stat {
    padding: 1.1rem 1.2rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
    -webkit-backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
}

.directory-mini-stat span {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 247, 234, 0.78);
    font-weight: 700;
}

.directory-mini-stat strong {
    display: block;
    margin-top: 0.4rem;
    font-family: var(--font-display);
    font-size: 2.6rem;
    line-height: 1;
}

.directory-admin-cta {
    width: 100%;
}

.directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
}

.directory-card {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 255, 0.92));
    border: 1px solid rgba(79, 140, 255, 0.14);
    box-shadow: var(--gcuf-shadow);
    transform-style: preserve-3d;
    transition: transform 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
}

.directory-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 14% 18%, rgba(124, 224, 255, 0.16), transparent 24%),
        radial-gradient(circle at 86% 82%, rgba(255, 107, 87, 0.14), transparent 20%);
    pointer-events: none;
}

.directory-card:hover {
    transform: perspective(1200px) translateY(-12px) rotateX(7deg) rotateY(-8deg);
    border-color: rgba(79, 140, 255, 0.24);
    box-shadow: 0 36px 90px rgba(10, 24, 48, 0.22);
}

.directory-card-media {
    position: relative;
    aspect-ratio: 4 / 4.7;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(10, 24, 48, 0.94), rgba(79, 140, 255, 0.8), rgba(255, 107, 87, 0.82));
}

.directory-card-media::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 40%;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 24, 48, 0.58) 100%);
}

.directory-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: transform 0.4s ease;
}

.directory-card:hover .directory-card-media img {
    transform: scale(1.08);
}

.directory-role-chip {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1;
    display: inline-flex;
    width: fit-content;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.16);
    -webkit-backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: 0.74rem;
}

.directory-card-body {
    position: relative;
    z-index: 1;
    padding: 1.3rem;
}

.directory-eyebrow {
    margin-bottom: 0.55rem;
    color: var(--gcuf-blue);
    font-size: 0.76rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 800;
}

.directory-card h3 {
    margin: 0;
    font-size: 2rem;
}

.directory-headline {
    margin-top: 0.55rem;
    color: var(--gcuf-ink);
    font-weight: 700;
}

.directory-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
    margin-top: 0.95rem;
}

.directory-meta span,
.directory-meta a {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(79, 140, 255, 0.08);
    color: var(--gcuf-blue-deep);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
}

.directory-bio {
    margin-top: 1rem;
    color: var(--gcuf-muted);
}

.directory-empty {
    padding: 2rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px dashed rgba(79, 140, 255, 0.24);
    text-align: center;
    color: var(--gcuf-muted);
}

.directory-management-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.25rem;
}

.admin-directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.admin-directory-card {
    padding: 1rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(79, 140, 255, 0.12);
    box-shadow: var(--gcuf-shadow);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.admin-directory-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--gcuf-shadow-strong);
}

.admin-directory-top {
    display: flex;
    align-items: center;
    gap: 0.95rem;
}

.admin-directory-top img {
    width: 78px;
    height: 78px;
    border-radius: 24px;
    object-fit: cover;
    background: linear-gradient(135deg, rgba(10, 24, 48, 0.92), rgba(79, 140, 255, 0.76), rgba(255, 107, 87, 0.82));
}

.admin-directory-top h4 {
    margin: 0.1rem 0 0;
    font-size: 1.4rem;
}

.admin-directory-top p,
.admin-directory-copy {
    margin: 0.3rem 0 0;
    color: var(--gcuf-muted);
}

.admin-directory-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.9rem;
}

.admin-directory-meta span {
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(79, 140, 255, 0.08);
    color: var(--gcuf-blue-deep);
    font-size: 0.8rem;
    font-weight: 700;
}

.ai-signal-band {
    position: relative;
    margin-top: -3rem;
    padding: 0 0 2rem;
    z-index: 2;
}

.ai-signal-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.ai-signal-card {
    padding: 1.35rem 1.4rem;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.34);
    box-shadow: var(--gcuf-shadow-strong);
    -webkit-backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.ai-signal-card span,
.ai-command-tag,
.chatbot-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(47, 99, 182, 0.08);
    color: var(--gcuf-blue-deep);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ai-signal-card strong {
    display: block;
    margin-top: 0.8rem;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1;
    color: var(--gcuf-ink);
}

.ai-signal-card p,
.ai-command-card p,
.assistant-preview-copy p {
    margin-top: 0.65rem;
    color: var(--gcuf-muted);
}

.ai-command-section {
    position: relative;
}

.ai-command-section::before {
    content: "";
    position: absolute;
    inset: 8% 0 auto;
    height: 70%;
    background:
        radial-gradient(circle at 10% 25%, rgba(100, 179, 231, 0.14), transparent 28%),
        radial-gradient(circle at 88% 28%, rgba(127, 40, 69, 0.16), transparent 24%);
    pointer-events: none;
}

.ai-command-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.ai-command-card {
    position: relative;
    overflow: hidden;
    padding: 1.5rem;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 251, 244, 0.92));
    border: 1px solid rgba(17, 43, 89, 0.08);
    box-shadow: var(--gcuf-shadow);
    transition: transform 0.38s ease, box-shadow 0.38s ease, border-color 0.38s ease;
}

.ai-command-card::after {
    content: "";
    position: absolute;
    inset: auto -15% -25% auto;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(100, 179, 231, 0.18), transparent 65%);
}

.ai-command-card--accent {
    background: linear-gradient(135deg, rgba(17, 43, 89, 0.96), rgba(47, 99, 182, 0.92) 54%, rgba(127, 40, 69, 0.92));
    color: #ffffff;
}

.ai-command-card--accent h3,
.ai-command-card--accent p,
.ai-command-card--accent .ai-command-tag {
    color: #ffffff;
}

.ai-command-card--accent .ai-command-tag {
    background: rgba(255, 255, 255, 0.14);
}

.ai-command-card h3,
.assistant-preview-copy h3 {
    margin-top: 1rem;
    font-size: 2rem;
}

.ai-command-card:hover {
    transform: translateY(-10px);
    border-color: rgba(79, 140, 255, 0.18);
    box-shadow: var(--gcuf-shadow-strong);
}

.assistant-preview-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    gap: 1.25rem;
    margin-top: 1.25rem;
    padding: 1.5rem;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(17, 43, 89, 0.98), rgba(47, 99, 182, 0.95) 52%, rgba(127, 40, 69, 0.94));
    box-shadow: var(--gcuf-shadow-strong);
    color: #ffffff;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.assistant-preview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 34px 86px rgba(10, 24, 48, 0.28);
}

.assistant-preview-copy .section-kicker {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 247, 234, 0.95);
    border-color: rgba(255, 255, 255, 0.16);
}

.assistant-preview-copy h3,
.assistant-preview-copy p {
    color: #ffffff;
}

.assistant-preview-chat {
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
    border-radius: 24px;
    background: rgba(8, 18, 37, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.12);
    -webkit-backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.assistant-preview-msg {
    max-width: 88%;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    font-weight: 600;
}

.assistant-preview-msg--assistant {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.assistant-preview-msg--user {
    margin-left: auto;
    background: rgba(240, 192, 90, 0.18);
    color: #fff7ea;
}

.chatbot-shell {
    position: fixed;
    right: 1.35rem;
    bottom: 1.35rem;
    z-index: 1085;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.85rem;
}

.chatbot-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border: none;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(17, 43, 89, 0.98), rgba(47, 99, 182, 0.95) 50%, rgba(127, 40, 69, 0.94));
    color: #ffffff;
    box-shadow: var(--gcuf-shadow-strong);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chatbot-toggle-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
}

.chatbot-toggle-copy strong,
.chatbot-toggle-copy small {
    display: block;
    text-align: left;
}

.chatbot-toggle-copy strong {
    font-size: 0.98rem;
}

.chatbot-toggle-copy small {
    color: rgba(255, 247, 234, 0.82);
}

.chatbot-panel {
    width: min(390px, calc(100vw - 2rem));
    max-height: min(78vh, 720px);
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    border-radius: 30px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 251, 244, 0.94));
    border: 1px solid rgba(17, 43, 89, 0.08);
    box-shadow: var(--gcuf-shadow-strong);
}

.chatbot-shell--open .chatbot-toggle {
    transform: translateY(-2px);
}

.chatbot-toggle:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 30px 74px rgba(10, 24, 48, 0.3);
}

.chatbot-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.15rem 1.15rem 0.9rem;
    background:
        radial-gradient(circle at top right, rgba(100, 179, 231, 0.18), transparent 30%),
        linear-gradient(135deg, rgba(17, 43, 89, 0.06), rgba(127, 40, 69, 0.05));
    border-bottom: 1px solid rgba(17, 43, 89, 0.08);
}

.chatbot-header-copy {
    display: grid;
    gap: 0.45rem;
}

.chatbot-header-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
}

.chatbot-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(16, 163, 127, 0.1);
    color: #116d58;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.chatbot-live-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #10a37f;
    box-shadow: 0 0 0 4px rgba(16, 163, 127, 0.14);
}

.chatbot-header h3 {
    margin: 0.1rem 0 0.15rem;
    font-size: 1.8rem;
}

.chatbot-header p {
    margin: 0;
    color: var(--gcuf-muted);
    font-size: 0.92rem;
}

.chatbot-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    padding: 0.9rem 1rem 0.7rem;
    border-bottom: 1px solid rgba(17, 43, 89, 0.06);
}

.chatbot-quick-btn {
    border: 1px solid rgba(47, 99, 182, 0.14);
    border-radius: 999px;
    background: rgba(47, 99, 182, 0.08);
    color: var(--gcuf-blue-deep);
    padding: 0.55rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 700;
}

.chatbot-messages {
    min-height: 0;
    overflow-y: auto;
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
    background:
        radial-gradient(circle at 10% 8%, rgba(100, 179, 231, 0.08), transparent 25%),
        radial-gradient(circle at 92% 12%, rgba(127, 40, 69, 0.08), transparent 24%);
}

.chatbot-message {
    display: flex;
}

.chatbot-message--user {
    justify-content: flex-end;
}

.chatbot-bubble {
    max-width: 85%;
    padding: 0.9rem 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(17, 43, 89, 0.08);
    box-shadow: 0 12px 24px rgba(17, 43, 89, 0.06);
    color: var(--gcuf-ink);
    white-space: pre-line;
}

.chatbot-text {
    line-height: 1.58;
}

.chatbot-text--assistant {
    font-size: 0.96rem;
}

.chatbot-bubble-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.7rem;
}

.chatbot-time {
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(17, 43, 89, 0.48);
}

.chatbot-message--assistant .chatbot-bubble {
    border-top-left-radius: 8px;
}

.chatbot-message--user .chatbot-bubble {
    background: linear-gradient(135deg, rgba(17, 43, 89, 0.96), rgba(47, 99, 182, 0.92) 55%, rgba(127, 40, 69, 0.9));
    color: #ffffff;
    border: none;
    border-top-right-radius: 8px;
}

.chatbot-message--user .chatbot-time {
    color: rgba(255, 255, 255, 0.74);
}

.chatbot-bubble--assistant-rich {
    width: min(100%, 100%);
    display: grid;
    gap: 0.85rem;
    white-space: normal;
}

.chatbot-bubble-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.chatbot-bubble-author,
.chatbot-bubble-status {
    display: inline-flex;
    align-items: center;
    padding: 0.32rem 0.62rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.chatbot-bubble-author {
    background: rgba(47, 99, 182, 0.12);
    color: var(--gcuf-blue-deep);
}

.chatbot-bubble-status {
    background: rgba(16, 163, 127, 0.1);
    color: #0f6a56;
}

.chatbot-sections {
    display: grid;
    gap: 0.7rem;
}

.chatbot-section-card {
    padding: 0.85rem 0.9rem;
    border-radius: 18px;
    background: rgba(17, 43, 89, 0.04);
    border: 1px solid rgba(17, 43, 89, 0.08);
}

.chatbot-section-card h4 {
    margin: 0 0 0.55rem;
    font-size: 0.86rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gcuf-blue-deep);
}

.chatbot-section-list {
    margin: 0;
    padding-left: 1.15rem;
    display: grid;
    gap: 0.45rem;
}

.chatbot-section-list li {
    color: var(--gcuf-ink);
}

.chatbot-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.chatbot-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    padding: 0.7rem 0.95rem;
    border-radius: 16px;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.chatbot-action:hover {
    transform: translateY(-1px);
}

.chatbot-action--primary {
    background: linear-gradient(135deg, rgba(17, 43, 89, 0.98), rgba(47, 99, 182, 0.95) 52%, rgba(127, 40, 69, 0.92));
    color: #ffffff;
    box-shadow: 0 14px 32px rgba(17, 43, 89, 0.16);
}

.chatbot-action--secondary {
    background: rgba(47, 99, 182, 0.08);
    border: 1px solid rgba(47, 99, 182, 0.14);
    color: var(--gcuf-blue-deep);
}

.chatbot-bubble--typing-shell {
    display: grid;
    gap: 0.65rem;
}

.chatbot-typing-label {
    font-size: 0.82rem;
    color: var(--gcuf-muted);
}

.chatbot-bubble--typing {
    display: inline-flex;
    gap: 0.35rem;
    align-items: center;
    padding: 0;
    max-width: none;
    background: transparent;
    border: none;
    box-shadow: none;
}

.chatbot-bubble--typing span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(17, 43, 89, 0.35);
    animation: chatbotPulse 1.1s infinite ease-in-out;
}

.chatbot-bubble--typing span:nth-child(2) {
    animation-delay: 0.15s;
}

.chatbot-bubble--typing span:nth-child(3) {
    animation-delay: 0.3s;
}

.chatbot-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.7rem;
    padding: 0.95rem 1rem 1rem;
    border-top: 1px solid rgba(17, 43, 89, 0.08);
    background: rgba(255, 255, 255, 0.92);
}

.chatbot-input {
    min-height: 3.1rem;
    border-radius: 18px;
    border: 1px solid rgba(17, 43, 89, 0.12);
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.96);
}

.chatbot-input:focus {
    outline: none;
    border-color: rgba(47, 99, 182, 0.55);
    box-shadow: 0 0 0 0.25rem rgba(47, 99, 182, 0.12);
}

.chatbot-send {
    min-width: 92px;
}

.chatbot-messages::-webkit-scrollbar {
    width: 8px;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: rgba(17, 43, 89, 0.16);
    border-radius: 999px;
}

@keyframes chatbotPulse {
    0%, 80%, 100% {
        transform: translateY(0);
        opacity: 0.5;
    }
    40% {
        transform: translateY(-4px);
        opacity: 1;
    }
}

.univ-product-hero {
    position: relative;
    padding: 4.5rem 0 3.5rem;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgba(124, 224, 255, 0.12), transparent 24%),
        radial-gradient(circle at 86% 16%, rgba(255, 107, 87, 0.16), transparent 22%),
        linear-gradient(135deg, #08121f 0%, #153157 48%, #2f4d85 100%);
}

.univ-product-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.06) 8%, transparent 8%, transparent 32%, rgba(255, 255, 255, 0.05) 32%, rgba(255, 255, 255, 0.05) 40%, transparent 40%, transparent 65%, rgba(255, 255, 255, 0.04) 65%);
    opacity: 0.65;
    pointer-events: none;
}

.univ-product-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 1.6rem;
    align-items: start;
}

.univ-hero-copy {
    color: #ffffff;
    padding-top: 0.55rem;
}

.univ-hero-copy h1 {
    color: #ffffff;
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 0.97;
    margin: 1rem 0 1rem;
    max-width: 13ch;
}

.univ-hero-copy .lead {
    max-width: 62ch;
    color: rgba(255, 247, 234, 0.82);
    font-size: 1.08rem;
    margin-bottom: 1.5rem;
}

.univ-hero-copy .page-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 2.35rem;
    padding: 0.42rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(124, 224, 255, 0.18);
    color: rgba(255, 255, 255, 0.86);
}

.univ-hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.5rem;
}

.univ-hero-proof span {
    display: inline-flex;
    align-items: center;
    min-height: 2.35rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 247, 234, 0.88);
    font-size: 0.86rem;
    font-weight: 600;
}

.univ-hero-visuals {
    position: relative;
    display: grid;
    gap: 1rem;
}

.product-mock-panel,
.product-device-card {
    position: relative;
    border-radius: 30px;
    padding: 1.15rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 26px 80px rgba(3, 12, 28, 0.3);
    -webkit-backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.product-mock-top,
.product-device-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.product-mock-top h2,
.product-device-header strong {
    color: #ffffff;
}

.product-mock-top h2 {
    font-size: 1.55rem;
    line-height: 1.1;
    margin: 0.4rem 0 0;
}

.product-mock-label,
.product-device-badge {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.product-mock-status {
    display: inline-flex;
    align-items: center;
    min-height: 2.35rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(124, 224, 255, 0.16);
    color: #dff9ff;
    font-size: 0.78rem;
    font-weight: 700;
}

.product-mock-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.product-metric-card {
    padding: 1rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-metric-card span {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-metric-card strong {
    display: block;
    margin: 0.45rem 0;
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 1.7rem;
    line-height: 1.1;
}

.product-metric-card small {
    color: rgba(255, 247, 234, 0.76);
}

.product-metric-card--wide {
    grid-column: 1 / -1;
}

.product-metric-card--wide strong {
    font-size: 1.28rem;
}

.product-flow-grid {
    display: grid;
    gap: 0.8rem;
    margin-top: 1rem;
}

.product-flow-item {
    padding: 0.95rem 1rem;
    border-radius: 22px;
    background: rgba(8, 18, 38, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.product-flow-item strong {
    display: block;
    margin-bottom: 0.35rem;
    color: #ffffff;
}

.product-flow-item p,
.product-device-header p {
    margin: 0;
    color: rgba(255, 247, 234, 0.76);
}

.product-device-screen {
    display: grid;
    gap: 0.8rem;
}

.device-lane-card {
    padding: 1rem;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(124, 224, 255, 0.08) 55%, rgba(255, 107, 87, 0.12));
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.device-lane-card span {
    display: block;
    margin-bottom: 0.35rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.device-lane-card strong {
    color: #ffffff;
    font-size: 1rem;
}

.campus-proof-band {
    position: relative;
    margin-top: -1.2rem;
    padding-bottom: 1rem;
}

.campus-proof-band .container {
    position: relative;
}

.campus-proof-label {
    margin-bottom: 0.8rem;
    color: var(--gcuf-muted);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.campus-proof-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.85rem;
}

.campus-proof-grid span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 4.5rem;
    padding: 0.8rem 1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(17, 43, 89, 0.08);
    box-shadow: 0 18px 34px rgba(17, 43, 89, 0.08);
    color: var(--gcuf-blue-deep);
    font-weight: 700;
    text-align: center;
}

.section-heading--wide p {
    max-width: 72ch;
    margin-inline: auto;
}

.platform-module-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.4rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(17, 43, 89, 0.08);
    box-shadow: var(--gcuf-shadow);
}

.platform-module-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(17, 43, 89, 0.98), rgba(47, 99, 182, 0.92) 60%, rgba(127, 40, 69, 0.86));
    color: #ffffff;
    font-family: var(--font-display);
    font-weight: 700;
}

.platform-story-section {
    background: linear-gradient(180deg, rgba(10, 24, 48, 0.02), rgba(79, 140, 255, 0.05));
}

.platform-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
    gap: 1.4rem;
    align-items: stretch;
}

.story-checklist {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding-left: 1.15rem;
}

.story-checklist li {
    color: var(--gcuf-ink);
    font-weight: 600;
}

.story-visual-card {
    padding: 1.4rem;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(10, 24, 48, 0.98), rgba(47, 99, 182, 0.92) 55%, rgba(127, 40, 69, 0.88));
    box-shadow: var(--gcuf-shadow-strong);
}

.story-visual-top {
    margin-bottom: 1rem;
}

.story-visual-top span {
    color: rgba(255, 247, 234, 0.74);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.story-visual-top strong {
    display: block;
    margin-top: 0.4rem;
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 1.65rem;
    line-height: 1.15;
}

.story-visual-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.story-visual-tile {
    padding: 1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.story-visual-tile h3 {
    color: #ffffff;
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.story-visual-tile p {
    color: rgba(255, 247, 234, 0.76);
    margin: 0;
}

.command-boards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.command-board-card {
    padding: 1.4rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(17, 43, 89, 0.08);
    box-shadow: var(--gcuf-shadow);
}

.command-board-card--accent {
    background: linear-gradient(135deg, rgba(10, 24, 48, 0.98), rgba(47, 99, 182, 0.92) 55%, rgba(127, 40, 69, 0.88));
}

.command-board-card--accent h3,
.command-board-card--accent p,
.command-board-card--accent .command-board-tag {
    color: #ffffff;
}

.command-board-tag {
    display: inline-flex;
    margin-bottom: 0.75rem;
    color: var(--gcuf-blue-deep);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.product-cta-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.4rem;
    align-items: center;
    padding: 1.65rem;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(10, 24, 48, 0.98), rgba(47, 99, 182, 0.92) 55%, rgba(127, 40, 69, 0.88));
    box-shadow: var(--gcuf-shadow-strong);
}

.product-cta-card h2,
.product-cta-card p,
.product-cta-card .section-kicker {
    color: #ffffff;
}

.product-cta-card p {
    color: rgba(255, 247, 234, 0.82);
}

.product-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.events-command-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.4fr);
    gap: 1rem;
    align-items: end;
}

.events-command-side,
.events-overview-strip,
.app-shell-grid,
.admin-command-grid {
    display: grid;
    gap: 1rem;
}

.events-side-card,
.events-overview-card,
.admin-command-card {
    padding: 1.1rem 1.15rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(17, 43, 89, 0.08);
    box-shadow: var(--gcuf-shadow);
}

.events-side-card span,
.events-overview-card span {
    display: block;
    color: var(--gcuf-muted);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.events-side-card strong,
.events-overview-card strong {
    display: block;
    margin: 0.45rem 0;
    color: var(--gcuf-blue-deep);
    font-family: var(--font-display);
    line-height: 1.15;
}

.events-overview-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.events-overview-card strong {
    font-size: 1.7rem;
}

.events-filter-card {
    padding: 1.2rem 1.3rem;
}

.events-filter-copy h2 {
    margin: 0.3rem 0 0.45rem;
}

.event-card--enterprise {
    background: rgba(255, 255, 255, 0.97);
}

.app-command-hero {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(10, 24, 48, 0.98), rgba(47, 99, 182, 0.9) 56%, rgba(127, 40, 69, 0.82));
    box-shadow: var(--gcuf-shadow-strong);
}

.app-command-hero .page-title,
.app-command-hero .page-kicker {
    color: #ffffff;
}

.app-command-hero .text-muted {
    color: rgba(255, 247, 234, 0.78) !important;
}

.app-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.app-shell-grid {
    grid-template-columns: minmax(280px, 0.38fr) minmax(0, 1fr);
    align-items: start;
}

.app-sidebar-stack,
.app-main-stack {
    display: grid;
    gap: 1rem;
}

.app-sidebar-card,
.app-work-card,
.admin-command-card {
    border-radius: 28px;
}

.app-dashboard-shell {
    display: grid;
    grid-template-columns: minmax(260px, 0.32fr) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.app-dashboard-sidebar {
    position: sticky;
    top: 1.5rem;
    align-self: start;
}

.app-dashboard-main {
    display: grid;
    gap: 1.5rem;
}

@media (max-width: 991px) {
    .app-dashboard-shell {
        grid-template-columns: 1fr;
    }

    .app-dashboard-sidebar {
        position: static;
        top: auto;
    }
}

.sidebar-panel {
    padding: 1.25rem 1.3rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(17, 43, 89, 0.08);
    box-shadow: var(--gcuf-shadow);
}

.sidebar-panel h5 {
    margin: 0 0 1rem;
    font-family: var(--font-display);
    color: var(--gcuf-blue-deep);
}

.sidebar-nav {
    display: grid;
    gap: 0.75rem;
}

.sidebar-link {
    display: block;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: rgba(250, 250, 250, 0.95);
    border: 1px solid rgba(17, 43, 89, 0.08);
    color: var(--gcuf-blue-deep);
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.sidebar-link:hover,
.sidebar-link.active {
    background: linear-gradient(135deg, rgba(79, 140, 255, 0.18), rgba(255, 107, 87, 0.18));
    color: var(--gcuf-blue);
    transform: translateX(2px);
}

.sidebar-link.active {
    border-color: rgba(79, 140, 255, 0.22);
}

.app-stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-command-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-command-card h3 {
    margin: 0.35rem 0 0.45rem;
}

@media (max-width: 991px) {
    .navbar-collapse {
        margin-top: 0.9rem;
        padding: 0.85rem;
        border-radius: 24px;
        background: rgba(7, 16, 31, 0.76);
        border: 1px solid rgba(124, 224, 255, 0.12);
        -webkit-backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    }

    .navbar-nav {
        gap: 0.25rem;
    }

    .ai-signal-grid,
    .ai-command-grid,
    .assistant-preview-card,
    .directory-hero-panel,
    .directory-grid,
    .directory-management-grid,
    .admin-directory-grid,
    .site-bridge-grid,
    .site-footer-grid,
    .campus-proof-grid,
    .product-mock-grid,
    .story-visual-grid,
    .events-overview-strip,
    .command-boards-grid,
    .admin-command-grid {
        grid-template-columns: 1fr;
    }

    .hero-section {
        min-height: 0;
    }

    .hero-highlights,
    .auth-highlights,
    .event-meta {
        grid-template-columns: 1fr;
    }

    .showcase-card {
        margin: 2rem auto 0;
    }

    .dashboard-stats,
    .auth-shell,
    .auth-shell--wide,
    .event-detail-hero,
    .profile-grid,
    .platform-story-grid,
    .univ-product-grid,
    .events-command-hero,
    .app-shell-grid,
    .product-cta-card {
        grid-template-columns: 1fr;
    }

    .auth-brand-panel {
        min-height: 420px;
    }

    #userMenu .nav-link.dropdown-toggle {
        width: 100%;
        justify-content: space-between;
    }

    .chatbot-panel {
        width: min(420px, calc(100vw - 1.2rem));
    }

    .app-command-hero,
    .product-cta-card {
        align-items: start;
    }
}

@media (max-width: 767px) {
    .auth-stage {
        padding: 2rem 0.75rem 3.25rem;
    }

    .directory-card h3 {
        font-size: 1.7rem;
    }

    .auth-brand-panel,
    .auth-form-panel {
        padding: 1.35rem;
    }

    .auth-form-card h2 {
        font-size: 2.35rem;
    }

    .brand-copy small {
        font-size: 0.58rem;
    }

    .brand-copy strong {
        font-size: 1.16rem;
    }

    .chatbot-shell {
        right: 0.85rem;
        bottom: 0.85rem;
    }

    .chatbot-toggle {
        padding: 0.8rem 0.95rem;
    }

    .chatbot-toggle-copy small {
        display: none;
    }

    .chatbot-panel {
        width: min(100vw - 1rem, 100%);
        max-height: 74vh;
        border-radius: 24px;
    }

    .chatbot-form {
        grid-template-columns: 1fr;
    }

    .hero-copy h1 {
        font-size: 3rem;
    }

    .page-title {
        font-size: clamp(2rem, 10vw, 2.8rem);
    }

    .hero-buttons .btn,
    .auth-links .btn {
        width: 100%;
    }

    .auth-brand-top,
    .auth-register-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .feature-card,
    .event-card,
    .card,
    .modal-content,
    .table-responsive {
        border-radius: 22px;
    }

    .panel-card,
    .event-detail-copy,
    .event-detail-media {
        border-radius: 24px;
    }

    .univ-product-hero {
        padding-top: 3rem;
    }

    .univ-hero-copy h1 {
        font-size: clamp(2.6rem, 13vw, 3.6rem);
    }

    .app-command-hero,
    .events-filter-card,
    .platform-module-card,
    .command-board-card,
    .story-visual-card {
        padding: 1.15rem;
    }

    .app-command-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .campus-proof-grid span,
    .events-overview-card,
    .events-side-card {
        min-height: 0;
    }

    .app-hero-actions,
    .product-cta-actions {
        width: 100%;
        justify-content: stretch;
    }

    .app-hero-actions .btn,
    .product-cta-actions .btn {
        width: 100%;
    }
}

.pwa-install-bar {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1100;
    display: grid;
    gap: 0.75rem;
    padding: 1rem 1.1rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(17, 43, 89, 0.12);
    box-shadow: 0 28px 80px rgba(10, 24, 48, 0.2);
    -webkit-backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.pwa-install-copy {
    display: grid;
    gap: 0.2rem;
}

.pwa-install-copy strong {
    font-family: var(--font-display);
    font-size: 1.02rem;
    color: var(--gcuf-blue-deep);
}

.pwa-install-copy span,
.pwa-install-ios-hint {
    color: var(--gcuf-muted);
    font-size: 0.92rem;
}

.pwa-install-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.sports-week-hero {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(10, 24, 48, 0.98), rgba(47, 99, 182, 0.9) 50%, rgba(255, 107, 87, 0.78));
    box-shadow: var(--gcuf-shadow-strong);
}

.sports-week-hero .page-title,
.sports-week-hero .page-kicker {
    color: #ffffff;
}

.sports-week-hero .text-muted {
    color: rgba(255, 247, 234, 0.8) !important;
}

.sports-week-hero-actions,
.sports-match-top,
.sports-captain-card-top,
.sports-approval-card,
.sports-record-card {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.sports-week-hero-actions {
    flex-wrap: wrap;
}

.sports-week-summary,
.sports-week-grid,
.sports-admin-grid,
.sports-scorecard-grid,
.sports-team-meta,
.sports-record-metrics {
    display: grid;
    gap: 0.85rem;
}

.sports-week-summary {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sports-week-summary article,
.sports-admin-card,
.sports-match-card,
.sports-team-card,
.sports-captain-card,
.sports-approval-card,
.sports-record-card,
.sports-scorecard-mini {
    padding: 1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(17, 43, 89, 0.08);
    box-shadow: 0 16px 36px rgba(17, 43, 89, 0.08);
}

.sports-week-summary span,
.sports-team-meta span,
.sports-record-card span,
.sports-match-meta span,
.sports-scorecard-mini span,
.sports-scorecard-mini small,
.sports-approval-card span {
    color: var(--gcuf-muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.sports-week-summary strong {
    display: block;
    color: var(--gcuf-blue-deep);
    font-family: var(--font-display);
    font-size: 1.8rem;
    line-height: 1.1;
}

.sports-week-grid,
.sports-admin-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
}

.sports-match-list,
.sports-team-list,
.sports-captain-board,
.sports-approval-list,
.sports-record-list {
    display: grid;
    gap: 1rem;
}

.sports-match-card {
    border-left: 6px solid rgba(47, 99, 182, 0.28);
}

.sports-match-card--live {
    border-left-color: var(--gcuf-maroon);
}

.sports-match-card--completed {
    border-left-color: var(--success);
}

.sports-match-top {
    align-items: start;
}

.sports-match-top h3,
.sports-team-card h3,
.sports-captain-card h3,
.sports-admin-card h3 {
    margin: 0.6rem 0 0.25rem;
    font-size: 1.35rem;
}

.sports-match-score {
    min-width: 8rem;
    padding: 0.85rem;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(10, 24, 48, 0.96), rgba(47, 99, 182, 0.9));
    color: #ffffff;
    text-align: right;
}

.sports-match-score strong,
.sports-match-score span,
.sports-scorecard-mini strong {
    display: block;
}

.sports-match-score span {
    color: rgba(255, 247, 234, 0.76);
}

.sports-match-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.85rem;
}

.sports-match-meta span,
.sports-result-summary,
.sports-scorecard-empty {
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: rgba(47, 99, 182, 0.08);
}

.sports-scorecard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0.9rem;
}

.sports-scorecard-mini strong {
    margin: 0.25rem 0;
    color: var(--gcuf-blue-deep);
    font-family: var(--font-display);
    font-size: 1.25rem;
}

.sports-team-card {
    display: grid;
    gap: 0.9rem;
}

.sports-team-meta,
.sports-record-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sports-squad-list,
.sports-squad-check-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.sports-squad-list span,
.sports-squad-check {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    background: rgba(47, 99, 182, 0.08);
    color: var(--gcuf-blue-deep);
    font-weight: 700;
}

.sports-squad-check--sub {
    background: rgba(255, 107, 87, 0.1);
    color: var(--gcuf-maroon-deep);
}

.sports-xi-builder {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(17, 43, 89, 0.08);
}

.sports-approval-card,
.sports-record-card {
    align-items: center;
}

.sports-record-metrics span {
    display: inline-flex;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.4rem 0.6rem;
    border-radius: 14px;
    background: rgba(47, 99, 182, 0.08);
}

@media (max-width: 991px) {
    .sports-week-grid,
    .sports-admin-grid,
    .sports-scorecard-grid,
    .sports-week-summary {
        grid-template-columns: 1fr;
    }

    .sports-week-hero,
    .sports-match-top,
    .sports-captain-card-top,
    .sports-approval-card,
    .sports-record-card {
        flex-direction: column;
        align-items: stretch;
    }

    .sports-match-score {
        text-align: left;
    }
}

@media (min-width: 992px) {
    .pwa-install-bar {
        left: auto;
        width: min(430px, calc(100vw - 2rem));
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }
}


/* =============================================================
   GLOBAL DARK-THEME OVERRIDE — applied last so it always wins
   Fixes every white-card / invisible-text problem site-wide
   ============================================================= */

/* ── Core card surfaces ── */
.hero-preview-card,
.panel-card,
.section-card,
.feature-card,
.stat-card,
.event-card,
.site-bridge-card,
.sports-week-card,
.sports-scorecard-card,
.sports-match-card,
.sports-captain-card,
.sports-schedule-card,
.sports-record-card,
.sports-approval-card,
.sports-squad-card,
.sports-filter-card,
.module-card,
.map-card,
.directory-card,
.faculty-card,
.member-card,
.profile-card {
    background: rgba(10, 22, 44, 0.95) !important;
    border: 1px solid rgba(79, 140, 255, 0.22) !important;
    box-shadow: 0 16px 40px rgba(0,0,0,0.32) !important;
    color: #dce8ff !important;
}

/* ── Stat cards get a slightly lighter navy ── */
.stat-card {
    background: rgba(18, 38, 72, 0.97) !important;
    min-height: 110px;
}

/* ── All headings inside cards ── */
.panel-card h1, .panel-card h2, .panel-card h3,
.panel-card h4, .panel-card h5, .panel-card h6,
.section-card h1, .section-card h2, .section-card h3,
.section-card h4, .section-card h5, .section-card h6,
.feature-card h1, .feature-card h2, .feature-card h3,
.feature-card h4, .feature-card h5, .feature-card h6,
.stat-card h1, .stat-card h2, .stat-card h3,
.event-card h1, .event-card h2, .event-card h3,
.event-card h4, .event-card h5, .event-card h6,
.site-bridge-card h1, .site-bridge-card h2, .site-bridge-card h3,
.sports-week-card h1, .sports-week-card h2, .sports-week-card h3,
.sports-week-card h4, .sports-week-card h5,
.sports-scorecard-card h1, .sports-scorecard-card h2, .sports-scorecard-card h3,
.sports-match-card h1,.sports-match-card h2, .sports-match-card h3,
.sports-captain-card h2, .sports-captain-card h3,
.sports-schedule-card h2, .sports-schedule-card h3,
.sports-filter-card h2, .sports-filter-card h3,
.module-card h2, .module-card h3,
.directory-card h2, .directory-card h3,
.faculty-card h2, .faculty-card h3,
.member-card h2, .member-card h3,
.profile-card h2, .profile-card h3 {
    color: #ffffff !important;
}

/* ── stat / feature card labels and values ── */
.stat-card span,
.feature-card span,
.panel-card > span,
.section-card > span {
    color: #8bd7ff !important;
    font-weight: 700;
}

.stat-card strong,
.feature-card strong,
.panel-card > strong,
.section-card > strong {
    color: #ffffff !important;
    font-size: 1.6rem;
    font-weight: 800;
}

/* ── Muted / body text inside cards ── */
.panel-card .text-muted,
.section-card .text-muted,
.feature-card .text-muted,
.event-card .text-muted,
.stat-card .text-muted,
.site-bridge-card .text-muted,
.sports-week-card .text-muted,
.sports-scorecard-card .text-muted,
.directory-card .text-muted,
.faculty-card .text-muted,
.member-card .text-muted,
.profile-card .text-muted {
    color: #9abbda !important;
}

/* ── p tags inside cards ── */
.panel-card p,
.section-card p,
.feature-card p,
.event-card p,
.site-bridge-card p,
.sports-week-card p,
.sports-scorecard-card p,
.sports-match-card p,
.directory-card p,
.faculty-card p,
.member-card p,
.profile-card p {
    color: #b8cde8 !important;
}

/* ── Form inputs inside cards ── */
.form-control,
.form-select {
    background: rgba(5, 14, 32, 0.88) !important;
    border: 1px solid rgba(79, 140, 255, 0.3) !important;
    color: #e8f1ff !important;
    border-radius: 12px !important;
}

.form-control::placeholder {
    color: rgba(139, 215, 255, 0.45) !important;
}

.form-control:focus,
.form-select:focus {
    background: rgba(8, 20, 48, 0.95) !important;
    border-color: rgba(79, 140, 255, 0.6) !important;
    box-shadow: 0 0 0 3px rgba(79, 140, 255, 0.18) !important;
    color: #ffffff !important;
}

.form-label {
    color: #8bd7ff !important;
    font-weight: 600;
}

/* ── Section kicker labels ── */
.section-kicker,
.page-kicker {
    background: rgba(79, 140, 255, 0.15) !important;
    border-color: rgba(139, 215, 255, 0.25) !important;
    color: #8bd7ff !important;
}

/* ── Site bridge cards (bottom of pages) ── */
.site-bridge-section {
    position: relative;
    z-index: 100;
    background: #040a18 !important;
    padding: 6rem 0 !important;
    margin-top: 10rem !important;
    border-top: 2px solid rgba(79, 140, 255, 0.4) !important;
    box-shadow: 0 -20px 60px rgba(0,0,0,0.5);
    clear: both !important;
}

.site-bridge-heading h2 {
    font-size: 1.8rem !important;
    color: #ffffff !important;
    margin-top: 0.5rem !important;
}

.site-bridge-card {
    border-radius: 22px;
    padding: 1.6rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.site-bridge-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 52px rgba(0,0,0,0.45) !important;
}

.site-bridge-card h3 {
    color: #ffffff !important;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.site-bridge-card p {
    color: #9abbda !important;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* ── Sports week specific cards ── */
.sports-week-card,
.sports-scorecard-card,
.sports-match-card,
.sports-captain-card,
.sports-schedule-card,
.sports-record-card,
.sports-approval-card,
.sports-squad-card,
.sports-filter-card {
    border-radius: 22px !important;
    padding: 1.4rem !important;
}

/* ── page-title ── */
.page-title {
    color: #ffffff !important;
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 800;
}

/* ── Demo profile cards ── */
.demo-profile-card {
    background: rgba(12, 26, 55, 0.96) !important;
    border: 1px solid rgba(79, 140, 255, 0.25) !important;
    border-radius: 22px;
    padding: 1.6rem;
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.demo-profile-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.4) !important;
}

.demo-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(79, 140, 255, 0.4);
    flex-shrink: 0;
    background: linear-gradient(135deg, #1e3a6e, #4f8cff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
}

.demo-profile-info h3 {
    color: #ffffff !important;
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
}

.demo-profile-info .role-badge {
    display: inline-block;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(79, 140, 255, 0.2);
    color: #8bd7ff;
    border: 1px solid rgba(79, 140, 255, 0.3);
    margin-bottom: 0.5rem;
}

.demo-profile-info p {
    color: #9abbda !important;
    font-size: 0.88rem;
    margin: 0;
}

/* Responsive Navigation Overflow Handling */
@media (min-width: 1200px) and (max-width: 1400px) {
    .navbar-nav .nav-link {
        padding-left: 0.6rem !important;
        padding-right: 0.6rem !important;
        font-size: 0.9rem;
    }
}

.site-footer {
    clear: both;
    position: relative;
    z-index: 10;
}

.dropdown-item.active, .dropdown-item:active {
    background: linear-gradient(135deg, var(--gcuf-blue), var(--gcuf-maroon)) !important;
    color: #fff !important;
}

.dropdown-item:hover:not(.active) {
    background: rgba(79, 140, 255, 0.15) !important;
    color: #8bd7ff !important;
}



