/* Sains Category Page Styles */
:root {
    --science-primary: #00b8ff;
    --science-secondary: #7b2ff7;
    --science-accent: #ff3a7c;
    --science-dark: #0a1a2f;
    --science-light: #e6f7ff;
    --physics-color: #7b2ff7;
    --astronomy-color: #ff6b2b;
    --neuroscience-color: #00d0a3;
    --biology-color: #2ecc71;
    --chemistry-color: #f39c12;
    --climate-color: #3498db;
}

/* Base Styles */
body.sains-page {
    background-color: var(--science-dark);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

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

/* Science Particles Background */
.science-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, rgba(10, 26, 47, 0.8) 0%, rgba(5, 15, 30, 0.95) 100%);
    overflow: hidden;
}

.science-particles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(0, 184, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(123, 47, 247, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: particleShift 20s infinite linear;
}

@keyframes particleShift {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 50px 50px;
    }
}

/* Header Styles */
.sains-header {
    padding: 30px 0;
    position: relative;
    overflow: hidden;
}

.back-to-blog {
    margin-bottom: 40px;
}

.back-btn {
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    width: fit-content;
}

.back-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--science-primary), var(--science-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    box-shadow: 0 5px 15px rgba(0, 184, 255, 0.3);
    transition: all 0.3s ease;
}

.back-btn:hover {
    transform: translateX(-5px);
}

.back-btn:hover .back-icon {
    box-shadow: 0 8px 20px rgba(0, 184, 255, 0.5);
}

.category-title {
    text-align: center;
    position: relative;
    padding: 60px 0;
}

.category-icon {
    font-size: 3rem;
    color: var(--science-primary);
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.category-title h1 {
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: 10px;
    margin: 0;
    background: linear-gradient(135deg, var(--science-primary), var(--science-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.category-title h1::after {
    content: 'SAINS';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--science-primary), var(--science-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: blur(10px);
    opacity: 0.7;
    z-index: -1;
}

/* Molecule Animation */
.molecule-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    z-index: -1;
}

.atom {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--science-primary);
    box-shadow: 0 0 15px var(--science-primary);
}

.atom-1 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--science-secondary);
    box-shadow: 0 0 20px var(--science-secondary);
}

.atom-2 {
    animation: orbitAtom1 8s linear infinite;
}

.atom-3 {
    animation: orbitAtom2 12s linear infinite;
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.orbit-1 {
    width: 100px;
    height: 100px;
    animation: rotateOrbit 10s linear infinite;
}

.orbit-2 {
    width: 180px;
    height: 180px;
    animation: rotateOrbit 15s linear infinite reverse;
}

.orbit-3 {
    width: 260px;
    height: 260px;
    animation: rotateOrbit 20s linear infinite;
}

@keyframes orbitAtom1 {
    0% { transform: translate(-50px, -50px); }
    25% { transform: translate(50px, -50px); }
    50% { transform: translate(50px, 50px); }
    75% { transform: translate(-50px, 50px); }
    100% { transform: translate(-50px, -50px); }
}

@keyframes orbitAtom2 {
    0% { transform: translate(-90px, 0); }
    25% { transform: translate(0, -90px); }
    50% { transform: translate(90px, 0); }
    75% { transform: translate(0, 90px); }
    100% { transform: translate(-90px, 0); }
}

@keyframes rotateOrbit {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Category Intro Section */
.category-intro {
    padding: 80px 0;
    position: relative;
}

.intro-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.intro-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff, var(--science-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.science-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--science-primary), var(--science-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* DNA Strand Animation */
.dna-strand {
    position: absolute;
    left: 0;
    width: 100%;
    height: 200px;
    overflow: hidden;
    z-index: -1;
}

.dna-helix {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 20px,
        rgba(0, 184, 255, 0.1) 20px,
        rgba(0, 184, 255, 0.1) 40px
    );
    transform: skewY(-5deg);
    animation: dnaMove 20s linear infinite;
}

@keyframes dnaMove {
    0% { background-position: 0 0; }
    100% { background-position: 1000px 0; }
}

/* Articles Section */
.articles-section {
    padding: 80px 0;
    position: relative;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.science-card {
    background: rgba(10, 26, 47, 0.7);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.science-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 184, 255, 0.3);
}

.science-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.card-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--science-accent), var(--science-secondary));
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(255, 58, 124, 0.3);
}

.card-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.science-card.featured .card-image {
    height: 100%;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.science-card:hover .card-image img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 26, 47, 0.2), rgba(10, 26, 47, 0.8));
}

.science-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    backdrop-filter: blur(5px);
    border-left: 3px solid var(--science-primary);
}

.science-badge.physics {
    border-color: var(--physics-color);
}

.science-badge.astronomy {
    border-color: var(--astronomy-color);
}

