/* ==========================================================================
   NDSA (Nusrathu Da'wa Students Association) - Main Design System & Styles
   Primary Palette: Deep Dark Navy Blue (#060B24, #0A1128), Clean White (#FFFFFF),
   Neon Green / Emerald Accent (#00FF87 / #00E676).
   ========================================================================== */

:root {
    /* Brand Color Tokens */
    --navy-deep: #040817;
    --navy-primary: #0A1128;
    --navy-surface: #0F1836;
    --navy-card: #152248;
    --navy-border: #1E3066;

    --white: #FFFFFF;
    --off-white: #F8FAFC;
    --slate-100: #F1F5F9;
    --slate-200: #E2E8F0;
    --slate-400: #94A3B8;
    --slate-600: #475569;
    --slate-800: #1E293B;

    /* Accent & State Colors */
    --accent-neon: #00FF87;
    --accent-emerald: #00E676;
    --accent-blue: #38BDF8;
    --accent-amber: #F59E0B;
    --accent-rose: #F43F5E;

    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 12px rgba(4, 8, 23, 0.15);
    --shadow-lg: 0 12px 32px rgba(4, 8, 23, 0.25);
    --shadow-glow: 0 0 20px rgba(0, 255, 135, 0.2);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--navy-deep);
    color: var(--slate-100);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--white);
}

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

a:hover {
    color: var(--accent-emerald);
}

button {
    font-family: var(--font-heading);
    cursor: pointer;
    border: none;
    background: none;
    outline: none;
}

/* Layout Container */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.text-center { text-align: center; }
.w-100 { width: 100%; }
.mb-3 { margin-bottom: 1rem; }
.mt-2 { margin-top: 0.5rem; }

/* Grid System */
.grid {
    display: grid;
    gap: 1.5rem;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 992px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Typography & Subtitles */
.section-subtitle {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--accent-neon);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
}

.section-desc {
    color: var(--slate-400);
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto 2.5rem;
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
}

/* Horizontal Scroll Container & Controls */
.scroll-nav-group {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.btn-scroll-arrow {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    background: var(--navy-surface);
    border: 1px solid var(--navy-border);
    color: var(--slate-300);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    padding: 0;
}

.btn-scroll-arrow i,
.btn-scroll-arrow svg {
    width: 18px;
    height: 18px;
}

.btn-scroll-arrow:hover {
    background: rgba(56, 189, 248, 0.15);
    border-color: var(--accent-neon);
    color: var(--accent-neon);
    transform: scale(1.05);
}

.btn-scroll-arrow:active {
    transform: scale(0.95);
}

.horizontal-scroll-container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0.5rem 0.25rem 1.25rem 0.25rem;
    margin: 0 -0.25rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(56, 189, 248, 0.4) rgba(15, 23, 42, 0.6);
}

.horizontal-scroll-container::-webkit-scrollbar {
    height: 7px;
}

.horizontal-scroll-container::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.horizontal-scroll-container::-webkit-scrollbar-thumb {
    background: rgba(56, 189, 248, 0.35);
    border-radius: 10px;
    transition: background 0.2s ease;
}

.horizontal-scroll-container::-webkit-scrollbar-thumb:hover {
    background: var(--accent-neon);
}

/* Specific Card Layouts inside Horizontal Scroll */
#home-events-grid > .event-card {
    flex: 0 0 420px;
    max-width: 85vw;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

#home-posters-grid > .home-event-poster-card {
    flex: 0 0 360px;
    max-width: 85vw;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.horizontal-scroll-container > .text-center {
    flex: 1 0 100%;
    min-width: 100%;
}

@media (max-width: 768px) {
    .scroll-nav-group {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    #home-events-grid > .event-card {
        flex: 0 0 290px;
        max-width: 85vw;
        padding: 1.15rem 1rem;
    }

    #home-posters-grid > .home-event-poster-card {
        flex: 0 0 290px;
    }
}

@media (max-width: 480px) {
    #home-events-grid > .event-card {
        flex: 0 0 270px;
        max-width: 84vw;
        padding: 1rem 0.9rem;
    }

    #home-posters-grid > .home-event-poster-card {
        flex: 0 0 260px;
    }
}

/* Badges & Pills */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.badge-urgent {
    background: rgba(244, 63, 94, 0.2);
    color: var(--accent-rose);
    border: 1px solid rgba(244, 63, 94, 0.4);
}
.badge-accent {
    background: rgba(0, 255, 135, 0.12);
    color: var(--accent-neon);
    border: 1px solid rgba(0, 255, 135, 0.3);
}
.badge-blue {
    background: rgba(56, 189, 248, 0.12);
    color: var(--accent-blue);
    border: 1px solid rgba(56, 189, 248, 0.3);
}

