:root {
  --bg: #0b1220;
  --bg-dark: #020617;
  --card: #111827;
  --text: #f9fafb;
  --muted: #cbd5e1;
  --subtle: #94a3b8;
  --accent: #2563eb;
  --accent-light: #60a5fa;
  --border: #1f2937;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-dark);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url("/assets/dark_theme.png") no-repeat center center / cover;
}

a {
  color: var(--accent-light);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: rgba(11, 18, 32, 0.88);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

nav h1 {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: var(--text);
}

nav ul {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav a {
  color: var(--muted);
  font-weight: 500;
}

nav a:hover {
  color: var(--text);
  text-decoration: none;
}

.hamburger {
  display: none;
  border: 0;
  padding: 0;
  color: var(--text);
  background: transparent;
  font: inherit;
  font-size: 1.6rem;
  cursor: pointer;
}

header {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
}

.hero-content {
  max-width: 860px;
  background: rgba(17, 24, 39, 0.72);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 42px 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

header h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  animation: fadeIn 1.4s ease-in;
}

header p {
  max-width: 680px;
  margin: 1.2rem auto 0;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  color: var(--muted);
  animation: slideIn 1.4s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 20px;
}

section h2 {
  margin: 0 0 2rem;
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--text);
}

.features {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  text-align: center;
  margin: 2rem 0;
}

.features div {
  flex: 1;
  background: rgba(17, 24, 39, 0.92);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
  animation: popUp 0.9s ease-out;
}

@keyframes popUp {
  from {
    transform: scale(0.96);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.features img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  margin-bottom: 1rem;
  filter: invert(1) drop-shadow(0 12px 20px rgba(0, 0, 0, 0.28));
}

.features h3 {
  margin: 0 0 0.6rem;
  font-size: 1.2rem;
  color: var(--accent-light);
}

.features p {
  margin: 0;
  color: var(--muted);
}

.info-section {
  max-width: 860px;
  text-align: center;
  padding-top: 24px;
}

.info-card {
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.35);
  border-radius: 18px;
  padding: 28px;
}

.info-card h2 {
  margin-bottom: 1rem;
}

.info-card p {
  margin: 0;
  color: var(--muted);
}

main {
  max-width: 860px;
  margin: 0 auto;
  padding: 110px 20px 40px;
}

.card {
  background: rgba(17, 24, 39, 0.92);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.card h1 {
  margin-top: 0;
  font-size: 2.2rem;
  line-height: 1.2;
}

.card h2 {
  margin-top: 2rem;
  font-size: 1.25rem;
  border-top: 1px solid var(--border);
  padding-top: 1.2rem;
}

.card p,
.card li {
  color: var(--muted);
}

.card strong {
  color: var(--text);
}

.card ul {
  padding-left: 1.4rem;
}

.meta {
  color: var(--subtle);
  margin-bottom: 2rem;
}

.notice {
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.35);
  border-radius: 12px;
  padding: 16px;
  margin: 24px 0;
}

.notice-success {
  background: rgba(22, 163, 74, 0.14);
  border-color: rgba(34, 197, 94, 0.38);
}

.notice-error {
  background: rgba(220, 38, 38, 0.14);
  border-color: rgba(248, 113, 113, 0.42);
}

.instagram-post-copy {
  max-width: none;
  margin-top: 28px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.48);
}

.instagram-post-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border-bottom: 1px solid var(--border);
}

.instagram-post-header h2 {
  margin: 0;
  text-align: left;
  font-size: 1.2rem;
  color: var(--text);
}

.instagram-post-header p {
  margin: 0;
  color: var(--subtle);
}

.instagram-post-header .meta {
  margin-bottom: 0.2rem;
}

.instagram-post-link {
  flex: 0 0 auto;
  border: 1px solid rgba(96, 165, 250, 0.55);
  border-radius: 12px;
  padding: 10px 14px;
  color: var(--text);
  font-weight: 800;
}

.instagram-post-link:hover {
  background: rgba(37, 99, 235, 0.18);
  text-decoration: none;
}

.instagram-post-placeholder {
  display: grid;
  min-height: 280px;
  place-items: center;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(17, 24, 39, 0.62)),
    rgba(2, 6, 23, 0.64);
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
}

