@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --bg-primary: #030712;
    --bg-secondary: #0b0f19;
    --panel-bg: rgba(17, 24, 39, 0.6);
    --panel-border: rgba(255, 255, 255, 0.08);
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --color-gold: #fbbf24;
    --color-gold-glow: rgba(251, 191, 36, 0.2);
    --color-blue: #38bdf8;
    --color-blue-glow: rgba(56, 189, 248, 0.2);
    --font-sans: 'Outfit', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    min-height: 100vh;
    overflow-y: scroll;
    position: relative;
    line-height: 1.5;
}

/* Background Mesh & Mesh Gradients */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-image: 
        radial-gradient(circle at 5% 5%, rgba(56, 189, 248, 0.03) 0%, transparent 35%),
        radial-gradient(circle at 95% 95%, rgba(251, 191, 36, 0.02) 0%, transparent 35%),
        radial-gradient(circle at 50% 50%, #070b14 0%, var(--bg-primary) 100%);
    background-size: cover;
}

.bg-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: linear-gradient(rgba(255, 255, 255, 0.003) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.003) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at 50% 50%, #000 60%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 60%, transparent 100%);
    opacity: 0.8;
}

/* Container */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1.5rem 6rem;
    position: relative;
    z-index: 1;
}

/* Header Section */
header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.logo-wrapper {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-logo {
    height: 95px;
    object-fit: contain;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.6));
    animation: fadeInDown 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transition: var(--transition-smooth);
}

.brand-logo:hover {
    transform: scale(1.02);
}

.title-glow {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 50%, #d1d5db 80%, #38bdf8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Stats Section */
.stats-container {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 1.25rem 2.25rem;
    text-align: center;
    min-width: 180px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 600;
}

/* Interactive Search Panel */
.search-panel {
    max-width: 550px;
    margin: 0 auto 2.5rem;
    position: relative;
    z-index: 10;
}

.search-wrapper {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 1.1rem 1.25rem 1.1rem 3.25rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(17, 24, 39, 0.5);
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 1.05rem;
    outline: none;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.search-input:focus {
    border-color: var(--color-blue);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.15), 0 4px 24px rgba(0, 0, 0, 0.25);
}

.search-icon {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    transition: var(--transition-smooth);
    pointer-events: none;
    display: flex;
    align-items: center;
}

.search-input:focus + .search-icon {
    color: var(--color-blue);
}

/* A-Z Filter Bar */
.filter-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 2.5rem;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    min-width: 34px;
    height: 34px;
    padding: 0 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: var(--transition-smooth);
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.12);
}

.filter-btn.active {
    background: var(--color-blue);
    color: #030712;
    border-color: var(--color-blue);
    box-shadow: 0 0 10px var(--color-blue-glow);
    font-weight: 700;
}

/* Notice Board Container (Non-Scrollable list wrapper) */
.notice-board {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 16px;
    padding: 2.5rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.notice-board::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.notice-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.notice-header h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--color-gold);
    text-transform: uppercase;
}

.notice-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    letter-spacing: 0.02em;
}

/* Multi-Column List */
.selection-list-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 4rem;
}

/* Table List Row elements */
.list-row {
    display: flex;
    align-items: center;
    padding: 0.9rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: var(--transition-smooth);
}

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

.list-sno {
    width: 45px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

.list-name {
    flex-grow: 1;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-primary);
}

.list-role {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-gold);
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.2);
    padding: 0.15rem 0.6rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hover highlights in formal way */
.list-row:hover {
    background: rgba(255, 255, 255, 0.02);
    padding-left: 0.75rem;
    padding-right: 0.25rem;
    border-bottom-color: rgba(56, 189, 248, 0.2);
}

.list-row:hover .list-sno {
    color: var(--color-blue);
}

.list-row:hover .list-name {
    color: #ffffff;
}

.list-row:hover .list-role {
    background: var(--color-gold);
    color: #030712;
}

/* Empty State */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-secondary);
}

.no-results-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

/* Footer styling */
footer {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    font-size: 0.8rem;
}

footer a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

footer a:hover {
    color: var(--color-blue);
}

/* Media Queries */
@media (max-width: 868px) {
    .selection-list-columns {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 2rem 1rem 4rem;
    }
    
    header {
        margin-bottom: 2.5rem;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    
    .stat-card {
        width: 100%;
        max-width: 280px;
        padding: 1rem 1.5rem;
    }
    
    .notice-board {
        padding: 1.5rem;
    }
    
    .list-row {
        padding: 0.8rem 0.25rem;
    }
    
    .list-name {
        font-size: 0.95rem;
    }
}
