:root {
    /* Primary: Brand Red */
    --primary-color: #D60F04;
    --primary-light: #ff3322;
    --primary-dark: #a50a00;
    --primary-glow: rgba(214, 15, 4, 0.35);
    --primary-subtle: rgba(214, 15, 4, 0.08);
    /* Accent: Gold */
    --accent-color: #f5d670;
    --accent-light: #f9e49a;
    --accent-dark: #e8be40;
    --accent-glow: rgba(245, 214, 112, 0.25);
    /* Blue accent */
    --brand-blue: #8890e8;
    /* Dark backgrounds – layered */
    --bg-base:    #0a0a12;
    --bg-surface: #0f0f1e;
    --bg-layer1:  #131325;
    --bg-layer2:  #17172f;
    --bg-card:    rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.09);
    /* Glass */
    --glass-bg:     rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.10);
    --glass-hover:  rgba(255, 255, 255, 0.09);
    /* Red glass */
    --glass-red-bg:     rgba(214, 15, 4, 0.07);
    --glass-red-border: rgba(214, 15, 4, 0.22);
    /* Text */
    --text-main:  #e8e8f4;
    --text-light: #a8a8c0;
    --text-muted: #6868a0;
    --text-white: #ffffff;
    /* Alerts */
    --alert-color: #D60F04;
    --alert-light: #ff3322;
    /* Shadows – deep layered */
    --shadow-sm:  0 4px 16px rgba(0, 0, 0, 0.45);
    --shadow-md:  0 10px 32px rgba(0, 0, 0, 0.55);
    --shadow-lg:  0 20px 60px rgba(0, 0, 0, 0.65);
    --shadow-xl:  0 30px 80px rgba(0, 0, 0, 0.75);
    --shadow-glow-red:  0 0 40px rgba(214, 15, 4, 0.22), 0 0 80px rgba(214, 15, 4, 0.10);
    --shadow-glow-gold: 0 0 40px rgba(245, 214, 112, 0.18);
    --shadow-3d:  0 8px 0 rgba(0,0,0,0.4), 0 16px 32px rgba(0,0,0,0.5);
    /* Border radius */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 36px;
    --radius-2xl: 48px;
    --radius-full: 999px;
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 4rem;
    --space-5xl: 6rem;
    --space-6xl: 8rem;
    /* Typography */
    --font-heading: 'Syne', 'Trebuchet MS', sans-serif;
    --font-body: 'Manrope', 'Segoe UI', sans-serif;
    --text-xs:   0.75rem;
    --text-sm:   0.875rem;
    --text-base: 1rem;
    --text-lg:   1.125rem;
    --text-xl:   1.25rem;
    --text-2xl:  1.5rem;
    --text-3xl:  2rem;
    --text-4xl:  2.5rem;
    --text-5xl:  3.3rem;
    /* Transitions */
    --transition-fast: 180ms ease;
    --transition-base: 320ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Layout */
    --header-height: 80px;
    --container-max: 1200px;
    --container-narrow: 820px;
    
    /* Header dynamics */
    --header-bg: rgba(10, 10, 18, 0.65);
    --header-link: rgba(255,255,255,0.75);
    --header-link-hover: #ffffff;
}





/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.65;
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-base);
    background-image:
        radial-gradient(ellipse 80% 50% at 20% 10%, rgba(214,15,4,0.06) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 90%, rgba(136,144,232,0.05) 0%, transparent 55%);
}
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-color); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--primary-light); }
ul, ol { list-style: none; }
button, input, textarea, select { font-family: inherit; font-size: inherit; }
button { border: none; background: none; cursor: pointer; }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1.15;
    margin-bottom: var(--space-md);
}
h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }
p { margin-bottom: var(--space-md); }
.text-center { text-align: center; }
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--space-md); }
.container-narrow { max-width: var(--container-narrow); }
.section { padding: var(--space-2xl) 0; }
.section-bg { background: var(--bg-layer1); }
.grid { display: grid; gap: var(--space-lg); }
.grid-2, .grid-3 { grid-template-columns: 1fr; }

/* =============================================
   CANVAS BACKGROUND
   ============================================= */
#bg-canvas {
    position: fixed; inset: 0;
    width: 100%; height: 100%;
    z-index: 0; pointer-events: none;
}

/* =============================================
   DEPTH LAYERS (3D atmospheric)
   ============================================= */
.depth-layer {
    position: relative;
}
.depth-layer::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, rgba(214,15,4,0.08) 0%, transparent 50%, rgba(136,144,232,0.06) 100%);
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
}

/* =============================================
   HEADER / NAVBAR
   ============================================= */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-height);
    z-index: 1000;
    transition: background-color var(--transition-base), 
                backdrop-filter var(--transition-base), 
                box-shadow var(--transition-base),
                border-color var(--transition-base);
    background-color: transparent;
    border-bottom: 1px solid transparent;
}
.header--transparent { 
    background-color: transparent; 
}
.header--solid {
    background-color: var(--header-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
}
.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 var(--space-lg);
    max-width: var(--container-max);
    margin: 0 auto;
}
.header__logo { display: inline-flex; align-items: center; gap: var(--space-sm); }
.header__logo-img {
    width: 54px; height: 54px;
    object-fit: cover;
    border-radius: var(--radius-full);
    border: 2px solid rgba(214,15,4,0.5);
    box-shadow: 0 0 20px rgba(214,15,4,0.3), 0 4px 16px rgba(0,0,0,0.5);
    transition: box-shadow var(--transition-base), transform var(--transition-bounce);
}
.header__logo:hover .header__logo-img {
    box-shadow: 0 0 30px rgba(214,15,4,0.5), 0 4px 24px rgba(0,0,0,0.6);
    transform: scale(1.07) rotate(-2deg);
}
.header__logo-text {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    color: var(--text-main);
    line-height: 1.1;
}
.header__logo-text span {
    display: block;
    font-family: var(--font-body);
    font-size: var(--text-xs);
    opacity: 0.65;
    color: var(--primary-color);
    letter-spacing: 0.08em;
}

.nav { display: flex; }
.nav__list { display: flex; gap: var(--space-xl); }
.nav__link {
    color: var(--header-link);
    font-weight: 600;
    position: relative;
    padding: var(--space-xs) 0;
    transition: color var(--transition-fast);
}
.nav__link::after {
    content: '';
    position: absolute;
    left: 50%; bottom: -4px;
    transform: translateX(-50%);
    width: 0; height: 2px;
    border-radius: var(--radius-full);
    background: var(--primary-color);
    box-shadow: 0 0 12px var(--primary-color);
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.nav__link:hover, .nav__link--active { color: var(--header-link-hover); }
.nav__link:hover::after, .nav__link--active::after { width: 100%; }

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--text-muted);
}
.lang-switcher a {
    color: var(--header-link);
    transition: color var(--transition-fast);
    padding: 2px 4px;
}
.lang-switcher a.active {
    color: var(--primary-light);
    pointer-events: none;
}
.lang-switcher a:hover:not(.active) {
    color: var(--text-white);
}

.menu-toggle {
    display: none; width: 30px; height: 24px;
    flex-direction: column; justify-content: space-between;
    z-index: 1001; cursor: pointer; background: transparent; border: none;
    padding: 0;
}
.menu-toggle__bar { width: 100%; height: 2px; border-radius: var(--radius-full); background: var(--text-main); transition: all var(--transition-base); }
.menu-toggle--active .menu-toggle__bar:nth-child(1) { transform: rotate(45deg) translate(7px, 7px); background: var(--primary-color); }
.menu-toggle--active .menu-toggle__bar:nth-child(2) { opacity: 0; }
.menu-toggle--active .menu-toggle__bar:nth-child(3) { transform: rotate(-45deg) translate(8px, -8px); background: var(--primary-color); }

