/* LynkNGo: shared styles */

:root {
  --bg: #0e0b1a;
  --bg-2: #17132a;
  --card: #1d1833;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f4f2fb;
  --muted: #a9a3c4;
  --violet: #6d3cff;
  --pink: #ff3d8b;
  --orange: #ff8a3d;
  --green: #2fd897;
  --grad: linear-gradient(120deg, var(--violet), var(--pink) 60%, var(--orange));
  --radius: 18px;
  color-scheme: dark;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, .logo, .display { font-family: "Space Grotesk", "Inter", sans-serif; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Background glow */
.glow { position: fixed; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.glow span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.35; }
.glow .g1 { width: 520px; height: 520px; background: var(--violet); top: -200px; right: -160px; }
.glow .g2 { width: 420px; height: 420px; background: var(--pink); top: 260px; left: -240px; opacity: 0.22; }

/* Demo banner */
.demo-banner {
  background: rgba(255, 138, 61, 0.12);
  border-bottom: 1px solid rgba(255, 138, 61, 0.3);
  color: #ffc39b;
  font-size: 13px;
  text-align: center;
  padding: 8px 16px;
}

/* Nav */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.logo { font-weight: 700; font-size: 22px; }
.nav-links { display: flex; gap: 22px; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; cursor: pointer; border-radius: 999px;
  padding: 12px 22px; font-weight: 600; font-size: 15px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--grad); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line); }
.btn-small { padding: 8px 14px; font-size: 13px; }

/* Hero */
.hero { padding: 56px 0 36px; text-align: center; }
.hero .kicker { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.hero h1 { font-size: clamp(40px, 8vw, 76px); line-height: 1; font-weight: 700; margin-bottom: 18px; }
.hero p { color: var(--muted); font-size: 18px; max-width: 560px; margin: 0 auto 30px; }

.search {
  display: flex; gap: 8px; max-width: 620px; margin: 0 auto;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 22px;
}
.search input { flex: 1; background: none; border: none; outline: none; font-size: 16px; min-width: 0; }
.search input::placeholder { color: var(--muted); }

.chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 16px; font-size: 14px; cursor: pointer;
}
.chip.active { background: var(--text); color: var(--bg); border-color: var(--text); font-weight: 600; }

/* Event grid */
.section-title { display: flex; align-items: baseline; justify-content: space-between; margin: 36px 0 16px; }
.section-title h2 { font-size: 26px; }
.section-title span { color: var(--muted); font-size: 14px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; padding-bottom: 40px; }
.event-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: transform 0.15s ease, border-color 0.15s ease;
}
.event-card:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.25); }
.event-art {
  height: 130px; display: flex; align-items: flex-end; justify-content: space-between;
  padding: 14px; position: relative;
}
.event-art .art-type {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  background: rgba(0, 0, 0, 0.35); border-radius: 999px; padding: 5px 10px;
}
.event-art .date-badge {
  background: rgba(0, 0, 0, 0.45); backdrop-filter: blur(6px); border-radius: 12px;
  padding: 6px 10px; text-align: center; line-height: 1.1;
}
.date-badge .m { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.date-badge .d { font-size: 20px; font-weight: 700; font-family: "Space Grotesk", sans-serif; }
.event-body { padding: 14px 16px 16px; }
.event-body .type { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; }
.event-body h3 { font-size: 18px; margin: 4px 0 2px; }
.event-body .where { font-size: 14px; color: var(--muted); }

.empty { text-align: center; color: var(--muted); padding: 40px 0; grid-column: 1 / -1; }

/* How it works */
.how { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; padding: 10px 0 60px; }
.how .step { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.how .n { font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 28px; }
.how h3 { font-size: 18px; margin: 6px 0 4px; }
.how p { color: var(--muted); font-size: 14px; }

footer { border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--muted); font-size: 13px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Event / trip page ---------- */
.back { display: inline-block; color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.back:hover { color: var(--text); }

.event-hero {
  border-radius: 24px; padding: 32px; position: relative; overflow: hidden; margin-bottom: 24px;
}
.event-hero .type { font-size: 13px; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700; opacity: 0.85; }
.event-hero h1 { font-size: clamp(32px, 6vw, 54px); line-height: 1.05; margin: 8px 0 10px; }
.event-hero .meta { display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: 15px; opacity: 0.9; }

.trip-layout { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; padding-bottom: 60px; }

.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 16px; }
.panel-head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.panel-head .icon {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 20px;
  background: rgba(255, 255, 255, 0.07); flex: none;
}
.panel-head .icon svg { width: 20px; height: 20px; fill: none; stroke: var(--text); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.panel-head h2 { font-size: 21px; }
.panel .sub { color: var(--muted); font-size: 14px; margin-bottom: 16px; }

.partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.partner {
  display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); transition: border-color 0.15s ease, background 0.15s ease;
}
.partner:hover { border-color: var(--pink); background: rgba(255, 61, 139, 0.08); }
.partner strong { font-size: 15px; }
.partner span { font-size: 12px; color: var(--muted); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.field label { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 6px; }
.field input, .field select {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px;
  padding: 11px 12px; outline: none;
}
.field input:focus, .field select:focus { border-color: var(--violet); }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: 4px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--pink); }

.summary { position: sticky; top: 20px; }
.summary h2 { font-size: 20px; margin-bottom: 12px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.summary-row:first-of-type { border-top: none; }
.summary-row span:first-child { color: var(--muted); }
.summary-row span:last-child { text-align: right; font-weight: 600; }
.summary .btn { width: 100%; margin-top: 14px; }
.share-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 10px; }

.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px);
  background: var(--text); color: var(--bg); font-weight: 600; font-size: 14px;
  padding: 12px 20px; border-radius: 999px; opacity: 0; transition: all 0.25s ease; pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.disclosure { font-size: 12px; color: var(--muted); margin-top: 6px; }

@media (max-width: 860px) {
  .trip-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 560px) {
  .nav-links { display: none; }
  .hero { padding-top: 32px; }
  .hero p { font-size: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .event-hero { padding: 24px; }
}
