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

:root {
    --primary-color: #009246;
    --secondary-color: #CE2B37;
    --accent-color: #f39c12;
    --dark-bg: #0a0e1a;
    --card-bg: #12182e;
    --card-hover: #1a2340;
    --text-primary: #ffffff;
    --text-secondary: #b8c5d6;
    --gradient-primary: linear-gradient(135deg, #009246 0%, #CE2B37 100%);
    --gradient-accent: linear-gradient(135deg, #f39c12 0%, #e74c3c 100%);
    --gradient-orange: linear-gradient(135deg, #f39c12 0%, #d35400 100%);
    --gradient-green: linear-gradient(135deg, #009246 0%, #27ae60 100%);
    --dynamic-hue: 0;
    /* Italian Colors */
    --italian-green: #009246;
    --italian-white: #ffffff;
    --italian-red: #CE2B37;
    --gradient-italian: linear-gradient(135deg, #009246 0%, #ffffff 50%, #CE2B37 100%);
    --gradient-italian-alt: linear-gradient(90deg, #009246 0%, #CE2B37 100%);
}

html {
    background: var(--dark-bg);
    background-image:
        radial-gradient(circle at 20% 50%, rgba(0, 146, 70, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(206, 43, 55, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 20%, rgba(243, 156, 18, 0.08) 0%, transparent 40%);
    background-attachment: fixed;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-secondary);
    min-height: 100vh;
    position: relative;
}

/* Apply custom fonts after load to prevent CLS */
.fonts-loaded body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.fonts-loaded h1,
.fonts-loaded h2,
.fonts-loaded h3,
.fonts-loaded .cta-button,
.fonts-loaded footer .footer-brand span {
    font-family: 'Inter Tight', sans-serif;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(
            0deg,
            rgba(255, 255, 255, 0.03) 0px,
            transparent 1px,
            transparent 2px,
            rgba(255, 255, 255, 0.03) 3px
        );
    pointer-events: none;
    z-index: 1;
    animation: scanlines 8s linear infinite;
}

@keyframes scanlines {
    0% { transform: translateY(0); }
    100% { transform: translateY(20px); }
}

.container {
    max-width: 1200px;
    padding: 2rem;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Logo Section with Anime Effects */
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0 1.5rem;
    position: relative;
}

.logo-container::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 146, 70, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.site-logo {
    max-width: 280px;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(0, 146, 70, 0.6));
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.site-logo:hover {
    filter: drop-shadow(0 8px 40px rgba(0, 146, 70, 0.9));
    animation: logoShake 0.5s ease;
}

@keyframes logoShake {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    25% { transform: translateX(-5px) rotate(-2deg); }
    75% { transform: translateX(5px) rotate(2deg); }
}

/* Hero Section with Anime Border */
.hero-intro {
    background: var(--gradient-primary);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    box-shadow:
        0 10px 40px rgba(0, 146, 70, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.hero-intro::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #009246, #f39c12, #CE2B37, #009246);
    background-size: 400% 400%;
    border-radius: 16px;
    z-index: -1;
    animation: gradientBorder 3s ease infinite;
    opacity: 0.5;
}

@keyframes gradientBorder {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-intro p {
    color: white;
    font-size: 1.1rem;
    text-align: center;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    position: relative;
    z-index: 1;
}

/* Header Styles */
header {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    animation: headerGlow 2s ease-in-out infinite;
}

@keyframes headerGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(0, 146, 70, 0.5); }
    50% { box-shadow: 0 0 20px rgba(0, 146, 70, 1); }
}

header h1 {
    color: var(--text-primary);
    font-family: 'Inter Tight', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

header p {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

header a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

header a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(247, 183, 49, 0.5);
}

header a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

header a:hover::after {
    width: 100%;
}

header a::before {
    content: '→';
    position: absolute;
    right: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

header a:hover::before {
    right: -25px;
    opacity: 1;
}


/* CTA Container - Above Banner */
.cta-container {
    display: flex;
    justify-content: center;
    margin: 2rem 0 1.5rem;
    position: relative;
}

.cta-button {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Inter Tight', sans-serif;
    color: white;
    background: var(--gradient-accent);
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    box-shadow:
        0 8px 30px rgba(243, 156, 18, 0.6),
        0 0 0 0 rgba(243, 156, 18, 0.4);
    transition: all 0.3s ease;
    z-index: 1;
    animation: ctaPulse 2s ease-in-out infinite;
}

@keyframes ctaPulse {
    0%, 100% {
        box-shadow:
            0 8px 30px rgba(243, 156, 18, 0.6),
            0 0 0 0 rgba(243, 156, 18, 0.4);
    }
    50% {
        box-shadow:
            0 12px 40px rgba(243, 156, 18, 0.8),
            0 0 0 8px rgba(243, 156, 18, 0);
    }
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        0 15px 50px rgba(243, 156, 18, 0.9),
        0 0 30px rgba(243, 156, 18, 0.6);
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-button:active {
    transform: translateY(-1px) scale(0.98);
}

.cta-icon {
    font-size: 1.4rem;
    animation: playIconBounce 1.5s ease-in-out infinite;
}

@keyframes playIconBounce {
    0%, 100% { transform: translateX(0) scale(1); }
    50% { transform: translateX(3px) scale(1.2); }
}

.cta-text {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-shine {
    position: absolute;
    top: -50%;
    left: -100%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-25deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    50%, 100% { left: 200%; }
}

/* Banner Wrapper with Glow Effect */
.banner-wrapper {
    position: relative;
    margin-top: 1rem;
    margin-bottom: 1rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
    /* Reserve space for banner to prevent CLS - aspect ratio 1312:736 */
    aspect-ratio: 1312 / 736;
    background: var(--card-bg);
}

@keyframes bannerFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    transition: transform 0.5s ease;
}

.banner-wrapper:hover .banner-image {
    transform: scale(1.05);
}

.banner-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 146, 70, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.banner-wrapper:hover .banner-glow {
    opacity: 1;
    animation: glowRotate 3s linear infinite;
}

@keyframes glowRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Section Styles with Anime Cards */
section {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--gradient-accent);
    transition: height 0.3s ease;
    border-radius: 16px 0 0 16px;
}

section:hover {
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.4),
        -5px 0 20px rgba(0, 146, 70, 0.3);
    border-left-color: var(--primary-color);
}

section:hover::before {
    height: 100%;
}

section h2 {
    color: var(--text-primary);
    font-family: 'Inter Tight', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1.5rem;
}

section h2::before {
    content: '◆';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.2rem;
    animation: diamondSpin 3s ease-in-out infinite;
}

@keyframes diamondSpin {
    0%, 100% { transform: translateY(-50%) rotate(0deg); }
    50% { transform: translateY(-50%) rotate(180deg); }
}

section h3 {
    color: var(--primary-color);
    font-family: 'Inter Tight', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1rem;
}

section h3::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    animation: arrowPulse 1.5s ease-in-out infinite;
}

@keyframes arrowPulse {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(3px); }
}

section p {
    margin-bottom: 1.2rem;
    font-size: 1.02rem;
    line-height: 1.8;
}

/* List Styles with Anime Effects */
ul {
    list-style: none;
    margin: 1.5rem 0;
}

ul li {
    padding: 1.2rem 1.5rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 146, 70, 0.1), transparent);
    transition: width 0.3s ease;
}

ul li:hover {
    background: rgba(255, 255, 255, 0.06);
    border-left-color: var(--accent-color);
    transform: translateX(10px);
    box-shadow: 0 4px 15px rgba(0, 146, 70, 0.2);
}

ul li:hover::before {
    width: 100%;
}

ul li strong {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.05rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

/* Ordered List Styles */
ol {
    list-style: none;
    counter-reset: step-counter;
    margin: 1.5rem 0;
}

ol li {
    padding: 1.2rem 1.5rem 1.2rem 3.5rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    position: relative;
    transition: all 0.3s ease;
    counter-increment: step-counter;
}

ol li::before {
    content: counter(step-counter);
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 146, 70, 0.4);
}

ol li:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(0, 146, 70, 0.2);
}

ol li:hover::before {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 146, 70, 0.6);
}

/* Blockquote Styles */
blockquote {
    background: linear-gradient(135deg, rgba(0, 146, 70, 0.1) 0%, rgba(206, 43, 55, 0.1) 100%);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 12px 12px 0;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    position: relative;
    font-style: italic;
    color: var(--text-primary);
    font-size: 1.1rem;
    line-height: 1.8;
}

blockquote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 15px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

blockquote::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-accent);
    border-radius: 4px 0 0 4px;
    animation: quoteGlow 2s ease-in-out infinite;
}

