/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cinzel', serif;
    background: #0a0a0a;
    color: #e0e0e0;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Background com textura grunge */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        url('./img/grunge-texture.webp'),
        radial-gradient(circle at 20% 80%, rgba(58, 0, 0, 0.144) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(80, 0, 0, 0.103) 0%, transparent 50%),
        linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #6401011a 100%);
    background-size: 400px 400px, 100% 100%, 100% 100%, 100% 100%;
    background-blend-mode: multiply, normal, normal, normal;
    opacity: 0.8;
    z-index: -2;
}

/* Overlay de textura */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(img/grunge-texture.webp);
        /*url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><defs><filter id="noise"><feTurbulence baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0"/></filter></defs><rect width="100%" height="100%" filter="url(%23noise)" opacity="0.1"/></svg>');*/
    opacity: 0.3;
    z-index: -1;
    pointer-events: stroke;
}

/* Efeito de fumaça */
.smoke-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.smoke {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(36, 36, 36, 0.541) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.smoke1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.smoke2 {
    top: 60%;
    right: 15%;
    animation-delay: -7s;
}

.smoke3 {
    bottom: 20%;
    left: 70%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) translateX(0px) scale(1); opacity: 0.1; }
    25% { transform: translateY(-20px) translateX(10px) scale(1.1); opacity: 0.2; }
    50% { transform: translateY(-10px) translateX(-15px) scale(0.9); opacity: 0.15; }
    75% { transform: translateY(-30px) translateX(5px) scale(1.05); opacity: 0.1; }
}

/* Header */
.header {
    text-align: center;
    padding: 60px 20px 40px;
    position: relative;
    z-index: 10;
}