/* Buttons System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-lg {
    padding: 0.95rem 2rem;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 0.45rem 0.9rem;
    font-size: 0.85rem;
}

.btn-primary {
    background: var(--accent-neon);
    color: var(--navy-deep);
    font-weight: 700;
    box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
    background: var(--accent-emerald);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--navy-surface);
    color: var(--white);
    border: 1px solid var(--navy-border);
}
.btn-secondary:hover {
    background: var(--navy-card);
    border-color: var(--accent-neon);
    color: var(--accent-neon);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.25);
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.btn-admin {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-amber);
    border: 1px solid rgba(245, 158, 11, 0.3);
}
.btn-admin:hover {
    background: var(--accent-amber);
    color: var(--navy-deep);
}

.btn-success {
    background: var(--accent-emerald);
    color: var(--navy-deep);
    font-weight: 700;
}
.btn-accent {
    background: rgba(0, 255, 135, 0.15);
    color: var(--accent-neon);
    border: 1px solid rgba(0, 255, 135, 0.4);
    font-weight: 600;
    cursor: pointer;
}
.btn-accent:hover {
    background: var(--accent-neon);
    color: var(--navy-deep);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}
.btn-danger {
    background: var(--accent-rose);
    color: var(--white);
}

/* Live Announcement Bar & Marquee Ticker */
.announcement-bar {
    background: linear-gradient(90deg, #1E1B4B 0%, #0F172A 100%);
    border-bottom: 1px solid var(--navy-border);
    padding: 0.5rem 0;
    font-size: 0.875rem;
    position: relative;
    z-index: 101;
    overflow: hidden;
}
.announcement-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}
.announcement-content .badge-urgent {
    flex-shrink: 0;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    z-index: 2;
    box-shadow: 0 0 10px rgba(244, 63, 94, 0.25);
}
.ticker-text-wrapper {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}
.ticker-track {
    display: flex;
    align-items: center;
    width: max-content;
    white-space: nowrap;
    will-change: transform;
    -webkit-animation: announcement-marquee 22s linear infinite;
    animation: announcement-marquee 22s linear infinite;
}
.ticker-item {
    display: inline-flex;
    align-items: center;
    padding-right: 3rem;
    color: var(--slate-200);
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.4;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Pause scroll ONLY on desktop pointer hover (avoid freezing on mobile touch) */
@media (hover: hover) and (pointer: fine) {
    .ticker-text-wrapper:hover .ticker-track {
        -webkit-animation-play-state: paused;
        animation-play-state: paused;
        cursor: default;
    }
}

.ticker-close {
    color: var(--slate-400);
    padding: 0.25rem;
    flex-shrink: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-fast), transform var(--transition-fast);
}
.ticker-close:hover { 
    color: var(--white);
    transform: scale(1.1);
}

/* Hardware-accelerated Marquee continuous scroll animation */
@-webkit-keyframes announcement-marquee {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    100% {
        -webkit-transform: translate3d(-50%, 0, 0);
        transform: translate3d(-50%, 0, 0);
    }
}
@keyframes announcement-marquee {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    100% {
        -webkit-transform: translate3d(-50%, 0, 0);
        transform: translate3d(-50%, 0, 0);
    }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
    .ticker-track {
        -webkit-animation: none;
        animation: none;
        overflow-x: auto;
    }
    .ticker-item:last-child {
        display: none;
    }
}

/* Header & Navigation */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(8, 14, 34, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(30, 48, 102, 0.7);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 1rem;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
    user-select: none;
    cursor: pointer;
    min-width: max-content;
}
.logo-crest {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, var(--navy-card) 0%, var(--navy-surface) 100%);
    border: 1px solid var(--accent-neon);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-neon);
    box-shadow: 0 0 12px rgba(0, 255, 135, 0.22);
    overflow: hidden;
}
.logo-crest i,
.logo-crest svg {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    flex-shrink: 0;
    display: block;
}
.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
    min-width: max-content;
}
.brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--white);
    letter-spacing: -0.02em;
    display: block;
    line-height: 1;
    white-space: nowrap;
    flex-shrink: 0;
}
.brand-sub {
    font-size: 0.675rem;
    color: var(--slate-400);
    display: block;
    margin-top: 0.15rem;
    line-height: 1;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin: 0 auto;
    padding: 0;
}
.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    min-width: 38px;
    padding: 0 0.65rem;
    border-radius: var(--radius-full);
    color: var(--slate-400);
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
    position: relative;
    user-select: none;
    line-height: 1;
}
.nav-link i,
.nav-link svg {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    flex-shrink: 0;
    display: inline-block;
    transition: transform 0.2s ease, color 0.2s ease;
}
/* Text label hidden by default in compact mode */
.nav-link .nav-text {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
    transform: translateX(-4px);
    transition: max-width 0.28s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.22s ease,
                transform 0.25s ease,
                margin 0.25s ease;
    margin-left: 0;
    pointer-events: none;
}
/* Hover state - reveals text label smoothly */
.nav-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
}
.nav-link:hover i,
.nav-link:hover svg {
    color: var(--white);
    transform: scale(1.06);
}
.nav-link:hover .nav-text {
    max-width: 170px;
    opacity: 1;
    transform: translateX(0);
    margin-left: 0.45rem;
    pointer-events: auto;
}
/* Active state - reveals text with neon green accent */
.nav-link.active {
    color: var(--accent-neon);
    background: rgba(0, 255, 135, 0.08);
    border-color: rgba(0, 255, 135, 0.25);
    font-weight: 600;
}
.nav-link.active i,
.nav-link.active svg {
    color: var(--accent-neon);
}
.nav-link.active .nav-text {
    max-width: 170px;
    opacity: 1;
    transform: translateX(0);
    margin-left: 0.45rem;
    pointer-events: auto;
}

.header-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}
.btn-admin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 38px;
    padding: 0 1.05rem;
    border-radius: var(--radius-md);
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-amber);
    border: 1px solid rgba(245, 158, 11, 0.35);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
    transition: var(--transition);
}
.btn-admin i,
.btn-admin svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.btn-admin:hover {
    background: var(--accent-amber);
    color: var(--navy-deep);
    border-color: var(--accent-amber);
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.35);
    transform: translateY(-1px);
}

.mobile-toggle {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
}

@media (max-width: 880px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--navy-primary);
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid var(--navy-border);
    }
    .nav-menu.open { display: flex; }
    .mobile-toggle { display: block; }
}

