:root {
    --bg: #f6f8fb;
    --surface: rgba(255, 255, 255, 0.88);
    --surface-strong: #ffffff;
    --surface-muted: #eef3f8;
    --border: rgba(27, 47, 74, 0.1);
    --text: #132238;
    --muted: #617086;
    --primary: #0f8f7a;
    --primary-deep: #0a6f61;
    --secondary: #ff8457;
    --accent: #ffd166;
    --shadow: 0 30px 60px rgba(19, 34, 56, 0.12);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.app-shell {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(15, 143, 122, 0.14), transparent 28%),
        radial-gradient(circle at 80% 10%, rgba(255, 132, 87, 0.16), transparent 22%),
        linear-gradient(180deg, #fbfdff 0%, #f4f7fb 100%);
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
.brand-wordmark,
.section-title,
.preview-title,
.footer-brand {
    font-family: 'Fraunces', serif;
    letter-spacing: -0.03em;
}

p,
a,
span,
label,
button,
input,
textarea,
table,
div {
    font-family: 'Inter', sans-serif;
}

img {
    max-width: 100%;
}

.site-header {
    background: rgba(246, 248, 251, 0.82);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.navbar {
    --bs-navbar-color: var(--muted);
    --bs-navbar-hover-color: var(--text);
    --bs-navbar-active-color: var(--text);
    --bs-navbar-brand-color: var(--text);
}

.brand-wordmark {
    font-size: 1.25rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.brand-mark {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(15, 143, 122, 0.14), rgba(255, 209, 102, 0.45));
    color: var(--primary);
}

.nav-link {
    font-weight: 600;
}

.section-space {
    padding: 4.5rem 0;
}

.hero-section {
    padding: 5rem 0 3rem;
    overflow: hidden;
}

.hero-title,
.detail-title {
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    line-height: 0.98;
    max-width: 12ch;
}

.detail-title {
    font-size: clamp(2.4rem, 4vw, 4rem);
}

.hero-copy,
.detail-copy {
    max-width: 62ch;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.8;
}

.eyebrow-pill,
.status-badge,
.date-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.eyebrow-pill,
.status-badge {
    background: rgba(15, 143, 122, 0.12);
    color: var(--primary-deep);
}

.badge-warm,
.date-chip {
    background: rgba(255, 132, 87, 0.14);
    color: #b14c26;
}

.section-kicker,
.mini-label {
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 800;
}

.section-title {
    font-size: clamp(2rem, 3vw, 3rem);
}

.card-surface {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    padding: 2rem;
    position: relative;
}

.card-surface-inner {
    background: var(--surface-strong);
    border-radius: calc(var(--radius-xl) - 8px);
    box-shadow: 0 16px 32px rgba(19, 34, 56, 0.08);
}

.hero-spotlight {
    min-height: 100%;
    padding: 1.25rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 247, 251, 0.92));
}

.event-preview-card {
    position: relative;
    z-index: 2;
    padding: 1.25rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.preview-title {
    font-size: 2rem;
    margin: 0.2rem 0 0;
}

.preview-list li {
    display: flex;
    justify-content: space-between;
    gap: 1.2rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
}

.preview-list li:last-child {
    border-bottom: 0;
}

.preview-list strong,
.preview-list span {
    display: block;
}

.preview-list span {
    text-align: right;
    color: var(--muted);
}

.orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(4px);
}

.orb-one {
    width: 190px;
    height: 190px;
    right: -1.5rem;
    top: -1.5rem;
    background: radial-gradient(circle, rgba(255, 209, 102, 0.52), rgba(255, 209, 102, 0));
}

.orb-two {
    width: 230px;
    height: 230px;
    left: -2rem;
    bottom: -3rem;
    background: radial-gradient(circle, rgba(15, 143, 122, 0.26), rgba(15, 143, 122, 0));
}

.stat-card,
.metric-box {
    padding: 1.2rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.75);
}