.nav-mobile {
    position: fixed; top: 0; right: -100%;
    width: 100%; max-width: 320px; height: 100vh;
    padding: calc(var(--header-height) + var(--space-lg)) var(--space-lg) var(--space-lg);
    background: var(--header-bg);
    backdrop-filter: blur(24px);
    border-left: 1px solid var(--glass-border);
    box-shadow: -8px 0 40px rgba(214,15,4,0.1);
    transition: right var(--transition-base);
    z-index: 999;
}
.nav-mobile--open { right: 0; }
.nav-mobile__list { display: flex; flex-direction: column; gap: var(--space-md); }
.nav-mobile__link {
    color: var(--header-link);
    font-weight: 600;
    border-bottom: 1px solid var(--glass-border);
    padding: var(--space-sm) 0;
    transition: color var(--transition-fast), padding-left var(--transition-base);
}
.nav-mobile__link:hover { color: var(--primary-light); padding-left: var(--space-sm); }
.lang-switcher-mobile {
    display: flex;
    gap: var(--space-md);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--glass-border);
}
.lang-switcher-mobile a {
    color: var(--text-light);
    font-weight: 600;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    border: 1px solid var(--glass-border);
    transition: all var(--transition-fast);
    background: var(--glass-bg);
}
.lang-switcher-mobile a.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-dark);
}
.nav-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.75); opacity: 0; visibility: hidden; transition: all var(--transition-base); z-index: 998; }
.nav-overlay--visible { opacity: 1; visibility: visible; }

/* =============================================
   HERO – 3D layered
   ============================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    position: relative;
    overflow: hidden;
}
.hero__bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    transform-origin: center;
    transition: transform 10s ease-out;
}
.hero:hover .hero__bg {
    transform: scale(1.05);
}
@keyframes heroZoom {
    0%   { transform: scale(1.0) translateY(0); }
    100% { transform: scale(1.08) translateY(-10px); }
}
.hero__bg::after {
    content: '';
    position: absolute; inset: 0;
    background:
        linear-gradient(160deg, rgba(10,10,20,0.82) 0%, rgba(10,10,20,0.55) 60%, rgba(10,10,20,0.85) 100%),
        linear-gradient(to bottom, transparent 50%, rgba(10,10,20,0.9) 100%);
}
/* Red dramatic accent line at bottom of hero */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color) 30%, var(--primary-light) 50%, var(--primary-color) 70%, transparent 100%);
    box-shadow: 0 0 20px var(--primary-color), 0 -4px 30px rgba(214,15,4,0.3);
    z-index: 2;
}
.hero__content {
    position: relative; z-index: 1;
    max-width: 780px;
    border-radius: var(--radius-2xl);
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-top: 1px solid rgba(214,15,4,0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: var(--space-2xl) var(--space-xl);
    color: var(--text-white);
    text-align: center;
    margin: 0 auto;
    box-shadow:
        var(--shadow-lg),
        inset 0 1px 0 rgba(255,255,255,0.08),
        inset 0 -1px 0 rgba(214,15,4,0.12);
    /* 3D lift effect */
    transform: perspective(1200px) rotateX(1deg);
}
.hero__title {
    color: var(--text-white);
    text-shadow: 0 2px 30px rgba(0,0,0,0.6), 0 0 60px rgba(214,15,4,0.15);
    font-size: var(--text-4xl);
}
.hero__title span.red-accent {
    color: var(--primary-color);
    text-shadow: 0 0 30px rgba(214,15,4,0.5);
}
.hero__subtitle { font-size: var(--text-lg); opacity: 0.82; color: var(--accent-light); margin-top: var(--space-sm); }
.hero__year {
    display: inline-flex;
    margin-bottom: var(--space-lg);
    border-radius: var(--radius-full);
    background: rgba(214,15,4,0.12);
    border: 1px solid rgba(214,15,4,0.4);
    color: var(--primary-light);
    padding: var(--space-xs) var(--space-md);
    font-weight: 700;
    font-size: var(--text-sm);
    letter-spacing: 0.08em;
    box-shadow: 0 0 16px rgba(214,15,4,0.2);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.hero__actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: var(--space-xl);
}
.card__badge:hover {
    box-shadow: 0 0 24px rgba(214,15,4,0.45), 0 0 8px rgba(214,15,4,0.3);
    transform: scale(1.03);
}
@keyframes pulse-red {
    0%, 100% { box-shadow: 0 0 12px rgba(214,15,4,0.2); }
    50%       { box-shadow: 0 0 24px rgba(214,15,4,0.45), 0 0 8px rgba(214,15,4,0.3); }
}

/* Hero scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0.6;
    transition: opacity var(--transition-base);
}
.hero__scroll:hover { opacity: 1; }
.hero__scroll-dot {
    width: 6px; height: 6px;
    border-radius: var(--radius-full);
    background: var(--primary-color);
    opacity: 0.3;
    transition: opacity 0.3s ease, transform 0.3s ease;
    animation: scrollDot 2s infinite ease-in-out;
}
.hero__scroll-dot:nth-child(2) { animation-delay: 0.2s; }
.hero__scroll-dot:nth-child(3) { animation-delay: 0.4s; }
.hero__scroll:hover .hero__scroll-dot {
    opacity: 1;
    transform: translateY(5px);
}
.hero__scroll:hover .hero__scroll-dot:nth-child(2) { transition-delay: 0.1s; }
.hero__scroll:hover .hero__scroll-dot:nth-child(3) { transition-delay: 0.2s; }
@keyframes scrollDot {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50%       { opacity: 1;   transform: translateY(5px); }
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    border-radius: var(--radius-full);
    font-weight: 700;
    border: 1px solid transparent;
    padding: 0.8rem 1.45rem;
    transition: all var(--transition-bounce);
    position: relative;
    overflow: hidden;
}
.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}
.btn:hover::before { opacity: 1; }

.btn--primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    border-color: var(--primary-dark);
    box-shadow: 0 4px 20px rgba(214,15,4,0.35), var(--shadow-3d);
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.btn--primary:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(214,15,4,0.6), 0 2px 0 rgba(0,0,0,0.4);
}
.btn--outline {
    background: transparent;
    border-color: var(--glass-border);
    color: var(--text-main);
}
.btn--outline:hover {
    background: rgba(214,15,4,0.08);
    border-color: var(--primary-color);
    color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(214,15,4,0.15);
}
.btn--secondary {
    background: var(--glass-bg);
    border-color: var(--glass-border);
    color: var(--text-main);
}
.btn--secondary:hover { background: var(--glass-hover); }
.btn--danger { background: var(--alert-color); color: var(--text-white); border-color: var(--primary-dark); }
.btn--danger:hover { background: var(--alert-light); transform: translateY(-1px); }
.btn--sm { padding: 0.5rem 0.85rem; font-size: var(--text-sm); }
.btn--lg { padding: 1rem 1.8rem; font-size: var(--text-lg); }
.btn--block { width: 100%; }

/* =============================================
   SECTIONS
   ============================================= */
.news { background: rgba(214,15,4,0.03); }
.section__header { text-align: center; margin-bottom: var(--space-2xl); }
.section__title {
    display: inline-block;
    position: relative;
    color: var(--text-white);
}
.section__title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    margin: var(--space-sm) auto 0;
    border-radius: var(--radius-full);
    background: var(--primary-color);
    box-shadow: 0 0 12px var(--primary-color);
    opacity: 0.9;
}
.section__subtitle { color: var(--text-light); }

/* =============================================
   STATS BAND (homepage)
   ============================================= */