/* Dynamic Page Views */
.page-view {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}
.page-view.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Page Header Banner */
.page-header {
    background: linear-gradient(180deg, var(--navy-primary) 0%, var(--navy-deep) 100%);
    border-bottom: 1px solid var(--navy-border);
    padding: 4rem 0 3rem;
    text-align: center;
}
.page-title {
    font-size: 2.75rem;
    margin-bottom: 0.75rem;
}
.page-subtitle {
    color: var(--slate-400);
    font-size: 1.15rem;
    max-width: 680px;
    margin: 0 auto;
}

/* Cards & Surfaces */
.card {
    background: var(--navy-surface);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: var(--transition);
}
.card:hover {
    border-color: rgba(0, 255, 135, 0.4);
    box-shadow: var(--shadow-md);
}
.card-icon {
    width: 52px;
    height: 52px;
    background: rgba(0, 255, 135, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-neon);
    margin-bottom: 1.25rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 6.5rem 0 5rem;
    background: radial-gradient(circle at 50% 20%, #152248 0%, #040817 75%);
    border-bottom: 1px solid var(--navy-border);
}
.hero-container {
    position: relative;
    z-index: 2;
}
.hero-content {
    max-width: 840px;
    margin: 0 auto;
    text-align: center;
}
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(0, 255, 135, 0.1);
    border: 1px solid rgba(0, 255, 135, 0.3);
    border-radius: var(--radius-full);
    color: var(--accent-neon);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.hero-title {
    font-size: 3.5rem;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    background: linear-gradient(180deg, #FFFFFF 0%, #CBD5E1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    font-size: 1.25rem;
    color: var(--slate-400);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}
.hero-cta-group,
.hero-social-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    margin-bottom: 4rem;
}

.hero-social-label {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-neon);
}

.hero-social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
}

.hero-social-btn {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-full);
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(0, 255, 135, 0.25);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-200);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.hero-social-btn i {
    width: 22px;
    height: 22px;
}

.hero-social-btn:hover {
    color: var(--navy-deep);
    background: var(--accent-neon);
    border-color: var(--accent-neon);
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 0 20px rgba(0, 255, 135, 0.5);
}

.hero-stats {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 24, 54, 0.8);
    backdrop-filter: blur(16px);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-lg);
    padding: 1.25rem 2.5rem;
    gap: 2.5rem;
}
.stat-item { text-align: center; }
.stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
}
.stat-label {
    font-size: 0.825rem;
    color: var(--slate-400);
}
.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--navy-border);
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.35rem; }
    .hero-stats { flex-direction: column; gap: 1rem; padding: 1.25rem; }
    .stat-divider { display: none; }
}

/* Pillar Card */
.pillar-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}
.pillar-card p {
    color: var(--slate-400);
    font-size: 0.95rem;
}

/* Club Cards */
.club-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.club-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.club-avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--navy-card);
    border: 1px solid var(--navy-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-neon);
}
.club-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
}
.club-card-desc {
    color: var(--slate-400);
    font-size: 0.925rem;
    margin-bottom: 1.25rem;
    flex: 1;
}
.club-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--navy-border);
    font-size: 0.85rem;
    color: var(--slate-400);
    margin-bottom: 1.25rem;
}

/* Directory Search & Filters */
.directory-controls {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 3rem;
}
.search-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}
.search-box i,
.search-box svg {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--accent-neon);
    pointer-events: none;
    z-index: 2;
    transition: var(--transition);
}
.search-box input {
    width: 100%;
    padding: 0.95rem 1.25rem 0.95rem 3.25rem;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition);
}
.search-box input:focus {
    border-color: var(--accent-neon);
    box-shadow: 0 0 16px rgba(0, 255, 135, 0.25);
    outline: none;
    background: rgba(15, 23, 42, 0.95);
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.pill {
    padding: 0.5rem 1.1rem;
    border-radius: var(--radius-full);
    background: var(--navy-surface);
    border: 1px solid var(--navy-border);
    color: var(--slate-400);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
}
.pill.active, .pill:hover {
    background: rgba(0, 255, 135, 0.12);
    border-color: var(--accent-neon);
    color: var(--accent-neon);
}

/* Event Cards - Refined Vertical Responsive Hierarchy */
.event-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    padding: 1.35rem 1.25rem;
    background: var(--navy-card);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.event-card:hover {
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.12);
    transform: translateY(-2px);
}

.event-card-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.event-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 0.85rem;
    width: 100%;
}

.event-date-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: var(--radius-sm);
    padding: 0.28rem 0.65rem;
    color: var(--white);
    flex-shrink: 0;
}

.event-date-pill .event-day {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--accent-neon);
    line-height: 1;
}

.event-date-pill .event-month {
    font-size: 0.72rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--slate-300);
    letter-spacing: 0.05em;
}

.event-badge-group {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.event-card-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.35;
    margin: 0 0 0.6rem 0;
    width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
    letter-spacing: -0.01em;
}

.event-card-desc {
    font-size: 0.88rem;
    color: var(--slate-400);
    margin: 0 0 0.85rem 0;
    line-height: 1.5;
    width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    font-size: 0.82rem;
    color: var(--slate-300);
    margin-bottom: 1.15rem;
    background: rgba(15, 23, 42, 0.55);
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--navy-border);
    width: 100%;
    box-sizing: border-box;
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow-wrap: break-word;
    word-break: break-word;
    min-width: 0;
}

.event-card-footer {
    margin-top: auto;
    width: 100%;
}

