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

:root {
    /* Dark Theme Colors */
    --color-bg-primary: #0f0f0f;
    --color-bg-secondary: #1a1a1a;
    --color-bg-tertiary: #252525;
    --color-accent-primary: #00d4ff;
    --color-accent-secondary: #7b2cbf;
    --color-accent-gradient: linear-gradient(135deg, #00d4ff 0%, #7b2cbf 100%);
    --color-text-primary: #e8eaed;
    --color-text-secondary: #9aa0a6;
    --color-border: rgba(255, 255, 255, 0.1);
    
    /* Typography */
    --font-display: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Borders */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ===================================
   Container & Layout
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    background: var(--color-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    background: var(--color-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-content {
    padding-top: 120px;
    min-height: 80vh;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-medium);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
}

.logo {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 0 10px var(--color-accent-primary));
}

.brand-text {
    background: var(--color-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: var(--spacing-md);
}

.nav-link {
    padding: var(--spacing-xs) var(--spacing-sm);
    color: var(--color-text-secondary);
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-accent-gradient);
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    transition: var(--transition-fast);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(123, 44, 191, 0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-text {
    text-align: left;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
}

.glitch {
    position: relative;
    background: var(--color-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glitch 3s infinite;
}

@keyframes glitch {
    0%, 90%, 100% { transform: translate(0); }
    92% { transform: translate(-2px, 2px); }
    94% { transform: translate(2px, -2px); }
    96% { transform: translate(-2px, -2px); }
    98% { transform: translate(2px, 2px); }
}

.hero-subtitle {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 3vw, 2rem);
    color: var(--color-accent-primary);
    margin-bottom: var(--spacing-sm);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.875rem 1.75rem;
    border-radius: var(--border-radius-md);
    font-weight: 600;
    transition: var(--transition-fast);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--color-accent-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text-primary);
    border: 2px solid var(--color-accent-primary);
}

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--color-border);
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--color-accent-primary);
    border-bottom: 2px solid var(--color-accent-primary);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: rotate(45deg) translateY(0); }
    40% { transform: rotate(45deg) translateY(10px); }
    60% { transform: rotate(45deg) translateY(5px); }
}

/* ===================================
   About Section
   =================================== */
.about {
    background: var(--color-bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.about-card {
    background: var(--color-bg-tertiary);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
    transition: var(--transition-medium);
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-accent-primary);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.card-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-accent-gradient);
    border-radius: var(--border-radius-md);
    margin-bottom: var(--spacing-sm);
    color: white;
}

.about-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-accent-primary);
}

.about-card p {
    color: var(--color-text-secondary);
    line-height: 1.8;
}

/* ===================================
   Community Section
   =================================== */
.community-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.lead {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-sm);
}

.community-text p {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
}

.community-stats {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    background: var(--color-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.community-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--color-border);
}

/* ===================================
   Gallery Section
   =================================== */
.gallery {
    background: var(--color-bg-secondary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
    transition: var(--transition-medium);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-medium);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* ===================================
   Contact Section
   =================================== */
.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    transition: var(--transition-fast);
}