.stats-band {
    background: linear-gradient(135deg, rgba(214,15,4,0.10) 0%, rgba(214,15,4,0.04) 50%, rgba(136,144,232,0.06) 100%);
    border-top: 1px solid rgba(214,15,4,0.18);
    border-bottom: 1px solid rgba(214,15,4,0.18);
    padding: var(--space-2xl) 0;
    position: relative;
    overflow: hidden;
}
.stats-band::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        repeating-linear-gradient(
            90deg,
            rgba(214,15,4,0.04) 0px, rgba(214,15,4,0.04) 1px,
            transparent 1px, transparent 80px
        );
    pointer-events: none;
}
.stats-band__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    text-align: center;
}
.stat-item__number {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    color: var(--primary-color);
    text-shadow: 0 0 24px rgba(214,15,4,0.4);
    line-height: 1;
    display: block;
}
.stat-item__label {
    color: var(--text-light);
    font-size: var(--text-sm);
    margin-top: var(--space-xs);
    display: block;
}

/* =============================================
   PHOTO PLACEHOLDER
   ============================================= */
.photo-placeholder {
    position: relative;
    background:
        linear-gradient(135deg, rgba(214,15,4,0.08) 0%, rgba(10,10,20,0.8) 100%),
        repeating-linear-gradient(
            45deg,
            rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px,
            transparent 1px, transparent 20px
        );
    border: 2px dashed rgba(214,15,4,0.35);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    color: rgba(214,15,4,0.7);
    font-size: var(--text-sm);
    font-weight: 600;
    text-align: center;
    padding: var(--space-xl);
    overflow: hidden;
    transition: border-color var(--transition-base), background var(--transition-base);
}
.photo-placeholder:hover {
    border-color: rgba(214,15,4,0.65);
    background:
        linear-gradient(135deg, rgba(214,15,4,0.13) 0%, rgba(10,10,20,0.8) 100%),
        repeating-linear-gradient(
            45deg,
            rgba(255,255,255,0.025) 0px, rgba(255,255,255,0.025) 1px,
            transparent 1px, transparent 20px
        );
}
.photo-placeholder svg { opacity: 0.5; }
.photo-placeholder__label {
    padding: 4px 10px;
    background: rgba(214,15,4,0.14);
    border: 1px solid rgba(214,15,4,0.3);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-light);
    margin-top: var(--space-xs);
}

/* =============================================
   CARDS – 3D layered
   ============================================= */
.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    position: relative;
    transform: perspective(800px) rotateX(0deg) translateZ(0);
}
.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(214,15,4,0.6), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}
.card:hover {
    transform: perspective(800px) rotateX(-2deg) translateY(-8px) translateZ(20px);
    box-shadow:
        var(--shadow-lg),
        var(--shadow-glow-red),
        0 20px 0 -12px rgba(214,15,4,0.15),
        0 30px 0 -20px rgba(214,15,4,0.08);
    border-color: rgba(214,15,4,0.28);
}
.card:hover::before { opacity: 1; }
.card__image { 
    width: 100%; 
    aspect-ratio: 16 / 9; 
    object-fit: cover; 
    object-position: center top; 
    opacity: 0.9; 
    display: block;
}

/* Class for images that should adapt to their natural ratio without cropping */
.img-fit-adapt {
    width: 100%;
    height: auto;
    object-fit: contain;
    background: transparent;
}

.admin-header__link--active { color: var(--text-white) !important; font-weight: 700; border-bottom: 2px solid var(--primary-main); }
.card__body { padding: var(--space-lg); }
.card__badge {
    display: inline-block;
    background: rgba(214,15,4,0.14);
    border: 1px solid rgba(214,15,4,0.28);
    color: var(--primary-light);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    padding: 2px 10px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--space-sm);
}
.card__date { display: inline-block; margin-bottom: var(--space-sm); color: var(--accent-color); font-size: var(--text-sm); font-weight: 700; opacity: 0.88; }
.card__title { margin-bottom: var(--space-sm); color: var(--text-white); }
.card__text { color: var(--text-light); font-size: var(--text-sm); line-height: 1.75; }
.card__link { display: inline-flex; align-items: center; gap: var(--space-xs); font-weight: 700; color: var(--primary-color); }
.card__link:hover { color: var(--primary-light); }

/* =============================================
   VIDEO
   ============================================= */
.video-filters { display: flex; flex-wrap: wrap; gap: var(--space-sm); justify-content: center; margin-bottom: var(--space-2xl); }
.filter-btn {
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: var(--radius-full);
    border: 1px solid var(--glass-border);
    color: var(--text-light);
    background: var(--glass-bg);
    padding: 0.55rem 1rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}
.filter-btn:hover, .filter-btn--active {
    background: var(--primary-color);
    border-color: var(--primary-dark);
    color: #fff;
    box-shadow: 0 0 16px rgba(214,15,4,0.35);
}
.video-grid { display: grid; gap: var(--space-lg); }
.video-card {
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
}
.video-card:hover {
    transform: translateY(-8px);
    border-color: rgba(214,15,4,0.3);
    box-shadow: var(--shadow-lg), var(--shadow-glow-red);
}
.video-card__wrapper {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
}
.video-card__image {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}
.video-card:hover .video-card__image {
    transform: scale(1.05);
}
.video-card__play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 18, 0.4);
    opacity: 0.8;
    transition: opacity var(--transition-base), background var(--transition-base);
    z-index: 2;
}
.video-card:hover .video-card__play-overlay {
    opacity: 1;
    background: rgba(214, 15, 4, 0.25);
}
.video-card__play-icon {
    width: 64px; height: 64px;
    background: var(--primary-color);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    box-shadow: 0 0 25px rgba(214,15,4,0.5);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.video-card:hover .video-card__play-icon {
    transform: scale(1.15) rotate(10deg);
}

.video-card__info { padding: var(--space-md); }
.video-card__title { font-size: var(--text-lg); margin-bottom: var(--space-xs); color: var(--text-white); }
.video-card__category { font-size: var(--text-xs); text-transform: uppercase; color: var(--primary-light); font-weight: 700; letter-spacing: 0.05em; }

/* =============================================
   VIDEO MODAL
   ============================================= */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.video-modal--open {
    opacity: 1;
    visibility: visible;
}
.video-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.video-modal__content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.9), var(--shadow-glow-red);
    transform: scale(0.9) translateY(40px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
}
.video-modal--open .video-modal__content {
    transform: scale(1) translateY(0);
}
.video-modal__close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 44px; height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-fast);
}
.video-modal__close:hover {
    background: var(--primary-color);
    transform: rotate(90deg);
}
.video-modal__body {
    display: grid;
    grid-template-columns: 1fr;
}
.video-modal__player {
    position: relative;
    padding-top: 56.25%;
    background: #000;
}
.video-modal__player iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}
.video-modal__details {
    padding: var(--space-xl) var(--space-2xl);
    background: linear-gradient(to bottom, rgba(15, 15, 25, 0.4), rgba(10, 10, 18, 0.8));
    display: flex;
    flex-direction: column;
}
.video-modal__details h2 { 
    margin-bottom: var(--space-md); 
    color: var(--text-white); 
    font-size: var(--text-3xl); 
    line-height: 1.2;
    font-weight: 800;
}
.video-modal__details .category { 
    color: var(--primary-light); 
    font-weight: 800; 
    text-transform: uppercase; 
    font-size: var(--text-sm); 
    margin-bottom: var(--space-md); 
    display: block; 
    letter-spacing: 0.15em;
}
.video-modal__details .desc { 
    color: var(--text-light); 
    line-height: 1.8; 
    font-size: 1.15rem;
    white-space: pre-wrap;
    overflow-y: auto;
    max-height: 600px;
    padding-right: var(--space-md);
}
.video-modal__details .desc::-webkit-scrollbar { width: 4px; }
.video-modal__details .desc::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

@media (min-width: 992px) {
    .video-modal__body {
        grid-template-columns: 65% 35%;
        max-height: 85vh;
    }
    .video-modal__player {
        border-right: 1px solid rgba(255,255,255,0.1);
        padding-top: 0;
        min-height: 500px;
    }
    .video-modal__details {
        max-height: none;
        overflow: hidden;
    }
}

