
:root {
    --bg-dark: #0a0a0a;
    --bg-medium: #111111;
    --bg-card: #1a1a1a; 
    --text-light: #f0f0f0;
    --text-faded: #a0a0a0;
    --accent-blue: #8cb8f2;
    --accent-yellow: #f2e28c;
    --accent-green: #8cf2b8;
    --accent-red: #f28c8c;
    --accent-purple: #c08cf2; 
    --accent-teal: #8cf2f2; 
    --border-subtle: #333;
}


body {
    margin: 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background: 
        radial-gradient(ellipse at 15% 25%, rgba(140, 184, 242, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 75%, rgba(192, 140, 242, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(140, 242, 184, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse at 10% 85%, rgba(242, 140, 140, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 15%, rgba(242, 228, 140, 0.1) 0%, transparent 45%),
        #080510;
    background-attachment: fixed;
    position: relative;
    color: var(--text-light);
    line-height: 1.65;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 300%;
    height: 300%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 80%, white, transparent),
        radial-gradient(1px 1px at 15% 95%, white, transparent),
        radial-gradient(1px 1px at 45% 20%, white, transparent),
        radial-gradient(1px 1px at 25% 60%, white, transparent),
        radial-gradient(2px 2px at 75% 40%, white, transparent),
        radial-gradient(1px 1px at 65% 85%, white, transparent),
        radial-gradient(1px 1px at 10% 40%, white, transparent),
        radial-gradient(2px 2px at 40% 10%, white, transparent),
        radial-gradient(1px 1px at 85% 90%, white, transparent),
        radial-gradient(1px 1px at 55% 65%, white, transparent);
    background-size: 300% 300%;
    animation: stars-rotate 240s linear infinite;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 12% 22%, rgba(140, 184, 242, 0.9), transparent),
        radial-gradient(1.5px 1.5px at 34% 18%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(2px 2px at 52% 33%, rgba(192, 140, 242, 0.85), transparent),
        radial-gradient(1.5px 1.5px at 68% 12%, rgba(140, 242, 184, 0.8), transparent),
        radial-gradient(2px 2px at 82% 25%, rgba(242, 228, 140, 0.9), transparent),
        radial-gradient(1.5px 1.5px at 18% 48%, rgba(255, 255, 255, 0.85), transparent),
        radial-gradient(2px 2px at 38% 62%, rgba(140, 184, 242, 0.8), transparent),
        radial-gradient(1.5px 1.5px at 56% 72%, rgba(192, 140, 242, 0.85), transparent),
        radial-gradient(2px 2px at 72% 58%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(1.5px 1.5px at 88% 68%, rgba(140, 242, 184, 0.8), transparent),
        radial-gradient(2px 2px at 22% 78%, rgba(242, 228, 140, 0.85), transparent),
        radial-gradient(1.5px 1.5px at 42% 88%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(2px 2px at 62% 82%, rgba(140, 184, 242, 0.9), transparent),
        radial-gradient(1.5px 1.5px at 78% 92%, rgba(192, 140, 242, 0.85), transparent),
        radial-gradient(2px 2px at 8% 65%, rgba(140, 242, 184, 0.8), transparent),
        radial-gradient(1.5px 1.5px at 92% 45%, rgba(255, 255, 255, 0.85), transparent),
        radial-gradient(2px 2px at 28% 38%, rgba(242, 228, 140, 0.8), transparent),
        radial-gradient(1.5px 1.5px at 48% 8%, rgba(140, 184, 242, 0.9), transparent);
    background-size: 100% 100%;
    animation: stars-twinkle 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
}

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

@keyframes stars-twinkle {
    0%, 100% { opacity: 0.6; }
    25% { opacity: 0.3; }
    50% { opacity: 0.8; }
    75% { opacity: 0.4; }
}

@keyframes float-particle {
    0%, 100% { 
        transform: translateY(0) translateX(0); 
        opacity: 0.3;
    }
    25% { 
        transform: translateY(-20px) translateX(10px); 
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-40px) translateX(-5px); 
        opacity: 0.8;
    }
    75% { 
        transform: translateY(-20px) translateX(-10px); 
        opacity: 0.5;
    }
}

.navbar, .container, footer {
    position: relative;
    z-index: 1;
}



a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

a:hover {
    color: #b4d4ff;
    text-shadow: 0 0 12px rgba(140, 184, 242, 0.6);
    transform: translateY(-1px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h2 {
    color: #ffffff;
    font-size: 2.5em; 
    font-weight: 700;
    border-bottom: 3px solid rgba(140, 184, 242, 0.3);
    padding-bottom: 15px;
    margin-bottom: 40px;
    text-align: center;
    text-shadow: 0 0 20px rgba(140, 184, 242, 0.4);
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { text-shadow: 0 0 20px rgba(140, 184, 242, 0.4); }
    50% { text-shadow: 0 0 30px rgba(140, 184, 242, 0.6), 0 0 40px rgba(140, 184, 242, 0.3); }
}


.navbar {
    background: rgba(8, 5, 16, 0.85);
    backdrop-filter: blur(15px) saturate(180%);
    padding: 20px 0;
    border-bottom: 1px solid rgba(140, 184, 242, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 40px rgba(140, 184, 242, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    animation: navbar-slide-down 0.6s ease-out;
}

@keyframes navbar-slide-down {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.logo-container {
    display: flex;
    align-items: center;
    gap: 15px; 
}

.header-logo-icon {
    height: 50px; 
    width: auto;
    filter: drop-shadow(0 0 10px rgba(140, 184, 242, 0.5));
}

.navbar .logo {
    margin: 0;
    font-size: 2.5em;
    color: #ffffff;
    line-height: 1; 
    font-weight: 900;
    text-shadow: 0 0 25px rgba(140, 184, 242, 0.6), 0 0 50px rgba(140, 184, 242, 0.3);
    animation: logo-glow 2s ease-in-out infinite;
}

@keyframes logo-glow {
    0%, 100% { text-shadow: 0 0 25px rgba(140, 184, 242, 0.6), 0 0 50px rgba(140, 184, 242, 0.3); }
    50% { text-shadow: 0 0 35px rgba(140, 184, 242, 0.8), 0 0 70px rgba(140, 184, 242, 0.4); }
}

.navbar nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.navbar nav ul li {
    margin-left: 35px;
}

.navbar nav ul li a {
    color: var(--text-faded);
    text-decoration: none;
    font-size: 1.15em;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding-bottom: 5px;
    position: relative;
    display: inline-block;
}

.navbar nav ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-blue);
    box-shadow: 0 0 10px var(--accent-blue);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.navbar nav ul li a:hover {
    color: var(--accent-blue);
}

.navbar nav ul li a:hover::before {
    width: 100%;
}

footer {
    background: rgba(8, 5, 16, 0.85);
    backdrop-filter: blur(15px) saturate(180%);
    color: #777;
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
    border-top: 1px solid rgba(140, 184, 242, 0.2);
    font-size: 0.9em;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.6);
}


.hero-section {
    padding: 80px 0;
    text-align: center;
    animation: fade-in-up 0.8s ease-out;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section .cover-display {
    background: rgba(13, 10, 26, 0.6);
    backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid rgba(140, 184, 242, 0.3);
    padding: 40px;
    display: inline-block;
    border-radius: 20px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(140, 184, 242, 0.2),
        inset 0 0 60px rgba(140, 184, 242, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hero-section .cover-display::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(140, 184, 242, 0.1) 0%, transparent 70%);
    animation: rotate-glow 10s linear infinite;
    pointer-events: none;
}

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

.hero-section .cover-display:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.8),
        0 0 80px rgba(140, 184, 242, 0.4),
        inset 0 0 80px rgba(140, 184, 242, 0.08);
    border-color: rgba(140, 184, 242, 0.5);
}

.hero-section .journal-title {
    color: var(--accent-yellow);
    font-size: 2.2em;
    margin-top: 0;
    margin-bottom: 20px;
    text-shadow: 
        0 0 20px rgba(242, 228, 140, 0.6),
        0 0 40px rgba(242, 228, 140, 0.3);
    animation: title-float 3s ease-in-out infinite;
}

@keyframes title-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.hero-section .journal-cover {
    max-width: 320px;
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
    border-radius: 12px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.hero-section .cover-link:hover .journal-cover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 
        0 12px 36px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(140, 184, 242, 0.4);
}

.download-button {
    background: var(--accent-yellow);
    color: #0a0a0a;
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: 700;
    margin-top: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 20px rgba(242, 228, 140, 0.4),
        0 0 40px rgba(242, 228, 140, 0.2);
    display: inline-block;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.download-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.download-button:hover::before {
    width: 300px;
    height: 300px;
}

.download-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 8px 30px rgba(242, 228, 140, 0.6),
        0 0 60px rgba(242, 228, 140, 0.4);
    color: #0a0a0a;
}

.download-button:active {
    transform: translateY(-1px) scale(1.02);
}



.quote-section {
    background: rgba(13, 10, 26, 0.5);
    backdrop-filter: blur(15px) saturate(150%);
    padding: 70px 0;
    text-align: center;
    border-top: 1px solid rgba(140, 184, 242, 0.2);
    border-bottom: 1px solid rgba(140, 184, 242, 0.2);
    position: relative;
    margin: 40px 0;
}

.quote-section .quote {
    font-family: Georgia, serif;
    font-size: 2.8em;
    font-style: italic;
    color: #eeeeee;
    margin-bottom: 15px;
    font-weight: 300;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.4),
        0 0 40px rgba(140, 184, 242, 0.3),
        0 0 60px rgba(192, 140, 242, 0.2);
    animation: quote-glow 4s ease-in-out infinite;
}

@keyframes quote-glow {
    0%, 100% { 
        text-shadow: 
            0 0 20px rgba(255, 255, 255, 0.4),
            0 0 40px rgba(140, 184, 242, 0.3),
            0 0 60px rgba(192, 140, 242, 0.2);
    }
    50% { 
        text-shadow: 
            0 0 30px rgba(255, 255, 255, 0.6),
            0 0 60px rgba(140, 184, 242, 0.5),
            0 0 90px rgba(192, 140, 242, 0.3);
    }
}

.quote-section .author {
    font-size: 1.3em;
    color: #aaaaaa;
    margin-top: 0;
    margin-bottom: 40px;
}

.quick-blurb {
    position: static;
    transform: none;
    margin: 0 auto;
    background: rgba(20, 16, 35, 0.6);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 15px;
    font-size: 1.1em;
    color: #cccccc;
    text-align: center;
    max-width: 700px;
    border-left: 4px solid var(--accent-green);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(140, 242, 184, 0.15);
    transition: all 0.4s ease;
}

.quick-blurb:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 6px 25px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(140, 242, 184, 0.25);
}

.quick-blurb p {
    margin: 0;
}


.content-grid {
    padding: 60px 0;
}

.content-grid .container {
    display: flex;
    gap: 40px;
}

.editorial-section {
    flex: 3;
}

.sidebar-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
}



.article-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 20px;
}

.picks-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.article-card {
    background: rgba(13, 10, 26, 0.6);
    backdrop-filter: blur(15px) saturate(120%);
    border-radius: 15px;
    border: 1px solid rgba(140, 184, 242, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    position: relative;
    animation: card-fade-in 0.6s ease-out backwards;
}

.article-card:nth-child(1) { animation-delay: 0.1s; }
.article-card:nth-child(2) { animation-delay: 0.2s; }
.article-card:nth-child(3) { animation-delay: 0.3s; }
.article-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes card-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(140, 184, 242, 0.1), transparent);
    transition: left 0.6s ease;
}

.article-card:hover::before {
    left: 100%;
}

.article-card:hover {
    background: rgba(20, 16, 35, 0.7);
    border-color: rgba(140, 184, 242, 0.5);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(140, 184, 242, 0.3);
}

.article-cover {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-bottom: 1px solid rgba(140, 184, 242, 0.2);
    transition: all 0.5s ease;
}

.article-card:hover .article-cover {
    transform: scale(1.05);
    filter: brightness(1.1);
}


.card-caption {
    padding: 5px; 
    text-align: center;
    min-height: 5px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}



.activity-card .activity-caption {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--accent-green);
    margin-bottom: 5px;
    text-shadow: 0 0 15px rgba(140, 242, 184, 0.4);
}