.event-date-box {
    min-width: 80px;
    height: 85px;
    background: var(--navy-card);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.event-day {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent-neon);
    line-height: 1;
}
.event-month {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--slate-400);
}
.event-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.35rem;
}

/* Executive Leadership Grid */
.exec-card {
    text-align: center;
}
.exec-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy-card) 0%, var(--navy-border) 100%);
    border: 2px solid var(--accent-neon);
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}
.exec-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}
.exec-role {
    color: var(--accent-neon);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.exec-desc {
    font-size: 0.85rem;
    color: var(--slate-400);
}

/* Contact & Forms */
.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}
.social-box h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
.social-links {
    display: flex;
    gap: 0.75rem;
}
.social-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--navy-surface);
    border: 1px solid rgba(0, 255, 135, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}
.social-link i {
    width: 22px;
    height: 22px;
}
.social-link:hover {
    border-color: var(--accent-neon);
    color: var(--navy-deep);
    background: var(--accent-neon);
    transform: translateY(-3px) scale(1.06);
    box-shadow: 0 0 18px rgba(0, 255, 135, 0.5);
}

.form-group {
    margin-bottom: 1.25rem;
}
.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-200);
    margin-bottom: 0.4rem;
}
.form-control {
    width: 100%;
    height: 46px;
    padding: 0.75rem 1rem;
    background: var(--navy-card);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-md);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    box-sizing: border-box;
}
textarea.form-control {
    height: auto;
}
.form-control:focus {
    border-color: var(--accent-neon);
    outline: none;
}

/* Leadership Admin Portal */
.admin-header {
    background: linear-gradient(180deg, #1E1B4B 0%, var(--navy-deep) 100%);
    border-bottom: 1px solid var(--navy-border);
    padding: 3rem 0;
}
.admin-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.admin-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.8rem;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: var(--radius-full);
    color: var(--accent-amber);
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}
.admin-title { font-size: 2.25rem; }
.admin-subtitle { color: var(--slate-400); font-size: 1rem; }
.auth-pill {
    padding: 0.5rem 1rem;
    background: var(--navy-surface);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    color: var(--accent-neon);
}

.admin-metrics {
    margin-bottom: 2.5rem;
}
.metric-card {
    background: var(--navy-surface);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.metric-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}
.icon-blue { background: rgba(56, 189, 248, 0.12); color: var(--accent-blue); }
.icon-green { background: rgba(0, 255, 135, 0.12); color: var(--accent-neon); }
.icon-amber { background: rgba(245, 158, 11, 0.12); color: var(--accent-amber); }
.icon-purple { background: rgba(168, 85, 247, 0.12); color: #C084FC; }

.metric-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--white);
}
.metric-label {
    font-size: 0.8rem;
    color: var(--slate-400);
}

.admin-tabs {
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid var(--navy-border);
    margin-bottom: 2rem;
    overflow-x: auto;
}
.admin-tab-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    color: var(--slate-400);
    font-weight: 600;
    font-size: 0.95rem;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}
.admin-tab-btn.active {
    color: var(--accent-neon);
    border-bottom-color: var(--accent-neon);
}
.badge-count {
    background: var(--accent-rose);
    color: var(--white);
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
}

.admin-tab-content {
    display: none;
}
.admin-tab-content.active {
    display: block;
}

.admin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

/* Admin Tables */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-lg);
}
.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}
.admin-table th {
    background: var(--navy-surface);
    color: var(--slate-400);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--navy-border);
}
.admin-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--navy-border);
    color: var(--slate-200);
}
.admin-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* Modals System - Centered Layout, Heavy Backdrop Blur & Dimmed Overlay */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(2, 6, 23, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    box-sizing: border-box;
}
.modal-overlay.active {
    display: flex !important;
    animation: modalOverlayFadeIn 0.25s ease-out forwards;
}
.modal-card {
    position: relative;
    margin: auto;
    background: var(--navy-surface);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 540px;
    max-height: 88vh;
    overflow-y: auto;
    padding: 2.25rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.85), 0 0 35px rgba(56, 189, 248, 0.15);
    animation: modalCardPopCenter 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.modal-lg { max-width: 760px; }
.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    color: var(--slate-400);
    padding: 0.4rem;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}
.modal-close:hover { color: var(--white); transform: scale(1.1); }

/* Dedicated Centered Styling for "Register New NDSA Club" Pop-Up Modal */
#add-club-modal.modal-overlay {
    background: rgba(2, 6, 23, 0.9) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
}

#add-club-modal .modal-card {
    max-width: 580px;
    border: 1px solid rgba(56, 189, 248, 0.4);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.9), 0 0 40px rgba(56, 189, 248, 0.2);
}

@keyframes modalOverlayFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalCardPopCenter {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Footer */
.main-footer {
    background: var(--navy-deep);
    border-top: 1px solid var(--navy-border);
    padding-top: 4rem;
}
.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    align-items: start;
}
.footer-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-top: 0;
    margin-bottom: 1.15rem;
    letter-spacing: 0.02em;
    line-height: 1.2;
}
@media (max-width: 880px) {
    .footer-container { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 0.7rem;
}
.footer-links a {
    color: var(--slate-400);
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--accent-neon);
}
.footer-desc {
    color: var(--slate-400);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    line-height: 1.5;
}
.footer-bottom {
    background: rgba(0, 0, 0, 0.4);
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: var(--slate-400);
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.toast {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--navy-card);
    border: 1px solid var(--accent-neon);
    border-radius: var(--radius-md);
    color: var(--white);
    box-shadow: var(--shadow-lg);
    animation: slideIn 0.3s ease;
}
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Embedded Header Search Bar */
.header-search-box {
    position: relative;
    width: 240px;
    margin: 0 1rem;
}
.header-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--slate-400);
    pointer-events: none;
}
#header-search-input {
    width: 100%;
    padding: 0.55rem 0.85rem 0.55rem 2.4rem;
    border-radius: var(--radius-full);
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--navy-border);
    color: var(--white);
    font-size: 0.85rem;
    transition: var(--transition);
}
#header-search-input:focus {
    outline: none;
    border-color: var(--accent-neon);
    box-shadow: 0 0 12px rgba(0, 255, 135, 0.25);
    background: rgba(15, 23, 42, 0.95);
}
@media (max-width: 992px) {
    .header-search-box { width: 160px; margin: 0 0.5rem; }
}