/* =============================================
   ABOUT / CONTACT HEROES
   ============================================= */
.about-hero, .contact-hero {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
    background: var(--bg-layer1);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.about-hero::before, .contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10,10,18,0.7) 0%, rgba(10,10,18,0.9) 100%);
    z-index: 1;
}
.about-hero::after, .contact-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--primary-light), var(--primary-color), transparent);
    box-shadow: 0 0 20px var(--primary-color);
    z-index: 2;
}
.about-hero__content {
    position: relative;
    z-index: 2;
    max-width: var(--container-narrow);
    width: 100%;
}
.about-hero__title, .contact-hero__title, .privacy-hero__title, .cookie-hero__title {
    color: #ffffff;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    text-shadow: 0 4px 15px rgba(0,0,0,0.8), 0 0 40px rgba(0,0,0,0.5);
    margin-bottom: 0;
    font-weight: 800;
    opacity: 1 !important;
    position: relative;
    z-index: 10;
}

.about-content, .contact-section, .privacy-content { padding: var(--space-3xl) 0; }
.about-block { margin-bottom: var(--space-3xl); }
.about-block__image {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(214,15,4,0.1);
    margin-bottom: var(--space-lg);
    opacity: 0.9;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.about-block__image:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl), 0 0 60px rgba(214,15,4,0.18);
}
.about-block__text { font-size: var(--text-lg); color: var(--text-main); }
.about-highlight {
    border-left: 3px solid var(--primary-color);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    background: rgba(214,15,4,0.06);
    border: 1px solid rgba(214,15,4,0.18);
    border-left-width: 3px;
    border-left-color: var(--primary-color);
    box-shadow: inset 4px 0 20px rgba(214,15,4,0.08), var(--shadow-sm);
    position: relative;
    overflow: hidden;
}
.about-highlight::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(214,15,4,0.07) 0%, transparent 70%);
    pointer-events: none;
}
.about-highlight__title { color: var(--primary-color) !important; margin-bottom: var(--space-sm); }
.about-highlight__text { color: var(--text-light); line-height: 1.8; margin-bottom: 0; }

/* =============================================
   MEMBER DIRECTORIES (Organico / Consiglio)
   ============================================= */
.members-section {
    padding: var(--space-3xl) 0;
}
.members-category {
    margin-bottom: var(--space-3xl);
}
.members-category__header {
    margin-bottom: var(--space-xl);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}
.members-category__title {
    color: var(--text-main);
    font-size: var(--text-2xl);
    margin-bottom: 0;
    position: relative;
    padding-bottom: var(--space-xs);
}
.members-category__title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 60px; height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-full);
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.member-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}
.member-card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: var(--primary-glow);
    box-shadow: var(--shadow-md), 0 0 20px rgba(214,15,4,0.1);
}
.member-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 3px;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity var(--transition-base);
}
.member-card:hover::before { opacity: 1; }

.member-card__photo-wrapper {
    flex-shrink: 0;
    width: 80px; height: 80px;
    border-radius: 50%;
    border: 2px solid var(--glass-border);
    overflow: hidden;
    background: var(--bg-layer2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-bounce), border-color var(--transition-base);
}
.member-card:hover .member-card__photo-wrapper {
    transform: scale(1.05);
    border-color: var(--primary-color);
}
.member-card__photo {
    width: 100%; height: 100%;
    object-fit: cover;
}
.member-card__initials {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--primary-light);
    font-family: var(--font-heading);
}

.member-card__info {
    flex: 1;
    min-width: 0;
}
.member-card__name {
    color: var(--text-white);
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.2;
}
.member-card__name span {
    font-weight: 400;
    color: var(--text-light);
}
.member-card__detail {
    font-size: var(--text-xs);
    color: var(--primary-light);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.85;
}
@media (max-width: 480px) {
    .members-grid { grid-template-columns: 1fr; }
    .member-card { padding: var(--space-md); gap: var(--space-md); }
}


/* =============================================
   CONTACT
   ============================================= */
.contact-grid { display: grid; gap: var(--space-xl); }
.contact-info, .contact-form, .admin-card, .admin-login__card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.contact-info { padding: var(--space-xl); }
.contact-info__item { display: flex; gap: var(--space-md); margin-bottom: var(--space-lg); }
.contact-info__icon {
    width: 42px; height: 42px;
    border-radius: var(--radius-full);
    background: rgba(214,15,4,0.14);
    border: 1px solid rgba(214,15,4,0.3);
    color: var(--primary-color);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 12px rgba(214,15,4,0.2);
    transition: all var(--transition-base);
}
.contact-info__item:hover .contact-info__icon {
    background: rgba(214,15,4,0.22);
    box-shadow: 0 0 20px rgba(214,15,4,0.35);
    transform: scale(1.1);
}
.contact-info__label { color: var(--primary-color); font-weight: 700; margin-bottom: 0; }
.contact-info__value { color: var(--text-light); margin-bottom: 0; }
.contact-info__value a { color: var(--text-light); }
.contact-info__value a:hover { color: var(--primary-light); }
.contact-cta {
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    background: rgba(214,15,4,0.07);
    border: 1px solid rgba(214,15,4,0.18);
}
.contact-cta__title { color: var(--primary-color); }
.contact-cta__text { color: var(--text-light); margin-bottom: 0; }

/* =============================================
   FORMS
   ============================================= */
.form { padding: var(--space-xl); }
.form__group { margin-bottom: var(--space-lg); }
.form__label { display: block; font-weight: 700; margin-bottom: var(--space-sm); color: var(--text-main); }
.form__label--required::after { content: ' *'; color: var(--alert-color); }
.form__input, .form__textarea, .form__select {
    width: 100%;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 0.75rem 0.9rem;
    background: var(--glass-bg);
    color: var(--text-main);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}
.form__input::placeholder, .form__textarea::placeholder { color: var(--text-muted); }
.form__textarea { min-height: 140px; resize: vertical; }
.form__input:focus, .form__textarea:focus, .form__select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(214,15,4,0.14), 0 0 20px rgba(214,15,4,0.1);
    background: var(--glass-hover);
}
.form__checkbox { display: flex; gap: var(--space-sm); align-items: flex-start; }
.form__checkbox input { margin-top: 0.35rem; accent-color: var(--primary-color); }
.form__checkbox-label { color: var(--text-light); font-size: var(--text-sm); }
.form__error { margin-top: var(--space-xs); color: var(--alert-color); font-size: var(--text-sm); }

/* =============================================
   ALERTS
   ============================================= */
.alert { border-radius: var(--radius-md); padding: var(--space-md); margin-bottom: var(--space-lg); }
.alert-success { background: rgba(80, 200, 120, 0.1); color: #7ddba0; border: 1px solid rgba(80, 200, 120, 0.2); }
.alert-error { background: rgba(214,15,4,0.1); color: var(--primary-light); border: 1px solid rgba(214,15,4,0.25); }
.alert-warning { background: rgba(245, 214, 112, 0.1); color: var(--accent-color); border: 1px solid rgba(245, 214, 112, 0.2); }

/* =============================================
   FOOTER – layered
   ============================================= */
.footer {
    background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-base) 100%);
    border-top: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: var(--space-3xl) 0 var(--space-xl);
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    box-shadow: 0 0 30px rgba(0,0,0,0.05);
}
.footer__grid { display: grid; gap: var(--space-xl); }
.footer__title { color: var(--text-main) !important; font-weight: 600; text-shadow: none; font-size: var(--text-lg); margin-bottom: var(--space-lg); }
.footer__text, .footer__copyright { color: var(--text-light); font-size: var(--text-base); line-height: 1.6; }
.footer__link { color: var(--text-light); font-size: var(--text-base); transition: color 0.3s ease, transform 0.3s ease; display: inline-block; padding-bottom: 6px; }
.footer__link:hover { color: var(--primary-light); transform: translateX(4px); }
.footer__social { display: flex; gap: var(--space-sm); }
.footer__social-link {
    width: 38px; height: 38px;
    border-radius: var(--radius-full);
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-light);
    transition: all var(--transition-base);
}
.footer__social-link:hover {
    background: rgba(214,15,4,0.18);
    border-color: rgba(214,15,4,0.5);
    color: var(--primary-light);
    box-shadow: 0 0 16px rgba(214,15,4,0.3);
    transform: translateY(-3px);
}
.footer__bottom { margin-top: var(--space-2xl); padding-top: var(--space-lg); border-top: 1px solid var(--glass-border); }