.instagram-caption {
  padding: 20px 20px 4px;
}

.instagram-caption p {
  margin: 0 0 1rem;
}

.placeholder-note {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--subtle);
  font-size: 0.95rem;
}

.giveaway-card > p:first-of-type {
  margin-top: 0;
}

.giveaway-form {
  display: grid;
  gap: 14px;
  margin: 28px 0;
}

.giveaway-form label {
  color: var(--text);
  font-weight: 700;
}

.giveaway-form input[type="email"] {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--text);
  background: rgba(2, 6, 23, 0.72);
  font: inherit;
}

.giveaway-form input[type="email"]:focus {
  outline: 2px solid rgba(96, 165, 250, 0.42);
  border-color: var(--accent-light);
}

.checkbox-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--muted);
  font-weight: 400;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
}

.giveaway-form button {
  width: fit-content;
  border: 0;
  border-radius: 12px;
  padding: 13px 20px;
  color: var(--text);
  background: var(--accent);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.giveaway-form button:hover {
  background: #1d4ed8;
}

.compact-info {
  max-width: none;
  padding: 12px 0 0;
}

.compact-info h2 {
  margin-top: 1.4rem;
  text-align: left;
  font-size: 1.15rem;
  border-top: 1px solid var(--border);
  padding-top: 1.1rem;
}

.compact-info h3 {
  margin: 1.1rem 0 0.35rem;
  font-size: 1rem;
  color: var(--accent-light);
}

.legal-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.legal-link-grid a {
  display: grid;
  gap: 6px;
  min-height: 120px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  background: rgba(2, 6, 23, 0.42);
  text-decoration: none;
}

.legal-link-grid a:hover {
  border-color: rgba(96, 165, 250, 0.6);
}

.legal-link-grid strong {
  color: var(--accent-light);
}

.legal-link-grid span {
  color: var(--muted);
}

.store-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.store-link {
  display: grid;
  gap: 8px;
  min-height: 138px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  background: rgba(2, 6, 23, 0.42);
  text-decoration: none;
}

.store-link-active:hover {
  border-color: rgba(96, 165, 250, 0.6);
  text-decoration: none;
}

.store-link strong {
  font-size: 1.45rem;
  line-height: 1.2;
  color: var(--text);
}

.store-link span {
  color: var(--muted);
}

.store-link .store-platform {
  color: var(--accent-light);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.store-link-disabled {
  opacity: 0.66;
}

footer {
  color: var(--subtle);
  font-size: 0.95rem;
}

.card footer {
  margin-top: 2rem;
}

.site-footer {
  text-align: center;
  padding: 36px 20px;
  background: rgba(2, 6, 23, 0.96);
  border-top: 1px solid var(--border);
}

.site-footer p {
  margin: 0.7rem auto;
  max-width: 860px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.site-footer a {
  color: var(--accent-light);
}

@media (max-width: 760px) {
  nav {
    padding: 12px 18px;
  }

  nav h1 {
    font-size: 1.05rem;
  }

  .hamburger {
    display: block;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 58px;
    left: 12px;
    right: 12px;
    flex-direction: column;
    gap: 0;
    background: rgba(17, 24, 39, 0.98);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
  }

  nav ul.show {
    display: flex;
  }

  nav ul li {
    width: 100%;
  }

  nav ul li a {
    display: block;
    padding: 14px 18px;
  }

  header {
    min-height: 70vh;
    padding-top: 110px;
  }

  .hero-content {
    padding: 30px 22px;
  }

  .features {
    flex-direction: column;
  }

  section {
    padding: 52px 16px;
  }

  main {
    padding: 92px 12px 24px;
  }

  .card {
    padding: 22px;
    border-radius: 14px;
  }

  .card h1 {
    font-size: 1.8rem;
  }

  .giveaway-form button {
    width: 100%;
  }

  .instagram-post-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .instagram-post-link {
    width: 100%;
    text-align: center;
  }

  .instagram-post-placeholder {
    min-height: 210px;
  }

  .legal-link-grid {
    grid-template-columns: 1fr;
  }

  .store-link-grid {
    grid-template-columns: 1fr;
  }
}
