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

html, body {
  width: 100%;
  height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  font-family: Cormorant Garamond;
  position: relative;
  background-color: #000;
  background-image: url('assets/bg.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: 0;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  position: absolute;
  width: 100%;
  color: white;
  z-index: 20;
}

.navbar .nav-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.navbar .nav-left a {
  color: white;
  border: 1px solid white;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.navbar .nav-left a:hover {
  color: #00ffe1;
  scale: 1.05;
}

.nav-social {
  display: flex;
  gap: 15px;
  align-items: center;
}

.social-icon {
  color: #fff;
  font-size: 1.2rem;
  padding: 0.4rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.15);
}

.social-icon:active {
  transform: scale(0.95);
}

.hamburger {
  display: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
  z-index: 30;
  align-self: center;
  transition: transform 0.3s ease;
}

.mobile-nav {
  display: none;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.mobile-nav.show {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(0, 0, 0, 0.95);
  padding: 1rem 0;
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  z-index: 25;
}

.mobile-nav a {
  color: white;
  text-decoration: none;
  border: 1px solid white;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
  margin: 0.5rem 0;
  font-size: 1rem;
}

.content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 30px 20px;
  gap: 40px;
  text-align: center;
  flex-wrap: nowrap;
  flex-direction: row;
}

.left-section {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  max-width: 380px;
  width: 100%;
  height: auto;
}

.divider {
  width: 2px;
  height: 300px;
  background-color: #ffffff80;
}

.right-section {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.right-section p {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 500px;
  font-weight: 400;
  color: white;
}

.countdown-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
  z-index: 5;
  position: relative;
  padding: 20px;
}

.countdown-circle {
  width: 100px;
  height: 140px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  color: white;
  position: relative;
}

.countdown-circle svg {
  width: 80px;
  height: 100px;
  transform: rotate(-90deg);
}

.countdown-circle .bg {
  fill: none;
  stroke: #444;
  stroke-width: 10;
}

.countdown-circle .progress {
  fill: none;
  stroke: white;
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  transition: stroke-dashoffset 0.5s ease;
}

.count-value {
  font-size: 24px;
  font-weight: bold;
  position: absolute;
  top: 35px;
  width: 100%;
  text-align: center;
}

.count-label {
  margin-top: 10px;
  font-size: 0.8rem;
  opacity: 0.8;
}

.subscribe-button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
  padding-bottom: 30px;
  width: 100%;
  position: relative;
  z-index: 5;
}

.subscribe-button-container button {
  padding: 12px 24px;
  background: #ffffff;
  border: none;
  color: #000;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: cormorant garamond;
}

.subscribe-button-container button:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.subscribe-card {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: white;
  color: black;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  z-index: 30;
  width: 90%;
  max-width: 420px;
  transition: transform 0.3s ease;
  padding: 30px;
}

.subscribe-card.active {
  transform: translate(-50%, -50%) scale(1);
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #888;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #000;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.subscribe-form input,
.subscribe-form textarea {
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  background-color: #f9f9f9;
}

.subscribe-form input:focus,
.subscribe-form textarea:focus {
  outline: none;
  border-color: #00ffe1;
  box-shadow: 0 0 5px rgba(0, 255, 225, 0.5);
}

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

.subscribe-form .checkbox {
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #333;
}

.subscribe-form button {
  background-color: #00ffe1;
  color: black;
  font-weight: bolder;
  padding: 12px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
  font-family: Cormorant Garamond;
}

.subscribe-form button:hover {
  background-color: #00ccbb;
}

footer {
  position: relative;
  margin-top: 40px;
  width: 100%;
  text-align: center;
  color: #00ffe1;
  font-size: 1.1rem;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .navbar {
    flex-direction: row;
  }

  .hamburger {
    display: block;
  }

  .nav-left {
    display: none !important;
  }

  .content {
    flex-direction: column;
    align-items: center;
    padding: 120px 20px 10px;
  }

  .logo {
    max-width: 290px;
    margin: 50px 0 30px;
  }

  .divider {
    width: 90%;
    height: 2px;
    background-color: #ffffff60;
    margin: 40px auto;
  }

  .right-section p {
    font-size: 1rem;
    margin: 20px auto;
    max-width: 90%;
  }

  .countdown-wrapper {
    display: grid;
    grid-template-areas: 
      "top-left . top-right"
      ". center ."
      "bottom-left . bottom-right";
    grid-template-columns: 1fr 20px 1fr;
    grid-template-rows: auto 20px auto;
    justify-items: center;
    align-items: center;
    gap: 10px;
    margin: 50px auto;
    max-width: 90%;
  }

  .countdown-circle:nth-child(1) { grid-area: top-left; }
  .countdown-circle:nth-child(2) { grid-area: top-right; }
  .countdown-circle:nth-child(3) { grid-area: bottom-left; }
  .countdown-circle:nth-child(4) { grid-area: bottom-right; }

  .countdown-wrapper::before,
  .countdown-wrapper::after {
    content: '';
    background: white;
    position: absolute;
  }

  .countdown-wrapper::before {
    width: 2px;
    height: 320px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
  }

  .countdown-wrapper::after {
    height: 2px;
    width: 320px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
  }

  .subscribe-button-container {
    margin: 60px auto 30px;
  }

  .nav-social {
    margin-top: 20px;
    justify-content: center;
  }
}
@media (min-width: 769px) {
  .content {
    padding-top: 120px; /* increased from 80px */
    padding-bottom: 20px;
  }

  .right-section p {
    font-size: 1.05rem;
    max-width: 480px;
  }

  .countdown-wrapper {
    margin-top: 20px;
    gap: 25px;
  }

  .subscribe-button-container {
    margin-top: 20px;
    padding-bottom: 20px;
  }

  html, body {
    height: 100vh;
    overflow-y: hidden;
  }
}