/* =============================================
   COOKIE BANNER
   ============================================= */
.cookie-banner { position: fixed; left: var(--space-md); right: var(--space-md); bottom: var(--space-md); z-index: 1200; opacity: 0; visibility: hidden; transform: translateY(15px); transition: all var(--transition-base); }
.cookie-banner--visible { opacity: 1; visibility: visible; transform: translateY(0); }
.cookie-banner__inner {
    background: rgba(15, 15, 28, 0.97);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(214,15,4,0.2);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(214,15,4,0.1);
    padding: var(--space-md);
    display: flex; flex-direction: column; gap: var(--space-md);
}
.cookie-banner__text { margin-bottom: 0; color: var(--text-light); font-size: var(--text-sm); }
.cookie-banner__text a { color: var(--primary-color); }
.cookie-banner__buttons { display: flex; gap: var(--space-sm); flex-wrap: wrap; }

/* =============================================
   ADMIN
   ============================================= */
.admin-page { background: var(--bg-surface); }
.admin-header {
    background: rgba(10, 10, 18, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(214,15,4,0.15);
    padding: var(--space-sm) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.admin-header__inner { display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); }
.admin-header__title { color: var(--text-white); margin: 0; font-size: 1.1rem !important; white-space: nowrap; }
.admin-header__title a { display: inline-flex; align-items: center; }

/* Desktop Nav */
.admin-nav-desktop { display: flex !important; align-items: center; gap: 2px; flex-wrap: nowrap; flex-direction: row; overflow: hidden; }
.admin-header__link {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
    font-weight: 600;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    border: none;
    background: none;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
}
.admin-header__link:hover { color: #fff; background: rgba(255,255,255,0.08); }
.admin-header__link--active {
    color: var(--primary-light) !important;
    background: rgba(214,15,4,0.12) !important;
}
.admin-header__link--logout { color: rgba(255,100,100,0.7); }
.admin-header__link--logout:hover { color: #ff6b6b; background: rgba(255,100,100,0.1); }
.admin-header__link svg { opacity: 0.6; flex-shrink: 0; }
.admin-header__link:hover svg { opacity: 1; }

/* Admin Dropdown menu */
.admin-dropdown { position: relative; }
.admin-dropdown__arrow { transition: transform 0.2s; }
.admin-dropdown.open .admin-dropdown__arrow { transform: rotate(180deg); }
.admin-dropdown__menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    background: rgba(18, 18, 30, 0.98);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    box-shadow: 0 12px 40px rgba(0,0,0,0.6), 0 0 1px rgba(214,15,4,0.2);
    padding: 6px;
    display: none;
    z-index: 100;
}
.admin-dropdown.open .admin-dropdown__menu {
    display: block;
}
.admin-dropdown__item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--text-light);
    font-size: var(--text-sm);
    font-weight: 500;
    transition: all 0.15s;
    text-decoration: none;
}
.admin-dropdown__item:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}
.admin-dropdown__item--active {
    color: var(--primary-light);
    background: rgba(214,15,4,0.08);
}
.admin-dropdown__item svg { opacity: 0.5; }

/* Admin Mobile Toggle (hamburger) */
.admin-menu-toggle {
    display: none;
    width: 28px; height: 22px;
    flex-direction: column; justify-content: space-between;
    background: transparent; border: none; cursor: pointer; padding: 0;
    z-index: 1001;
}
.admin-menu-toggle__bar {
    width: 100%; height: 2px;
    border-radius: 2px;
    background: var(--text-main);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.5, 1);
    transform-origin: center;
}
.admin-menu-toggle--active .admin-menu-toggle__bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
    background: var(--primary-light);
}
.admin-menu-toggle--active .admin-menu-toggle__bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.admin-menu-toggle--active .admin-menu-toggle__bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
    background: var(--primary-light);
}

/* Admin Mobile Nav Panel */
.admin-nav-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    opacity: 0; visibility: hidden;
    transition: all 0.3s;
    z-index: 998;
}
.admin-nav-overlay--visible { opacity: 1; visibility: visible; }
.admin-nav-mobile {
    position: fixed;
    top: 0; right: -100%;
    width: 100%; max-width: 300px;
    height: 100vh;
    overflow-y: auto;
    background: rgba(14, 14, 26, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(214,15,4,0.15);
    box-shadow: -8px 0 40px rgba(0,0,0,0.5);
    padding: 80px 20px 40px;
    transition: right 0.35s cubic-bezier(0.25, 0.8, 0.5, 1);
    z-index: 999;
}
.admin-nav-mobile--open { right: 0; }

.admin-nav-mobile__section {
    margin-bottom: 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.admin-nav-mobile__section--bottom { border-bottom: none; margin-top: auto; }
.admin-nav-mobile__label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 8px 12px 4px;
}
.admin-nav-mobile__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius-sm);
    color: var(--text-light);
    font-weight: 600;
    font-size: var(--text-sm);
    transition: all 0.2s;
    text-decoration: none;
}
.admin-nav-mobile__link:hover { background: rgba(255,255,255,0.06); color: #fff; }
.admin-nav-mobile__link--active {
    color: var(--primary-light);
    background: rgba(214,15,4,0.1);
}
.admin-nav-mobile__link--logout { color: rgba(255,100,100,0.7); }
.admin-nav-mobile__link--logout:hover { color: #ff6b6b; background: rgba(255,100,100,0.08); }
.admin-nav-mobile__link svg { opacity: 0.6; flex-shrink: 0; }

@media (max-width: 992px) {
    .admin-nav-desktop { display: none !important; }
    .admin-menu-toggle { display: flex !important; }
}

/* Rest of admin styles */
.admin-main { padding: var(--space-2xl) 0; }
.admin-card { padding: var(--space-xl); margin-bottom: var(--space-lg); }
.admin-card__title { color: var(--text-white); margin-bottom: var(--space-lg); padding-bottom: var(--space-md); border-bottom: 1px solid var(--glass-border); }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: var(--space-md); }
.stat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: center;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
.stat-card:hover {
    border-color: rgba(214,15,4,0.3);
    box-shadow: 0 0 20px rgba(214,15,4,0.1);
}
.stat-card__number { color: var(--primary-color); font-size: var(--text-4xl); font-family: var(--font-heading); }
.stat-card__label { color: var(--text-light); font-size: var(--text-sm); }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { text-align: left; padding: 0.8rem; border-bottom: 1px solid rgba(255, 255, 255, 0.06); color: var(--text-main); }
.admin-table th { color: var(--text-light); background: rgba(255, 255, 255, 0.03); }
.admin-actions { display: flex; gap: var(--space-sm); }
.admin-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: var(--space-lg); }
.admin-login__card { width: 100%; max-width: 420px; padding: var(--space-2xl); }
.editor-container { border: 1px solid var(--glass-border); border-radius: var(--radius-md); overflow: hidden; }
.ql-toolbar { border: none !important; border-bottom: 1px solid rgba(255,255,255,0.1) !important; background: rgba(255,255,255,0.04) !important; }
.ql-toolbar .ql-stroke { stroke: var(--text-light) !important; }
.ql-toolbar .ql-fill { fill: var(--text-light) !important; }
.ql-container { border: none !important; min-height: 300px; color: var(--text-main); }
.image-preview { max-width: 300px; margin-top: var(--space-md); border-radius: var(--radius-md); overflow: hidden; }
.status-badge { border-radius: var(--radius-full); padding: 0.2rem 0.6rem; font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; }
.status-badge--published { background: rgba(80, 200, 120, 0.15); color: #7ddba0; }
.status-badge--draft { background: rgba(245, 214, 112, 0.12); color: var(--accent-color); }

/* =============================================
   ANIMATIONS
   ============================================= */
.fade-up   { opacity: 1; transform: translateY(0); }
.fade-in   { opacity: 1; }
.scale-in  { opacity: 1; transform: scale(1); }
.slide-left  { opacity: 1; transform: translateX(0); }
.slide-right { opacity: 1; transform: translateX(0); }
.hidden { display: none !important; }

/* Shimmer on hover for highlighted elements */
@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}
.shimmer-text {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 40%, var(--accent-color) 60%, var(--primary-color) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: background-position 0.5s ease;
}
.shimmer-text:hover {
    animation: shimmer 2s linear infinite;
}

