body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') no-repeat center center fixed;
    background-size: cover;
    color: white;
    text-align: center;
    /* height: 100vh; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

h2 {
    font-size: 3.0rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 1.5rem;
    border-radius: 5px;
    min-width: 100px;
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.countdown-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.description {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    line-height: 1.6;
}

.email-form {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.email-input {
    padding: 15px 20px;
    border: none;
    border-radius: 4px;
    width: 300px;
    font-size: 1rem;
}

.submit-btn {
    padding: 15px 25px;
    background: #1542f9;
    color: white;
    border: none;
    border-radius: 4px;
    width: 338px;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: bold;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #1e90ff;
}

.footer {
    margin-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

hr {
    width: 50%;
    margin: 2rem auto;
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
}

/* Responsive Typography & Spacing */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .countdown {
        gap: 1rem;
    }

    .countdown-item {
        min-width: 80px;
        padding: 1rem;
    }

    .countdown-number {
        font-size: 2rem;
    }

    .countdown-label {
        font-size: 0.9rem;
    }

    .description {
        font-size: 1rem;
        padding: 0 10px;
    }

    .email-form {
        flex-direction: column;
        align-items: center;
    }

    .email-input {
        width: 90%;
        border-radius: 5px;
        margin-bottom: 10px;
    }

    .submit-btn {
        width: 90%;
        border-radius: 5px;
    }

    hr {
        width: 80%;
    }
}

/* Even smaller devices (phones under 400px) */
@media (max-width: 400px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .countdown-item {
        min-width: 70px;
        padding: 0.75rem;
    }

    .countdown-number {
        font-size: 1.6rem;
    }

    .countdown-label {
        font-size: 0.8rem;
    }

    .submit-btn,
    .email-input {
        font-size: 0.9rem;
        padding: 12px 18px;
    }
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.social-icons a img {
  width: 30px;
  height: 30px;
  filter: invert(1); /* Makes icons white if background is dark */
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icons a:hover img {
  transform: scale(1.2);
  opacity: 0.8;
}

/* Popup backdrop */
#popupModal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  animation: fadeIn 0.3s ease;
}

/* Modal box */
.popup-content {
  position: relative;
  background: #fff;
  margin: 12% auto;
  padding: 40px 30px;
  max-width: 420px;
  border-radius: 16px;
  text-align: center;
  animation: slideIn 0.4s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Heading */
.popup-content h2 {
  color: #1e90ff;
  margin-bottom: 12px;
  font-size: 26px;
}

/* Message */
.popup-content p {
  font-size: 16px;
  color: #444;
  margin-bottom: 20px;
}

/* Button */
.popup-content button {
  background-color: #1e90ff;
  color: white;
  padding: 10px 25px;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.popup-content button:hover {
  background-color: #0077cc;
}

/* Emoji or icon */
.popup-emoji {
  font-size: 42px;
  margin-bottom: 10px;
  animation: pop 0.5s ease-out;
}

/* Animations */
@keyframes slideIn {
  0% {
    transform: translateY(40px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pop {
  0% { transform: scale(0.8); }
  100% { transform: scale(1); }
}