/* Base style for all view/activity buttons */
.article-view-button, 
.activities-button {
    color: #0a0a0a;
    padding: 10px 20px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.95em; 
    font-weight: 700;
    margin-top: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    text-decoration: none;
}

/* 1. Article View Button (using --accent-blue) */
.article-view-button {
    background: var(--accent-blue);
    box-shadow: 0 4px 10px rgba(140, 184, 242, 0.4);
}

/* 2. Activities Button (using --accent-green) */
.activities-button {
    background: var(--accent-green);
    box-shadow: 0 4px 10px rgba(140, 242, 184, 0.4);
    margin-bottom: 5px; 
}


/* Hover effect for both buttons */
.article-view-button:hover,
.activities-button:hover {
    transform: translateY(-2px) scale(1.03); /* Lifts and slightly enlarges */
    /* Shared box shadow for a professional glow */
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.2), /* Deeper shadow below */
        0 0 40px rgba(255, 255, 255, 0.2); /* Subtle glow effect */
    color: #0a0a0a;
}

/* Specific hover color adjustment for blue button */
.article-view-button:hover {
    background: #b4d4ff; 
}

/* Specific hover color adjustment for green button */
.activities-button:hover {
    background: #b8ffdc;
}


.editor-picks,
.activities {
    background: rgba(13, 10, 26, 0.6);
    backdrop-filter: blur(15px) saturate(120%);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(140, 184, 242, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
}

.editor-picks:hover,
.activities:hover {
    border-color: rgba(140, 184, 242, 0.4);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5), 0 0 30px rgba(140, 184, 242, 0.2);
}

