/* Base Reset & Variables */
:root {
    /* Dark Theme (Default) */
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --bg-section: rgba(30, 30, 30, 0.6);
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --accent-yellow: #ffe600;
    --accent-orange: #f09100;
    --accent-red: #e63228;
    --accent-purple: #823c8c;
    --accent-turquoise: #1de9b6;
    --header-bg: rgba(18, 18, 18, 0.5);
    --header-scrolled: rgba(18, 18, 18, 0.5);
    --card-hover-bg: #252525;
    --border-opacity: 0.1;
    --site-bg-opacity: 0.2;

    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-ui: 'Source Sans Pro', sans-serif;

    /* i18n variables for CSS content */
    --ribbon-active: "ATTIVO";
    --ribbon-wip: "WORK IN PROGRESS";
}

/* Light Theme Variables */
body.light-theme {
    --bg-dark: rgba(255, 255, 255, 0.85);
    /* Increased white opacity */
    --bg-card: rgba(255, 255, 255, 0.95);
    /* Almost solid cards */
    --bg-section: rgba(255, 255, 255, 0.5);
    --text-primary: #121212;
    --text-secondary: #444444;
    --accent-yellow: #cda300;
    --accent-orange: #d35400;
    /* Darker orange for better contrast on light theme */
    --accent-turquoise: #008f7a;
    /* Slightly darker for contrast on light */
    --header-bg: rgba(255, 255, 255, 0.5);
    --header-scrolled: rgba(255, 255, 255, 0.5);
    /* High opacity scrolling header */
    --card-hover-bg: #ffffff;
    --border-opacity: 0.1;
    --site-bg-opacity: 0.4;
    /* Softer colors underneath */
    --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* Theme Global Behavior */
/* Removed double opacity rule for .site-bg to fix visibility */

body.light-theme .logo-dark {
    display: none !important;
}

body.light-theme .logo-light {
    display: block !important;
}

body.light-theme .btn-outline {
    color: var(--text-primary) !important;
}

body.light-theme .social-circle {
    background: var(--bg-card);
    border: 1px solid rgba(0, 0, 0, 0.15);
    /* More visible border */
    color: var(--text-primary);
}

body.light-theme .social-circle:hover {
    background: var(--text-primary);
    color: var(--bg-dark);
}

/* Allow transparency in sections */
body.light-theme .section,
body.light-theme .mission-section,
body.light-theme .footer,
body.light-theme .hero,
body.light-theme .project-section,
body.light-theme .discipline-section,
body.light-theme .status-section,
body.light-theme .gallery-page,
body.light-theme .links-container {
    background-color: transparent !important;
    /* Let gradient show through */
    backdrop-filter: none;
}

/* Global Card Shadows for Light Theme */
body.light-theme .card,
body.light-theme .point,
body.light-theme .glass-panel,
body.light-theme .cta-box,
body.light-theme .link-card {
    box-shadow: var(--card-shadow);
    border: none;
    /* Remove border to fix animation overlay issues */
}

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

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

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Utilities */
.highlight {
    color: var(--accent-yellow);
}

.highlight-alt {
    background: linear-gradient(90deg, var(--accent-yellow), var(--accent-orange), var(--accent-red), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pulse-anim {
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0% {
        box-shadow: 0 0 0 0 rgba(166, 77, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(166, 77, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(166, 77, 255, 0);
    }
}

.gradient-text {
    background: linear-gradient(45deg, var(--accent-yellow), var(--accent-orange), var(--accent-red), var(--accent-purple));
    background-size: 300% 300%;
    animation: gradient-shift 5s ease infinite;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    font-family: var(--font-ui);
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    line-height: 1;
    /* Reset line-height for better flex centering */
    text-align: center;
}

.btn-primary {
    background: linear-gradient(45deg, var(--accent-orange), var(--accent-red), var(--accent-purple));
    color: white;
    border: 2px solid transparent;
    /* Align with outline button height */
    box-shadow: 0 4px 15px rgba(230, 50, 40, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 50, 40, 0.6);
}

.btn-outline {
    background: transparent;
    position: relative;
    /* Gradient Border Trick */
    border: 2px solid transparent;
    background-image: linear-gradient(var(--bg-dark), var(--bg-dark)),
        linear-gradient(90deg, var(--accent-yellow), var(--accent-orange), var(--accent-red), var(--accent-purple));
    background-origin: border-box;
    background-clip: padding-box, border-box;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.btn-outline:hover {
    transform: translateY(-2px);
    filter: brightness(1.3);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-opacity);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: var(--header-scrolled);
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-list {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-list li a {
    font-family: var(--font-ui);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.nav-list li a:hover {
    color: var(--accent-turquoise);
}

.nav-btn {
    padding: 8px 20px;
    border: 1px solid var(--accent-yellow);
    color: var(--accent-yellow) !important;
    border-radius: 4px;
}

.nav-btn:hover {
    background: var(--accent-yellow);
    color: var(--bg-dark) !important;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.3s ease;
}

.theme-toggle:hover,
.lang-toggle:hover {
    transform: rotate(15deg) scale(1.1);
}

.lang-toggle {
    background: none;
    border: 1px solid var(--border-opacity);
    color: var(--text-primary);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
}

.lang-toggle:hover {
    border-color: var(--accent-turquoise);
    color: var(--accent-turquoise);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 5px 0;
}

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

@media (min-width: 1025px) {
    .hero {
        align-items: flex-start;
        padding-top: 18vh;
        /* Increased from 15vh */
    }

    .hero-subtitle {
        margin-bottom: 10px;
        /* Reduced from 40px to compensate for the lower title */
    }
}

.site-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Stronger 4-color glow behind the text */
    background: conic-gradient(from 0deg at 50% 50%,
            rgba(130, 60, 140, var(--site-bg-opacity)),
            rgba(230, 50, 40, var(--site-bg-opacity)),
            rgba(240, 145, 0, var(--site-bg-opacity)),
            rgba(255, 230, 0, var(--site-bg-opacity)),
            rgba(130, 60, 140, var(--site-bg-opacity)));
    filter: blur(80px);
    z-index: -1;
}



.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-yellow), var(--accent-orange), var(--accent-red), var(--accent-purple));
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    /* Default center for mobile/smaller screens */
    flex-wrap: wrap;
    /* Ensure wrapping on very small screens */
}

@media (min-width: 769px) {
    .hero-cta {
        align-items: flex-end;
        /* Align to bottom on desktop */
        flex-wrap: nowrap;
    }
}

/* Section Common */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 20px;
}

.section-lead {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

/* Visionary Grid Styling */
.project-grid-vision {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.project-image-main {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.5s ease;
}

.project-image-main img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.project-image-main:hover {
    transform: scale(1.02);
}

.gallery-link {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(5px);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    opacity: 0;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 10px;
}

.project-image-main:hover .gallery-link {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.gallery-link:hover {
    background: var(--accent-orange);
    border-color: var(--accent-yellow);
    box-shadow: 0 0 20px rgba(240, 145, 0, 0.4);
}

.text-block p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes rotateAngle {
    to {
        --angle: 360deg;
    }
}

.glass-panel {
    position: relative;
    background: var(--bg-card);
    /* Standard background for content */
    border-radius: 10px;
    padding: 40px;
    box-shadow: var(--card-shadow);
    z-index: 1;
    overflow: visible;
    /* Allow border to stick out slightly if needed, or hidden */
    overflow: hidden;
    transition: transform 0.3s ease;
    border: none;
}

/* Static Border Container with Rotating Gradient */
.glass-panel::before {
    content: '';
    position: absolute;
    inset: 0px;
    /* Matches card size exactly */
    padding: 3px;
    /* Border width */
    border-radius: 10px;
    background: conic-gradient(from var(--angle), transparent 20%, var(--accent-yellow), var(--accent-orange), var(--accent-red), var(--accent-purple), transparent 80%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 0;
    /* Above bg but below text (if text is positioned or if mask works correctly) */
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    animation: rotateAngle 4s linear infinite;
}

.glass-panel:hover {
    transform: translateY(-5px);
    background-color: var(--card-hover-bg);
}

.glass-panel:hover::before {
    opacity: 1;
}

.glass-panel h3 {
    color: var(--accent-turquoise);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Mission */
.mission-section {
    background-color: var(--bg-section);
    /* Semi-transparent */
    backdrop-filter: blur(5px);
}

.mission-text {
    font-size: 1.3rem;
    text-align: center;
    font-style: italic;
    max-width: 900px;
    margin: 0 auto 60px auto;
    border-left: 4px solid var(--accent-orange);
    padding-left: 20px;
}

.mission-points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.point {
    position: relative;
    background: var(--bg-card);
    border-radius: 10px;
    padding: 30px;
    z-index: 1;
    overflow: hidden;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.point::before {
    content: '';
    position: absolute;
    inset: 0px;
    padding: 3px;
    border-radius: 10px;
    background: conic-gradient(from var(--angle), transparent 20%, var(--accent-yellow), var(--accent-orange), var(--accent-red), var(--accent-purple), transparent 80%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 0;
    /* Must be above bg but handled via mask */
    /* Wait, if it's z-index 1 it covers text? No, pointer-events none. But visually? */
    /* z-index -1 puts it behind bg. But bg is transparentish. */
    /* If Mask works, center is empty. So we can put it z-index 2 (above content) or z-index 0 (above bg). */
    /* Since it's a border, z-index 1 (above bg) is fine as long as center is transparent. */
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    animation: rotateAngle 4s linear infinite;
}

.point:hover {
    transform: translateY(-5px);
    background-color: var(--card-hover-bg);
}

.point:hover::before {
    opacity: 1;
}

.point .icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 20px;
}

.point h4 {
    margin-bottom: 10px;
    color: var(--accent-yellow);
}

/* Discipline Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--bg-card);
    border-radius: 10px;
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: none;
    padding: 30px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0px;
    padding: 3px;
    border-radius: 10px;
    background: conic-gradient(from var(--angle), transparent 20%, var(--accent-yellow), var(--accent-orange), var(--accent-red), var(--accent-purple), transparent 80%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    animation: rotateAngle 4s linear infinite;
}

.card:hover {
    transform: translateY(-10px);
    background-color: var(--card-hover-bg);
}

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

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60px;
}

.custom-icon {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.card:hover .custom-icon {
    transform: scale(1.1);
}

.card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* Status Section */


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

.progress-container {
    margin: 40px 0 60px;
    position: relative;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-family: var(--font-heading);
    color: var(--accent-turquoise);
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
}

.progress-tick-container {
    position: absolute;
    left: 25%;
    top: 100%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 5;
    width: 250px;
    max-width: 80vw;
}

.tick-mark {
    width: 2px;
    height: 10px;
    background-color: var(--accent-orange);
    margin-bottom: 5px;
}

.progress-tick-container a {
    color: var(--accent-orange);
    font-size: 0.75rem;
    text-decoration: underline;
    text-align: center;
    display: block;
    line-height: 1.2;
    white-space: normal;
}

body.light-theme .progress-bar {
    background: rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    /* 2 Full Cycles: Y->O->R->P->Y (Cycle 1) + O->R->P->Y (Cycle 2 continued) */
    /* Exact sequence: Y, O, R, P, Y, O, R, P, Y */
    /* This ensures 0% is Y, 50% is Y, 100% is Y */
    background: linear-gradient(90deg,
            var(--accent-yellow), var(--accent-orange), var(--accent-red), var(--accent-purple),
            var(--accent-yellow), var(--accent-orange), var(--accent-red), var(--accent-purple),
            var(--accent-yellow));
    background-size: 200% 100%;
    animation: gradient-slide 3s linear infinite;
    position: relative;
}

@keyframes gradient-slide {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: 0% 0;
    }
}

.cta-box {
    margin-top: 60px;
    padding: 40px;
    background-color: var(--bg-card);
    border-radius: 10px;
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-box:hover {
    background-color: var(--card-hover-bg);
    transform: translateY(-5px);
}

.cta-box::before {
    content: 'SUPPORT';
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 10rem;
    font-family: var(--font-heading);
    color: rgba(255, 69, 0, 0.05);
    z-index: -1;
    transform: translate(-50%, -50%) rotate(-10deg);
    white-space: nowrap;
}

/* Rotating Border for CTA using ::after */
.cta-box::after {
    content: '';
    position: absolute;
    inset: 0px;
    padding: 3px;
    border-radius: 10px;
    background: conic-gradient(from var(--angle), transparent 20%, var(--accent-yellow), var(--accent-orange), var(--accent-red), var(--accent-purple), transparent 80%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    animation: rotateAngle 4s linear infinite;
}

.cta-box:hover::after {
    opacity: 1;
}

.cta-box>* {
    position: relative;
    z-index: 1;
}

.cta-box h3 {
    font-size: 2rem;
    color: var(--accent-orange);
    margin-bottom: 15px;
}

/* Darker orange rule removed as handled by variable override */
.big-btn {
    margin-top: 25px;
    padding: 15px 40px;
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: var(--bg-section);
    /* Semi-transparent dark */
    backdrop-filter: blur(10px);
    padding: 80px 0 30px;
    border-top: 1px solid var(--border-opacity);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer h4 {
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer p {
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.social-links a {
    display: inline-block;
    margin-right: 15px;
    font-family: var(--font-heading);
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Defined border for dark mode */
    padding: 5px 18px;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}


.social-links a:hover {
    transform: translateY(-5px);
    border-color: var(--accent-yellow);
    color: var(--accent-yellow);
}

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

.small {
    font-size: 0.8rem;
    margin-top: 10px;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

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

/* Responsive */
@media (max-width: 768px) {

    body,
    html {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    .header-container {
        padding: 0 30px;
        /* Bring logo and menu button slightly more inward */
    }

    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-card);
        flex-direction: column;
        align-items: center;
        /* Center flex children horizontally */
        gap: 20px;
        /* Consistent spacing between menu items */
        padding: 30px 20px;
        text-align: center;
        border-bottom: 1px solid var(--border-opacity);
    }

    .nav-list.active {
        display: flex;
    }

    .nav-btn {
        display: inline-block;
        /* Ensure it respects padding and centering */
        width: fit-content;
    }

    .mobile-menu-btn {
        display: block;
    }

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

    .section-title {
        font-size: 2.2rem;
        word-wrap: break-word;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin-top: 30px;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
        align-self: center !important;
    }

    .grid-2,
    .project-grid-vision,
    .mission-points {
        grid-template-columns: 1fr;
    }
}

@keyframes borderTrace {
    0% {
        background-size: 0% 3px, 3px 0%, 0% 3px, 3px 0%;
    }

    25% {
        background-size: 100% 3px, 3px 0%, 0% 3px, 3px 0%;
    }

    50% {
        background-size: 100% 3px, 3px 100%, 0% 3px, 3px 0%;
    }

    75% {
        background-size: 100% 3px, 3px 100%, 100% 3px, 3px 0%;
    }

    100% {
        background-size: 100% 3px, 3px 100%, 100% 3px, 3px 100%;
    }
}

/* Links Page Integration */
.links-container {
    max-width: 600px;
    margin: 120px auto 60px auto;
    padding: 20px;
    text-align: center;
}

.links-header {
    margin-bottom: 40px;
}

.links-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.link-group {
    margin-bottom: 40px;
}

.link-group h2 {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-opacity);
    padding-bottom: 10px;
    display: inline-block;
}

.link-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    position: relative;
    background-color: var(--bg-card);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    border: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
    z-index: 1;
    overflow: hidden;
}

.link-card::before {
    content: '';
    position: absolute;
    inset: 0px;
    padding: 3px;
    border-radius: 10px;
    background: conic-gradient(from var(--angle), transparent 20%, var(--accent-yellow), var(--accent-orange), var(--accent-red), var(--accent-purple), transparent 80%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    animation: rotateAngle 4s linear infinite;
}

.link-card:hover {
    transform: translateY(-5px);
    background-color: var(--card-hover-bg);
}

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

/* Fix flicker for cards with custom gradients: disable border trace animation */
.link-card.highlight-card:hover,
.link-card.whatsapp-card:hover,
.link-card.instagram-card:hover,
.link-card.facebook-card:hover {
    animation: none !important;
    background-color: transparent !important;
    /* Prevent default hover bg from fighting the gradient */
    filter: brightness(1.1);
}

/* Ensure rotating border is hidden for special cards */
.link-card.highlight-card:hover::before,
.link-card.whatsapp-card:hover::before,
.link-card.instagram-card:hover::before,
.link-card.facebook-card:hover::before {
    opacity: 0 !important;
}

.link-card.highlight-card {
    background: linear-gradient(45deg, var(--accent-orange), var(--accent-red));
    border: none;
}

.link-card.highlight-card .link-text {
    color: white;
    font-weight: 700;
}

.link-card.whatsapp-card {
    background: linear-gradient(45deg, #075e54, #128c7e) !important;
    border: none !important;
}

.link-card.whatsapp-card .link-text,
.link-card.whatsapp-card .link-icon {
    color: white !important;
}

.link-card.instagram-card {
    background: linear-gradient(45deg, #833ab4, #fd1d1d, #fcb045) !important;
    border: none !important;
}

.link-card.facebook-card {
    background: linear-gradient(45deg, #1877F2, #0a58ca) !important;
    border: none !important;
}

.link-card.instagram-card .link-text,
.link-card.instagram-card .link-icon,
.link-card.facebook-card .link-text,
.link-card.facebook-card .link-icon {
    color: white !important;
}

.link-icon {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.link-icon img {
    height: 30px;
    width: auto;
    filter: brightness(0) invert(1);
    /* Make them white to match the theme of social cards */
}

.link-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.social-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Defined border for dark mode */
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-circle:hover {
    transform: translateY(-5px);
    background: var(--accent-yellow);
    color: #ffffff;
}

.gofundme-btn {
    border: 2px solid #00c9a7;
    box-shadow: 0 0 20px rgba(0, 201, 167, 0.2);
}

/* Light Theme Social Links Overrides */
body.light-theme .social-links a {
    border: 1px solid rgba(0, 0, 0, 0.15);
    color: var(--text-primary);
}

body.light-theme .social-links a:hover {
    transform: translateY(-5px);
    background: var(--text-primary);
    color: var(--bg-dark);
    border-color: var(--text-primary);
}

/* Custom Card: Eventi & Cultura */
.card-eventi {
    background-color: #664f40 !important;
    /* Background scuro con nota arancio */
    border: 1px solid rgba(240, 145, 0, 0.2);
}

body.light-theme .card-eventi {
    background-color: #ddc3a1 !important;
    /* Background chiaro con nota arancio (crema/pesca) */
    border: 1px solid rgba(240, 145, 0, 0.1);
}

.card-eventi:hover {
    background-color: var(--card-hover-bg) !important;
}

/* Consolidated Floating Hover Effect for all Cards */
.card:hover,
.card-eventi:hover,
.point:hover,
.glass-panel:hover,
.cta-box:hover,
.link-card:hover {
    transform: translateY(-5px);
}

/* Active & WIP Badges (Ribbon Style) */
.card-active::after,
.card-wip::after {
    position: absolute;
    top: 20px;
    right: -35px;
    width: 140px;
    /* Same width for both */
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 700;
    transform: rotate(45deg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 2;
    padding: 4px 0;
    transition: all 0.3s ease;
}

.card-active::after {
    content: var(--ribbon-active);
    /* Use the same vibrant orange-red gradient for both themes as requested */
    background: linear-gradient(to right, var(--accent-orange), var(--accent-red));
    color: #ffffff;
    font-size: 0.7rem;
    letter-spacing: 1px;
}

.card-wip::after {
    content: var(--ribbon-wip);
    background: linear-gradient(to right, #444, #666);
    color: #ffffff;
    font-size: 0.55rem;
    letter-spacing: 0.5px;
}

body.light-theme .card-wip::after {
    background: linear-gradient(to right, #999, #bbb);
    color: #333;
}

/* Mobile Landscape Fix */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        height: auto !important;
        min-height: 100vh;
        padding-top: 100px;
        padding-bottom: 50px;
        overflow: visible;
    }

    .hero-title {
        font-size: 2.5rem;
        /* Smaller title for landscape */
    }
}

/* Mobile Portrait Fix - Solleva Hero Content */
@media (max-width: 480px) and (orientation: portrait) {
    .hero {
        align-items: flex-start;
        padding-top: 18vh;
    }

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

    .hero-subtitle {
        margin-bottom: 25px;
        font-size: 1.05rem;
    }

    .hero-cta {
        margin-top: 15px;
    }
}

/* Pulsante Speciale Pixel Wall */
.btn-pixel {
    background: linear-gradient(90deg, #ff4d4d, #a64dff) !important;
    border: 2px solid transparent !important;
    padding: 12px 30px;
    /* Explicit match for outline button padding */
    box-shadow: 0 0 20px rgba(255, 77, 77, 0.4);
    color: white !important;
    background-clip: padding-box !important;
    /* Ensures background doesn't bleed under border if transparent, though here it's solid */
}

.btn-pixel:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 77, 77, 0.6);
    filter: brightness(1.1);
}

/* ==========================================================================
   Partners Section
   ========================================================================== */

.partners-section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

/* Tier Titles */
.partner-tier-title {
    text-align: center;
    margin-bottom: 25px;
    font-family: var(--font-heading);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 1.5rem;
}

.partner-tier-title.partners {
    color: var(--accent-turquoise);
}

.partner-tier-title.sponsor {
    color: var(--accent-orange);
}

.partner-tier-title.supporters {
    color: var(--text-secondary);
}

/* Grid Layout */
.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto 50px auto;
}

/* Partner Item Wrapper */
.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 220px;
    /* Default width for Partners */
    margin-bottom: 15px;
}

/* Modifiers for Item Widths */
.partner-item.sponsor-item {
    width: auto;
    max-width: 250px;
}

.partner-item.supporter-item {
    width: auto;
    max-width: 200px;
}

/* Card Styling */
.partner-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    height: 120px;
    width: 100%;
    /* Fills the .partner-item width by default */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), inset 0 0 20px rgba(255, 255, 255, 0.02);
}

/* Specific Card Sizes via modifiers */
.partner-card.card-md {
    width: 200px;
    height: 120px;
}

.partner-card.card-sm {
    width: 180px;
    height: 100px;
}

/* Glass Reflection Overlay (Static) */
.partner-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.05) 40%, transparent 100%);
    z-index: 2;
    pointer-events: none;
    border-radius: 12px;
}

/* Shine Hover Effect (Animated) */
.partner-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(25deg);
    transition: left 0.5s ease-in-out;
    z-index: 3;
    pointer-events: none;
}

.partner-card:hover::after {
    left: 120%;
}

.partner-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-turquoise);
    box-shadow: 0 0 20px rgba(29, 233, 182, 0.15), inset 0 0 10px rgba(29, 233, 182, 0.05);
    transform: translateY(-5px);
}

/* Logo Styling */
.partner-logo-img {
    max-height: 90px;
    max-width: 95%;
    opacity: 0.9;
    transition: opacity 0.3s;
    filter: grayscale(100%) brightness(200%);
}

.partner-card:hover .partner-logo-img {
    opacity: 1;
    filter: grayscale(0%) brightness(100%);
}

/* Logo overrides for smaller cards */
.partner-card.card-sm .partner-logo-img {
    max-height: 60px;
}

/* Name Styling */
.partner-name {
    display: block;
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
    font-family: var(--font-ui);
    font-weight: 600;
    transition: color 0.3s;
}

.partner-item:hover .partner-name {
    color: var(--accent-turquoise);
}

/* Placeholder (if needed) */
.partner-logo-placeholder {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-secondary);
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

/* Theme Overrides */
body.light-theme .partner-card {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .partner-card:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: var(--accent-turquoise);
}

/* Partner Button */
.btn-partner {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 30px;
    background: linear-gradient(90deg, var(--accent-turquoise), #2196f3);
    font-family: var(--font-ui);
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(29, 233, 182, 0.4);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-partner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #2196f3, var(--accent-turquoise));
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.btn-partner:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(29, 233, 182, 0.6);
}

.btn-partner:hover::before {
    opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 480px) {
    .partners-grid {
        gap: 20px;
    }

    .partner-item {
        width: 100%;
        max-width: 160px;
        /* 2 items per row */
    }

    .partner-item.sponsor-item {
        max-width: 100%;
        /* Single column for sponsor maybe? or 250px max */
        width: auto;
    }

    .partner-item.supporter-item {
        max-width: 140px;
    }
}

/* ==========================================================================
   Dropdown Menu
   ========================================================================== */

.nav-item-dropdown {
    position: relative;
    padding-bottom: 20px;
    /* Bridge gap for hover */
    margin-bottom: -20px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1100;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    display: block;
    margin: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    white-space: nowrap;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent-turquoise);
    padding-left: 25px;
    /* Slight movement on hover */
}

/* Light Theme Dropdown */
body.light-theme .dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body.light-theme .dropdown-menu li a {
    color: var(--text-secondary);
}

body.light-theme .dropdown-menu li a:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--accent-turquoise);
}

/* Arrow indicator for dropdown parent */
.dropdown-toggle::after {
    content: ' ▼';
    font-size: 0.7em;
    margin-left: 5px;
    vertical-align: middle;
    opacity: 0.7;
    transition: transform 0.3s ease;
    display: inline-block;
}

.nav-item-dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
    color: var(--accent-turquoise);
}

@media (max-width: 768px) {
    .nav-item-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 10px 0;
        text-align: center;
        width: 100%;
    }

    .dropdown-menu li a {
        padding: 5px 0;
        color: var(--text-secondary);
        font-size: 0.85rem;
    }

    .dropdown-menu li a:hover {
        background: transparent;
        color: var(--accent-turquoise);
        padding-left: 0;
    }
}

/* Partners Mobile: Always Colored */
@media (max-width: 768px) {
    .partner-logo-img {
        filter: grayscale(0%) brightness(100%);
        opacity: 1;
    }
}

/* News Link Styling (Header) */
.nav-news-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-ui);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-turquoise) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.nav-news-dot {
    width: 8px;
    height: 8px;
    background: var(--bg-dark);
    border: 2px solid var(--accent-turquoise);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-turquoise);
}

