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

:root {
    --primary-color: #FFD700;
    --secondary-color: #0066CC;
    --text-light: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-color: rgba(0, 0, 0, 0.3);
}

body {
    font-family:"DM Sans", sans-serif;

    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    overflow-x: hidden;
    background-image: url('../assets/background-cadista-1.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}



@keyframes backgroundScroll {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(60px, 60px);
    }
}


.container {
    max-width: 900px;
    width: 90%;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.content {

    padding: 60px 40px;
    
    animation: fadeInUp 0.8s ease-out;
}

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

.logo-container {
    text-align: center;
    margin-bottom: 30px;
    animation: fadeIn 1s ease-out 0.2s both;
}

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

.logo {
    max-width: 280px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.main-title {
    font-size: 65px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
color:white;
    animation: fadeIn 1s ease-out 0.4s both;
    letter-spacing: -1px;
}

.subtitle {
    font-size: 40px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 50px;
    opacity: 0.95;
    animation: fadeIn 1s ease-out 0.6s both;
    letter-spacing: 0.5px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.countdown-item {
    background: var(--glass-bg);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 25px 30px;
    min-width: 140px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: fadeInScale 0.8s ease-out backwards;
    transition: all 0.3s ease;
}

.countdown-item:nth-child(1) {
    animation-delay: 0.7s;
}

.countdown-item:nth-child(2) {
    animation-delay: 0.8s;
}

.countdown-item:nth-child(3) {
    animation-delay: 0.9s;
}

.countdown-item:nth-child(4) {
    animation-delay: 1s;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.countdown-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.countdown-value {
    font-size: 90px;
    font-weight: 800;
   color:white;
    line-height: 1;
    margin-bottom: 10px;
}

.countdown-label {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    opacity: 0.9;
    text-transform: uppercase;
}

.social-section {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeIn 1s ease-out 1.1s both;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.social-text {
    font-size: 1rem;
    margin-bottom: 0px;
    opacity: 0.9;
    font-weight: 500;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--glass-border);
    
    color: var(--text-light);
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    background: var(--primary-color);
    color: #1e3c72;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.newsletter-section {
    animation: fadeIn 1s ease-out 1.2s both;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.email-input {
    flex: 1;
    min-width: 250px;
    padding: 5px 12px;
    font-size: 1rem;
    border: 2px solid var(--glass-border);
        background: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    
    transition: all 0.3s ease;
    outline: none;
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.email-input:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.submit-button {
    padding: 5px 12px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    background: var(--primary-color);
    color: black;
    border: none;
    
    cursor: pointer;
    transition: all 0.3s ease;
    
    text-transform: uppercase;
    
    white-space: nowrap;
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.5);
    background: linear-gradient(135deg, #FFA500 0%, var(--primary-color) 100%);
}

.submit-button:active {
    transform: translateY(-1px);
}

.form-message {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-message.show {
    opacity: 1;
}

.form-message.success {
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.4);
    color: #a5d6a7;
}

.form-message.error {
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid rgba(244, 67, 54, 0.4);
    color: #ef9a9a;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {

    background-position: -2337px center;

}
    .social-section{
        flex-direction: column;
    }
    .content {
        padding: 40px 25px;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .countdown {
        gap: 15px;
    }

    .countdown-item {
        min-width: calc(50% - 15px);
        padding: 20px 15px;
    }

    .countdown-value {
        font-size: 2.5rem;
    }

    .countdown-label {
        font-size: 0.75rem;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 12px;
    }

    .email-input {
        min-width: 100%;
    }

    .submit-button {
        width: 100%;
    }

    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .logo {
        max-width: 200px;
    }

    .countdown-item {
        min-width: 80px;
        padding: 15px 10px;
    }

    .countdown-value {
        font-size: 2rem;
    }
}