/* Floating animation for decorative elements */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-8px); }
}
.float-anim {
    transition: transform 0.3s ease;
}
.float-anim:hover {
    animation: float 2s ease-in-out infinite;
}

/* Red pulse for CTA */
@keyframes red-pulse-ring {
    0%   { transform: scale(1);    opacity: 0.6; }
    100% { transform: scale(1.35); opacity: 0; }
}
.btn--pulse-ring {
    position: relative;
}
.btn--pulse-ring::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    border: 2px solid var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.btn--pulse-ring:hover::after {
    animation: red-pulse-ring 1.5s ease-out infinite;
    opacity: 1;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-dark {
    background:
        linear-gradient(135deg, rgba(214,15,4,0.12) 0%, rgba(10,10,20,0.95) 60%, rgba(136,144,232,0.08) 100%);
    border-top: 1px solid rgba(214,15,4,0.22);
    border-bottom: 1px solid rgba(214,15,4,0.22);
    position: relative;
    overflow: hidden;
}
.cta-dark::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 300px;
    background: radial-gradient(ellipse, rgba(214,15,4,0.12) 0%, transparent 70%);
    pointer-events: none;
}

/* =============================================
   PRIVACY PAGE
   ============================================= */
.privacy-content h2, .privacy-content h3 { color: var(--text-white); }
.privacy-content p, .privacy-content li { color: var(--text-light); }

/* =============================================
   BLOG / POST PAGES
   ============================================= */
.blog-hero, .post-hero {
    padding: calc(var(--header-height) + var(--space-2xl)) 0 var(--space-2xl);
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(214,15,4,0.18);
}
.blog-hero__title, .post-hero__title { 
    color: #ffffff !important; 
    text-align: center; 
    position: relative; 
    z-index: 10; 
    text-shadow: 0 4px 15px rgba(0,0,0,0.8), 0 0 40px rgba(0,0,0,0.4);
    font-weight: 800;
}
.post-content { color: var(--text-main); line-height: 1.8; }
.post-content h2, .post-content h3 { color: var(--text-white); }
.post-content a { color: var(--primary-color); }
.post-content img { border-radius: var(--radius-md); margin: var(--space-lg) 0; }

/* Ripristino liste per contenuti rich-text (Statuto e Post) */
.post-content__body ul, .post-content ul {
    list-style: disc;
    margin-left: var(--space-xl);
    margin-bottom: var(--space-md);
}
.post-content__body ol, .post-content ol {
    list-style: decimal;
    margin-left: var(--space-xl);
    margin-bottom: var(--space-md);
}
.post-content__body li, .post-content li {
    margin-bottom: var(--space-xs);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (min-width: 576px) {
    h1 { font-size: var(--text-4xl); }
    .hero__title { font-size: var(--text-4xl); }
    .video-grid { grid-template-columns: repeat(2, 1fr); }
    .cookie-banner__inner { flex-direction: row; align-items: center; justify-content: space-between; }
    .stats-band__grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 768px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr 1fr; }
    .footer__grid { grid-template-columns: repeat(2, 1fr); }
    .about-block { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2xl); align-items: center; }
    .about-block__image { margin-bottom: 0; }
}

@media (min-width: 992px) {
    .nav { display: block; }
    .menu-toggle, .nav-mobile { display: none; }
    h1 { font-size: var(--text-5xl); }
    .hero__title { font-size: var(--text-5xl); }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .video-grid { grid-template-columns: repeat(3, 1fr); }

    .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    #bg-canvas { display: none; }
}

@media print {
    .header, .footer, .cookie-banner, .btn, #bg-canvas { display: none !important; }
}

/* =============================================
   MOBILE OVERRIDES
   ============================================= */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .header {
        padding: var(--space-sm) 0;
    }
    
    .nav { display: none; }
    .menu-toggle { display: flex; }
    .lang-switcher {
        display: none; /* Hide desktop version on mobile */
    }
    
    .hero__content {
        padding-top: 100px; /* Offset for fixed header on mobile */
    }
    
    .hero__title {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
    }
    
    /* Stats Band Grid -> 2 columns on mobile */
    .stats-band__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
    
    /* Photo Placeholder text truncation */
    .photo-placeholder__label {
        font-size: var(--text-xs);
        padding: 0 10px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
    
    /* About block -> stack images */
    .about-block {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .about-block.reverse .about-block__text {
        order: unset;
    }
    
    /* Pulse ring size on mobile */
    .btn--pulse-ring::before,
    .btn--pulse-ring::after {
        display: none; /* Disable pulse on mobile to avoid overlap/overflow */
    }
    
    /* Grid 2 / Grid 3 -> 1 column on mobile */
    .grid-2, .grid-3 {
        grid-template-columns: 1fr !important;
    }
}

/* =============================================
   INSTAGRAM WIDGET CUSTOMIZATION
   ============================================= */
/* Hide Elfsight "Free Instagram Feed Widget" branding */
a[href*="elfsight.com"], 
div[class*="BadgeContainer"],
[class*="elfsight-app"] + a,
[class*="elfsight-app"] > div:last-child > a,
div[class*="elfsight-app-reference"],
#instagram-feed-container a[href*="elfsight.com"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    z-index: -1 !important;
}


/* =============================================
   MEMBER CARDS (Social & Board)
   ============================================= */
.members-category {
    margin-bottom: var(--space-3xl);
}
.members-category__header {
    margin-bottom: var(--space-xl);
    position: relative;
    padding-left: var(--space-md);
}
.members-category__header::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-full);
}
.members-category__title {
    color: var(--text-white);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin: 0;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.member-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    cursor: default;
}
.member-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(214, 15, 4, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.member-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(214, 15, 4, 0.2),
        var(--shadow-glow-red);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-color: rgba(214, 15, 4, 0.4);
}
.member-card:hover::after {
    opacity: 1;
}

.member-card__photo-wrapper {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    background: var(--bg-layer2);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        inset 0 0 12px rgba(0,0,0,0.5),
        0 4px 12px rgba(0,0,0,0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    overflow: hidden;
}
.member-card:hover .member-card__photo-wrapper {
    border-color: var(--primary-color);
    box-shadow: 
        inset 0 0 8px rgba(214, 15, 4, 0.3),
        0 0 20px rgba(214, 15, 4, 0.4);
    transform: rotate(5deg);
}

.member-card__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.member-card:hover .member-card__photo {
    transform: scale(1.1);
}

.member-card__initials {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-light);
    font-family: var(--font-heading);
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(214, 15, 4, 0.3);
}

.member-card__info {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 2;
}

.member-card__name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 4px;
    line-height: 1.25;
    transition: color 0.3s ease;
}
.member-card:hover .member-card__name {
    color: var(--accent-light);
}
.member-card__name span {
    font-weight: 400;
    color: var(--text-light);
    opacity: 0.8;
}