.editor-picks h2, .activities h2 {
    margin-top: 0;
    text-align: left;
    font-size: 2em;
    border-bottom: 3px solid rgba(242, 140, 140, 0.3);
    text-shadow: 0 0 20px rgba(242, 140, 140, 0.3);
}


.staff-page {
    padding: 60px 0;
    text-align: center;
}

.staff-intro {
    font-size: 1.2em;
    color: #ccc;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-style: italic;
    font-weight: 300;
    animation: fade-in 1s ease-out;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
}

.staff-card {
    background: rgba(13, 10, 26, 0.7);
    backdrop-filter: blur(15px) saturate(130%);
    border: 2px solid transparent;
    border-radius: 20px;
    padding: 50px 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.staff-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(140, 184, 242, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: rotate-slow 15s linear infinite;
}

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

.staff-card:hover::before {
    opacity: 1;
}

.staff-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.8);
}

.staff-card .role-title {
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 30px;
    padding: 10px 20px;
    border-radius: 50px;
    display: inline-block;
    font-weight: 700;
    color: #ffffff; /* Default color set to white */
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.staff-card:hover .role-title {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.5);
}

.staff-card .staff-name {
    font-size: 1.15em;
    color: #ffffff;
    margin: 10px 0;
    line-height: 1.4;
    font-weight: 300;
    transition: all 0.3s ease;
}

