:root {
    --primary-color: #2b4c7e;
    --secondary-color: #567ebb;
    --accent-color: #d1b87a;
    --text-color: #333333;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --font-heading: 'Noto Serif JP', serif;
    --font-body: 'Noto Sans JP', sans-serif;
}

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

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

.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    padding-top: 80px; /* Navbar height offset */
}

.main-content.no-padding {
    padding-top: 0;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Global Image Utilities */
.img-responsive {
    max-width: 100%;
    height: auto;
    display: block;
}

.rounded {
    border-radius: 12px;
}

.shadow {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--primary-color);
    letter-spacing: 1px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center; /* Vertical alignment for all items */
    margin: 0;
    padding: 0;
}

/* Base styles for all navigation links */
nav a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    padding: 8px 0; /* Consistent vertical padding */
    line-height: 1.2;
}

nav a:hover {
    color: var(--secondary-color);
}

/* Dropdown specific styles */
.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

/* Add caret to parent links with dropdowns on Desktop */
@media (min-width: 769px) {
    .nav-item > a::after {
        content: '▾';
        font-size: 0.7rem;
        margin-left: 5px;
        opacity: 0.5;
        transition: transform 0.3s;
    }
    
    .nav-item:hover > a::after {
        transform: rotate(180deg);
        opacity: 1;
    }
}

/* Image Modal (Lightbox) */
.image-modal {
    display: none;
    position: fixed;
    z-index: 11000;
    padding-top: 50px;
    left: 0; top: 0;
    width: 100%; height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}
.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    border-radius: 4px;
}
#modal-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}
.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}
.close-modal:hover { color: #bbb; }

.zoom-image-container {
    margin: 20px 0;
    text-align: center;
}
.zoomable-img {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    cursor: zoom-in;
}
.zoomable-img:hover {
    transform: translateY(-5px);
}
.caption {
    font-size: 0.8rem;
    color: #888;
    margin-top: 10px;
}

.distress-toast {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 350px;
    height: 400px;
    max-height: 60vh;
    background: rgba(0, 0, 0, 0.9);
    color: #00ff00;
    display: flex;
    flex-direction: column;
    padding: 0;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.85rem;
    border: 1px solid #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    overflow: hidden;
}

.distress-toast.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.distress-toast.minimized {
    height: 32px !important;
    width: 200px !important;
    padding: 0 !important;
    overflow: hidden;
}

.distress-toast.minimized .distress-content-wrapper {
    display: none;
}

.distress-toast.minimized .distress-header {
    margin-bottom: 0;
}

.distress-header {
    background: #00ff00;
    color: #000;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    margin-bottom: 0;
}

.distress-content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Contains the log scroll */
}

.distress-log {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    background: rgba(0, 5, 0, 0.95);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.log-entry {
    border-left: 2px solid #004400;
    padding-left: 10px;
    margin-bottom: 5px;
    animation: fadeIn 0.3s ease-out;
}

.log-time {
    font-size: 0.6rem;
    color: #008800;
    display: block;
}

.current-msg {
    padding: 10px 15px;
    background: rgba(0, 30, 0, 0.9);
    border-top: 1px solid #004400;
    font-size: 0.8rem;
    color: #00ff00;
    min-height: 40px;
}

.glitch-text {
    color: #ff0000;
    font-weight: bold;
    animation: flash 0.5s infinite alternate;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(-5px); }
    to { opacity: 1; transform: translateX(0); }
}
.search-container {
    margin-left: 20px;
}
.search-box {
    display: flex;
    align-items: center;
    background: rgba(0,0,0,0.05);
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 2px 10px;
}
#site-search {
    border: none;
    background: transparent;
    padding: 5px;
    font-size: 0.8rem;
    outline: none;
    width: 120px;
    transition: width 0.3s;
}
#site-search:focus {
    width: 180px;
}
#search-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.search-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}
.search-modal {
    width: 90%;
    max-width: 500px;
    background: #000;
    border: 1px solid #333;
    color: #00ff00;
    font-family: 'Share Tech Mono', monospace;
    padding: 0;
    box-shadow: 0 0 50px rgba(0,255,0,0.1);
}
.terminal-header {
    background: #111;
    padding: 10px;
    border-bottom: 1px solid #333;
    font-size: 0.7rem;
    color: #666;
}
.terminal-body {
    padding: 30px;
    min-height: 150px;
}
.close-search {
    width: 100%;
    padding: 10px;
    background: transparent;
    border: none;
    border-top: 1px solid #333;
    color: #666;
    cursor: pointer;
}
.close-search:hover { color: #fff; }
.search-result-item { margin-bottom: 20px; }
.search-alert { color: #ff0000; }
.search-success { color: #00ff00; }

@keyframes flash {
    from { opacity: 1; }
    to { opacity: 0.5; }
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    min-width: 180px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    z-index: 1100;
    list-style: none;
}

/* Pointer for dropdown */
.dropdown-content::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid white;
}

.dropdown-content li {
    width: 100%;
}

.dropdown-content a {
    padding: 10px 20px;
    font-size: 0.85rem;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: var(--bg-light);
}

/* Desktop Hover */
@media screen and (min-width: 769px) {
    .nav-item:hover .dropdown-content {
        display: block;
    }
}

/* Sections */
.section {
    padding: 100px 20px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 25px; /* Mobile safety padding */
}

.bg-light {
    background-color: var(--bg-light);
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('../../images/association_hq.png') center/cover no-repeat;
    position: relative;
    padding: 0 20px;
}

/* Subtle background pattern (Overlay) */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255, 255, 255, 0.75);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.4;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: background-color 0.3s, transform 0.3s;
    box-shadow: 0 10px 20px rgba(43, 76, 126, 0.2);
}

