:root {
    --color-bg: #050505;
    --color-surface: #111111;
    --color-text: #e0e0e0;
    --color-text-muted: #888888;
    --color-primary: #aa0000;
    --color-primary-glow: rgba(170, 0, 0, 0.4);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.7;
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: var(--color-text);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-primary);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 900;
}

h1 {
    font-size: 3.5rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: -1px;
}

h2 {
    font-size: 2.5rem;
    color: var(--color-primary);
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1.5rem;
}

strong {
    color: white;
    font-weight: 600;
}

blockquote {
    border-left: 4px solid var(--color-primary);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--color-text-muted);
    font-size: 1.2rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    z-index: 100;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-logo {
    height: 70px; /* Ingrandito come richiesto */
    width: auto;
    display: block;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav a {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.nav a:hover {
    text-shadow: 0 0 10px var(--color-primary-glow);
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.lang-btn {
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn:hover {
    color: white;
}

.lang-btn.active {
    color: var(--color-primary);
}

.lang-divider {
    opacity: 0.3;
}

/* Layout */
#app {
    min-height: 100vh;
}

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

/* Hero Section */
.hero {
    width: 100%;
    aspect-ratio: 1 / 1; /* Forza il contenitore a essere perfettamente quadrato, esattamente come l'immagine originale */
    min-height: 85vh; /* Ridotto leggermente per far "fare capolino" agli articoli sotto */
    display: flex;
    align-items: flex-start; /* Sposta il contenuto in alto... */
    padding-top: 25vh; /* Alzato leggermente per fare spazio */
    justify-content: flex-start;
    position: relative;
    padding-left: 5%;
    padding-right: 5%;
    background-image: 
        linear-gradient(to bottom, transparent 75%, var(--color-bg) 100%), /* Sfumatura adattata */
        linear-gradient(to right, rgba(5,5,5,0.95) 0%, rgba(5,5,5,0.4) 50%, transparent 100%), 
        url('assets/images/hero.png');
    background-size: cover;
    background-position: center top; 
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: left;
    max-width: 600px;
    animation: fadeInUp 1.5s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero h1 {
    font-size: 4rem;
    color: var(--color-primary); /* Rosso scuro come richiesto */
    text-shadow: 0 5px 20px rgba(0,0,0,0.9); /* Ombra più marcata per staccare dallo sfondo */
    margin-bottom: 0.5rem;
    letter-spacing: 2px; /* Spaziatura maggiore per renderlo più elegante */
}

.hero .subtitle {
    font-size: 1.15rem;
    color: var(--color-primary); /* Rosso scuro come richiesto */
    font-weight: 500; /* Leggermente più spesso per compensare il rosso scuro */
    line-height: 1.6;
    letter-spacing: 1.5px;
    /* text-transform: uppercase rimosso */
    text-shadow: 0 2px 10px rgba(0,0,0,0.9);
}

/* Newsletter CTA */
.cta-newsletter {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 2s ease forwards;
    opacity: 0;
}

.cta-text {
    font-size: 0.95rem;
    color: #e0e0e0;
    margin-bottom: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.8);
}

.cta-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
}

.cta-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(0,0,0,0.6);
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 4px;
    outline: none;
    transition: var(--transition);
}

.cta-form input:focus {
    border-color: var(--color-primary);
    background: rgba(0,0,0,0.8);
    box-shadow: 0 0 10px rgba(170, 0, 0, 0.3);
}

.cta-form button {
    padding: 12px 25px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 1px;
}

.cta-form button:hover {
    background: #cc0000;
    box-shadow: 0 0 15px rgba(170, 0, 0, 0.5);
    transform: translateY(-2px);
}


/* Content Area */
.content-section {
    padding: 4rem 0;
    animation: fadeIn 1s ease forwards;
}

.manifesto-intro {
    font-size: 1.4rem;
    line-height: 1.6;
    color: white;
    margin-bottom: 3rem;
}

/* Article List */
.posts-grid {
    display: grid;
    gap: 2rem;
    margin-top: 4rem;
}

.post-card {
    background: var(--color-surface);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.02);
    transition: var(--transition);
    cursor: pointer;
}

.post-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.post-date {
    font-size: 0.9rem;
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
}

.post-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.post-excerpt {
    color: var(--color-text-muted);
    font-size: 1rem;
}

/* Single Post View */
.single-post-header {
    padding: 8rem 0 3rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 3rem;
    text-align: center;
}

.single-post-header h1 {
    font-size: 3rem;
    color: var(--color-primary);
}

.single-post-content {
    font-size: 1.15rem;
}

.single-post-content h2 {
    margin-top: 3rem;
}

.single-post-content ul, .single-post-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.single-post-content li {
    margin-bottom: 0.5rem;
}

.back-btn {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.back-btn:hover {
    color: white;
}

.back-btn::before {
    content: '← ';
}

/* Disclaimer */
.disclaimer-box {
    margin-top: 5rem;
    padding: 2rem;
    border: 1px solid rgba(170, 0, 0, 0.3);
    background: rgba(170, 0, 0, 0.05);
    border-radius: 8px;
}

.disclaimer-box h3 {
    color: var(--color-primary);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.disclaimer-box p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.disclaimer-box p:last-child {
    margin-bottom: 0;
}

/* Footer */
.footer {
    text-align: center;
    padding: 3rem 20px;
    margin-top: 5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.disclaimer-link {
    margin-top: 1rem;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .hero h1 { font-size: 3rem; }
    h2 { font-size: 2rem; }
    .single-post-header h1 { font-size: 2.2rem; }
}