.staff-card:hover .staff-name {
    color: var(--accent-blue);
}

/* Define Role Colors */
.color-editor { --role-color: var(--accent-red); }
.color-chemistry { --role-color: var(--accent-blue); }
.color-physics { --role-color: var(--accent-green); }
.color-graphic { --role-color: var(--accent-yellow); }
.color-programming { --role-color: var(--accent-purple); }
.color-outreach { --role-color: var(--accent-teal); } 


.staff-card.editor .role-title { 
    background-color: var(--role-color);
    color: #0a0a0a;
    font-weight: 800;
}
.staff-card.chemistry .role-title { 
    background-color: var(--role-color);
    color: #0a0a0a;
    font-weight: 800;
}
.staff-card.physics .role-title { 
    background-color: var(--role-color);
    color: #0a0a0a;
    font-weight: 800;
}
.staff-card.graphic .role-title { 
    background-color: var(--role-color);
    color: #0a0a0a;
    font-weight: 800;
}
.staff-card.programming .role-title { 
    background-color: var(--role-color);
    color: #0a0a0a;
    font-weight: 800;
}
.staff-card.outreach .role-title {
    background-color: var(--role-color);
    color: #0a0a0a;
    font-weight: 800;
}

.staff-card.editor:hover { 
    border-color: var(--accent-red);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.8), 
        0 0 50px rgba(242, 140, 140, 0.4);
}
.staff-card.chemistry:hover { 
    border-color: var(--accent-blue);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.8), 
        0 0 50px rgba(140, 184, 242, 0.4);
}
.staff-card.physics:hover { 
    border-color: var(--accent-green);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.8), 
        0 0 50px rgba(140, 242, 184, 0.4);
}
.staff-card.graphic:hover { 
    border-color: var(--accent-yellow);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.8), 
        0 0 50px rgba(242, 228, 140, 0.4);
}
.staff-card.programming:hover { 
    border-color: var(--accent-purple);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.8), 
        0 0 50px rgba(192, 140, 242, 0.4);
}
.staff-card.outreach:hover { 
    border-color: var(--accent-teal);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.8), 
        0 0 50px rgba(140, 242, 242, 0.4); 
}