/* Clickable Minimalist Club Cards */
.clickable-club-card {
    cursor: pointer;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.75rem;
}
.clickable-club-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-neon);
    box-shadow: 0 10px 25px rgba(0, 255, 135, 0.15);
    background: linear-gradient(145deg, var(--navy-surface) 0%, rgba(15, 24, 54, 0.9) 100%);
}
.clickable-club-card .card-arrow-indicator {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--slate-400);
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 1rem;
    transition: var(--transition);
}
.clickable-club-card:hover .card-arrow-indicator {
    color: var(--accent-neon);
    transform: translateX(4px);
}

/* Dedicated Club Page Layout */
.club-detail-header {
    background: linear-gradient(135deg, var(--navy-surface) 0%, #0c142c 100%);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}
.club-detail-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 280px;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 255, 135, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.club-nav-tabs {
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid var(--navy-border);
    margin-bottom: 2rem;
    overflow-x: auto;
}
.club-tab-btn {
    padding: 0.85rem 1.5rem;
    background: transparent;
    color: var(--slate-400);
    font-weight: 600;
    font-size: 0.95rem;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.club-tab-btn:hover {
    color: var(--white);
}
.club-tab-btn.active {
    color: var(--accent-neon);
    border-bottom-color: var(--accent-neon);
}

/* Poster Upload Zone & Gallery */
.poster-drop-zone {
    border: 2px dashed rgba(0, 255, 135, 0.3);
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.5rem;
    text-align: center;
    background: rgba(15, 23, 42, 0.5);
    transition: var(--transition);
    cursor: pointer;
}
.poster-drop-zone:hover {
    border-color: var(--accent-neon);
    background: rgba(0, 255, 135, 0.04);
}
.poster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.poster-scroll-container {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0.5rem 0.25rem 1.25rem 0.25rem;
    margin: 0 -0.25rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(56, 189, 248, 0.4) rgba(15, 23, 42, 0.6);
}
.poster-scroll-container::-webkit-scrollbar {
    height: 7px;
}
.poster-scroll-container::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.poster-scroll-container::-webkit-scrollbar-thumb {
    background: rgba(56, 189, 248, 0.35);
    border-radius: 10px;
    transition: background 0.2s ease;
}
.poster-scroll-container::-webkit-scrollbar-thumb:hover {
    background: var(--accent-neon);
}
.poster-scroll-container > .poster-card {
    flex: 0 0 280px;
    max-width: 85vw;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}
.poster-card {
    background: var(--navy-surface);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}
.poster-card:hover {
    border-color: var(--accent-neon);
    transform: translateY(-2px);
}
.poster-img-wrapper {
    height: 180px;
    overflow: hidden;
    position: relative;
    background: #090e1f;
}
.poster-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sync Roster Table */
.sync-badge {
    background: rgba(56, 189, 248, 0.15);
    color: var(--accent-blue);
    border: 1px solid rgba(56, 189, 248, 0.3);
    font-size: 0.75rem;
}

/* Event Registration Toggle Switch & Form */
.toggle-switch-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.15rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
}
.toggle-switch-container:hover {
    border-color: var(--accent-neon);
}
.toggle-switch-container input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--accent-neon);
    cursor: pointer;
}

/* Simplified Club Detail Banner */
.simplified-club-banner {
    background: linear-gradient(135deg, var(--navy-surface) 0%, #0b1328 100%);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
}
.simplified-club-title {
    font-size: 2.25rem;
    color: var(--white);
    font-weight: 800;
    margin-bottom: 1.25rem;
}
.simplified-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    background: rgba(15, 23, 42, 0.6);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--navy-border);
}

/* Homepage Event Poster Card - Full Poster Presentation & Expandable Details */
.home-event-poster-card {
    background: var(--navy-surface);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.home-event-poster-card:hover {
    border-color: rgba(56, 189, 248, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}
.home-event-poster-frame {
    width: 100%;
    background: #050814;
    border-bottom: 1px solid var(--navy-border);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 220px;
}
.home-event-poster-img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: contain;
    display: block;
    background: #050814;
    transition: transform 0.3s ease;
}
.home-event-poster-placeholder {
    width: 100%;
    min-height: 240px;
    background: radial-gradient(circle at 50% 30%, rgba(56, 189, 248, 0.12) 0%, rgba(15, 23, 42, 0.95) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    text-align: center;
}
.home-event-placeholder-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-neon);
    margin-bottom: 0.85rem;
}
.home-event-summary-bar {
    padding: 0.95rem 1.15rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(15, 23, 42, 0.95);
    border-top: 1px solid var(--navy-border);
}
.home-poster-publisher-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--white);
    letter-spacing: 0.01em;
}