.stat-card-light {
    background: rgba(255, 255, 255, 0.92);
}

.stat-value {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--text);
}

.stat-label,
.panel-note,
.event-card-summary,
.footer-copy,
.metric-box span,
.text-muted,
.meta-list dd,
.detail-meta-item span {
    color: var(--muted) !important;
}

.search-panel {
    padding: 1.5rem;
}

.event-card,
.dashboard-card,
.feature-card,
.success-shell,
.detail-hero,
.dashboard-hero,
.empty-state {
    height: 100%;
}

.event-card,
.dashboard-card,
.feature-card {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.event-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.event-card-title {
    font-size: 1.6rem;
    margin: 0;
}

.meta-list {
    display: grid;
    gap: 0.75rem;
}

.meta-list div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid var(--border);
}

.meta-list dt {
    font-weight: 700;
    color: var(--text);
}

.meta-list dd {
    margin: 0;
    text-align: right;
}

.feature-number {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(15, 143, 122, 0.14), rgba(255, 132, 87, 0.18));
    color: var(--primary);
    font-weight: 800;
}

.section-muted {
    background: linear-gradient(180deg, rgba(238, 243, 248, 0.55), rgba(246, 248, 251, 0));
}

.text-link {
    color: var(--primary-deep);
    font-weight: 700;
    text-decoration: none;
}

.detail-meta-grid,
.success-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.detail-meta-item {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.72);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.detail-meta-item strong {
    font-size: 1rem;
}

.registration-panel {
    position: sticky;
    top: 6.5rem;
}

.form-label {
    font-weight: 700;
    color: var(--text);
}

.form-control {
    border-radius: 14px;
    border: 1px solid rgba(19, 34, 56, 0.12);
    padding: 0.95rem 1rem;
    background: rgba(255, 255, 255, 0.95);
}

.form-control:focus {
    border-color: rgba(15, 143, 122, 0.5);
    box-shadow: 0 0 0 0.25rem rgba(15, 143, 122, 0.12);
}

.btn {
    border-radius: 999px;
    padding: 0.86rem 1.3rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.btn-primary {
    --bs-btn-bg: var(--primary);
    --bs-btn-border-color: var(--primary);
    --bs-btn-hover-bg: var(--primary-deep);
    --bs-btn-hover-border-color: var(--primary-deep);
    --bs-btn-active-bg: var(--primary-deep);
    --bs-btn-active-border-color: var(--primary-deep);
    --bs-btn-disabled-bg: rgba(15, 143, 122, 0.4);
    --bs-btn-disabled-border-color: rgba(15, 143, 122, 0.4);
    box-shadow: 0 14px 30px rgba(15, 143, 122, 0.18);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(19, 34, 56, 0.08);
    color: var(--text);
}

.btn-ghost:hover,
.text-link:hover,
.footer-links a:hover {
    color: var(--primary-deep);
}

.dashboard-metrics .metric-box strong {
    display: block;
    margin-top: 0.4rem;
    font-size: 1.8rem;
}

.dashboard-table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--text);
    --bs-table-border-color: rgba(19, 34, 56, 0.08);
}

.dashboard-table thead th {
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 1rem 1.2rem;
}

.dashboard-table tbody td {
    padding: 1rem 1.2rem;
}

.app-alert {
    border-radius: 18px;
    border: 0;
    box-shadow: 0 16px 30px rgba(19, 34, 56, 0.08);
}

.site-footer {
    border-top: 1px solid rgba(19, 34, 56, 0.06);
    margin-top: 3rem;
}

.footer-brand {
    font-size: 1.2rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--muted);
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .section-space {
        padding: 3.5rem 0;
    }

    .hero-section {
        padding-top: 3rem;
    }

    .registration-panel {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .card-surface,
    .hero-spotlight,
    .event-preview-card,
    .registration-panel,
    .success-shell {
        padding: 1.3rem;
    }

    .hero-title,
    .detail-title {
        max-width: none;
    }
}