.contact-link:hover {
    border-color: var(--color-accent-primary);
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-logo {
    width: 64px;
    height: 64px;
}

.footer-brand p {
    color: var(--color-text-secondary);
    max-width: 400px;
}

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-section h4 {
    font-family: var(--font-display);
    color: var(--color-accent-primary);
    margin-bottom: var(--spacing-sm);
    font-size: 1rem;
}

.footer-section ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-section a {
    color: var(--color-text-secondary);
    transition: var(--transition-fast);
}

.footer-section a:hover {
    color: var(--color-accent-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    font-size: 0.875rem;
}

.footer-note {
    margin-top: var(--spacing-xs);
    font-size: 0.75rem;
    opacity: 0.7;
}

/* ===================================
   Mobile Responsive
   =================================== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(15, 15, 15, 0.98);
        backdrop-filter: blur(10px);
        padding: var(--spacing-md);
        gap: var(--spacing-sm);
        transform: translateX(-100%);
        transition: var(--transition-medium);
        border-bottom: 1px solid var(--color-border);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .community-content {
        grid-template-columns: 1fr;
    }
    
    .community-stats {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .section {
        padding: var(--spacing-lg) 0;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .community-stats {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}

/* ===================================
   Accessibility
   =================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--color-accent-primary);
    outline-offset: 2px;
}

/* ===================================
   Page-Specific Styles
   =================================== */

/* About Page */
.about-details {
    max-width: 800px;
    margin: var(--spacing-lg) auto 0;
}

.about-details h2 {
    font-family: var(--font-display);
    color: var(--color-accent-primary);
    font-size: 1.75rem;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.about-details p {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
}

/* Community Page */
.community-details {
    margin-top: var(--spacing-lg);
}

.community-details h2 {
    font-family: var(--font-display);
    color: var(--color-accent-primary);
    font-size: 2rem;
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.participation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.participation-card {
    background: var(--color-bg-tertiary);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
}

.participation-card h3 {
    font-family: var(--font-display);
    color: var(--color-accent-primary);
    margin-bottom: var(--spacing-sm);
}

.participation-card p {
    color: var(--color-text-secondary);
    line-height: 1.8;
}

.community-cta {
    text-align: center;
    margin-top: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--color-bg-tertiary);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
}

.community-cta h2 {
    margin-bottom: var(--spacing-sm);
}

.community-cta p {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
}

/* Gallery Page */
.gallery-intro {
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 15, 15, 0.95), transparent);
    padding: var(--spacing-md) var(--spacing-sm) var(--spacing-sm);
    color: var(--color-text-primary);
    font-weight: 600;
    opacity: 0;
    transition: var(--transition-medium);
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
}

/* Contact Page */
.contact-methods {
    margin: var(--spacing-lg) 0;
}

.contact-methods h2 {
    font-family: var(--font-display);
    color: var(--color-accent-primary);
    font-size: 1.75rem;
    margin-bottom: var(--spacing-md);
}

.contact-link-content {
    display: flex;
    flex-direction: column;
}

.contact-link-content strong {
    color: var(--color-text-primary);
    font-size: 1.125rem;
}

.contact-link-content span {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
}

.contact-info {
    margin: var(--spacing-lg) 0;
}

.contact-info h2 {
    font-family: var(--font-display);
    color: var(--color-accent-primary);
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
}

.contact-info p {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
}

.contact-list {
    list-style: disc;
    margin-left: var(--spacing-md);
    margin-top: var(--spacing-sm);
}

.contact-list li {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-xs);
    line-height: 1.8;
}

.contact-cta-box {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--color-bg-tertiary);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
    text-align: center;
}

.contact-cta-box h3 {
    font-family: var(--font-display);
    color: var(--color-accent-primary);
    margin-bottom: var(--spacing-sm);
}

.contact-cta-box p {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
}

/* ===================================
   Cookie Consent Banner
   =================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-bg-secondary);
    border-top: 2px solid var(--color-accent-primary);
    padding: var(--spacing-md) var(--spacing-sm);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    transform: translateY(100%);
    transition: transform var(--transition-medium);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 280px;
}

.cookie-banner-text h3 {
    font-family: var(--font-display);
    color: var(--color-accent-primary);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xs);
}

.cookie-banner-text p {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-banner-text a {
    color: var(--color-accent-primary);
    text-decoration: underline;
    transition: var(--transition-fast);
}

.cookie-banner-text a:hover {
    color: var(--color-text-primary);
}

.cookie-banner-actions {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.cookie-banner-actions .btn {
    white-space: nowrap;
    min-width: 120px;
    padding: 0.75rem 1.5rem;
}

.btn-accept {
    background: var(--color-accent-gradient);
    color: var(--color-text-primary);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-md);
    font-family: var(--font-display);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-decline {
    background: transparent;
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-md);
    font-family: var(--font-display);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-decline:hover {
    border-color: var(--color-accent-primary);
    color: var(--color-accent-primary);
}

/* Cookie Settings Link in Footer */
.cookie-settings-link {
    cursor: pointer;
    color: var(--color-accent-primary);
    transition: var(--transition-fast);
}