/* Event Center Categorized Sections */
.events-lifecycle-section {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}
.events-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--navy-border);
}
.events-section-icon-box {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.home-event-title {
    font-size: 1.1rem;
    color: var(--white);
    margin: 0;
    font-weight: 600;
    line-height: 1.35;
}
.btn-more-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    padding: 0.4rem 0.85rem;
    border-color: var(--navy-border);
    color: var(--slate-200);
    border-radius: var(--radius-sm);
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.btn-more-toggle:hover,
.btn-more-toggle.active {
    border-color: var(--accent-blue);
    color: var(--accent-neon);
    background: rgba(56, 189, 248, 0.1);
}
.home-event-expandable-details {
    padding: 1.15rem 1.25rem;
    background: rgba(20, 29, 47, 0.95);
    border-top: 1px solid var(--navy-border);
    animation: fadeInSlide 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.home-event-desc {
    font-size: 0.88rem;
    color: var(--slate-300);
    line-height: 1.5;
    margin: 0 0 1rem;
}
.home-event-meta-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--slate-300);
    background: rgba(15, 23, 42, 0.6);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--navy-border);
    margin-bottom: 1rem;
}
.home-event-meta-grid .meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.open-entry-notice {
    font-size: 0.82rem;
    color: var(--slate-400);
    text-align: center;
    padding: 0.5rem;
    background: rgba(30, 41, 59, 0.4);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

/* Centered About Us Single Block Section */
.about-single-block {
    max-width: 960px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(30, 27, 75, 0.6) 0%, rgba(15, 23, 42, 0.9) 100%);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-lg);
    padding: 3.5rem 2.5rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}
.about-single-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-neon), transparent);
}
.about-block-header {
    max-width: 780px;
    margin: 0 auto 3rem auto;
}
.about-block-title {
    font-size: 2.25rem;
    color: var(--white);
    font-weight: 800;
    margin-bottom: 1.25rem;
    line-height: 1.25;
}
.about-block-lead {
    font-size: 1.05rem;
    color: var(--slate-300);
    line-height: 1.7;
}
.about-pillars-grid {
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
.about-pillar-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-md);
    padding: 1.75rem 1.25rem;
    text-align: center;
    transition: var(--transition);
}
.about-pillar-card:hover {
    border-color: var(--accent-neon);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 255, 135, 0.12);
}
.pillar-icon-box {
    width: 52px;
    height: 52px;
    margin: 0 auto 1.25rem auto;
    border-radius: var(--radius-md);
    background: rgba(0, 255, 135, 0.1);
    border: 1px solid rgba(0, 255, 135, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-neon);
}
.pillar-icon-box svg,
.pillar-icon-box i {
    width: 24px;
    height: 24px;
}
.about-pillar-card h3 {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}
.about-pillar-card p {
    font-size: 0.9rem;
    color: var(--slate-400);
    line-height: 1.6;
}
.about-quote-box {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: var(--radius-md);
    padding: 1.75rem 2rem;
    max-width: 720px;
    margin: 0 auto;
    position: relative;
}
.about-quote-box p {
    font-style: italic;
    font-size: 1.05rem;
    color: var(--slate-200);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}
.about-quote-box .quote-author {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-neon);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Secretariat Leadership Cards & Avatar Uploads */
.secretariat-card {
    background: var(--navy-surface);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.25rem;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.secretariat-card:hover {
    border-color: var(--accent-neon);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 255, 135, 0.15);
}
.secretariat-avatar-box {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    margin-bottom: 1rem;
    background: rgba(30, 41, 59, 0.8);
    border: 2px solid var(--accent-neon);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(0, 255, 135, 0.2);
}
.secretariat-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.table-avatar-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--navy-border);
}

/* Homepage Financial Summary Section */
.home-finance-section {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.5) 0%, rgba(2, 6, 23, 0.85) 100%);
    border-top: 1px solid var(--navy-border);
    border-bottom: 1px solid var(--navy-border);
    position: relative;
}

.stat-summary-card {
    background: var(--navy-surface);
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: var(--transition);
}