.member-card__detail {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.9;
}
.member-card__detail svg {
    color: var(--accent-color);
    filter: drop-shadow(0 0 4px var(--accent-glow));
}

@media (max-width: 768px) {
    .members-grid {
        grid-template-columns: 1fr;
    }
    .member-card {
        padding: var(--space-md);
    }
}

/* Premium Spotlight Effect */
.member-card {
    --x: 50%;
    --y: 50%;
}
.member-card__spotlight {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(
        circle at var(--x) var(--y),
        rgba(214, 15, 4, 0.15) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}
.member-card:hover .member-card__spotlight {
    opacity: 1;
}

/* Card Depth Enhancement */
.member-card {
    box-shadow: 
        0 10px 30px -10px rgba(0,0,0,0.5),
        inset 0 1px 1px rgba(255,255,255,0.05);
}

.member-card:hover {
    box-shadow: 
        0 30px 60px -15px rgba(0,0,0,0.6),
        0 0 0 1px rgba(214, 15, 4, 0.3),
        0 0 40px rgba(214, 15, 4, 0.1);
}

/* =============================================
   CHI SIAMO STORY LAYOUT (Premium)
   ============================================= */
.story-block {
    position: relative;
    margin-bottom: var(--space-6xl); /* Massimo distanziamento */
    display: flex;
    align-items: center;
    gap: 0; /* Gap gestito dai margini negativi */
    min-height: 520px;
}
.story-block.reverse {
    flex-direction: row-reverse;
}
.story-image-wrap {
    flex: 0 0 65%; /* Più spazio alla foto */
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl), 0 0 40px rgba(0,0,0,0.3);
    background: var(--bg-layer2);
    min-height: 400px;
    height: auto;

}
.story-image-wrap img {
    width: 100%;
    height: auto;
    min-height: 400px;
    max-height: 650px;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-base);
}

