:root {
    --primary-color: #ff3333;
    --secondary-color: #ff8c00;
    --dark-bg: #0a0a0a;
    --text-light: #f5f5f5;
    --glass-bg: rgba(20, 20, 20, 0.6);
    --glass-border: rgba(255, 51, 51, 0.3);
}

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

body {
    background-color: var(--dark-bg);
    color: var(--text-light);
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Background Media */
.media-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.2) saturate(1.5) brightness(0.7);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.3) 0%, rgba(10, 10, 10, 0.9) 100%);
}

/* Audio Control */
.glass-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 15px;
    border-radius: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 100;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.glass-btn:hover {
    background: rgba(255, 51, 51, 0.3);
    border-color: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
    opacity: 1;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.subtitle {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 5px;
    color: var(--secondary-color);
    text-transform: uppercase;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(255, 140, 0, 0.5);
}

.title {
    font-family: 'Anton', sans-serif;
    font-size: clamp(4rem, 10vw, 10rem);
    line-height: 1;
    margin-bottom: 30px;
    text-transform: uppercase;
    color: white;
    text-shadow: 0 0 20px rgba(255, 51, 51, 0.8);
    position: relative;
}

/* Glitch Effect */
.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 red;
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim 3s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 blue;
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(10px, 9999px, 83px, 0); }
    20% { clip: rect(61px, 9999px, 15px, 0); }
    40% { clip: rect(98px, 9999px, 32px, 0); }
    60% { clip: rect(12px, 9999px, 95px, 0); }
    80% { clip: rect(34px, 9999px, 54px, 0); }
    100% { clip: rect(76px, 9999px, 21px, 0); }
}

/* Countdown */
.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    background: rgba(0, 0, 0, 0.6);
    padding: 20px 40px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.time-value {
    font-family: 'Anton', sans-serif;
    font-size: 4rem;
    color: var(--primary-color);
    line-height: 1;
    text-shadow: 0 0 15px rgba(255, 51, 51, 0.6);
}

.time-label {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #aaa;
    margin-top: 5px;
}

.colon {
    font-family: 'Anton', sans-serif;
    font-size: 3rem;
    color: white;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-description {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: bounce 2s infinite;
    opacity: 0.7;
}

.scroll-indicator span {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-7px); }
}

/* Content Section */
.content-section {
    position: relative;
    z-index: 10;
    background: var(--dark-bg);
    padding: 100px 20px;
    min-height: 100vh;
}

.manifesto {
    max-width: 1000px;
    margin: 0 auto;
}

.massive-text {
    font-family: 'Anton', sans-serif;
    font-size: clamp(3rem, 8vw, 7rem);
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 80px;
    color: #333;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: all 0.8s ease;
}

.massive-text.visible {
    color: white;
    -webkit-text-stroke: 0;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.cause-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 40px;
    margin-bottom: 60px;
    border-radius: 2px;
    border-left: 5px solid var(--primary-color);
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.1, 0.9, 0.2, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    gap: 40px;
    align-items: center;
}

.cause-card.visible {
    transform: translateY(0);
    opacity: 1;
}

.cause-content {
    flex: 1;
}

.cause-card h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cause-card p {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #ddd;
    font-weight: 300;
    margin-bottom: 20px;
}

.revendication {
    background: rgba(255, 51, 51, 0.15);
    border: 1px solid rgba(255, 51, 51, 0.4);
    padding: 15px 20px;
    border-radius: 4px;
    font-size: 1.1rem;
    color: #fff;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
}

.revendication strong {
    color: var(--primary-color);
    text-shadow: 0 0 5px rgba(255, 51, 51, 0.5);
}

.cause-image {
    flex: 0 0 40%;
    max-width: 400px;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.cause-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(30%) contrast(1.2);
    transition: all 0.5s ease;
}

.cause-card:hover .cause-image img {
    filter: grayscale(0%) contrast(1.1);
    transform: scale(1.05);
}

.red-text.visible {
    color: var(--primary-color);
    text-shadow: 0 0 40px rgba(255, 51, 51, 0.8);
}

/* Animations */
.fade-in {
    animation: fadeIn 1.5s ease-out forwards;
}

.fade-in-up {
    animation: fadeInUp 1.5s ease-out 0.5s forwards;
    opacity: 0;
}

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

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

@media (max-width: 768px) {
    .time-value { font-size: 2.5rem; }
    .colon { font-size: 2rem; }
    .time-box { min-width: 60px; }
    .cause-card { padding: 30px; }
    .cause-card h3 { font-size: 2rem; }
}