.about-page {
    padding: 60px 0;
}

.about-page .container {
    max-width: 900px;
}

.about-page h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 3px solid rgba(140, 184, 242, 0.3);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.about-content {
    background: rgba(13, 10, 26, 0.7);
    backdrop-filter: blur(20px) saturate(140%);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(140, 184, 242, 0.25);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(140, 184, 242, 0.1);
    animation: fade-in-up 0.8s ease-out;
}

.about-content p {
    font-size: 1.15em;
    line-height: 1.8;
    color: #ddd;
    margin-bottom: 30px;
    transition: color 0.3s ease;
}

.about-content p:hover {
    color: #f0f0f0;
}

.about-content .meeting-info {
    font-style: normal;
    color: var(--accent-green);
    font-weight: 600;
    border-top: 1px solid rgba(140, 184, 242, 0.2);
    padding-top: 20px;
    margin-top: 30px;
    margin-bottom: 0;
    text-shadow: 0 0 15px rgba(140, 242, 184, 0.4);
    animation: info-pulse 3s ease-in-out infinite;
}

@keyframes info-pulse {
    0%, 100% { text-shadow: 0 0 15px rgba(140, 242, 184, 0.4); }
    50% { text-shadow: 0 0 25px rgba(140, 242, 184, 0.6); }
}

.award-box {
    background: rgba(20, 16, 35, 0.8);
    backdrop-filter: blur(10px);
    border-left: 4px solid var(--accent-yellow);
    padding: 30px 35px;
    margin-top: 50px;
    border-radius: 15px;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(242, 228, 140, 0.15);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.award-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(242, 228, 140, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.award-box:hover::before {
    opacity: 1;
}

.award-box:hover {
    transform: translateX(5px);
    box-shadow: 
        0 6px 30px rgba(0, 0, 0, 0.6),
        0 0 60px rgba(242, 228, 140, 0.25);
}

.award-box h3 {
    margin-top: 0;
    font-size: 1.5em;
    color: var(--accent-yellow);
    margin-bottom: 15px;
    border-bottom: none;
    padding-bottom: 0;
    text-shadow: 0 0 20px rgba(242, 228, 140, 0.5);
    position: relative;
}

.award-box p {
    font-size: 1.05em;
    color: #ccc;
    margin-bottom: 0;
    position: relative;
}

.award-box p strong {
    color: #ffffff;
    font-weight: 700;
}


.editions-page {
    padding: 60px 0;
}

.editions-page h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px;
}

.edition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.edition-card {
    background: rgba(13, 10, 26, 0.7);
    backdrop-filter: blur(15px) saturate(130%);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(140, 184, 242, 0.2);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.edition-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(140, 184, 242, 0.1), transparent);
    transition: left 0.8s ease;
}