.logo-container {
    position: relative;
    display: inline-block;
}
.logo-container img {
    width: 400px;
    height: auto;
    
}
.logo {
    font-family: 'Metal Mania', cursive;
    font-size: clamp(4rem, 8vw, 8rem);
    font-weight: 700;
    color: #ff888818;
    text-shadow: 
        0 0 1px #f3000011,
        0 0 2px #ff000023,
        0 0 3px #ff000018,
        2px 2px 0px #000,
        4px 4px 0px #333;
    letter-spacing: 8px;
    position: relative;
    z-index: 2;
    animation: logoGlow 3s ease-in-out infinite alternate;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 68, 68, 0.062) 0%, transparent 70%);
    z-index: 1;
    animation: pulseGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    0% { text-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000, 0 0 30px #ff0000, 2px 2px 0px #000, 4px 4px 0px #333; }
    100% { text-shadow: 0 0 15px #ff0000, 0 0 25px #ff0000, 0 0 35px #ff0000, 2px 2px 0px #000, 4px 4px 0px #333; }
}

@keyframes pulseGlow {
    0% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes glowFadeIn {
    0% {
        opacity: 0;
        text-shadow: none;
    }
    100% {
        opacity: 1;
        text-shadow: 0 0 12px #ff0000, 2px 2px 6px rgba(0, 0, 0, 0.9);
    }
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 10;
}

/* Manifesto Section */
.manifesto-section {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

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

.manifesto-text{
    font-family: 'Cinzel', serif;
    font-size: clamp(1.4rem, 2.6vw, 2.2rem);
    font-weight: 600;
    line-height: 1.3;
    color: #e0e0e0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 20px;
}

.manifesto-highlight {
    font-size: clamp( 2rem, 5vw, 3.6rem);
    color: #ff6666;
    font-style: italic;
    text-shadow: 
        0 0 10px #ff0000,
        2px 2px 4px rgba(0, 0, 0, 0.8);
    margin-bottom: 20px;
    animation: glowFadeIn 1.5s ease-in-out 2s backwards;
}

.manifesto-underline {
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #ff4444 50%, transparent 100%);
    margin: 0 auto;
    box-shadow: 0 0 10px #ff0000;
    animation: glowFadeIn 1.5s ease-in-out 2s backwards;
}

/* Form Section */
.form-section {
    padding: 20px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.parchment-container {
    position: relative;
    max-width: 600px;
    width: 100%;
}

.parchment-background {
    background:
        linear-gradient(45deg, #8B4513 0%, #D2B48C 20%, #F5DEB3 40%, #D2B48C 60%, #8B4513 100%);
    border-radius: 15px;
    padding: 3px;
    position: relative;

    box-shadow: 
        0 0 30px rgba(139, 69, 19, 0.5),
        inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.parchment-background::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: 
        radial-gradient(circle at 10% 10%, rgba(139, 69, 19, 0.8) 0%, transparent 20%),
        radial-gradient(circle at 90% 10%, rgba(139, 69, 19, 0.6) 0%, transparent 25%),
        radial-gradient(circle at 10% 90%, rgba(139, 69, 19, 0.7) 0%, transparent 20%),
        radial-gradient(circle at 90% 90%, rgba(139, 69, 19, 0.5) 0%, transparent 25%);
    border-radius: 20px;
    z-index: -1;
}

.form-container {
    background: 
        linear-gradient(135deg, #f5deb333 0%, #deb88763 50%, #D2B48C 100%);
    background-size: 100% 100%, 60% 100%, cover;
    background-blend-mode: multiply, normal;
    background-repeat: repeat;
    border-radius: 12px;
    padding: 50px 40px;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><defs><filter id="paper"><feTurbulence baseFrequency="0.04" numOctaves="3" stitchTiles="stitch"/><feColorMatrix values="0 0 0 0 0.8 0 0 0 0 0.7 0 0 0 0 0.5 0 0 0 1 0"/></filter></defs><rect width="100%" height="100%" filter="url(%23paper)" opacity="0.3"/></svg>');
    border-radius: 12px;
    pointer-events: none;
}

.form-step {
    display: none;
    text-align: center;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

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

.form-title {
    font-family: 'Uncial Antiqua', cursive;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #4a2c2a;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 15px 20px;
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    background: rgba(245, 222, 179, 0.8);
    border: 2px solid #8B4513;
    border-radius: 8px;
    color: #4a2c2a;
    margin-bottom: 25px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #ff4444;
    box-shadow: 
        inset 0 2px 5px rgba(0, 0, 0, 0.2),
        0 0 10px rgba(255, 68, 68, 0.3);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #8B4513;
    opacity: 0.7;
}

.form-next-btn {
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    color: #F5DEB3;
    border: none;
    padding: 12px 30px;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.form-next-btn:hover {
    background: linear-gradient(135deg, #A0522D 0%, #8B4513 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.thank-you-message {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    color: #4a2c2a;
    line-height: 1.6;
    margin-bottom: 30px;
    font-style: italic;
}

/* Botão do Pacto */
.pact-button {
    background: linear-gradient(135deg, #660000 0%, #990000 50%, #cc0000 100%);
    border: 3px solid #ff4444;
    color: #ffffff;
    padding: 20px 40px;
    font-family: 'Metal Mania', cursive;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 
        0 0 20px rgba(255, 68, 68, 0.5),
        0 8px 16px rgba(0, 0, 0, 0.4);
    animation: buttonPulse 2s ease-in-out infinite alternate;
}

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

.button-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    transition: all 0.3s ease;
}

.pact-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 0 30px rgba(255, 68, 68, 0.8),
        0 12px 24px rgba(0, 0, 0, 0.5);
    border-color: #ff6666;
}

.pact-button:hover .button-glow {
    width: 100%;
    height: 100%;
}

.pact-button:active {
    transform: translateY(-1px) scale(1.02);
}

@keyframes buttonPulse {
    0% { 
        box-shadow: 
            0 0 20px rgba(255, 68, 68, 0.5),
            0 8px 16px rgba(0, 0, 0, 0.4);
    }
    100% { 
        box-shadow: 
            0 0 30px rgba(255, 68, 68, 0.7),
            0 8px 16px rgba(0, 0, 0, 0.4);
    }
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 20px;
    margin-top: 80px;
    background: rgba(0, 0, 0, 0.8);
    border-top: 1px solid #333;
    position: relative;
    z-index: 10;
}

.footer p {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    color: #888;
    letter-spacing: 1px;
}
.footer p a{
    color: #888;
    text-decoration: none;
}


/* Responsividade */
@media (min-width: 491px) and (max-width: 768px) {
    .header {
        padding: 40px 20px 30px;
    }
    
    .logo {
        font-size: clamp(3rem, 10vw, 6rem);
        letter-spacing: 4px;
    }
    .logo-container img{
        width: 200px;
        height: auto;
    }
    
    .manifesto-section {
        padding: 10px 20px;
    }
    
    .manifesto-text {
        font-size: clamp(1.2rem, 4vw, 2rem);
    }
    
    .form-section {
        padding: 60px 15px;
    }
    
    .form-container {
        padding: 40px 25px;
    }
    
    .form-title {
        font-size: clamp(1.2rem, 4vw, 1.8rem);
    }
    
    .pact-button {
        padding: 18px 35px;
        font-size: 1.1rem;
    }
}

@media (min-width: 290px) and (max-width: 490px) {
    .logo {
        letter-spacing: 2px;
    }
    
    .logo-container img{
        width: 200px;
        height: auto;
    }

    .manifesto-text{
        font-size: 1rem;
    }
    .manifesto-highlight{
        font-size: 1.6rem;
    }

    .form-container {
        padding: 30px 20px;
    }
    
    .pact-button {
        padding: 16px 30px;
        font-size: 1rem;
        letter-spacing: 1px;
    }
}
@media (max-width: 289px){
    .logo-container img{
        width: 100px;
        height: auto;
    }
}

