:root {
  --bg-start: #0a1633;
  --bg-end: #121d42;
  --card: rgba(8, 15, 38, 0.94);
  --accent: #4d8cff;
  --accent-2: #7c57ff;
  --text: #f7f8ff;
  --muted: #c0c7eb;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-image: url('images/background.jpg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color: #000000; /* Fallback color */
  color: var(--text);
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
}

.page-wrap {
  width: min(100%, 980px);
}

.content-card {
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  padding: 48px;
  text-align: center;
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translateX(-50%);
}

h1 {
  font-size: clamp(2.75rem, 5vw, 4rem);
  margin: 0;
  line-height: 0.95;
}

p {
  margin: 24px 0 32px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 720px;
}

.subscribe-form label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--text);
}

.input-group {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

input[type="email"] {
  width: 100%;
  min-height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  padding: 0 18px;
  font-size: 1rem;
}

input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

button {
  border: none;
  border-radius: 16px;
  min-width: 142px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 32px rgba(77, 140, 255, 0.28);
}

.footer-note {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 720px) {
  .content-card {
    padding: 32px 24px;
    top: 70%;
  }
}

@media (max-width: 520px) {
  .content-card {
    top: 75%;
  }
  .input-group {
    grid-template-columns: 1fr;
  }
}