.science-badge.neuroscience {
    border-color: var(--neuroscience-color);
}

.science-badge.biology {
    border-color: var(--biology-color);
}

.science-badge.chemistry {
    border-color: var(--chemistry-color);
}

.science-badge.climate {
    border-color: var(--climate-color);
}

.card-content {
    padding: 25px;
}

.science-card.featured .card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.4;
    font-weight: 700;
    color: white;
    transition: color 0.3s ease;
}

.science-card:hover .card-content h3 {
    background: linear-gradient(135deg, var(--science-primary), var(--science-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.card-meta i {
    margin-right: 5px;
    color: var(--science-primary);
}

.card-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.read-more-btn {
    display: flex;
    align-items: center;
    color: var(--science-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-icon {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--science-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.btn-icon i {
    color: white;
    font-size: 0.7rem;
}

.read-more-btn:hover {
    color: var(--science-secondary);
}

.read-more-btn:hover .btn-icon {
    background: var(--science-secondary);
    transform: translateX(5px);
}

.engagement {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.engagement i {
    margin-right: 5px;
    color: var(--science-primary);
}

/* Pagination */
.science-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn.active {
    background: linear-gradient(135deg, var(--science-primary), var(--science-secondary));
    box-shadow: 0 5px 15px rgba(0, 184, 255, 0.3);
}

.pagination-btn:hover:not(.active) {
    background: rgba(255, 255, 255, 0.2);
}

.pagination-btn.next {
    background: rgba(255, 255, 255, 0.05);
}

.pagination-btn.next:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Newsletter Section */
.science-newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(10, 26, 47, 0.9), rgba(5, 15, 30, 0.95));
    position: relative;
    overflow: hidden;
}

.science-newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: -1;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: rgba(10, 26, 47, 0.8);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.newsletter-icon {
    font-size: 2.5rem;
    color: var(--science-primary);
    margin-bottom: 20px;
}

.newsletter-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #fff, var(--science-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.newsletter-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border-radius: 30px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 2px var(--science-primary);
}

.subscribe-btn {
    padding: 0 25px;
    border-radius: 30px;
    border: none;
    background: linear-gradient(135deg, var(--science-primary), var(--science-secondary));
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.subscribe-btn:hover {
    background: linear-gradient(135deg, var(--science-secondary), var(--science-primary));
    box-shadow: 0 5px 15px rgba(0, 184, 255, 0.3);
    transform: translateY(-2px);
}

.newsletter-info {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-info i {
    margin-right: 5px;
    color: var(--science-primary);
}

/* Science Topics Section */
.science-topics {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    background: linear-gradient(135deg, #fff, var(--science-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.topic-card {
    background: rgba(10, 26, 47, 0.7);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    text-decoration: none;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.topic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, transparent, var(--science-primary), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.topic-card:hover::before {
    transform: translateX(100%);
}

.topic-card.physics {
    border-top: 3px solid var(--physics-color);
}

.topic-card.astronomy {
    border-top: 3px solid var(--astronomy-color);
}

.topic-card.biology {
    border-top: 3px solid var(--biology-color);
}

.topic-card.chemistry {
    border-top: 3px solid var(--chemistry-color);
}

.topic-card.environment {
    border-top: 3px solid var(--climate-color);
}

.topic-card.tech {
    border-top: 3px solid var(--neuroscience-color);
}

.topic-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background: rgba(15, 35, 60, 0.8);
}

.topic-card.physics .topic-icon {
    color: var(--physics-color);
}

.topic-card.astronomy .topic-icon {
    color: var(--astronomy-color);
}

.topic-card.biology .topic-icon {
    color: var(--biology-color);
}

.topic-card.chemistry .topic-icon {
    color: var(--chemistry-color);
}

.topic-card.environment .topic-icon {
    color: var(--climate-color);
}

.topic-card.tech .topic-icon {
    color: var(--neuroscience-color);
}

.topic-card:hover .topic-icon {
    transform: scale(1.2);
}

.topic-card h3 {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.topic-card:hover h3 {
    color: var(--science-primary);
}

.topic-card.physics:hover h3 {
    color: var(--physics-color);
}

.topic-card.astronomy:hover h3 {
    color: var(--astronomy-color);
}

.topic-card.biology:hover h3 {
    color: var(--biology-color);
}

.topic-card.chemistry:hover h3 {
    color: var(--chemistry-color);
}

.topic-card.environment:hover h3 {
    color: var(--climate-color);
}

.topic-card.tech:hover h3 {
    color: var(--neuroscience-color);
}

.article-count {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Featured Scientist Section */
.featured-scientist {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(10, 26, 47, 0.9), rgba(5, 15, 30, 0.95));
    position: relative;
    overflow: hidden;
}

.featured-scientist::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1507413245164-6160d8298b31?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: -1;
}

.scientist-profile {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(10, 26, 47, 0.8);
    padding: 40px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.scientist-image {
    flex: 0 0 200px;
    position: relative;
}

.scientist-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.image-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(0, 184, 255, 0.3), transparent 70%);
    filter: blur(15px);
    z-index: -1;
}

.scientist-info {
    flex: 1;
}

.scientist-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--science-primary), var(--science-secondary));
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 184, 255, 0.3);
}

.scientist-info h2 {
    font-size: 2rem;
    margin-bottom: 5px;
    color: white;
}

.scientist-info h3 {
    font-size: 1.1rem;
    color: var(--science-primary);
    margin-bottom: 20px;
    font-weight: 500;
}

.scientist-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
    font-style: italic;
}

.scientist-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
}