.cta-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.cta-button.secondary-btn {
    background-color: var(--secondary-color);
}

.cta-button.secondary-btn:hover {
    background-color: var(--primary-color);
}

/* Featured Highlights Section */
.featured-highlights {
    background-color: var(--bg-light);
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

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

.highlight-card {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.highlight-card .card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
}

.highlight-card .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.8) 100%);
    opacity: 0.8;
    transition: opacity 0.3s;
}

.highlight-card .card-content {
    position: relative;
    z-index: 2;
}

.highlight-card .tag {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 4px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.highlight-card h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.highlight-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.5;
}

.highlight-card .more-link {
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 5px;
    transition: all 0.3s;
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.highlight-card:hover .card-image {
    transform: scale(1.1);
}

.highlight-card:hover .card-overlay {
    opacity: 0.9;
}

.highlight-card:hover .more-link {
    border-bottom-color: white;
    padding-left: 5px;
}

/* About Section */
.about h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
}

.example-box {
    margin-top: 30px;
    padding: 25px;
    background-color: #fff;
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-radius: 0 8px 8px 0;
}

.example-box .icon {
    font-size: 1.5rem;
    margin-right: 10px;
}

/* Research Section */
.research {
    text-align: center;
}

.research h2 {
    font-size: 2.5rem;
}

.subtitle {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 50px;
}

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

.card {
    background: white;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border-top: 4px solid var(--primary-color);
    transition: transform 0.3s;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 30px;
}


footer {
    background-color: #1a1a1a;
    color: #888;
    text-align: center;
    padding: 60px 20px;
}

footer h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

footer h4 {
    color: white;
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: left;
}

footer ul {
    list-style: none;
    padding: 0;
    font-size: 0.9rem;
    line-height: 2;
}

footer ul a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

footer ul a:hover {
    color: white;
}

footer .copyright-bar {
    margin-top: 40px;
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
}

footer .disclaimer {
    font-size: 0.75rem;
    color: #555;
    margin-top: 15px;
}

/* News Alert */
.news-alert {
    background: #fff8e1;
    border-bottom: 1px solid #ffe082;
    padding: 10px 20px;
    text-align: center;
    font-size: 0.9rem;
    position: relative;
    z-index: 100;
}

.news-alert .label {
    background: #f44336;
    color: white;
    padding: 2px 8px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-right: 10px;
    border-radius: 3px;
}

.news-alert a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    margin-left: 10px;
}

/* Journey Section */
.journey {
    padding: 80px 0;
    background: #0a0a1a;
    color: white;
}

.journey .journey-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.step-card {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s;
}

.step-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.08);
}

.step-num {
    font-size: 3rem;
    font-weight: 900;
    opacity: 0.2;
    margin-bottom: 10px;
}

.step-card h3 {
    color: white;
}

.step-card a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    z-index: 2000;
    padding: 20px;
}

.cookie-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
}

.cookie-icon { font-size: 1.5rem; }
.cookie-text { flex: 1; font-size: 0.85rem; }
.cookie-text p { margin: 0; }
.cookie-actions { display: flex; gap: 10px; }

.cookie-btn {
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-decoration: none;
    text-align: center;
}

