:root {
    --bg:          #060c1e;
    --surface:     rgba(255, 255, 255, 0.05);
    --surface-soft:rgba(255, 255, 255, 0.03);
    --text:        #eef2ff;
    --muted:       #8fa3cc;
    --border:      rgba(255, 255, 255, 0.11);
    --shadow:      0 8px 36px rgba(0, 0, 0, 0.55);
    --blue:        #4d8aff;
    --blue-dark:   #1a4db5;
    --gold:        #ffc62e;
    --gold-dark:   #e8ae13;
    --green:       #4dbd8b;
    --purple:      #7569d8;
    --radius:      20px;
    --radius-sm:   12px;
    --container:   1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    background:
        radial-gradient(ellipse at 5% 0%,    rgba(255, 198, 46, 0.65) 0%, transparent 32%),
        radial-gradient(ellipse at 95% 5%,   rgba(47, 111, 228, 0.55) 0%, transparent 32%),
        radial-gradient(ellipse at 50% 100%, rgba(255, 198, 46, 0.45) 0%, transparent 35%),
        linear-gradient(160deg, #fffce8 0%, #eef3ff 50%, #fff9e0 100%);
    color: var(--text);
    line-height: 1.55;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
select,
textarea {
    font: inherit;
}

.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: min(var(--container), calc(100% - 2rem));
    margin: 0 auto;
}

.main-content {
    flex: 1;
    padding: 2rem 0 3.5rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 2px solid rgba(255, 198, 46, 0.45);
}

.main-nav {
    min-height: 90px;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.95rem;
    flex-shrink: 0;
}

.brand-mark {
    font-size: 3rem;
    line-height: 1;
    font-weight: 900;
    color: var(--blue);
    text-shadow:
        2px 2px 0 var(--gold),
        -1px -1px 0 #ffffff;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
}

.brand-title {
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.brand-subtitle {
    font-size: 0.95rem;
    color: var(--muted);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
    flex: 1;
}

.nav-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    color: var(--text);
    font-weight: 600;
    white-space: nowrap;
    font-size: 1.05rem;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: -0.65rem;
    height: 3px;
    border-radius: 999px;
    background: transparent;
    transition: background-color 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    background: var(--gold);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 0.85rem 1.2rem;
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
    cursor: pointer;
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(28, 42, 82, 0.12);
}

.button-primary {
    color: #0f234d;
    background: linear-gradient(135deg, #ffd85a, var(--gold));
    border-color: rgba(232, 174, 19, 0.35);
}

.button-secondary {
    background: #f5f7fc;
    border-color: var(--border);
    color: var(--text);
}

.button-blue {
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: #ffffff;
}

.button-wide {
    width: 100%;
}

.page-shell {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.hero-panel,
.content-card,
.info-card,
.sidebar-card,
.feature-card,
.showcase-card,
.event-card,
.newsletter-card,
.form-panel {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(227, 232, 242, 0.95);
    box-shadow: var(--shadow);
}

.hero-grid,
.two-column {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 2rem;
    align-items: start;
}

.hero-panel {
    padding: 2.4rem;
    border-radius: 32px;
}

.hero-copy h1,
.section-title,
.page-title,
.form-panel h2 {
    margin: 0;
    color: var(--text);
    line-height: 1.1;
}

.hero-copy h1 {
    font-size: clamp(2.6rem, 5vw, 4rem);
    margin-bottom: 1.25rem;
}

.hero-copy .highlight {
    color: #f5a700;
}

.hero-copy p,
.lead,
.body-copy {
    color: var(--muted);
    font-size: 1.1rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.8rem;
}

.hero-visual {
    min-height: 360px;
    border-radius: 26px;
    overflow: hidden;
    position: relative;
    background:
        linear-gradient(135deg, rgba(21, 40, 88, 0.98), rgba(57, 115, 216, 0.8)),
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.18), transparent 25%),
        radial-gradient(circle at 85% 20%, rgba(255, 198, 46, 0.3), transparent 18%),
        radial-gradient(circle at 50% 70%, rgba(122, 217, 255, 0.28), transparent 22%);
}

.hero-visual::before,
.hero-visual::after {
    content: "";
    position: absolute;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(10, 18, 47, 0.28);
    box-shadow: 0 22px 40px rgba(6, 11, 30, 0.28);
}

.hero-visual::before {
    inset: 10% 8% 12% 24%;
}

.hero-visual::after {
    width: 28%;
    height: 38%;
    left: 8%;
    bottom: 18%;
}

.hero-visual-screen {
    position: absolute;
    inset: 14% 12% 18% 28%;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent),
        radial-gradient(circle at 60% 40%, rgba(255, 198, 46, 0.35), transparent 18%),
        radial-gradient(circle at 42% 52%, rgba(106, 155, 255, 0.45), transparent 26%),
        linear-gradient(135deg, #14244e, #284a9a 44%, #6ca1ff);
}

.hero-visual-badge {
    position: absolute;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
}

.hero-visual-badge.badge-top {
    top: 1rem;
    right: 1rem;
}

.hero-visual-badge.badge-bottom {
    left: 1rem;
    bottom: 1rem;
}

.section-title,
.page-title {
    font-size: clamp(2.3rem, 4vw, 3.4rem);
    margin-bottom: 1rem;
}

.page-intro {
    padding: 0.25rem 0 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.feature-card,
.showcase-card,
.sidebar-card,
.newsletter-card,
.form-panel,
.info-card,
.content-card,
.event-card {
    border-radius: 24px;
}

.feature-card,
.content-card,
.sidebar-card,
.newsletter-card,
.form-panel,
.info-card,
.event-card {
    padding: 1.5rem;
}

.feature-icon,
.info-icon,
.bullet-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 900;
    font-size: 1.15rem;
}

.feature-icon.blue,
.info-icon.blue {
    background: linear-gradient(135deg, #4b93ff, #2f6fe4);
}

.feature-icon.purple,
.info-icon.purple {
    background: linear-gradient(135deg, #8b7af0, #6352d8);
}

.feature-icon.green,
.info-icon.green {
    background: linear-gradient(135deg, #67d9a4, #43b883);
}

.feature-card h3,
.showcase-card h3,
.sidebar-card h3,
.form-panel h2,
.content-card h3,
.event-card h3 {
    margin: 0.9rem 0 0.6rem;
    font-size: 1.25rem;
}

.feature-card p,
.showcase-card p,
.sidebar-card p,
.newsletter-card p,
.form-panel p,
.content-card p,
.info-card p,
.event-card p,
.stat-line,
.form-note {
    margin: 0;
    color: var(--muted);
}

.home-layout {
    display: grid;
    grid-template-columns: 1.9fr 0.95fr;
    gap: 1.25rem;
}

.stack {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.section-heading h2 {
    margin: 0;
    font-size: 1.85rem;
}

.about-button {
    margin-top: 1rem;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.showcase-card {
    overflow: hidden;
}

.showcase-visual {
    position: relative;
    min-height: 150px;
    background:
        linear-gradient(135deg, rgba(24, 41, 84, 0.96), rgba(55, 110, 209, 0.74)),
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.16), transparent 18%),
        radial-gradient(circle at 80% 35%, rgba(255, 198, 46, 0.25), transparent 20%);
}

.showcase-card:nth-child(2) .showcase-visual {
    background:
        linear-gradient(135deg, rgba(17, 33, 79, 0.95), rgba(53, 103, 227, 0.7)),
        radial-gradient(circle at 70% 25%, rgba(255, 255, 255, 0.15), transparent 18%),
        radial-gradient(circle at 30% 70%, rgba(122, 217, 255, 0.28), transparent 24%);
}

.showcase-card:nth-child(3) .showcase-visual {
    background:
        linear-gradient(135deg, rgba(29, 42, 85, 0.85), rgba(255, 190, 95, 0.55)),
        radial-gradient(circle at 45% 40%, rgba(255, 255, 255, 0.16), transparent 20%);
}

.showcase-card:nth-child(4) .showcase-visual {
    background:
        linear-gradient(135deg, rgba(54, 46, 97, 0.95), rgba(255, 134, 189, 0.62)),
        radial-gradient(circle at 25% 30%, rgba(255, 255, 255, 0.16), transparent 18%);
}

.tag {
    position: absolute;
    left: 0.8rem;
    bottom: 0.8rem;
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.75rem;
    border-radius: 999px;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

.tag.gold {
    background: linear-gradient(135deg, #ffc941, #e6a911);
}

.tag.blue {
    background: linear-gradient(135deg, #5d7eff, #3a57db);
}

.tag.green {
    background: linear-gradient(135deg, #6dcf78, #48b85a);
}

.tag.pink {
    background: linear-gradient(135deg, #ff77a7, #df4b86);
}

.showcase-body {
    padding: 1.15rem;
}

.showcase-body h3 {
    margin: 0 0 0.4rem;
}

.mini-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    padding: 0.55rem 0.9rem;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
}

.sidebar-card h2,
.newsletter-card h2 {
    margin: 0 0 1rem;
    font-size: 1.8rem;
}

.event-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.event-card {
    display: grid;
    grid-template-columns: 2.8rem 1fr;
    gap: 1rem;
    padding: 0;
    overflow: hidden;
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, var(--blue), var(--blue-dark));
    color: #ffffff;
    font-weight: 800;
    padding: 1rem 0.35rem;
    text-align: center;
}

.event-date span:last-child {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
}

.event-body {
    padding: 1rem 1rem 1rem 0;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.45rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
}

.pill.blue {
    background: #e8efff;
    color: #2f6fe4;
}

.pill.gold {
    background: #fff1c9;
    color: #b77d00;
}

.newsletter-form,
.inline-form {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.newsletter-form input,
.inline-form input,
.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #ffffff;
    color: var(--text);
}

.field textarea {
    min-height: 150px;
    resize: vertical;
}

.newsletter-form input:focus,
.inline-form input:focus,
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: 3px solid rgba(47, 111, 228, 0.14);
    border-color: var(--blue);
}

.contact-grid,
.auth-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2rem;
    align-items: start;
}

.info-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-copy h3 {
    margin: 0 0 0.3rem;
}

.form-panel {
    padding: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.field label {
    font-weight: 700;
}

.field-full {
    grid-column: 1 / -1;
}

.required {
    color: #e45858;
}

.helper-link,
.muted-link {
    color: var(--blue);
    font-weight: 700;
}

.auth-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auth-feature-box {
    width: 4.4rem;
    height: 4.4rem;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    font-weight: 900;
    color: var(--blue-dark);
    background: linear-gradient(135deg, #e2eeff, #cfe0ff);
}

.auth-feature:nth-child(2) .auth-feature-box {
    background: linear-gradient(135deg, #def6eb, #cceedd);
    color: #269664;
}

.auth-feature:nth-child(3) .auth-feature-box {
    background: linear-gradient(135deg, #ece7ff, #ddd5ff);
    color: #6553d5;
}

.checkbox-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0.25rem 0 1.25rem;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--muted);
}

.checkbox input {
    width: 1.35rem;
    height: 1.35rem;
}

.separator {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--muted);
    margin: 1.25rem 0;
}

.separator::before,
.separator::after {
    content: "";
    height: 1px;
    flex: 1;
    background: var(--border);
}

.notice-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.25rem;
}

.bullet-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.75rem;
}

.bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.bullet-icon {
    flex-shrink: 0;
    width: 2.1rem;
    height: 2.1rem;
    font-size: 0.95rem;
    margin-top: 0.15rem;
}

.bullet-icon.gold {
    background: linear-gradient(135deg, #ffd75b, #f0b61f);
}

.subtle-panel {
    padding: 1.2rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(227, 232, 242, 0.95);
}

.legal-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 2rem;
    padding: 2rem 0 1.5rem;
}

.site-footer {
    margin-top: auto;
    background: rgba(255, 255, 255, 0.9);
    border-top: 1px solid rgba(227, 232, 242, 0.9);
}

.footer-brand p,
.footer-column p {
    color: var(--muted);
    margin: 0.4rem 0 0;
}

.footer-column h3 {
    margin: 0 0 0.8rem;
    font-size: 1.4rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem 1.5rem;
}

.social-row {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.social-icon {
    width: 2.9rem;
    height: 2.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    border: 1px solid transparent;
    color: var(--blue);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.social-icon svg {
    width: 1.2rem;
    height: 1.2rem;
    fill: currentColor;
}

.social-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(28, 42, 82, 0.12);
    border-color: rgba(47, 111, 228, 0.28);
    background: #ffffff;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0 1.4rem;
    border-top: 1px solid rgba(227, 232, 242, 0.9);
    color: var(--muted);
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.simple-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.9rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 900;
    white-space: nowrap;
}

.status-processed {
    background: #eaf8f1;
    color: #24764f;
}

.status-pending {
    background: #fff3cf;
    color: #a36f00;
}

@media (max-width: 1080px) {
    .nav-content,
    .contact-grid,
    .auth-grid,
    .hero-grid,
    .two-column,
    .home-layout,
    .legal-grid {
        grid-template-columns: 1fr;
        display: grid;
    }

    .nav-content {
        justify-items: start;
        flex-wrap: wrap;
    }

    .nav-links {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .nav-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .feature-grid,
    .showcase-grid,
    .form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .container {
        width: min(var(--container), calc(100% - 1.25rem));
    }

    .main-content {
        padding-top: 1.25rem;
    }

    .site-header {
        position: static;
    }

    .hero-panel,
    .form-panel,
    .feature-card,
    .content-card,
    .sidebar-card,
    .newsletter-card,
    .info-card {
        padding: 1.2rem;
    }

    .feature-grid,
    .showcase-grid,
    .form-grid,
    .footer-links,
    .legal-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form,
    .inline-form,
    .hero-actions,
    .nav-actions,
    .footer-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .checkbox-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .event-card {
        grid-template-columns: 1fr;
    }

    .event-date {
        flex-direction: row;
        gap: 0.5rem;
        justify-content: flex-start;
        padding: 0.75rem 1rem;
    }

    .event-body {
        padding: 1rem;
    }

    /* Mobile nav */
    .nav-toggle {
        display: flex;
    }

    .nav-content {
        position: relative;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: .5rem 0;
        gap: .15rem;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        justify-content: flex-start;
        min-height: 44px;
        border-radius: 10px;
    }

    .nav-actions {
        display: none;
    }

    .nav-actions.open {
        display: flex;
    }

    .admin-bar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: .5rem;
    }

    .admin-nav-links {
        gap: .25rem;
    }

    .admin-nav-link {
        font-size: .8rem;
        padding: .35rem .65rem;
    }

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ============================================================
   ADMIN LAYOUT
   ============================================================ */

.admin-bar {
    background: var(--surface-soft);
    border-bottom: 1px solid var(--border);
    margin-bottom: 0;
    padding: .6rem 0;
}

.admin-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.admin-nav-links {
    display: flex;
    gap: .35rem;
    flex-wrap: wrap;
}

.admin-nav-link {
    padding: .45rem .85rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: .88rem;
    color: var(--muted);
    transition: background .15s, color .15s;
}

.admin-nav-link:hover {
    background: rgba(47, 111, 228, .08);
    color: var(--blue);
}

.admin-nav-link.active {
    background: var(--blue);
    color: #fff;
}

/* ============================================================
   DASHBOARD STATS
   ============================================================ */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.stat-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    box-shadow: var(--shadow);
    transition: transform .18s ease, box-shadow .18s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 50px rgba(28, 42, 82, .12);
}

.stat-card-warning { border-left: 4px solid var(--gold); }
.stat-card-alert   { border-left: 4px solid #e45858; }

.stat-icon {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: .25rem;
}

.stat-icon.blue   { background: #e2eeff; }
.stat-icon.gold   { background: #fff1c9; }
.stat-icon.red    { background: #fff0f0; }
.stat-icon.purple { background: #ece7ff; }
.stat-icon.green  { background: #eaf8f1; }

.stat-value {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--text);
    line-height: 1;
}

.stat-label {
    color: var(--muted);
    font-size: .88rem;
    font-weight: 700;
}

.stat-link {
    color: var(--blue);
    font-size: .85rem;
    font-weight: 700;
    margin-top: .25rem;
}

/* ============================================================
   ADMIN SHORTCUT CARDS
   ============================================================ */

.admin-shortcut-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    cursor: pointer;
    color: var(--text);
}

.admin-shortcut-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 50px rgba(28, 42, 82, .12);
    border-color: rgba(47, 111, 228, .28);
}

.admin-shortcut-icon {
    font-size: 2rem;
    line-height: 1;
}

.admin-shortcut-card strong {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text);
}

.admin-shortcut-card span {
    font-size: .85rem;
    color: var(--muted);
}

/* ============================================================
   FILTER BAR
   ============================================================ */

.filter-bar {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    align-items: flex-end;
    padding: 1rem 1.2rem;
    background: var(--surface-soft);
    border-radius: 16px;
    border: 1px solid var(--border);
}

.filter-field {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    flex: 1;
    min-width: 140px;
}

.filter-field label {
    font-weight: 700;
    font-size: .82rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.filter-field input,
.filter-field select {
    padding: .55rem .85rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
    font: inherit;
}

.filter-field input:focus,
.filter-field select:focus {
    outline: 3px solid rgba(47, 111, 228, .14);
    border-color: var(--blue);
}

/* ============================================================
   BADGES
   ============================================================ */

.badge {
    display: inline-flex;
    align-items: center;
    padding: .2rem .65rem;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 900;
    white-space: nowrap;
}

.badge-success { background: #eaf8f1; color: #24764f; }
.badge-warning { background: #fff3cf; color: #a36f00; }
.badge-danger  { background: #fff0f0; color: #a83c3c; }
.badge-info    { background: #e8efff; color: #2f6fe4; }
.badge-muted   { background: #f0f2f8; color: #63708d; }

/* ============================================================
   BUTTON DANGER
   ============================================================ */

.button-danger {
    background: #fff0f0;
    border-color: #ffc9c9;
    color: #a83c3c;
}

.button-danger:hover {
    background: #ffd5d5;
}

/* ============================================================
   NAVIGATION TOGGLE (MOBILE)
   ============================================================ */

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: .5rem;
    cursor: pointer;
    flex-shrink: 0;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   MEMBER PROFILE
   ============================================================ */

.member-profile {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.member-avatar {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--border);
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    color: #fff;
    font-size: 1.8rem;
    font-weight: 900;
}

/* ============================================================
   Legacy PROJECT K interface layer */
.eyebrow {
    display: inline-flex;
    align-items: center;
    margin: 0 0 0.8rem;
    color: var(--blue);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(1.6rem, 4vw, 2.6rem);
}

.section-hero::after,
.hero-panel-home::after {
    content: "";
    position: absolute;
    width: 18rem;
    height: 18rem;
    right: -7rem;
    top: -8rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 198, 46, 0.38), transparent 68%);
    pointer-events: none;
}

.page-intro-wide {
    max-width: 860px;
}

.hero-panel-home {
    position: relative;
    overflow: hidden;
    min-height: 430px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(243, 246, 255, 0.92)),
        radial-gradient(circle at 85% 18%, rgba(255, 198, 46, 0.24), transparent 22%),
        radial-gradient(circle at 70% 88%, rgba(47, 111, 228, 0.16), transparent 28%);
}

.hero-panel-home-compact {
    align-items: center;
}

.hero-panel-home .hero-copy {
    position: relative;
    z-index: 1;
}

.hero-typing {
    min-height: 3.1em;
}

.hero-typing-text {
    display: inline;
}

.hero-typing-caret {
    display: inline-block;
    width: 0.08em;
    height: 0.9em;
    margin-left: 0.1em;
    background: var(--gold-dark);
    animation: caretBlink 0.9s steps(2, start) infinite;
    vertical-align: -0.08em;
}

@keyframes caretBlink {
    50% {
        opacity: 0;
    }
}

.hero-visual-home {
    min-height: 330px;
}

.feature-showcase {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.feature-showcase-compact {
    margin-top: 0.25rem;
}

.feature-showcase-card {
    padding: 1.5rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(227, 232, 242, 0.95);
    box-shadow: var(--shadow);
}

.feature-showcase-card h2 {
    margin: 1rem 0 0.55rem;
    font-size: 1.45rem;
    line-height: 1.15;
}

.feature-showcase-card p {
    margin: 0;
    color: var(--muted);
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
    gap: 1.25rem;
    align-items: stretch;
}

.split-copy,
.split-list {
    min-height: 100%;
}

.split-copy p {
    color: var(--muted);
}

.split-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.list-item {
    padding: 1rem;
    border-radius: 18px;
    background: #f8faff;
    border: 1px solid var(--border);
}

.list-item strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--text);
}

.list-item p {
    margin: 0;
    color: var(--muted);
}

.reveal-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.reveal-card:hover {
    transform: translateY(-3px);
}

.listing-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.listing-lead {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
}

.listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.listing-card {
    display: flex;
    min-height: 240px;
    flex-direction: column;
    padding: 1.35rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(227, 232, 242, 0.95);
    box-shadow: var(--shadow);
}

.listing-meta,
.listing-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
}

.listing-badge,
.listing-context {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: #e8efff;
    color: var(--blue);
    font-size: 0.8rem;
    font-weight: 900;
}

.listing-date {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.listing-card h3 {
    margin: 1rem 0 0.55rem;
}

.listing-card p {
    color: var(--muted);
}

.listing-footer {
    margin-top: auto;
}

.listing-link {
    color: var(--blue);
    font-weight: 900;
}

.form-alert {
    margin: 1rem 0;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    border: 1px solid transparent;
    font-weight: 700;
}

.form-alert-bottom {
    margin-bottom: 0;
}

.form-alert-success {
    background: #eaf8f1;
    border-color: #bfe8d2;
    color: #24764f;
}

.form-alert-error {
    background: #fff0f0;
    border-color: #ffc9c9;
    color: #a83c3c;
}

.form-error-list {
    margin: 0;
    padding-left: 1.2rem;
}

.logout-form {
    margin-top: 1rem;
}

.auth-link-row {
    margin-top: 1rem;
    text-align: center;
}

.auth-link-row a {
    color: var(--blue);
    font-weight: 900;
}

.admin-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 0.9rem 0.8rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    color: var(--muted);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.admin-table tbody tr:hover {
    background: #f8fbff;
}

.admin-message-cell {
    max-width: 320px;
    color: var(--muted);
}

.admin-button {
    min-height: 0;
    padding: 0.55rem 0.75rem;
    font-size: 0.9rem;
}

.admin-done {
    color: #24764f;
    font-weight: 900;
}

.info-card-featured {
    border-color: rgba(47, 111, 228, 0.26);
}

.info-icon-image {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--border);
}

.info-icon-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.js [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.js [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1080px) {
    .feature-showcase,
    .split-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .hero-panel-home {
        min-height: auto;
    }

    .hero-typing {
        min-height: 0;
    }

    .feature-showcase-card,
    .listing-card {
        padding: 1.2rem;
    }
}

/* ============================================================
   REDESIGN — BLUE + YELLOW THEME, LESS BLOCKY
   ============================================================ */

/* Interior page section headers — blue gradient, centré */
.hero-panel.section-hero {
    background: linear-gradient(135deg, #163c92 0%, var(--blue) 55%, #4b8ef0 100%);
    border-color: transparent;
    box-shadow: 0 6px 28px rgba(23, 60, 146, 0.22);
    border-radius: 24px;
    padding: 3rem 2.4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-panel.section-hero .page-intro,
.hero-panel.section-hero .page-intro-wide {
    max-width: 680px;
    width: 100%;
}

.hero-panel.section-hero .page-title {
    color: #ffffff;
    font-size: clamp(1.9rem, 3.8vw, 3rem);
    margin-bottom: 1rem;
}

.hero-panel.section-hero .lead {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
    margin: 0;
}

.hero-panel.section-hero .eyebrow {
    color: var(--gold);
    background: rgba(255, 198, 46, 0.14);
    border-radius: 999px;
    padding: 0.28rem 0.95rem;
    border: 1px solid rgba(255, 198, 46, 0.35);
    letter-spacing: 0.1em;
}

/* Feature showcase cards — left blue border, minimal shadow */
.feature-showcase-card {
    padding: 1.5rem 1.5rem 1.5rem 1.85rem;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(227, 232, 242, 0.8);
    border-left: 4px solid var(--blue);
    box-shadow: 0 3px 12px rgba(28, 42, 82, 0.05);
    transition: box-shadow 0.2s, transform 0.2s;
}

.feature-showcase-card:hover {
    box-shadow: 0 8px 22px rgba(28, 42, 82, 0.1);
    transform: translateY(-2px);
}

.feature-showcase-card:nth-child(2) { border-left-color: var(--gold-dark); }
.feature-showcase-card:nth-child(3) { border-left-color: var(--green); }

/* Purple icon → gold for brand */
.feature-icon.purple,
.info-icon.purple {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #0f234d;
}

/* Section headings in blue */
.section-heading h2 {
    color: var(--blue);
}

/* Reduce card shadow on non-main heroes */
.content-card,
.form-panel {
    box-shadow: 0 4px 16px rgba(28, 42, 82, 0.06);
}

/* List items — subtle blue tint */
.list-item {
    background: rgba(47, 111, 228, 0.04);
    border-color: rgba(47, 111, 228, 0.12);
}

.list-item strong {
    color: var(--blue);
}

/* Listing cards — lighter */
.listing-card {
    box-shadow: 0 3px 12px rgba(28, 42, 82, 0.05);
    border-color: rgba(227, 232, 242, 0.8);
    transition: box-shadow 0.2s, transform 0.2s;
    padding: 0;
    overflow: hidden;
}

.listing-card:hover {
    box-shadow: 0 8px 22px rgba(28, 42, 82, 0.1);
    transform: translateY(-2px);
}

.listing-card-img {
    height: 160px;
    overflow: hidden;
    background: linear-gradient(135deg, #e8efff, #d0e1ff);
    flex-shrink: 0;
}

.listing-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.listing-card-body {
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* ============================================================
   HOMEPAGE FEED — HORIZONTAL SCROLL CAROUSEL
   ============================================================ */

.home-feed-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.home-feed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.home-feed-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--blue);
}

.scroll-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
    padding-bottom: 0.5rem;
    cursor: grab;
    user-select: none;
}

.scroll-track::-webkit-scrollbar        { height: 4px; }
.scroll-track::-webkit-scrollbar-track  { background: transparent; }
.scroll-track::-webkit-scrollbar-thumb  { background: var(--border); border-radius: 2px; }

.scroll-track.dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}

.scroll-card {
    flex: 0 0 272px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(227, 232, 242, 0.9);
    box-shadow: 0 3px 12px rgba(28, 42, 82, 0.06);
    overflow: hidden;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
}

.scroll-card:hover {
    box-shadow: 0 8px 22px rgba(28, 42, 82, 0.1);
    transform: translateY(-2px);
}

.scroll-card-img {
    height: 130px;
    overflow: hidden;
    background: linear-gradient(135deg, #dce8ff, #c5d9ff);
    flex-shrink: 0;
}

.scroll-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.scroll-card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
}

.scroll-card-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.18rem 0.6rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 900;
    align-self: flex-start;
}

.scroll-card-badge.blue   { background: #e8efff; color: var(--blue); }
.scroll-card-badge.gold   { background: #fff1c9; color: #a36f00; }

.scroll-card-body h3 {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.35;
    color: var(--text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.scroll-card-body p {
    margin: 0;
    font-size: 0.82rem;
    color: var(--muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.scroll-card-date {
    font-size: 0.76rem;
    color: var(--muted);
    font-weight: 700;
    margin-top: 0.3rem;
}

.scroll-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.76rem;
    color: var(--muted);
    font-weight: 600;
}

/* ============================================================
   BRAND LOGO (nav)
   ============================================================ */

.brand-logo {
    height: 44px;
    width: auto;
    display: block;
}

/* ============================================================
   BUTTON GHOST
   ============================================================ */

.button-ghost {
    background: transparent;
    border-color: rgba(47, 111, 228, 0.3);
    color: var(--blue);
}

.button-ghost:hover {
    background: rgba(47, 111, 228, 0.07);
    border-color: var(--blue);
}

/* ============================================================
   FOOTER REWORK
   ============================================================ */

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 0.95fr;
    gap: 2.5rem;
    padding: 2.5rem 0 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.footer-logo {
    height: 36px;
    width: auto;
}

.footer-brand-name {
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    color: var(--text);
}

.footer-desc {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.footer-col h4 {
    margin: 0 0 0.5rem;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text);
}

.footer-col p {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.footer-col .footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col .footer-links a {
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 600;
    transition: color 0.15s;
}

.footer-col .footer-links a:hover {
    color: var(--blue);
}

.footer-cta {
    margin-top: 0.5rem;
    align-self: flex-start;
    font-size: 0.9rem;
    padding: 0.7rem 1.1rem;
}

/* Social icons with image files */
.social-icon {
    overflow: hidden;
}

.social-icon img {
    width: 55%;
    height: 55%;
    object-fit: contain;
    border-radius: 3px;
}

/* ============================================================
   HERO DYNAMIC — VTubing card
   ============================================================ */

.hero-dynamic {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 340px;
    padding: 1.5rem 0.5rem;
}

.vt-card-main {
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(227, 232, 242, 0.9);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 24px 60px rgba(28, 42, 82, 0.13);
    width: 100%;
    max-width: 296px;
    position: relative;
    z-index: 1;
}

.vt-card-top {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.vt-avatar {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.vt-card-info {
    display: flex;
    flex-direction: column;
    gap: 0.22rem;
}

.vt-card-info strong {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.2;
}

.vt-live {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #1f8c52;
}

.vt-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4dbd8b;
    flex-shrink: 0;
    animation: livePulse 1.8s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1;    transform: scale(1);    }
    50%       { opacity: 0.4; transform: scale(0.68); }
}

.vt-divider {
    height: 1px;
    background: var(--border);
    margin: 1rem 0;
}

.vt-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    gap: 0.25rem;
}

.vt-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
}

.vt-stat-num {
    font-size: 1.7rem;
    font-weight: 900;
    color: var(--text);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.vt-stat-lbl {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

/* Floating community tags */
.vt-float {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.48rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(227, 232, 242, 0.9);
    box-shadow: 0 6px 20px rgba(28, 42, 82, 0.1);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text);
    backdrop-filter: blur(8px);
    white-space: nowrap;
    z-index: 2;
    animation: vtBob 3.4s ease-in-out infinite;
}

.vt-float-1 { top: 0.75rem;   right: 0.25rem; animation-delay: 0s; }
.vt-float-2 { bottom: 3.75rem; left: 0.25rem; animation-delay: 1.1s; }
.vt-float-3 { bottom: 0.75rem; right: 0.25rem; animation-delay: 2.2s; }

@keyframes vtBob {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

/* Responsive overrides for new elements */
@media (max-width: 1080px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.75rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.75rem 0 1.5rem;
    }

    .hero-dynamic {
        min-height: 260px;
        padding: 1rem 0.5rem;
    }

    .vt-float {
        font-size: 0.72rem;
        padding: 0.38rem 0.65rem;
    }

    .vt-float-2 { bottom: 3rem; }
}

/* ============================================================
   LAYOUT PLEINE LARGEUR — ADMIN THEME — ZÉRO CADRES
   ============================================================ */

/* Padding latéral partagé */
:root { --side-pad: clamp(1.25rem, 5vw, 4.5rem); }

/* Main = pleine largeur, pas de container centré */
main.main-content {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* page-shell : sections enchaînées, padding latéral */
.page-shell {
    gap: 0;
    padding: 0 var(--side-pad);
}

/* Espacement vertical des sections */
.page-shell > section,
.page-shell > .stats-grid,
.page-shell > .simple-grid,
.page-shell > .listing-section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

/* BANDEAUX BORD À BORD (breakout du padding latéral) */
.hero-panel.section-hero,
.hero-panel-home,
.admin-bar {
    margin-left:  calc(-1 * var(--side-pad));
    margin-right: calc(-1 * var(--side-pad));
}

.hero-panel.section-hero {
    border-radius: 0;
    padding: 3.5rem var(--side-pad) 3rem;
}

.hero-panel-home {
    border-radius: 0 0 28px 28px;
    padding: 3rem var(--side-pad);
    margin-bottom: .5rem;
}

.admin-bar {
    padding: .75rem var(--side-pad);
}

/* SUPPRESSION TOTALE des cadres blancs sur les sections de contenu */
.content-card,
.info-card,
.sidebar-card,
.event-card {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

/* Formulaire : garder blanc, padding interne */
.form-panel {
    background: rgba(255,255,255,.9);
    border: 1px solid rgba(47,111,228,.12);
    box-shadow: none;
    border-radius: 18px;
    padding: 2rem;
    margin-bottom: 2rem;
}

/* ── ADMIN BAR ── */
.admin-bar {
    background: linear-gradient(90deg, #0f2460 0%, #1a4db5 100%);
    border-bottom: 2px solid var(--gold);
}

.admin-bar-inner { max-width: 100%; }

.admin-nav-link {
    color: rgba(255,255,255,.68);
    border-radius: 8px;
}
.admin-nav-link:hover {
    background: rgba(255,255,255,.1);
    color: #ffffff;
}
.admin-nav-link.active {
    background: var(--gold);
    color: #0f234d;
}
.admin-bar .button-secondary {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.28);
    color: rgba(255,255,255,.88);
}
.admin-bar .button-secondary:hover {
    background: rgba(255,255,255,.2);
}

/* ── ADMIN STAT CARDS ── */
.stat-card {
    background: rgba(47,111,228,.07);
    border: 1px solid rgba(47,111,228,.15);
    box-shadow: none;
}
.stat-card:hover {
    background: rgba(47,111,228,.12);
    box-shadow: 0 6px 18px rgba(47,111,228,.12);
}
.stat-card-warning { border-left: 4px solid var(--gold-dark); }
.stat-card-alert   { border-left: 4px solid #e45858; }
.stat-value        { color: var(--blue); }
.stat-link         { color: var(--blue); }

.stat-icon.blue   { background: rgba(47,111,228,.15); }
.stat-icon.gold   { background: rgba(255,198,46,.22);  }
.stat-icon.red    { background: rgba(228,88,88,.13);   }
.stat-icon.purple { background: rgba(117,105,216,.15); }
.stat-icon.green  { background: rgba(77,189,139,.15);  }

/* ── ADMIN SHORTCUT CARDS ── */
.admin-shortcut-card {
    background: rgba(47,111,228,.07);
    border: 1px solid rgba(47,111,228,.14);
    box-shadow: none;
}
.admin-shortcut-card:hover {
    background: rgba(47,111,228,.13);
    border-color: rgba(47,111,228,.3);
    box-shadow: none;
    transform: translateY(-2px);
}

/* ── ADMIN TABLE ── */
.admin-table th {
    background: rgba(47,111,228,.07);
    color: var(--blue);
}
.admin-table tbody tr:hover { background: rgba(47,111,228,.04); }

/* ── FILTER BAR ── */
.filter-bar {
    background: rgba(47,111,228,.05);
    border-color: rgba(47,111,228,.14);
}

/* ── LISTING CARDS : garder une structure visible ── */
.listing-card {
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(47,111,228,.12);
    box-shadow: none;
    border-radius: 18px;
    overflow: hidden;
}
.listing-card:hover {
    box-shadow: 0 6px 20px rgba(47,111,228,.12);
    transform: translateY(-2px);
}

/* ── HOME FEED — TRAIN INFINI VERS LA GAUCHE ── */
.home-feed-section { padding-bottom: 2rem; }

.scroll-track {
    display: flex;
    overflow: hidden;
    width: 100%;
}

.scroll-track-inner {
    display: flex;
    flex-shrink: 0;
    gap: 1.25rem;
    padding-right: 1.25rem;
    animation: trainInfini 22s linear infinite;
    will-change: transform;
}

.scroll-track:hover .scroll-track-inner {
    animation-play-state: paused;
}

@keyframes trainInfini {
    from { transform: translateX(0); }
    to   { transform: translateX(-100%); }
}

.scroll-card {
    flex: 0 0 280px;
    width: 280px;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.scroll-card-img {
    height: 130px;
    width: 100%;
    min-width: 0;
    min-height: 0;
    flex-shrink: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 720px) {
    :root { --side-pad: 1rem; }
    .hero-panel.section-hero  { padding: 2.25rem var(--side-pad) 1.75rem; }
    .hero-panel-home           { padding: 2rem var(--side-pad) 1.5rem; }
}

/* ============================================================
   REFONTE FINALE — BLEU + JAUNE, SANS BLOCS BLANCS
   ============================================================ */

/* Fond global bleu teinté */
body {
    background:
        radial-gradient(ellipse at  8% 12%, rgba(255, 198, 46, 0.12) 0%, transparent 40%),
        radial-gradient(ellipse at 92%  6%, rgba(77, 138, 255, 0.16) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 92%, rgba(77, 138, 255, 0.10) 0%, transparent 45%),
        radial-gradient(ellipse at 25% 65%, rgba(255, 198, 46, 0.06) 0%, transparent 30%),
        linear-gradient(170deg, #04091a 0%, #060c1e 35%, #080f24 70%, #04091a 100%);
}

/* ── Hero accueil : dégradé bleu → lumière, texte blanc à gauche ── */
.hero-panel-home {
    background:
        radial-gradient(circle at 90% 15%, rgba(255, 198, 46, 0.28), transparent 22%),
        linear-gradient(120deg, #163c92 0%, #2f6fe4 42%, #5b8ff5 62%, #dce8ff 80%, #edf2ff 100%);
    border: none;
    box-shadow: 0 6px 32px rgba(23, 60, 146, 0.18);
}

.hero-panel-home .hero-copy .eyebrow      { color: var(--gold); background: rgba(255,198,46,.14); border-radius: 999px; padding: .28rem .9rem; border: 1px solid rgba(255,198,46,.35); }
.hero-panel-home .hero-copy h1            { color: #ffffff; }
.hero-panel-home .hero-copy p             { color: rgba(255,255,255,.78); }
.hero-panel-home .hero-copy .hero-typing-caret { background: var(--gold); }

/* Bouton ghost visible sur fond bleu foncé */
.hero-panel-home .button-ghost {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.45);
}
.hero-panel-home .button-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.75);
}

/* ── Suppression des blocs blancs sur les sections structurelles ── */

/* Feature showcase (3 colonnes sur accueil + à propos) */
.feature-showcase-card {
    background: rgba(47, 111, 228, 0.07);
    border: none;
    border-left: 4px solid var(--blue);
    box-shadow: none;
    border-radius: 0 16px 16px 0;
    transition: background .2s, transform .2s;
}
.feature-showcase-card:hover           { background: rgba(47, 111, 228, 0.12); transform: translateY(-2px); }
.feature-showcase-card:nth-child(2)    { background: rgba(255, 198, 46, 0.1);  border-left-color: var(--gold-dark); }
.feature-showcase-card:nth-child(2):hover { background: rgba(255, 198, 46, 0.18); }
.feature-showcase-card:nth-child(3)    { background: rgba(47, 111, 228, 0.05); }

/* Feature cards (simple-grid — à propos) */
.feature-card {
    background: transparent;
    border: none;
    border-top: 3px solid var(--blue);
    box-shadow: none;
    border-radius: 0 0 12px 12px;
    padding-top: 1.4rem;
}
.feature-card:nth-child(2) { border-top-color: var(--gold-dark); }
.feature-card:nth-child(3) { border-top-color: var(--blue); }

/* Split section : contenu fluide, sans boîte blanche */
.content-card.split-copy,
.content-card.split-list {
    background: rgba(255, 255, 255, 0.45);
    border-color: rgba(47, 111, 228, 0.14);
    box-shadow: none;
}

/* Info cards (contact/adhesion) : fond bleu très léger */
.info-card {
    background: rgba(47, 111, 228, 0.06);
    border-color: rgba(47, 111, 228, 0.14);
    box-shadow: none;
}

/* Formulaires : garder blanc pour lisibilité */
.form-panel {
    background: #ffffff;
    box-shadow: 0 4px 18px rgba(28, 42, 82, 0.07);
}

/* ── Fix icônes sociales : cercles parfaits ── */
.social-row { align-items: center; }

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.9rem;
    height: 2.9rem;
    min-width: 2.9rem;
    min-height: 2.9rem;
    flex-shrink: 0;
    border-radius: 50%;
    background: transparent;
    border: 1px solid transparent;
    overflow: hidden;
    transition: background .18s, border-color .18s, transform .18s;
}
.social-icon:hover {
    background: rgba(255, 255, 255, 0.24);
    border-color: rgba(255, 198, 46, 0.55);
    transform: translateY(-2px);
    box-shadow: none;
}
.social-icon img {
    width: 1.4rem;
    height: 1.4rem;
    object-fit: contain;
    display: block;
    border-radius: 0;
    flex-shrink: 0;
}

/* Fix feature-icon / info-icon flex-shrink */
.feature-icon,
.info-icon,
.bullet-icon {
    flex-shrink: 0;
}

/* ── Footer bleu foncé ── */
.site-footer {
    background: linear-gradient(160deg, #0f2460 0%, #163c92 60%, #1a4db5 100%);
    border-top: none;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 2rem;
}

.footer-brand-name                        { color: #ffffff; }
.footer-desc                              { color: rgba(255, 255, 255, 0.6); }
.footer-col h4                            { color: var(--gold); letter-spacing: .12em; }
.footer-col p                             { color: rgba(255, 255, 255, 0.6); }
.footer-col .footer-links a               { color: rgba(255, 255, 255, 0.6); }
.footer-col .footer-links a:hover         { color: var(--gold); }
.footer-bottom                            { border-top-color: rgba(255,255,255,.13); color: rgba(255,255,255,.42); }
.footer-legal a                           { color: rgba(255,255,255,.42); }
.footer-legal a:hover                     { color: var(--gold); }

/* ── Couleurs de la home-feed sur fond jaune+bleu ── */
.scroll-card { background: #ffffff; }

/* ── Responsive final ── */
@media (max-width: 1080px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.75rem;
    }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.75rem 0 1.5rem;
    }
    .feature-showcase-card,
    .feature-showcase-card:nth-child(2),
    .feature-showcase-card:nth-child(3) {
        border-radius: 12px;
        border-left-width: 3px;
    }
    .scroll-card {
        flex-direction: column;
    }
    .scroll-card-img {
        width: 100%;
        min-width: 0;
        height: 110px;
        min-height: 0;
    }
}

/* ============================================================
   TEXTES DYNAMIQUES — GRADIENT ANIMÉ
   ============================================================ */

@keyframes gradientShift {
    0%   { background-position: 0%   50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0%   50%; }
}

@keyframes textShine {
    0%   { background-position: -200% center; }
    100% { background-position:  200% center; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Titres de section — gradient bleu→jaune animé */
.section-heading h2,
.home-feed-title {
    background: linear-gradient(120deg, var(--blue-dark) 0%, var(--blue) 35%, var(--gold-dark) 60%, var(--blue) 85%, var(--blue-dark) 100%);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShine 4s linear infinite;
}

/* Page title sur fond blanc/neutre — dégradé discret */
.page-title {
    background: linear-gradient(110deg, var(--blue-dark), var(--blue), #4b8ef0);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
}

/* Eyebrow — pulse doré */
@keyframes eyebrowPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 198, 46, 0); }
    50%       { box-shadow: 0 0 0 4px rgba(255, 198, 46, 0.18); }
}

.eyebrow {
    animation: eyebrowPulse 3s ease-in-out infinite;
}

/* Bouton primary — shimmer doré */
@keyframes btnShimmer {
    0%   { background-position: -200% center; }
    100% { background-position:  200% center; }
}

.button-primary {
    background: linear-gradient(110deg, #ffd85a, var(--gold), #ffe680, var(--gold), #ffd85a);
    background-size: 250% auto;
    animation: btnShimmer 3s linear infinite;
}

/* ============================================================
   ADMIN — ALIGNEMENT HEADER CORRIGÉ
   ============================================================ */

/* Contrainte max-width + centrage explicite du contenu dans section-hero */
.hero-panel.section-hero .page-intro,
.hero-panel.section-hero .page-intro-wide {
    max-width: 660px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

/* Alignement vertical de l'eyebrow dans le hero admin */
.hero-panel.section-hero .eyebrow {
    display: inline-flex;
    margin-left: auto;
    margin-right: auto;
    animation: none;
    box-shadow: none;
}

/* page-title dans le hero admin : annuler le gradient (fond bleu = texte blanc) */
@keyframes greetingIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-panel.section-hero .page-title {
    background: none;
    -webkit-text-fill-color: #ffffff;
    color: #ffffff;
    animation: greetingIn 0.6s ease both;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

/* Lead sous le titre admin */
.hero-panel.section-hero .lead {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    margin: 0.5rem auto 0;
    max-width: 520px;
    text-align: center;
}

/* Séparation propre entre admin-bar et section-hero */
.admin-bar + .hero-panel.section-hero,
.page-shell .hero-panel.section-hero {
    margin-top: 0;
}

/* Admin bar — texte et hauteur propres */
.admin-bar-inner {
    min-height: 48px;
    align-items: center;
}

/* ============================================================
   AMÉLIORATIONS GÉNÉRALES FOND JAUNE+BLEU
   ============================================================ */

/* Nav — fond crème doré au survol des liens */
.nav-links a:hover {
    background: rgba(255, 198, 46, 0.1);
}

/* Cards sur fond jaune+bleu — légère ombre plus visible */
.feature-showcase-card,
.listing-card,
.scroll-card,
.stat-card,
.admin-shortcut-card {
    box-shadow: 0 4px 20px rgba(28, 42, 82, 0.09);
}

/* Hero home — on s'assure que h1 reste blanc malgré le gradient global */
.hero-panel-home .hero-copy h1,
.hero-panel-home .hero-copy .hero-typing-text {
    background: none;
    -webkit-text-fill-color: #ffffff;
    color: #ffffff;
    animation: none;
}

/* Feature showcase — transition hover plus dynamique */
.feature-showcase-card {
    transition: background 0.2s, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s;
}

/* Stats admin — valeur en dégradé bleu */
.stat-value {
    background: linear-gradient(135deg, var(--blue-dark), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Section headings — tiret décoratif jaune animé */
.section-heading::after {
    content: '';
    display: block;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--blue));
    border-radius: 2px;
    transition: width 0.6s ease;
    margin-top: 0.5rem;
}

.section-heading:hover::after {
    width: 80px;
}

/* Responsive dynamic text */
@media (max-width: 720px) {
    .section-heading h2,
    .home-feed-title {
        font-size: 1.4rem;
    }
}

/* ============================================================
   THEME SOMBRE — GLASS MORPHISM BLEU MARINE + OR
   ============================================================ */

/* === NAVIGATION === */
.site-header {
    background: rgba(4, 9, 26, 0.92);
    border-bottom: 1px solid rgba(255, 198, 46, 0.18);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

/* Nav pleine largeur : brand à gauche, actions à droite */
.main-nav .nav-content {
    width: 100%;
    max-width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
    box-sizing: border-box;
}

.brand-title { color: #ffffff; }
.brand-subtitle { color: var(--muted); }
.brand-mark { color: var(--gold); }

.nav-links a {
    color: rgba(238, 242, 255, 0.78);
}
.nav-links a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after,
.nav-links a:hover::after { background: var(--gold); }

/* Bouton "Connexion" et nav actions */
.button-ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.22);
    color: rgba(238, 242, 255, 0.85);
}
.button-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

/* Bouton "Adhérer" — or brillant */
.button-primary {
    background: linear-gradient(110deg, #ffd85a, var(--gold), #ffe680, var(--gold), #ffd85a);
    background-size: 250% auto;
    color: #0d1a3a;
    font-weight: 800;
    animation: btnShimmer 3s linear infinite;
    border: none;
}

/* Bouton déconnexion — redesigné */
.button-secondary {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    color: rgba(238, 242, 255, 0.88);
}
.button-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.32);
}

/* Bouton logout spécifique */
.btn-logout {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: rgba(255, 198, 46, 0.1);
    border: 1px solid rgba(255, 198, 46, 0.28);
    color: var(--gold);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn-logout:hover {
    background: rgba(255, 198, 46, 0.18);
    border-color: var(--gold);
    box-shadow: 0 0 18px rgba(255, 198, 46, 0.2);
    transform: none;
}
.btn-logout svg { flex-shrink: 0; }

/* Hamburger mobile */
.nav-toggle span { background: rgba(238, 242, 255, 0.8); }

/* === HERO ACCUEIL === */
.hero-panel-home {
    background:
        radial-gradient(circle at 92% 12%, rgba(255, 198, 46, 0.3), transparent 28%),
        radial-gradient(circle at 10% 80%, rgba(77, 138, 255, 0.2), transparent 32%),
        linear-gradient(130deg, #050d24 0%, #0d1e50 40%, #1a3a8f 70%, #0d2060 100%);
    border: 1px solid rgba(255, 198, 46, 0.12);
    box-shadow: 0 8px 48px rgba(0, 0, 0, 0.6);
    min-height: calc(100vh - 90px);
    margin-top: -2rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
    align-content: center;
    border-radius: 0 0 32px 32px;
}
.hero-panel-home .hero-copy h1,
.hero-panel-home .hero-copy .hero-typing-text {
    background: none;
    -webkit-text-fill-color: #ffffff;
    color: #ffffff;
    animation: none;
}
.hero-panel-home .hero-copy p { color: rgba(238, 242, 255, 0.75); }
.hero-panel-home .hero-copy .eyebrow {
    color: var(--gold);
    background: rgba(255, 198, 46, 0.12);
    border: 1px solid rgba(255, 198, 46, 0.3);
    animation: none;
    box-shadow: none;
}
.hero-panel-home .button-ghost {
    color: rgba(255, 255, 255, 0.88);
    border-color: rgba(255, 255, 255, 0.3);
}
.hero-panel-home .button-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

/* VT card dans le hero */
.vt-card-main {
    background: rgba(15, 30, 70, 0.85);
    border-color: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(77, 138, 255, 0.15);
}
.vt-card-info strong { color: #ffffff; }
.vt-divider { background: rgba(255, 255, 255, 0.1); }
.vt-stat-num { color: var(--gold); }
.vt-stat-lbl { color: var(--muted); }
.vt-float {
    background: rgba(10, 20, 55, 0.88);
    border-color: rgba(255, 198, 46, 0.2);
    color: rgba(238, 242, 255, 0.92);
    backdrop-filter: blur(12px);
}

/* === FEATURE CARDS === */
.feature-showcase-card {
    background: rgba(255, 255, 255, 0.04);
    border: none;
    border-left: 3px solid var(--blue);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}
.feature-showcase-card h2 { color: #ffffff; }
.feature-showcase-card p  { color: var(--muted); }
.feature-showcase-card:hover { background: rgba(255, 255, 255, 0.08); }

.feature-showcase-card:nth-child(2) {
    background: rgba(255, 198, 46, 0.05);
    border-left-color: var(--gold);
}
.feature-showcase-card:nth-child(2):hover { background: rgba(255, 198, 46, 0.1); }

.feature-showcase-card:nth-child(3) { border-left-color: var(--green); }

/* === SECTION HERO ADMIN === */
.hero-panel.section-hero {
    background: linear-gradient(135deg, #050d24 0%, #0e2158 50%, #1a3a8f 100%);
    border: 1px solid rgba(255, 198, 46, 0.15);
    border-radius: 0;
    box-shadow: none;
}
.hero-panel.section-hero .eyebrow {
    color: var(--gold);
    background: rgba(255, 198, 46, 0.12);
    border: 1px solid rgba(255, 198, 46, 0.3);
    display: inline-flex;
    margin: 0 auto 0.5rem;
    animation: none;
    box-shadow: none;
}
.hero-panel.section-hero .page-title {
    background: none;
    -webkit-text-fill-color: #ffffff;
    color: #ffffff;
    animation: greetingIn 0.6s ease both;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin-bottom: 0.5rem;
}
.hero-panel.section-hero .lead {
    color: rgba(238, 242, 255, 0.72);
    font-size: 1rem;
    margin: 0 auto;
    max-width: 500px;
    text-align: center;
}
.hero-panel.section-hero .page-intro {
    max-width: 660px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

/* === ADMIN BAR === */
.admin-bar {
    background: linear-gradient(90deg, #030820 0%, #0b1a4a 100%);
    border-bottom: 2px solid rgba(255, 198, 46, 0.35);
}
.admin-nav-link { color: rgba(238, 242, 255, 0.6); }
.admin-nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}
.admin-nav-link.active {
    background: var(--gold);
    color: #0d1a3a;
    font-weight: 800;
}
.admin-bar .button-secondary {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(238, 242, 255, 0.85);
}
.admin-bar .button-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
}

/* === STAT CARDS ADMIN === */
.stat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
    backdrop-filter: blur(8px);
}
.stat-card:hover {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 198, 46, 0.25);
}
.stat-card-warning { border-left: 3px solid var(--gold); }
.stat-card-alert   { border-left: 3px solid #e45858; }
.stat-value {
    background: linear-gradient(120deg, var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.8rem;
}
.stat-label { color: var(--muted); }
.stat-link  { color: var(--blue); }

.stat-icon.blue   { background: rgba(77, 138, 255, 0.18); }
.stat-icon.gold   { background: rgba(255, 198, 46, 0.2);  }
.stat-icon.red    { background: rgba(228, 88, 88, 0.18);  }
.stat-icon.purple { background: rgba(117, 105, 216, 0.18);}
.stat-icon.green  { background: rgba(77, 189, 139, 0.18); }

/* === SHORTCUT CARDS ADMIN === */
.admin-shortcut-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
    color: var(--text);
}
.admin-shortcut-card strong { color: #ffffff; }
.admin-shortcut-card span   { color: var(--muted); }
.admin-shortcut-card:hover {
    background: rgba(255, 198, 46, 0.08);
    border-color: rgba(255, 198, 46, 0.3);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 198, 46, 0.1);
    transform: translateY(-3px);
}

/* === TABLEAU ADMIN === */
.admin-table th {
    background: rgba(255, 255, 255, 0.04);
    color: var(--gold);
}
.admin-table th,
.admin-table td   { border-bottom-color: rgba(255, 255, 255, 0.07); }
.admin-table td   { color: var(--text); }
.admin-table tbody tr:hover { background: rgba(255, 255, 255, 0.04); }
.admin-message-cell { color: var(--muted); }

/* === FILTER BAR === */
.filter-bar {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.09);
}
.filter-field label { color: var(--muted); }
.filter-field input,
.filter-field select {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--text);
}
.filter-field input:focus,
.filter-field select:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--gold);
    outline: 2px solid rgba(255, 198, 46, 0.15);
}

/* === FORMULAIRES === */
.form-panel {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
}
.field label { color: rgba(238, 242, 255, 0.88); }
.field input,
.field select,
.field textarea,
.newsletter-form input,
.inline-form input {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.13);
    color: var(--text);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--gold);
    outline: 2px solid rgba(255, 198, 46, 0.15);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); }
.field select option { background: #0d1a3a; color: #eef2ff; }

/* === LISTING CARDS === */
.listing-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    box-shadow: none;
    overflow: hidden;
}
.listing-card:hover {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    border-color: rgba(255, 198, 46, 0.2);
}
.listing-card-img    { background: rgba(77, 138, 255, 0.12); }
.listing-date        { color: var(--muted); }
.listing-badge,
.listing-context     { background: rgba(77, 138, 255, 0.18); color: var(--blue); }

/* === SCROLL CARDS (ACCUEIL FEED) === */
.scroll-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: none;
    overflow: hidden;
}
.scroll-card:hover {
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 198, 46, 0.2);
    transform: translateY(-2px);
}
.scroll-card-img     { background: rgba(77, 138, 255, 0.12); }
.scroll-card-body h3 { color: #ffffff; }
.scroll-card-body p  { color: var(--muted); }
.scroll-card-date    { color: var(--muted); }
.scroll-card-meta    { color: var(--muted); }
.scroll-card-badge.blue { background: rgba(77, 138, 255, 0.2); color: #7ab3ff; }
.scroll-card-badge.gold { background: rgba(255, 198, 46, 0.15); color: var(--gold); }

/* === CONTENT CARDS === */
.hero-panel,
.content-card,
.info-card,
.sidebar-card,
.event-card,
.newsletter-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    box-shadow: none;
    backdrop-filter: blur(8px);
}
.content-card.split-copy,
.content-card.split-list {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
}

/* === LIST ITEMS === */
.list-item {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}
.list-item strong { color: var(--gold); }
.list-item p      { color: var(--muted); }

/* === BADGES === */
.badge-success  { background: rgba(77, 189, 139, 0.18); color: #6dddad; }
.badge-warning  { background: rgba(255, 198, 46, 0.18);  color: var(--gold); }
.badge-danger   { background: rgba(228, 88, 88, 0.18);  color: #f08080; }
.badge-info     { background: rgba(77, 138, 255, 0.18); color: #7ab3ff; }
.badge-muted    { background: rgba(255, 255, 255, 0.08); color: var(--muted); }

.pill.blue { background: rgba(77, 138, 255, 0.18); color: #7ab3ff; }
.pill.gold { background: rgba(255, 198, 46, 0.18); color: var(--gold); }

.status-processed { background: rgba(77, 189, 139, 0.18); color: #6dddad; }
.status-pending   { background: rgba(255, 198, 46, 0.18);  color: var(--gold); }

/* === SECTION HEADING DANS SPLIT === */
.section-heading h2 {
    color: #ffffff;
    background: none;
    -webkit-text-fill-color: #ffffff;
    animation: none;
}

/* === FOOTER === */
.site-footer {
    background: linear-gradient(160deg, #02060f 0%, #04091a 60%, #030712 100%);
    border-top: 1px solid rgba(255, 198, 46, 0.15);
}
.footer-brand-name             { color: #ffffff; }
.footer-desc                   { color: rgba(238, 242, 255, 0.5); }
.footer-col h4                 { color: var(--gold); }
.footer-col p                  { color: rgba(238, 242, 255, 0.5); }
.footer-col .footer-links a    { color: rgba(238, 242, 255, 0.52); }
.footer-col .footer-links a:hover { color: var(--gold); }
.footer-bottom                 { border-top-color: rgba(255,255,255,.08); color: rgba(238,242,255,.35); }
.footer-legal a                { color: rgba(238,242,255,.35); }
.footer-legal a:hover          { color: var(--gold); }

.social-icon {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}
.social-icon:hover {
    background: rgba(255, 198, 46, 0.12);
    border-color: rgba(255, 198, 46, 0.4);
}

/* Couleurs brand SVG */
.si-x         { color: #e7e9ea; }
.si-tiktok    { color: #ffffff; }
.si-twitch    { color: #9146FF; }
.si-instagram { color: #E1306C; }
    box-shadow: 0 0 16px rgba(255, 198, 46, 0.2);
}

/* === MISC === */
.separator::before,
.separator::after  { background: rgba(255,255,255,0.12); }
.separator         { color: var(--muted); }

.subtle-panel {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.notice-card {
    background: rgba(77, 138, 255, 0.08);
    border-radius: 14px;
    padding: 1rem;
    border: 1px solid rgba(77, 138, 255, 0.2);
}

.button-danger {
    background: rgba(228, 88, 88, 0.14);
    border-color: rgba(228, 88, 88, 0.3);
    color: #f08080;
}
.button-danger:hover { background: rgba(228, 88, 88, 0.24); }

.helper-link, .muted-link { color: var(--blue); }
.auth-link-row a           { color: var(--gold); }

.form-alert-success { background: rgba(77,189,139,.14); border-color: rgba(77,189,139,.3); color: #6dddad; }
.form-alert-error   { background: rgba(228,88,88,.14);  border-color: rgba(228,88,88,.3);  color: #f08080; }

.checkbox { color: var(--muted); }

.admin-done { color: #6dddad; }

/* event-date dans sidebar */
.event-date {
    background: linear-gradient(180deg, var(--blue), var(--blue-dark));
}

/* Mini boutons listing */
.mini-button { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: #fff; }

/* Tags showcase */
.tag.gold  { background: linear-gradient(135deg, #ffc941, #e6a911); color: #0d1a3a; }
.tag.blue  { background: linear-gradient(135deg, #4d8aff, #2060c8); }
.tag.green { background: linear-gradient(135deg, #6dcf78, #48b85a); }
.tag.pink  { background: linear-gradient(135deg, #ff77a7, #df4b86); }

/* Avatars membres */
.member-avatar { border-color: rgba(255,255,255,0.15); }

/* Auth feature boxes */
.auth-feature-box {
    background: rgba(77, 138, 255, 0.15);
    color: var(--blue);
}
.auth-feature:nth-child(2) .auth-feature-box { background: rgba(77,189,139,.15); color: var(--green); }
.auth-feature:nth-child(3) .auth-feature-box { background: rgba(117,105,216,.15); color: var(--purple); }

/* Required star */
.required { color: #f08080; }

/* Scrollbar global */
::-webkit-scrollbar       { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,198,46,0.5); }

/* Feature cards (apropos) */
.feature-card {
    background: transparent;
    border: none;
    border-top: 3px solid var(--blue);
}
.feature-card:nth-child(2) { border-top-color: var(--gold-dark); }
.feature-card h3, .feature-card p { color: var(--text); }
.feature-card p { color: var(--muted); }

/* Eyebrow global (hors hero) */
.eyebrow {
    color: var(--gold);
    animation: none;
    box-shadow: none;
}

/* Page title hors section-hero (fond sombre neutre) */
.page-title {
    background: none;
    -webkit-text-fill-color: var(--text);
    color: var(--text);
    animation: none;
}

/* Listing link */
.listing-link { color: var(--blue); }
.listing-link:hover { color: var(--gold); }

/* Home feed title — gradient or-bleu */
.home-feed-title {
    background: linear-gradient(110deg, var(--gold) 0%, var(--gold-dark) 40%, var(--blue) 80%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShine 4s linear infinite;
    font-size: 1.6rem;
    font-weight: 900;
}

/* =======================================================
   SECTION-HERO — CENTRAGE DÉFINITIF (toutes pages)
   ======================================================= */
.page-shell .hero-panel.section-hero {
    margin-top: 0;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 3rem var(--side-pad) 2.5rem;
}

.page-shell .hero-panel.section-hero .page-intro,
.page-shell .hero-panel.section-hero .page-intro-wide {
    max-width: 660px;
    width: 100%;
    margin: 0 auto;
    text-align: center !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.page-shell .hero-panel.section-hero .page-title {
    text-align: center !important;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.page-shell .hero-panel.section-hero .lead {
    text-align: center !important;
    width: 100%;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.page-shell .hero-panel.section-hero .eyebrow {
    align-self: center;
    margin-left: auto;
    margin-right: auto;
}

/* =======================================================
   RESPONSIVE SOMBRE
   ======================================================= */

@media (max-width: 720px) {
    .hero-panel.section-hero .page-title { font-size: 1.7rem; }
    .vt-float { font-size: 0.7rem; }
    .scroll-track-inner { animation-duration: 22s; }
}