.stat {
    text-align: center;
}

.stat .number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--science-primary);
    margin-bottom: 5px;
}

.stat .label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.profile-link {
    display: inline-flex;
    align-items: center;
    color: white;
    text-decoration: none;
    font-weight: 600;
    background: linear-gradient(135deg, var(--science-primary), var(--science-secondary));
    padding: 10px 25px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.profile-link i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.profile-link:hover {
    box-shadow: 0 5px 15px rgba(0, 184, 255, 0.3);
    transform: translateY(-3px);
}

.profile-link:hover i {
    transform: translateX(5px);
}

/* Floating Elements */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-element {
    position: absolute;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.2);
    animation: float 20s infinite linear;
}

.element-1 {
    top: 15%;
    left: 10%;
    animation-duration: 25s;
    animation-delay: 0s;
}

.element-2 {
    top: 25%;
    right: 15%;
    animation-duration: 30s;
    animation-delay: 5s;
}

.element-3 {
    bottom: 20%;
    left: 20%;
    animation-duration: 22s;
    animation-delay: 2s;
}

.element-4 {
    bottom: 30%;
    right: 25%;
    animation-duration: 28s;
    animation-delay: 7s;
}

.element-5 {
    top: 50%;
    left: 5%;
    animation-duration: 35s;
    animation-delay: 10s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.2;
    }
    25% {
        opacity: 0.5;
    }
    50% {
        transform: translate(100px, 100px) rotate(180deg);
        opacity: 0.2;
    }
    75% {
        opacity: 0.5;
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
        opacity: 0.2;
    }
}

/* Footer */
.science-footer {
    background: var(--science-dark);
    padding: 50px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(0, 184, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 90% 90%, rgba(123, 47, 247, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
    z-index: -1;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo-img {
    height: 60px;
    filter: drop-shadow(0 0 10px rgba(0, 184, 255, 0.5));
}

.footer-links {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-btn {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-btn:hover {
    color: var(--science-primary);
}

.footer-bottom {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .category-title h1 {
        font-size: 4rem;
    }
    
    .science-card.featured {
        grid-column: span 1;
        display: block;
    }
    
    .science-card.featured .card-image {
        height: 220px;
    }
}

@media (max-width: 992px) {
    .scientist-profile {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .scientist-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .category-title h1 {
        font-size: 3rem;
        letter-spacing: 5px;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .topics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .subscribe-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .category-title h1 {
        font-size: 2.5rem;
        letter-spacing: 3px;
    }
    
    .topics-grid {
        grid-template-columns: 1fr;
    }
    
    .card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .engagement {
        width: 100%;
        justify-content: space-between;
    }
}

/* Hover Effects */
.science-card .card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--science-primary), var(--science-secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
    mix-blend-mode: overlay;
}

.science-card:hover .card-image::after {
    opacity: 0.3;
}

/* Glitch Text Effect */
.glitch-text {
    position: relative;
    display: inline-block;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip: rect(0, 0, 0, 0);
}

.glitch-text::before {
    left: 2px;
    text-shadow: -1px 0 var(--science-primary);
    animation: glitch-anim-1 2s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -2px;
    text-shadow: 2px 0 var(--science-secondary);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% {
        clip: rect(0, 900px, 5px, 0);
    }
    20% {
        clip: rect(0, 900px, 5px, 0);
    }
    20.1% {
        clip: rect(0, 900px, 0, 0);
    }
    50% {
        clip: rect(0, 900px, 0, 0);
    }
    50.1% {
        clip: rect(0, 900px, 5px, 0);
    }
    100% {
        clip: rect(0, 900px, 5px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(0, 900px, 0, 0);
    }
    15% {
        clip: rect(0, 900px, 0, 0);
    }
    15.1% {
        clip: rect(0, 900px, 5px, 0);
    }
    70% {
        clip: rect(0, 900px, 5px, 0);
    }
    70.1% {
        clip: rect(0, 900px, 0, 0);
    }
    100% {
        clip: rect(0, 900px, 0, 0);
    }
}