@keyframes quoteGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(0, 146, 70, 0.3); }
    50% { box-shadow: 0 0 20px rgba(0, 146, 70, 0.6); }
}

/* Table Styles - Anime Streaming Theme */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 2rem 0;
    background: rgba(20, 27, 61, 0.8);
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

table th,
table td {
    padding: 1.2rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

table th {
    background: linear-gradient(135deg, rgba(0, 146, 70, 0.3) 0%, rgba(206, 43, 55, 0.3) 100%);
    color: var(--text-primary);
    font-family: 'Inter Tight', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

table th::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-accent);
}

table tr {
    transition: all 0.3s ease;
}

table tbody tr:hover {
    background: rgba(0, 146, 70, 0.1);
    transform: scale(1.01);
}

table tbody tr:hover td {
    color: var(--text-primary);
}

table td {
    color: var(--text-secondary);
    font-size: 0.95rem;
    position: relative;
}

table td:first-child {
    font-weight: 600;
    color: var(--primary-color);
}

table tbody tr:last-child td {
    border-bottom: none;
}

/* Table Italian Accent */
table::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        var(--italian-green) 0%,
        var(--italian-green) 33%,
        var(--italian-white) 33%,
        var(--italian-white) 66%,
        var(--italian-red) 66%,
        var(--italian-red) 100%);
    opacity: 0.7;
}

