:root{
    --bg-dark: #796de7ce;
    --bg-main: #090b1f;
    --text-main: #edf2ff;
    --text-muted: #000000;
    --primary: #002ff;
    --accent: #ff2c07;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.12);
    --accent-glow: rgba(0, 47, 255, 0.28);
    --radius-lg: 28px;
    --warning-color: #ffb703;
    --transition: all 0.25s ease;
}

body {
    position: relative;
    margin: 0;
    padding-top: var(--header-height);
    min-height: 100vh;
    background: radial-gradient(circle at top right, var(--bg-dark), rgb(141, 250, 129));
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    transition: background-color 0.4s ease, transform 0.4s ease;
    isolation: isolate;
}

body::before,
body::after {
    content: "";
    position: fixed;
    width: 24rem;
    height: 24rem;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.22;
    z-index: -1;
    pointer-events: none;
}

body::before {
    top: -6rem;
    right: -5rem;
    background: rgba(167, 139, 250, 0.7);
}

body::after {
    bottom: -8rem;
    left: -5rem;
    background: rgba(34, 211, 238, 0.38);
}
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}
.top-bar {
    position: fixed;
    top: 0; width: 100%;
    height: var(--header-height);
    background: rgba(3, 44, 250, 0.37);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 18px 40px rgba(0,0,0,0.22);
}

.nav-group { 
    display: flex; 
    gap: 15px; 
}
.nav-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--text-main);
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-size: 0.85rem;
    white-space: nowrap;
}
.nav-btn:hover {
    border-color: var(--accent);
    color: #fff;
    background: rgba(0, 47, 255, 0.12);
    box-shadow: 0 0 22px rgba(0,47,255,0.25);
}

.fullscreen-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #796de7ce;
    animation: fadeIn 0.9s ease-out;
    padding: 20px;
}

.welcome-content { 
    text-align: center; 
    max-width: 800px; 
    width: 100%; 
}
.welcome-title { 
    font-size: clamp(2.5rem, 8vw, 4rem); 
    font-weight: 800; 
    margin-bottom: 10px; 
    letter-spacing: -2px; 
    line-height: 1.1;
}
.welcome-sub {
    font-size: clamp(1rem, 4vw, 1.5rem);
    color: var(--text-muted);
    margin-bottom: 40px;
}

.glass-btn {
    background: rgba(206, 195, 195, 0.493);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    backdrop-filter: blur(12px);
    width: 100%;
    max-width: 300px;
}
.glass-btn:hover {
    transform: translateY(-3px) scale(1.07);
    box-shadow: 0 0 38px rgba(0,47,255,0.32);
    background: rgba(0, 47, 255, 0.26);
}

.hub-container {
    padding: 40px 5%; 
    min-height: 100vh;
    animation: slideUp 0.8s ease-out;
}

.grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.article-card {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.74), rgba(15, 23, 42, 0.42));
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 28px;
    padding: 25px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
    box-shadow: 0 24px 70px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.08);
}
.article-card:hover {
    transform: translateY(-10px) scale(1.01);
    border-color: rgb(0, 0, 0);
    box-shadow: 0 30px 78px rgba(0,0,0,0.35);
}

.card-meta { 
    font-size: 0.75rem; 
    color: var(--accent); 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
}
.card-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 15px 0;
    line-height: 1.2;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #f8fbff;
    text-shadow: 0 0 20px rgb(0, 42, 224);
}
.card-desc { 
    color: var(--text-muted); 
    font-size: 0.95rem; 
    flex-grow: 1; 
    display: -webkit-box; 
    line-clamp: 3; 
    -webkit-box-orient: vertical; 
    overflow: hidden;
}
.card-date { 
    font-size: 0.85rem; 
    color: var(--text-muted); 
    margin-top: 15px; 
}

.student-warning {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgb(255, 255, 255);
    border: 1px solid var(--warning-color);
    color: var(--warning-color);
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(5px);
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 90%;
    text-align: center;
}
.student-warning::before {
    content: "!";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: var(--warning-color);
    color: #000;
    border-radius: 50%;
    font-weight: 900;
    font-size: 12px;
    flex-shrink: 0;
}

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

.main-footer { 
    text-align: center; 
    padding: 40px 20px; 
    color: var(--text-muted); 
    font-size: 0.8rem; 
}