.stat-summary-card:hover {
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.stat-card-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.stat-card-label {
    display: block;
    font-size: 0.8rem;
    color: var(--slate-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.stat-card-val {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}

.stat-card-sub {
    font-size: 0.75rem;
    margin-top: 0.3rem;
    display: block;
    font-weight: 500;
}

.text-emerald { color: #10b981; }
.text-rose { color: #fca5a5; }
.text-sky { color: var(--accent-neon); }

@keyframes spinIcon {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spin-icon {
    animation: spinIcon 8s linear infinite;
    display: inline-block;
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE DESIGN & MOBILE/TABLET OPTIMIZATIONS
   ========================================================================== */

/* Universal Fluid Typography & Text Wrap Safety */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
    word-break: break-word;
    letter-spacing: -0.015em;
}

h1 {
    font-size: clamp(1.85rem, 6vw, 3.25rem);
    line-height: 1.2;
}

h2 {
    font-size: clamp(1.5rem, 4.5vw, 2.25rem);
    line-height: 1.25;
}

h3 {
    font-size: clamp(1.15rem, 3.5vw, 1.45rem);
    line-height: 1.3;
}

h4 {
    font-size: clamp(1rem, 2.5vw, 1.15rem);
    line-height: 1.35;
}

p, span, label, strong, li {
    overflow-wrap: break-word;
}

p {
    line-height: 1.6;
}

/* Badge & Tag Text Safety */
.badge, .pill, .admin-badge, .auth-pill, .club-tab-btn, .admin-tab-btn {
    white-space: nowrap;
    user-select: none;
}

/* Responsive Touch Target Standard (Minimum 44px on mobile) */
button, input, select, textarea, .nav-link, .pill, .btn-scroll-arrow, .modal-close {
    touch-action: manipulation;
}

/* Horizontal Carousels Smooth Touch Scrolling */
.horizontal-scroll-container,
.events-carousel-track,
.posters-carousel-track,
#home-events-track,
#home-posters-track {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1.25rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(56, 189, 248, 0.4) transparent;
    padding-bottom: 0.75rem;
}

.horizontal-scroll-container > *,
.events-carousel-track > *,
.posters-carousel-track > *,
#home-events-track > *,
#home-posters-track > * {
    scroll-snap-align: start;
    flex-shrink: 0;
}

/* Responsive Table Wrapper */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--navy-border);
    border-radius: var(--radius-lg);
    scrollbar-width: thin;
    scrollbar-color: rgba(56, 189, 248, 0.4) transparent;
}

.table-responsive::-webkit-scrollbar {
    height: 6px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: rgba(56, 189, 248, 0.3);
    border-radius: 4px;
}

/* Laptop & Tablet Breakdown (max-width: 992px) */
@media (max-width: 992px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .section {
        padding: 3.5rem 0;
    }

    .hero-title {
        font-size: clamp(2.25rem, 5vw, 3rem);
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }

    .header-search-box {
        width: 180px;
        margin: 0 0.5rem;
    }
}

/* Tablet & Mobile Navigation Breakpoint (max-width: 880px) */
@media (max-width: 880px) {
    .main-header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .header-container {
        height: 64px;
    }

    .brand-sub {
        display: none;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(10, 17, 40, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: stretch;
        padding: 1.25rem 1rem;
        gap: 0.5rem;
        border-bottom: 1px solid var(--navy-border);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.75);
        z-index: 1000;
        animation: navMenuSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

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

    @keyframes navMenuSlideDown {
        from {
            opacity: 0;
            transform: translateY(-8px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-link {
        width: 100%;
        padding: 0.85rem 1.15rem;
        font-size: 1rem;
        border-radius: var(--radius-md);
        min-height: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 0.75rem;
        background: var(--navy-surface);
        border: 1px solid var(--navy-border);
        color: var(--slate-200);
    }

    .nav-link .nav-text {
        max-width: none;
        opacity: 1;
        transform: none;
        margin-left: 0.75rem;
        pointer-events: auto;
    }

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.15);
        color: var(--white);
    }

    .nav-link.active {
        background: rgba(0, 255, 135, 0.12);
        border-color: var(--accent-neon);
        color: var(--accent-neon);
    }

    .mobile-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: var(--radius-md);
        background: var(--navy-surface);
        border: 1px solid var(--navy-border);
        cursor: pointer;
        color: var(--white);
        transition: var(--transition);
        flex-shrink: 0;
    }

    .mobile-toggle:hover, .mobile-toggle:active {
        background: rgba(0, 255, 135, 0.1);
        border-color: var(--accent-neon);
        color: var(--accent-neon);
    }

    .header-search-box {
        display: none;
    }

    .admin-header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

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

/* Small Tablets & Large Phones (max-width: 768px) */
@media (max-width: 768px) {
    /* Auto stack multi-column inline grids */
    [style*="grid-template-columns: 1fr 1fr"],
    [style*="grid-template-columns: 1fr 1fr 1fr"],
    [style*="grid-template-columns: 1fr 1fr 1.5fr"],
    [style*="grid-template-columns: 1fr 1fr 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .announcement-bar {
        padding: 0.4rem 0;
        font-size: 0.8125rem;
    }

    .announcement-content {
        gap: 0.5rem;
    }

    .announcement-content .badge-urgent {
        font-size: 0.6875rem;
        padding: 0.2rem 0.45rem;
    }

    .ticker-item {
        font-size: 0.8125rem;
        padding-right: 2rem;
    }

    .ticker-track {
        -webkit-animation-duration: 18s;
        animation-duration: 18s;
    }

    .hero-section {
        padding: 3.5rem 0 3rem;
    }

    .hero-title {
        font-size: clamp(1.85rem, 5.5vw, 2.5rem);
    }

    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 1.75rem;
        padding: 0 0.5rem;
    }

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

    .page-title {
        font-size: clamp(1.85rem, 4.5vw, 2.35rem);
    }

    .section-header-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 1.75rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.25rem;
        width: 100%;
        box-sizing: border-box;
        padding: 1.25rem;
    }

    .stat-divider {
        display: none;
    }

    .event-card {
        flex-direction: column;
        gap: 1rem;
    }

    .event-date-box {
        width: 100%;
        height: auto;
        padding: 0.6rem 1rem;
        flex-direction: row;
        justify-content: center;
        gap: 0.5rem;
    }

    .event-day {
        font-size: 1.25rem;
    }

    .about-single-block {
        padding: 2rem 1.25rem;
    }

    .about-block-title {
        font-size: 1.75rem;
    }

    .about-quote-box {
        padding: 1.25rem;
    }

    .card {
        padding: 1.25rem;
    }

    .simplified-club-banner {
        padding: 1.25rem;
    }

    .simplified-club-title {
        font-size: 1.75rem;
    }

    .poster-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }

    .admin-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .admin-tabs, .club-nav-tabs {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
        scrollbar-width: none;
    }

    .admin-tabs::-webkit-scrollbar, .club-nav-tabs::-webkit-scrollbar {
        display: none;
    }

    .admin-tab-btn, .club-tab-btn {
        flex-shrink: 0;
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }

    .admin-table {
        min-width: 540px;
    }

    .admin-table th, .admin-table td {
        padding: 0.85rem 0.9rem;
    }

    .category-pills {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .category-pills::-webkit-scrollbar {
        display: none;
    }

    .category-pills .pill {
        flex-shrink: 0;
    }
}

/* Mobile Phones (max-width: 576px) */
@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }

    .brand-text {
        display: flex;
        flex-direction: column;
    }

    .brand-name {
        font-size: 1.15rem;
    }

    .brand-sub {
        display: none;
    }

    .header-actions {
        gap: 0.4rem;
    }

    .btn-admin span {
        display: none;
    }

    .btn-admin {
        padding: 0.55rem 0.75rem;
        min-height: 44px;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.25;
    }

    .hero-tag {
        font-size: 0.75rem;
        padding: 0.35rem 0.75rem;
    }

    .hero-social-btn {
        width: 44px;
        height: 44px;
    }

    .hero-cta-group {
        width: 100%;
    }

    .hero-cta-group .btn {
        width: 100%;
        justify-content: center;
    }

    .btn {
        box-sizing: border-box;
        min-height: 44px;
        font-size: 0.9rem;
    }

    .btn-sm {
        min-height: 38px;
        font-size: 0.82rem;
    }

    /* Prevent iOS Safari input auto-zooming */
    .form-control, input, select, textarea {
        font-size: 16px !important;
        min-height: 44px;
    }

    textarea.form-control {
        min-height: 84px;
    }

    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .admin-metrics {
        grid-template-columns: 1fr !important;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: left;
    }

    /* Modal System Responsive Optimizations */
    .modal-overlay {
        padding: 0.75rem 0.5rem;
        align-items: center;
    }

    .modal-card {
        width: 100% !important;
        max-width: calc(100vw - 1rem) !important;
        padding: 1.35rem 1.1rem !important;
        max-height: 90vh !important;
        border-radius: var(--radius-md);
        box-sizing: border-box;
    }

    .modal-card .modal-header h3 {
        font-size: 1.15rem;
        line-height: 1.3;
        padding-right: 2rem;
    }

    .modal-close {
        top: 0.85rem;
        right: 0.85rem;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Mobile modal buttons layout */
    .modal-card form div[style*="justify-content: flex-end"],
    .modal-card form div[style*="justify-content: space-between"] {
        flex-direction: column-reverse;
        gap: 0.6rem;
    }

    .modal-card form div[style*="justify-content: flex-end"] .btn,
    .modal-card form div[style*="justify-content: space-between"] .btn,
    .modal-card form div[style*="justify-content: space-between"] > div {
        width: 100%;
        justify-content: center;
    }

    .modal-card form div[style*="justify-content: space-between"] > div {
        display: flex;
        flex-direction: column-reverse;
        gap: 0.6rem;
    }

    .toast-container {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
    }

    .toast {
        width: 100%;
        box-sizing: border-box;
    }

    .home-finance-graph-card {
        padding: 1.15rem !important;
    }

    .stat-summary-card {
        flex-direction: row;
        align-items: center;
        padding: 1rem;
        gap: 0.85rem;
    }

    .stat-card-icon {
        width: 44px;
        height: 44px;
        font-size: 1.15rem;
    }

    .stat-card-val {
        font-size: 1.35rem;
    }

    .secretariat-card {
        padding: 1.25rem 1rem;
    }

    .secretariat-avatar-box {
        width: 72px;
        height: 72px;
    }

    .simplified-info-grid {
        grid-template-columns: 1fr !important;
        gap: 0.75rem;
    }

    .admin-table {
        min-width: 480px;
    }

    .admin-table th, .admin-table td {
        padding: 0.7rem 0.6rem;
        font-size: 0.8rem;
    }

    /* Carousel Cards sizing on mobile */
    .home-event-poster-card {
        width: 280px;
        max-width: 82vw;
    }

    .home-event-card {
        padding: 1.15rem 1rem !important;
        box-sizing: border-box;
    }

    .home-event-card .event-card-header {
        margin-bottom: 0.75rem;
        gap: 0.5rem;
    }

    .home-event-card .event-card-title {
        font-size: 1.1rem;
        line-height: 1.35;
        margin-bottom: 0.5rem;
    }

    .home-event-card .event-card-desc {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
        line-height: 1.45;
    }

    .home-event-card .event-meta {
        padding: 0.6rem 0.75rem;
        gap: 0.35rem;
        font-size: 0.78rem;
        margin-bottom: 0.95rem;
    }

    .home-event-summary-bar {
        padding: 0.85rem 1rem;
    }

    .home-event-title {
        font-size: 1rem;
    }

    .btn-more-toggle {
        font-size: 0.78rem;
        padding: 0.35rem 0.75rem;
    }

    .home-event-expandable-details {
        padding: 1rem;
    }
}

/* Very Small Mobile Screens (max-width: 380px) */
@media (max-width: 380px) {
    .brand-name {
        font-size: 1.1rem;
    }

    .logo-crest {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
        flex-shrink: 0;
    }

    .btn-admin {
        padding: 0 0.75rem;
        font-size: 0.8125rem;
    }

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

    .section-title {
        font-size: 1.45rem;
    }

    .page-title {
        font-size: 1.6rem;
    }

    .stat-summary-card {
        padding: 0.85rem;
    }

    .stat-card-val {
        font-size: 1.2rem;
    }

    #home-events-grid > .event-card {
        flex: 0 0 245px;
        max-width: 82vw;
        padding: 0.95rem 0.8rem !important;
    }

    .home-event-card .event-card-title {
        font-size: 1rem;
    }

    .home-event-poster-card {
        width: 250px;
        max-width: 80vw;
    }
}