.cookie-btn.approve { background: var(--primary-color); color: white; }
.cookie-btn.deny { background: #eee; color: #666; }

@media screen and (max-width: 600px) {
    .cookie-content { flex-direction: column; text-align: center; }
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
    .navbar {
        padding: 15px 30px;
    }

    /* Hamburger Button */
    .hamburger {
        display: block;
        cursor: pointer;
        z-index: 2100; /* Higher than nav ul (2000) */
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 2px;
        background-color: var(--primary-color);
        margin: 5px 0;
        transition: all 0.3s ease;
    }

    /* Animate Hamburger to X */
    .hamburger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Mobile Nav Menu - Re-designed as Side Drawer */
    nav ul {
        position: fixed;
        right: 0;
        top: 0;
        width: 280px;
        max-width: 85vw;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.92);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start; /* Left aligned items */
        gap: 0; /* Use padding for items */
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 2000;
        padding: 80px 0 60px; /* Space for items */
        overflow-y: auto;
        backdrop-filter: blur(20px);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        -webkit-overflow-scrolling: touch;
    }

    nav ul.active {
        transform: translateX(0);
    }

    nav a {
        font-size: 1.05rem;
        font-weight: 500;
        width: 100%;
        text-align: left;
        padding: 15px 30px;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    /* Mobile Dropdown Adjustments */
    .nav-item {
        width: 100%;
        text-align: left;
        display: flex;
        flex-direction: column;
    }

    .dropdown-content {
        position: static;
        display: none;
        transform: none;
        background: rgba(0,0,0,0.03);
        box-shadow: none;
        width: 100%;
        padding: 0;
        margin-top: 10px;
    }

    .nav-item.active-mobile .dropdown-content {
        display: block;
    }

    .dropdown-content a {
        font-size: 0.9rem;
        padding: 12px 45px;
        color: var(--secondary-color);
        text-align: left;
        border-bottom: none;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section {
        padding: 60px 20px;
    }

    .about h2, .research h2, .pikkero h3 {
        font-size: 2rem;
    }

    .formula {
        font-size: 1.1rem;
        padding: 20px 10px;
    }
}

/* Hide Hamburger on Desktop */
@media screen and (min-width: 769px) {
    .hamburger {
        display: none;
    }
}


@media screen and (max-width: 500px) {
    .cookie-banner {
        width: calc(100% - 40px);
        bottom: 20px;
        right: 20px;
    }
}

/* Small mobile: hero text sizing to respect intended line breaks */
@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
        letter-spacing: 1px;
        line-height: 1.5;
    }
    .hero p {
        font-size: 1rem;
    }
    /* セクション見出し */
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 35px;
    }
    /* お知らせバナー: リンクを改行して視認性アップ */
    .news-alert {
        font-size: 0.8rem;
        line-height: 1.6;
    }
    .news-alert a {
        display: block;
        margin-left: 0;
        margin-top: 4px;
    }
}

/* Corruption Mode (Aftermath) */
body.corrupted {
    background-color: #050000 !important;
    color: #a0a0a0 !important;
    filter: grayscale(0.5) contrast(1.2);
    transition: all 1.5s ease;
}

body.corrupted .navbar {
    background: rgba(10, 0, 0, 0.9);
    border-bottom: 2px solid #500000;
}

body.corrupted .logo {
    color: #ff0000 !important;
    font-family: 'Noto Serif JP', serif;
    animation: corrupted-glitch 0.2s infinite;
    text-shadow: 2px 0 #800, -2px 0 #300;
}

@keyframes corrupted-glitch {
    0% { transform: translate(0); }
    25% { transform: translate(-2px, 1px); }
    50% { transform: translate(2px, -1px); }
    75% { transform: translate(-1px, -2px); }
    100% { transform: translate(0); }
}

body.corrupted .hero {
    background: linear-gradient(rgba(10,0,0,0.8), rgba(20,0,0,0.8)), url('../images/pudding_experiment.png') center/cover no-repeat !important;
    filter: brightness(0.5) sepia(1) hue-rotate(-20deg);
}

body.corrupted h1, body.corrupted h2, body.corrupted h3 {
    color: #ff0000 !important;
    font-family: 'Noto Serif JP', serif;
    letter-spacing: 5px;
}

body.corrupted .cta-button {
    background-color: #800000;
    border-color: #ff0000;
}

body.corrupted .card {
    background: #1a0505;
    border: 1px solid #4a0000;
}

body.corrupted p {
    color: #888 !important;
}

body.corrupted .corrupted-text {
    color: #ff0000 !important;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.4);
}

/* News Alert Bar */
.news-alert {
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 12px 40px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 75px; /* Offset for fixed navbar */
    position: relative;
    z-index: 900;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.news-alert .label {
    background: var(--primary-color);
    color: white;
    padding: 2px 8px;
    font-size: 0.7rem;
    border-radius: 4px;
    margin-right: 15px;
    vertical-align: middle;
}

.news-alert a {
    color: var(--primary-color);
    text-decoration: none;
    margin-left: 15px;
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 2px;
    transition: all 0.3s;
}

.news-alert a:hover {
    color: white;
    border-bottom-color: white;
}

@media screen and (max-width: 768px) {
    .news-alert {
        margin-top: 65px;
        padding: 10px 20px;
        font-size: 0.8rem;
    }
    .news-alert .label {
        display: none;
    }
}

/* Social Links */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    color: #eee;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 0.8rem;
    font-weight: 500;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.social-link.share-btn {
    background: var(--primary-color);
    border-color: transparent;
}

.social-link.share-btn:hover {
    background: var(--secondary-color);
}

.social-link svg {
    flex-shrink: 0;
}