.edition-card:hover::before {
    left: 100%;
}

.edition-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(140, 184, 242, 0.3);
    border-color: rgba(140, 184, 242, 0.5);
}

.edition-cover {
    width: 100%;
    max-height: 350px;
    object-fit: contain;
    margin-bottom: 20px;
    border: 1px solid rgba(140, 184, 242, 0.2);
    border-radius: 8px;
    background-color: #0d0d0d;
    transition: all 0.4s ease;
}

.edition-card:hover .edition-cover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(140, 184, 242, 0.3);
}


.edition-card.recent {
    border: 2px solid var(--accent-red);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(242, 140, 140, 0.3);
    animation: recent-pulse 2s ease-in-out infinite;
}

@keyframes recent-pulse {
    0%, 100% { 
        box-shadow: 
            0 4px 20px rgba(0, 0, 0, 0.4),
            0 0 40px rgba(242, 140, 140, 0.3);
    }
    50% { 
        box-shadow: 
            0 4px 20px rgba(0, 0, 0, 0.4),
            0 0 60px rgba(242, 140, 140, 0.5);
    }
}

.edition-card.recent:hover {
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.6),
        0 0 70px rgba(242, 140, 140, 0.6);
}

.edition-card.award-winning {
    border: 2px solid var(--accent-yellow);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(242, 228, 140, 0.3);
    animation: award-shine 3s ease-in-out infinite;
}

@keyframes award-shine {
    0%, 100% { 
        box-shadow: 
            0 4px 20px rgba(0, 0, 0, 0.4),
            0 0 40px rgba(242, 228, 140, 0.3);
    }
    50% { 
        box-shadow: 
            0 4px 20px rgba(0, 0, 0, 0.4),
            0 0 60px rgba(242, 228, 140, 0.5);
    }
}

.edition-card.award-winning:hover {
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.6),
        0 0 70px rgba(242, 228, 140, 0.6);
}

.edition-card h3 {
    color: var(--accent-blue);
    margin-top: 0;
    font-size: 1.4em;
    margin-bottom: 20px;
    border-bottom: 1px dashed rgba(140, 184, 242, 0.3);
    padding-bottom: 10px;
    text-shadow: 0 0 15px rgba(140, 184, 242, 0.4);
    transition: all 0.3s ease;
}

.edition-card:hover h3 {
    text-shadow: 0 0 25px rgba(140, 184, 242, 0.6);
}

.edition-card .download-button {
    display: block;
    width: 90%;
    margin: 0 auto;
    background: var(--accent-blue);
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(140, 184, 242, 0.3);
}

.edition-card .download-button:hover {
    background: #b4d4ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(140, 184, 242, 0.5);
    color: #0a0a0a;
}


.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none; 
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(140, 184, 242, 0.5);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    padding: 10px; /* Increased clickable area */
}

.modal-close:hover,
.modal-close:focus {
    color: var(--accent-red);
    transform: scale(1.1);
}


@media (max-width: 1000px) {
    .content-grid .container {
        flex-direction: column;
    }
    
    .article-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .picks-grid {
        flex-direction: row;
        justify-content: space-around;
        gap: 15px;
    }
    
    .editor-picks .article-card {
        flex: 1;
    }
    
    .quick-blurb {
        position: static;
        transform: none;
        margin: 20px auto 0;
        max-width: unset;
        width: 90%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        text-align: center;
    }
    
    .navbar nav ul {
        margin-top: 15px;
    }
    
    .navbar nav ul li {
        margin: 0 10px;
    }
    
    .hero-section .journal-title {
        font-size: 1.8em;
    }
    
    .quote-section .quote {
        font-size: 2em;
    }
    
    h2 {
        font-size: 2em;
    }
}

@media (max-width: 600px) {
    .staff-grid,
    .edition-grid {
        grid-template-columns: 1fr;
    }
    
    .navbar .logo {
        font-size: 2em;
    }
    
    .article-grid {
        grid-template-columns: 1fr;
    }
}