.cookie-settings-link:hover {
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cookie-banner {
        padding: var(--spacing-sm);
    }
    
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-banner-text {
        min-width: 100%;
        text-align: center;
    }
    
    .cookie-banner-actions {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-banner-actions .btn {
        flex: 1;
        min-width: auto;
    }
}

/* ===================================
   Article & News Styles
   =================================== */

/* Latest News on Homepage */
.latest-news {
    padding: var(--spacing-xl) 0;
    background: var(--color-bg-secondary);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    background: var(--color-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.latest-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.news-mini-card {
    background: var(--color-bg-primary);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--color-border);
    transition: var(--transition-medium);
    display: flex;
    flex-direction: column;
}

.news-mini-card:hover {
    border-color: var(--color-accent-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.15);
}

.news-mini-card-date {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-xs);
}

.news-mini-card-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    flex-grow: 1;
}

.news-mini-card-title a {
    color: var(--color-text-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.news-mini-card-title a:hover {
    color: var(--color-accent-primary);
}

.news-mini-card-excerpt {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

.news-mini-card-link {
    color: var(--color-accent-primary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.news-mini-card-link:hover {
    text-decoration: underline;
}

/* News List Page */
.news-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.news-card {
    background: var(--color-bg-secondary);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border);
    transition: var(--transition-medium);
}

.news-card:hover {
    border-color: var(--color-accent-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.2);
}

.news-card-image {
    border-radius: var(--border-radius-md);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.news-card-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.news-card-title a {
    color: var(--color-text-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.news-card-title a:hover {
    color: var(--color-accent-primary);
}

.news-card-meta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    font-size: 0.875rem;
    color: var(--color-text-secondary);
}

.news-card-date,
.news-card-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.news-card-summary {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.news-card-summary a {
    color: var(--color-accent-primary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
}

.news-card-summary a:hover {
    text-decoration: underline;
}

/* Individual Article Page */
.article {
    max-width: 900px;
    margin: 0 auto;
}

.article .page-title {
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: left;
    margin-bottom: var(--spacing-md);
}

.article-meta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--color-border);
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

.article-date,
.article-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.article-date::before {
    content: '📅';
}

.article-author::before {
    content: '✍️';
}

.article-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

.article-content p {
    margin-bottom: var(--spacing-md);
}

.article-content strong {
    color: var(--color-text-primary);
    font-weight: 600;
}

.article-content a {
    color: var(--color-accent-primary);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: var(--transition-fast);
    padding-bottom: 2px;
}

.article-content a:hover {
    border-bottom-color: var(--color-accent-primary);
    color: var(--color-accent-secondary);
}

.article-image {
    border-radius: var(--border-radius-md);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.article-source {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    color: var(--color-accent-primary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
    margin-top: var(--spacing-md);
}

.article-source:hover {
    background: var(--color-bg-secondary);
    border-color: var(--color-accent-primary);
    transform: translateX(4px);
}

.article-source::after {
    content: '→';
    font-size: 1.2em;
}

@media (max-width: 768px) {
    .news-card-meta,
    .article-meta {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
    
    .article-content {
        font-size: 1rem;
    }
    
    .article-image,
    .news-card-image {
        float: none !important;
        max-width: 100% !important;
        margin: 0 0 var(--spacing-md) 0 !important;
    }
}

/* ===================================
   RSS Feed Button
   =================================== */
.rss-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--color-bg-secondary);
    color: var(--color-accent-primary);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.rss-button:hover {
    background: var(--color-bg-tertiary);
    border-color: var(--color-accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
}

.rss-button svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .rss-button {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