.story-image-wrap:hover img {
    transform: scale(1.03);
}
.story-glass-card {
    flex: 0 0 45%; /* Più larga */
    background: rgba(18, 18, 30, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,255,255,0.05);
    margin-left: -120px; /* Overlap più deciso */
    position: relative;
    z-index: 2;
    transition: all var(--transition-base);
}
.story-glass-card.reverse-card {
    margin-left: 0;
    margin-right: -120px;
}
.story-glass-card:hover {
    box-shadow: 0 40px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(214,15,4,0.4);
    transform: translateY(-8px) scale(1.01);
}
.story-glass-card h2 {
    color: var(--text-white);
    margin-bottom: var(--space-md);
    font-size: var(--text-3xl);
    letter-spacing: -0.02em;
}
.story-glass-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Redesign Diazzi block into a card */
.diazzi-card {
    margin: var(--space-5xl) 0;
    background: linear-gradient(135deg, rgba(214,15,4,0.1) 0%, rgba(18, 18, 30, 0.8) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(214,15,4,0.2);
    box-shadow: var(--shadow-lg);
    padding: var(--space-2xl);
}
.diazzi-grid {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

/* Full width premium banner */
.premium-banner {
    margin: var(--space-6xl) 0;
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}
.premium-banner__inner {
    position: relative;
    z-index: 1;
    padding: var(--space-5xl) var(--space-2xl);
    text-align: center;
    background: rgba(10,10,18,0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

@media (max-width: 1200px) {
    .story-glass-card { margin-left: -80px; }
    .story-glass-card.reverse-card { margin-right: -80px; }
}

@media (max-width: 992px) {
    .story-block {
        margin-bottom: var(--space-5xl);
        min-height: auto;
    }
    .story-block, .story-block.reverse {
        flex-direction: column;
        gap: 0;
    }
    .story-image-wrap {
        width: 100%;
        min-height: 400px;
        flex: none;
    }
    .story-glass-card, .story-glass-card.reverse-card {
        margin: -80px 20px 0 20px;
        width: calc(100% - 40px);
        flex: none;
    }
}
@media (max-width: 768px) {
    .diazzi-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .about-highlight__image-container {
        display: flex;
        justify-content: center;
        margin-bottom: var(--space-md);
    }
    .premium-banner__inner {
        padding: var(--space-4xl) var(--space-md);
    }
    .premium-banner__inner h2 {
        font-size: var(--text-3xl) !important;
    }
}
@media (max-width: 576px) {
    .premium-banner {
        border-radius: 0;
        margin-left: calc(-1 * var(--space-md));
        margin-right: calc(-1 * var(--space-md));
    }
    .story-glass-card, .story-glass-card.reverse-card {
        margin: -60px 10px 0 10px;
        padding: var(--space-xl);
        width: calc(100% - 20px);
    }
}


/* =============================================
   IUBENDA ADAPTATION
   ============================================= */
#iubenda-cs-banner {
    font-family: 'Manrope', sans-serif !important;
}
.iubenda-cs-container .iubenda-cs-content {
    border-radius: var(--radius-lg) !important;
    background-color: rgba(18, 18, 30, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: var(--text-main) !important;
}
.iubenda-cs-container .iubenda-cs-btn-primary {
    background-color: var(--primary-color) !important;
    border-radius: var(--radius-sm) !important;
    font-family: 'Syne', sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}
.iubenda-cs-container .iubenda-cs-btn-secondary {
    background-color: transparent !important;
    border: 1px solid var(--glass-border) !important;
    color: var(--text-light) !important;
    border-radius: var(--radius-sm) !important;
}

/* =============================================
   MOBILE OPTIMIZATIONS (Hero & UI)
   ============================================= */
@media (max-width: 768px) {
    .hero__content {
        padding: var(--space-xl) var(--space-md);
        margin: 0 var(--space-sm);
        max-width: calc(100% - var(--space-sm) * 2);
    }
    .hero__title {
        font-size: var(--text-3xl);
    }
    .hero__subtitle {
        font-size: var(--text-base);
    }
    .hero__actions {
        flex-direction: column;
        gap: var(--space-md);
        width: 100%;
    }
    .hero__actions .btn {
        width: 100%;
        padding: 0.9rem 1.2rem;
        font-size: var(--text-base);
    }
}

@media (max-width: 480px) {
    .hero__content {
        padding: var(--space-lg) var(--space-sm);
    }
    .hero__title {
        font-size: var(--text-2xl);
    }
}

/* Ensure Iubenda links in footer don't have the default widget style if using standard classes */
.footer__link.iubenda-embed {
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
}

/* Iubenda Modal Overrides */
#iubModalContainer .iubModal {
    font-family: 'Manrope', sans-serif !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: 0 40px 100px rgba(0,0,0,0.5) !important;
}

/* =============================================
   UI BREADCRUMBS (Visual Breadcrumbs)
   ============================================= */
.breadcrumb-wrapper {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    z-index: 10;
    padding-top: var(--space-md);
    pointer-events: none;
}
.ui-breadcrumb {
    pointer-events: auto;
    display: inline-block;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
}
.ui-breadcrumb__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.ui-breadcrumb__item {
    display: flex;
    align-items: center;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-light);
}
.ui-breadcrumb__link {
    color: var(--text-main);
    transition: color var(--transition-fast);
}
.ui-breadcrumb__link:hover {
    color: var(--primary-light);
}
.ui-breadcrumb__item--current {
    color: var(--primary-color);
}
.ui-breadcrumb__separator {
    display: inline-flex;
    margin-left: 8px;
    color: rgba(255, 255, 255, 0.2);
}

/* =============================================
   ACCESSIBILITY: FOCUS INDICATORS (Keyboard Nav)
   ============================================= */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.video-card:focus-visible,
.footer__social-link:focus-visible,
.header__logo:focus-visible,
.nav__link:focus-visible,
.links-lang a:focus-visible,
.link-item:focus-visible {
    outline: 2px solid var(--primary-light) !important;
    outline-offset: 4px !important;
    box-shadow: 0 0 0 4px rgba(214, 15, 4, 0.25), 0 0 15px rgba(214, 15, 4, 0.4) !important;
    transition: outline-offset 0.1s ease-out;
}

.form__input:focus-visible,
.form__textarea:focus-visible,
.form__select:focus-visible {
    outline: 2px solid var(--primary-light) !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 4px rgba(214, 15, 4, 0.2) !important;
}

/* =============================================
   DYNAMIC EVENT GALLERY & LIGHTBOX
   ============================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-auto-rows: 240px;
    gap: var(--space-md);
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-surface);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s ease;
    transform: translateY(0);
}



/* Staggered masonry height patterns on desktop */
@media (min-width: 992px) {
    .gallery-item:nth-child(5n+1) {
        grid-row: span 2;
    }
    .gallery-item:nth-child(5n+3) {
        grid-column: span 2;
        grid-row: span 1;
    }
    .gallery-item:nth-child(5n+4) {
        grid-row: span 2;
    }
}

.gallery-item__inner {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.gallery-item__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 18, 0.95) 0%, rgba(10, 10, 18, 0.4) 50%, transparent 100%);
    opacity: 0;
    display: flex;
    align-items: flex-end;
    padding: var(--space-md);
    transition: opacity 0.4s ease;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.gallery-item__info {
    width: 100%;
    transform: translateY(15px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.gallery-item__zoom-icon {
    align-self: flex-start;
    width: 36px;
    height: 36px;
    background: var(--primary-color);
    color: #fff;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(214, 15, 4, 0.4);
    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.gallery-item__caption {
    margin: 0;
    color: var(--text-white);
    font-size: var(--text-sm);
    font-weight: 600;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Hover effects */
.gallery-item:hover {
    transform: translateY(-5px);
    border-color: rgba(214, 15, 4, 0.4);
    box-shadow: var(--shadow-lg), var(--shadow-glow-red);
}

.gallery-item:hover .gallery-item__img {
    transform: scale(1.06);
}

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

.gallery-item:hover .gallery-item__info {
    transform: translateY(0);
}

.gallery-item:hover .gallery-item__zoom-icon {
    transform: scale(1);
    opacity: 1;
}

/* =============================================
   CUSTOM LIGHTBOX SYSTEM
   ============================================= */
.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.gallery-lightbox[aria-hidden="false"] {
    opacity: 1;
    visibility: visible;
}

.gallery-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 8, 14, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.gallery-lightbox__close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}

.gallery-lightbox__close:hover {
    background: var(--primary-color);
    transform: rotate(90deg);
    box-shadow: 0 0 15px rgba(214, 15, 4, 0.6);
}

.gallery-lightbox__container {
    position: relative;
    width: 90%;
    max-width: 800px;
    height: 75vh;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gallery-lightbox__nav {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    user-select: none;
    flex-shrink: 0;
}

.gallery-lightbox__nav:hover {
    background: var(--primary-color);
    border-color: var(--primary-light);
    box-shadow: 0 0 15px rgba(214, 15, 4, 0.6);
}

/* Position arrows absolutely on the far sides of the screen on desktop */
@media (min-width: 769px) {
    .gallery-lightbox__nav {
        position: fixed;
        top: 50%;
        transform: translateY(-50%);
        z-index: 100;
    }
    .gallery-lightbox__nav--prev {
        left: 40px;
    }
    .gallery-lightbox__nav--next {
        right: 40px;
    }
}

.gallery-lightbox__content {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    background: #050508;
    animation: zoomInLightbox 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-lightbox__content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    user-select: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    opacity: 1;
    transform: scale(1);
}

.gallery-lightbox__content img.lightbox-img--loading {
    opacity: 0;
    transform: scale(0.98);
}

.gallery-lightbox__caption {
    display: none; /* Hidden by default, shown via JS only when not empty */
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 18, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-white);
    font-size: var(--text-sm);
    padding: var(--space-sm) var(--space-md);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-weight: 500;
    z-index: 2;
}

@keyframes zoomInLightbox {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .gallery-lightbox__nav {
        position: absolute;
        bottom: -70px;
        top: auto;
        transform: none;
        width: 44px;
        height: 44px;
        z-index: 20;
    }
    .gallery-lightbox__nav--prev {
        left: calc(50% - 60px);
        margin: 0;
    }
    .gallery-lightbox__nav--next {
        right: calc(50% - 60px);
        margin: 0;
    }
    .gallery-lightbox__container {
        width: 95%;
        height: 55vh;
        margin-bottom: 50px;
    }
}

/* --- Refactored Classes da index.php --- */

.stats-band-container { margin: var(--space-4xl) 0; }
.stats-band-glass { background: rgba(18, 18, 30, 0.4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.05); border-radius: var(--radius-xl); padding: var(--space-xl) var(--space-md); }
.mb-6xl { margin-bottom: var(--space-6xl); }
.mb-4xl { margin-bottom: var(--space-4xl); }
.text-4xl { font-size: var(--text-4xl); }
.text-lg-muted { font-size: var(--text-lg); opacity: 0.7; }
.max-w-700-center { max-width: 700px; margin: 0 auto var(--space-xl); }
.concert-placeholder-img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); display: block; }
.no-concert-text { color: var(--text-main); font-size: var(--text-xl); font-weight: 600; }
.flex-grid-center { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--space-lg); }
.card-flex-item { flex: 1 1 350px; max-width: 400px; }
.photo-placeholder-custom { border-radius: 0; border: none; height: 220px; }
.mb-xs { margin-bottom: var(--space-xs); }
.card-actions { display: flex; align-items: center; gap: var(--space-sm); flex-wrap: wrap; }
.btn-sm-outline { font-size: 0.85rem; padding: 6px 12px; border-color: rgba(255,255,255,0.2); }
.icon-ml-4 { margin-left: 4px; vertical-align: middle; }
.btn-sm-yellow { font-size: 0.85rem; padding: 6px 12px; color: #ffd93d; border-color: rgba(255, 217, 61, 0.4); }
.icon-mr-4 { margin-right: 4px; vertical-align: middle; }
.py-xl { padding: var(--space-xl) 0; }
.mb-md-opacity-80 { margin-bottom: var(--space-md); opacity: 0.8; }
.mb-md-opacity-50 { margin-bottom: var(--space-md); opacity: 0.5; }
.text-lg-light { color: var(--text-light); font-size: var(--text-lg); }
.photo-placeholder-story { height: 520px; border-radius: var(--radius-lg); margin-bottom: 0; }
.story-tag { display: inline-block; background: rgba(214,15,4,0.12); border: 1px solid rgba(214,15,4,0.3); color: var(--primary-light); border-radius: var(--radius-full); padding: 3px 14px; font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: var(--space-md); }
.mt-xl { margin-top: var(--space-xl); }
.gdpr-overlay-custom { position: relative; inset: 0; background: var(--bg-surface); display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 2; padding: var(--space-md); text-align: center; min-height: 180px; border: 1px solid var(--glass-border); border-radius: var(--radius-lg); margin-bottom: var(--space-md); }
.text-sm-light-mb { font-size: var(--text-sm); color: var(--text-light); margin-bottom: var(--space-md); }
.premium-banner-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(214,15,4,0.2) 0%, rgba(10,10,18,0.9) 100%); }
.premium-title { color: var(--text-white); margin-bottom: var(--space-md); font-size: var(--text-4xl); }
.premium-desc { font-size: var(--text-lg); color: var(--text-light); margin-bottom: var(--space-xl); max-width: 620px; margin-left: auto; margin-right: auto; }
.premium-actions { display: flex; justify-content: center; gap: var(--space-md); flex-wrap: wrap; }
.shadow-glow-red { box-shadow: var(--shadow-glow-red); }
