* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}
html, body {
    min-height: 100%;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(to right, #4a0f0f, #8b1e1e);
    color: white;
    text-align: center;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.container {
    max-width: 800px;
    animation: fadeInContainer 1.5s ease-in-out forwards;
    opacity: 0;
    position: relative;
}

.logo {
    margin-bottom: 2rem;
    animation: zoomIn 1s ease-out forwards;
    opacity: 0;
}

.logo img {
    height: 100px;
    border-radius: 50%;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeSlideIn 1.2s ease-in-out 0.3s forwards;
    opacity: 0;
}

p {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.6;
    animation: fadeSlideIn 1.2s ease-in-out 0.6s forwards;
    opacity: 0;
}

.countdown {
    font-size: 1.1rem;
    margin-top: 1rem;
    animation: fadeUp 1s ease-in-out 1s forwards;
    opacity: 0;
}

form {
    margin-top: 2rem;
    animation: fadeUp 1s ease-in-out 1.3s forwards;
    opacity: 0;
}

input[type="email"] {
    padding: 0.6rem;
    border: none;
    border-radius: 5px;
    width: 250px;
    max-width: 100%;
}

button[type="submit"] {
    background: #FFFFFF;
    color: #4a0f0f;
    border: none;
    padding: 0.6rem 1rem;
    margin-left: 0.5rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
}

.popup {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    background: #000000;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    font-weight: 500;
    display: none;
    z-index: 1000;
    animation: slideDown 0.4s ease forwards;
}

footer {
    background-color: #fff;
    color: #4a0f0f;
    margin-top: 7rem;
    padding: 2rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    text-align: center;
}

.footer-left,
.footer-right {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 50%;
}

.footer-left {
    flex-direction: column;
    text-align: center;
}

.footer-left img {
    height: 60px;
    border-radius: 50%;
    margin-bottom: 0.5rem;
}

.footer-left p {
    font-size: 0.95rem;
    margin: 0;
    max-width: 300px;
}

.footer-right {
    gap: 1.5rem;
    flex-direction: row;
    flex-wrap: wrap;
}

.footer-right a {
    color: #4a0f0f;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

.footer-right a:hover {
    text-decoration: underline;
}

@media (max-width: 500px) {
footer {
    flex-direction: column;
    align-items: center;
}

.footer-left,
.footer-right {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: unset;
}

.footer-right {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
  }
}

@keyframes fadeInContainer {
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes fadeSlideIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    0% { opacity: 0; transform: translate(-50%, -20px); }
    100% { opacity: 1; transform: translate(-50%, 0); }
}

@media (max-width: 600px) {
    h1 { font-size: 2rem; }
    p { font-size: 1rem; }
}