/* Responsive Table */
@media (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    table th,
    table td {
        padding: 1rem;
        font-size: 0.9rem;
    }
}

/* FAQ Section with Special Background */
.faq-section section {
    background:
        linear-gradient(135deg, rgba(0, 146, 70, 0.15) 0%, rgba(206, 43, 55, 0.15) 100%),
        var(--card-bg);
    border: 2px solid rgba(0, 146, 70, 0.2);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cursor Trail Effect */
.cursor-trail {
    position: fixed;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, rgba(0, 146, 70, 0.6) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    animation: trailFade 0.6s ease-out forwards;
}

@keyframes trailFade {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}

/* Floating Particles */
.floating-particle {
    position: fixed;
    width: 4px;
    height: 4px;
    background: rgba(0, 146, 70, 0.6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    bottom: -10px;
    animation: floatUp 5s linear forwards;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

/* Section Visibility Animation */
section.visible {
    animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Section Hover Effects */
section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 146, 70, 0.1), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border-radius: 16px;
}

section:hover::after {
    opacity: 1;
}

/* Glowing Text Effect */
header h1::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    filter: blur(15px);
    opacity: 0.5;
}

/* Enhanced Link Styles */
header a,
section a {
    position: relative;
    display: inline-block;
}

header a::before {
    content: '→';
    position: absolute;
    right: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

header a:hover::before {
    right: -25px;
    opacity: 1;
}

/* Loading Animation for Images */
.banner-image {
    opacity: 0;
    animation: imageLoad 0.8s ease-out 0.2s forwards;
}

@keyframes imageLoad {
    from {
        opacity: 0;
        filter: blur(10px);
    }
    to {
        opacity: 1;
        filter: blur(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .logo-container {
        padding: 1.5rem 0 1rem;
    }

    .site-logo {
        max-width: 220px;
    }

    header {
        padding: 2rem 1.5rem;
    }

    header h1 {
        font-size: 1.8rem;
    }

    section {
        padding: 1.5rem;
    }

    section h2 {
        font-size: 1.5rem;
    }

    .hero-intro {
        padding: 1rem 1.5rem;
    }

    .hero-intro p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
        gap: 0.6rem;
    }

    .cta-icon {
        font-size: 1.2rem;
    }

    .banner-overlay {
        opacity: 1;
        background: linear-gradient(180deg, rgba(10, 14, 39, 0.5) 0%, rgba(10, 14, 39, 0.8) 100%);
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }

    section h2 {
        font-size: 1.3rem;
    }

    ul li {
        padding: 0.8rem 1rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .banner-wrapper {
        margin-top: 1.5rem;
    }
}

/* ===== FOOTER STYLES - Italian Anime Streaming ===== */
footer {
    background: linear-gradient(180deg, var(--card-bg) 0%, #0d1230 100%);
    border-radius: 20px 20px 0 0;
    padding: 3rem 2.5rem 2rem;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 -8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        #009246 0%,
        #ffffff 50%,
        #CE2B37 100%);
    animation: italianFlagGlow 3s ease-in-out infinite;
}

@keyframes italianFlagGlow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 146, 70, 0.5), 0 0 10px rgba(206, 43, 55, 0.5);
        opacity: 0.8;
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 146, 70, 0.8), 0 0 20px rgba(206, 43, 55, 0.8);
        opacity: 1;
    }
}

footer::after {
    content: '🇮🇹';
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 1.5rem;
    opacity: 0.6;
    animation: flagWave 2s ease-in-out infinite;
}

@keyframes flagWave {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

footer p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1.5rem;
    border-left: 2px solid rgba(0, 146, 70, 0.3);
    transition: all 0.3s ease;
}

footer p:hover {
    border-left-color: var(--primary-color);
    padding-left: 2rem;
    color: var(--text-primary);
}

footer p:last-child {
    margin-bottom: 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

footer p::before {
    content: '✦';
    position: absolute;
    left: -0.5rem;
    top: 0;
    color: var(--primary-color);
    font-size: 0.8rem;
    opacity: 0;
    transition: all 0.3s ease;
}

footer p:hover::before {
    opacity: 1;
    left: 0.3rem;
}

/* Footer Decorative Elements */
footer .footer-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background:
        radial-gradient(ellipse at 20% 100%, rgba(0, 146, 70, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(206, 43, 55, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

/* Sakura Petals Animation for Footer */
footer .sakura-petal {
    position: absolute;
    width: 10px;
    height: 10px;
    background: radial-gradient(ellipse, #ffb7c5 0%, #ff69b4 100%);
    border-radius: 50% 0 50% 50%;
    opacity: 0.6;
    animation: sakuraFall 8s linear infinite;
    pointer-events: none;
}

@keyframes sakuraFall {
    0% {
        transform: translateY(-20px) rotate(0deg) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(150px) rotate(360deg) translateX(50px);
        opacity: 0;
    }
}

/* Footer Links Style */
footer a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 15px rgba(247, 183, 49, 0.6);
}

footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
}

footer a:hover::after {
    width: 100%;
}

/* Footer Copyright/Brand Section */
footer .footer-brand {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

footer .footer-brand span {
    font-family: 'Inter Tight', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ITA/SUB Badge in Footer */
footer .lang-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

footer .lang-badge {
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

footer .lang-badge.vf {
    background: linear-gradient(135deg, #009246 0%, #27ae60 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 146, 70, 0.4);
}

footer .lang-badge.vostfr {
    background: linear-gradient(135deg, #CE2B37 0%, #e74c3c 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(206, 43, 55, 0.4);
}

footer .lang-badge:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 146, 70, 0.5);
}

/* Responsive Footer */
@media (max-width: 768px) {
    footer {
        padding: 2rem 1.5rem 1.5rem;
        border-radius: 16px 16px 0 0;
    }

    footer::after {
        font-size: 1.2rem;
        right: 1rem;
        top: 1rem;
    }

    footer p {
        font-size: 0.95rem;
        padding-left: 1rem;
    }

    footer .lang-badges {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    footer {
        padding: 1.5rem 1rem 1rem;
    }

    footer p {
        font-size: 0.9rem;
    }

    footer .lang-badge {
        padding: 0.4rem 1rem;
        font-size: 0.75rem;
    }
}