:root {
  --primary-color: #00d2ff;
  --secondary-color: #3a7bd5;
  --accent-color: #9d50bb;
  --text-color: #ffffff;
  --text-muted: #e0e0e0;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --font-main: "Outfit", sans-serif;
}

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

body {
    font-family: var(--font-main);
    background: #0f0c29; /* Fallback */
    background: url('background.png') no-repeat center center/cover;
    background-attachment: fixed;
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px;
}

/* Dark overlay to ensure text readability over the background image */
.background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 12, 41, 0.7);
  z-index: 1;
}

.container {
  position: relative;
  z-index: 2;
  padding: 2rem;
  width: 100%;
  max-width: 800px;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  animation: fadeIn 1.5s ease-out;
}

.logo-area {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 2px;
  background: linear-gradient(
    to right,
    var(--primary-color),
    var(--accent-color)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.logo-area i {
  color: var(--primary-color); /* Icon fallback color */
  margin-right: 0.5rem;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  line-height: 1.1;
  font-weight: 700;
}

.subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-weight: 300;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Timer Styles */
.timer {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.time-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 12px;
  min-width: 90px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease;
}

.time-box:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}

.time-box span {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(to bottom, #fff, #bbb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.time-box p {
  font-size: 0.8rem;
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

/* Form Styles */
.newsletter p {
  margin-bottom: 1rem;
  font-weight: 300;
}

.notify-form {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.notify-form input {
  padding: 12px 20px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-family: var(--font-main);
  width: 300px;
  outline: none;
  transition: all 0.3s ease;
}

.notify-form input:focus {
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.1);
}

.notify-form button {
  padding: 12px 30px;
  border-radius: 50px;
  border: none;
  background: linear-gradient(
    45deg,
    var(--secondary-color),
    var(--accent-color)
  );
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-main);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.notify-form button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(157, 80, 187, 0.4);
}

/* Social Links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-icon:hover {
  background: #fff;
  color: #0f0c29;
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .timer {
    gap: 0.8rem;
  }

  .time-box {
    min-width: 70px;
    padding: 0.8rem;
  }

  .time-box span {
    font-size: 1.8rem;
  }

  .notify-form input {
    width: 100%;
  }

  .glass-card {
    padding: 2rem 1.5rem;
  }
}

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