.nav-news-link:hover {
    filter: brightness(1.2);
    text-shadow: 0 0 10px rgba(29, 233, 182, 0.4);
}

/* Mobile Nav Adjustments for News Link */
@media (max-width: 768px) {
    .nav-news-link {
        margin-bottom: 20px;
        justify-content: center;
    }
}

/* --- Modal Base Styles --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.modal-content {
    background: #111;
    border: 1px solid var(--accent-turquoise);
    padding: 30px;
    border-radius: 20px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    color: white;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 240, 255, 0.15);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s;
    z-index: 10;
}

.modal-close:hover {
    color: var(--accent-red);
}

.modal-title {
    font-family: var(--font-heading);
    color: var(--accent-turquoise);
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
}

/* --- Diary / News Content Style --- */
.diary-modal-content {
    max-width: 800px;
    border-color: var(--accent-turquoise);
    background: #0d1117;
}

.diary-title-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
    margin-bottom: 30px;
    text-align: left;
}

.diary-entry {
    margin-bottom: 40px;
    padding-left: 20px;
    border-left: 1px solid rgba(29, 233, 182, 0.3);
    position: relative;
    animation: fadeIn 0.5s ease;
}

.diary-entry::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px;
    height: 10px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: #0d1117;
    border: 2px solid var(--accent-turquoise);
    box-shadow: 0 0 5px var(--accent-turquoise);
    z-index: 2;
}

