:root {
  --bg: #f4f6ef;
  --ink: #0f1720;
  --ink-soft: #314255;
  --card: #ffffff;
  --line: #d6dfd2;
  --accent: #f05b31;
  --accent-2: #1477c9;
  --accent-3: #0a9d7b;
  --shadow: 0 14px 40px rgba(8, 20, 16, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  background: radial-gradient(circle at 12% 8%, rgba(20, 119, 201, 0.18), transparent 26%),
    radial-gradient(circle at 92% 85%, rgba(240, 91, 49, 0.2), transparent 32%),
    var(--bg);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
}

.ambient {
  position: fixed;
  border-radius: 999px;
  filter: blur(70px);
  pointer-events: none;
  z-index: -1;
  animation: drift 12s ease-in-out infinite;
}

.ambient-1 {
  width: 260px;
  height: 260px;
  background: rgba(10, 157, 123, 0.23);
  top: -80px;
  right: 5%;
}

.ambient-2 {
  width: 220px;
  height: 220px;
  background: rgba(240, 91, 49, 0.18);
  bottom: -80px;
  left: 3%;
  animation-delay: 1.6s;
}

.topbar {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.95rem 1.2rem;
  background: rgba(244, 246, 239, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
  z-index: 10;
}

.brand-logo {
  font-family: "Archivo Black", sans-serif;
  letter-spacing: 0.02em;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.topbar nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.topbar a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 700;
}

main {
  width: min(1120px, 94vw);
  margin: 0 auto;
  padding: 1.2rem 0 2rem;
}

.hero {
  padding: 2.2rem 0.2rem 1rem;
  animation: rise 700ms ease;
}

.kicker {
  margin: 0;
  color: var(--accent-2);
  font-weight: 700;
  letter-spacing: 0.03em;
}

h1 {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2rem, 6vw, 4.1rem);
  line-height: 1.03;
  margin: 0.55rem 0;
}

.hero-copy {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 68ch;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.btn {
  border: 0;
  border-radius: 12px;
  padding: 0.72rem 1rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #ff8754);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1rem;
  margin-top: 1rem;
  animation: rise 600ms ease;
}

.section-head h2 {
  margin: 0;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
}

.section-head p {
  margin-top: 0.35rem;
  color: var(--ink-soft);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}

.dest-card {
  border: 1px solid var(--line);
  border-left: 6px solid var(--accent-2);
  border-radius: 14px;
  padding: 0.85rem;
  background: #fbfcf8;
}

.dest-card h3 {
  margin: 0;
}

.dest-card p {
  margin: 0.45rem 0 0.8rem;
  color: var(--ink-soft);
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.subpanel {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem;
  background: #fcfdf9;
}

.stack-form {
  display: grid;
  gap: 0.45rem;
}

.stack-form label {
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c3d0be;
  border-radius: 10px;
  padding: 0.6rem;
  font: inherit;
}

textarea {
  min-height: 80px;
  resize: vertical;
}

.waitlist-panel {
  background: linear-gradient(135deg, rgba(20, 119, 201, 0.08), rgba(240, 91, 49, 0.08)), var(--card);
}

.waitlist-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.waitlist-actions {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  flex-wrap: wrap;
}

.status-text {
  margin: 0;
  color: var(--accent-3);
  font-weight: 700;
}

.feed {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.feed li {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.65rem;
  background: #fff;
}

.item-title {
  margin: 0;
  font-weight: 700;
}

.item-meta {
  margin-top: 0.2rem;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.vote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: 0.6rem;
}

.vote-chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 0.7rem;
  text-align: left;
}

.vote-chip strong {
  display: block;
}

.vote-chip span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.vote-chip:hover {
  border-color: var(--accent-3);
}

.vote-category {
  margin-bottom: 2.4rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid var(--line);
}

.vote-category:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.vote-category h3 {
  margin-bottom: 1.2rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
}

.vote-category p {
  margin-bottom: 1.2rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.submission-area {
  background: rgba(240, 91, 49, 0.05);
  padding: 1.8rem;
  border-radius: 12px;
  border: 1px solid rgba(240, 91, 49, 0.15);
}

.submission-area h3 {
  color: var(--accent);
}

.footer {
  background: var(--ink);
  color: #fff;
  padding: 2.4rem 1.2rem 1rem;
  margin-top: 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1120px;
  margin: 0 auto 1.6rem;
}

.footer-section h4 {
  font-family: "Archivo Black", sans-serif;
  margin: 0 0 0.6rem;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.footer-section p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin: 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Form enhancements */
.form-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.status-text {
  font-size: 0.9rem;
  margin: 0;
  padding: 0.5rem;
  border-radius: 8px;
  display: none;
}

.status-text.success {
  display: block;
  color: #0a9d7b;
  background: rgba(10, 157, 123, 0.1);
}

.status-text.error {
  display: block;
  color: #d32f2f;
  background: rgba(211, 47, 47, 0.1);
}

.live-posts,
.live-groups {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.live-posts h4,
.live-groups h4 {
  font-family: "Archivo Black", sans-serif;
  margin: 0 0 0.8rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(14px, -10px);
  }
  100% {
    transform: translate(0, 0);
  }
}

@media (max-width: 860px) {
  .two-col {
    grid-template-columns: 1fr;
  }

  .waitlist-grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    align-items: flex-start;
    gap: 0.6rem;
    flex-direction: column;
  }
}