.diary-date {
    font-family: monospace;
    color: var(--accent-turquoise);
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 10px;
    opacity: 0.9;
    letter-spacing: 1px;
    background: rgba(29, 233, 182, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
}

.diary-title {
    color: white;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.diary-image {
    max-width: 400px;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: block;
}

.diary-text {
    color: #cccccc;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.diary-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--accent-orange);
    font-weight: 700;
    text-decoration: underline;
    font-size: 0.9rem;
}

.diary-link:hover {
    text-decoration: underline;
    color: var(--accent-yellow);
}

.diary-empty,
.diary-error {
    text-align: center;
    padding: 30px;
    color: var(--text-secondary);
    font-style: italic;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .modal-content {
        padding: 20px;
        width: 95%;
    }
}

/* Style for Clickable News Images */
.diary-image-link {
    display: block;
    width: fit-content;
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.diary-image-link:hover {
    transform: scale(1.02);
}

/* --- Lightbox Styles --- */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: zoom-out;
}

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

.lightbox-overlay img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    z-index: 3001;
}

/* News Reactions */
.diary-reactions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.reaction-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    font-family: var(--font-body);
}

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

.reaction-btn.active {
    background: rgba(56, 189, 248, 0.2);
    border-color: var(--accent-turquoise);
    color: var(--accent-turquoise);
}

.reaction-btn.active.heart-btn {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    color: #ef4444;
}

.reaction-count {
    font-weight: 700;
}