:root {
  --bg: #0b1020;
  --surface: rgba(17, 24, 39, 0.72);
  --surface-strong: rgba(10, 16, 31, 0.88);
  --text: #f4f7fb;
  --muted: #c6d4e7;
  --line: rgba(255, 255, 255, 0.12);
  --cyan: #20c6eb;
  --violet: #7c3aed;
  --magenta: #d61cf3;
  --orange: #ff6a2b;
  --gradient: linear-gradient(135deg, var(--cyan), var(--violet), var(--magenta), var(--orange));
  --button-gradient: linear-gradient(135deg, #8f24d8 0%, #c11fda 52%, #f15367 100%);
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.22);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --content: 1180px;
  --nav-height: 80px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-y: auto;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(32, 198, 235, 0.16), transparent 28%),
    radial-gradient(circle at top right, rgba(214, 28, 243, 0.12), transparent 30%),
    linear-gradient(180deg, #07101d 0%, #0b1020 42%, #090d19 100%);
  color: var(--text);
  font-family: var(--font-body);
  overflow-y: auto;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.gallery-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
}

.gallery-shell {
  width: min(1100px, 100%);
}

.gallery-intro {
  max-width: 720px;
  margin-bottom: 28px;
}

.gallery-intro h1,
.hero-copy h1,
.section-copy h2,
.membership-panel h2,
.footer-grid h2 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.2;
}

.gallery-intro h1 {
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  margin-top: 10px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.gallery-card,
.glass-card,
.event-card,
.membership-card,
.footer-grid,
.legal-card,
.contact-panel,
.timeline-card,
.grid-block {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-md);
}

.gallery-card {
  border-radius: var(--radius-xl);
  padding: 24px;
  display: grid;
  gap: 20px;
}

.gallery-card img {
  width: 120px;
}

.gallery-card h2,
.event-card h3,
.membership-card h3,
.legal-card h3,
.timeline-card h3,
.grid-block h3,
.glass-card h3 {
  margin: 0;
  font-family: var(--font-display);
}

.eyebrow {
  margin: 0;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  font-size: 0.78rem;
}

.button-primary,
.button-secondary,
button,
input,
textarea,
select {
  font: inherit;
}

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button-primary {
  background: var(--button-gradient);
  color: #fff;
  box-shadow: 0 12px 30px rgba(193, 31, 218, 0.28);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
}

.button-primary:hover,
.button-secondary:hover {
  transform: translateY(-2px);
}

.site-shell {
  position: relative;
  overflow-x: hidden;
  overflow-y: visible;
}

.site-shell::before,
.site-shell::after {
  content: "";
  position: fixed;
  border-radius: 999px;
  filter: blur(12px);
  pointer-events: none;
  z-index: 0;
}

.site-shell::before {
  width: 320px;
  height: 320px;
  top: 90px;
  right: -80px;
  background: radial-gradient(circle, rgba(32, 198, 235, 0.18), transparent 70%);
}

.site-shell::after {
  width: 380px;
  height: 380px;
  bottom: 12%;
  left: -90px;
  background: radial-gradient(circle, rgba(255, 106, 43, 0.18), transparent 70%);
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  min-height: var(--nav-height);
  backdrop-filter: blur(10px);
  background: rgba(10, 15, 30, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.topbar-inner,
.section,
.footer-wrap {
  width: min(var(--content), calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.topbar-inner {
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 52px;
  background: transparent;
}

.brand strong {
  font-family: var(--font-display);
  font-weight: 700;
}

.topbar nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  color: #e8eef9;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 rgba(32, 198, 235, 0);
  transition:
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.social-icon-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-icon-link:hover {
  color: var(--cyan);
  background: rgba(32, 198, 235, 0.08);
  border-color: rgba(32, 198, 235, 0.28);
  box-shadow: 0 0 16px rgba(32, 198, 235, 0.18), 0 0 26px rgba(214, 28, 243, 0.08);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  height: auto;
  padding: calc(var(--nav-height) + 40px) 0 120px;
}

.hero-grid,
.membership-layout,
.projects-layout,
.projects-wall {
  display: grid;
  gap: 24px;
}

.hero-grid {
  width: min(var(--content), calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
  min-height: calc(100vh - var(--nav-height) - 160px);
  align-content: center;
  grid-template-columns: minmax(0, 760px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 44rem;
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 4.1vw, 3.5rem);
  line-height: 1.2;
}

.hero-copy p,
.section-copy p,
.footer-grid p,
.event-card p,
.membership-card p,
.legal-card p,
.timeline-card p,
.grid-block p,
li {
  color: var(--muted);
  line-height: 1.75;
}

.hero-copy > p:not(.eyebrow) {
  font-size: 1.14rem;
  color: #d7e2f1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #f4f7fb;
  font-size: 1.4rem;
}

.section {
  display: flex;
  flex-direction: column;
  padding: 120px 0;
  height: auto;
  min-height: calc(100vh - var(--nav-height));
}

.section-copy {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-copy h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  margin-top: 10px;
  line-height: 1.18;
}

.section-philosophy {
  min-height: calc(100vh - var(--nav-height));
  height: auto;
  padding-top: 120px;
  padding-bottom: 120px;
}

.story-grid,
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.story-grid .glass-card,
.contact-panel,
.membership-panel,
.footer-grid {
  border-radius: var(--radius-xl);
  padding: 28px;
}

.visual-placeholder {
  min-height: 320px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.2), 0 0 40px rgba(253, 0, 143, 0.1);
  overflow: hidden;
  padding: 14px;
}

.visual-placeholder img {
  width: 100%;
  height: 100%;
  min-height: 292px;
  object-fit: cover;
  border-radius: 12px;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 26px;
  margin-bottom: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.consent-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--magenta);
}

.consent-row a {
  color: #eef4ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-status {
  min-height: 24px;
  margin: 8px 0 0;
  color: #dce7f5;
  line-height: 1.5;
}

.form-status.is-success {
  color: #87f7bf;
}

.form-status.is-error {
  color: #ff9fbd;
}

.button-primary:disabled,
.button-primary[disabled] {
  cursor: not-allowed;
  opacity: 0.48;
  box-shadow: none;
  transform: none;
}

.section-logo {
  display: grid;
  justify-items: center;
  padding-top: 30px;
}

.section-press {
  padding-bottom: 80px;
}

.logo-showcase {
  width: min(720px, 100%);
  border-radius: 40px;
  padding: 54px 54px 38px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    var(--surface-strong);
}

.logo-showcase .section-copy {
  max-width: 540px;
  margin: 0 auto 20px;
}

.logo-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 430px;
}

.logo-stage::before {
  content: "";
  position: absolute;
  inset: 12% 14%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.22), transparent 65%);
}

.logo-stage img {
  position: relative;
  width: min(340px, 76%);
  background: transparent;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.34));
}

.stat-row,
.info-pills,
.tag-row,
.footer-meta,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.stat-pill,
.info-pill,
.tag {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #dce7f5;
  font-size: 0.95rem;
}

.info-pills {
  justify-content: center;
}

.projects-layout {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 60px;
}

.donate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.donate-card {
  border-radius: var(--radius-xl);
  padding: 30px;
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.03)) padding-box,
    linear-gradient(135deg, rgba(32, 198, 235, 0.55), rgba(214, 28, 243, 0.38), rgba(255, 106, 43, 0.32)) border-box;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}

.donate-card h3 {
  margin-bottom: 16px;
}

.donate-copy {
  margin-top: 0;
  margin-bottom: 20px;
  color: var(--muted);
  line-height: 1.7;
}

.bank-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bank-list li {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  line-height: 1.6;
}

.bank-list strong {
  color: #eef4ff;
  font-family: var(--font-display);
  font-size: 0.98rem;
}

.bank-value {
  color: #ffffff;
  font-size: 1.03rem;
  letter-spacing: 0.02em;
}

.iban-value {
  font-family: var(--font-display);
  font-size: 1.08rem;
  letter-spacing: 0.08em;
}

#donate-button-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

#donate-button {
  min-height: 56px;
}

.press-card {
  border-radius: var(--radius-lg);
  padding: 28px;
  height: auto;
  margin-bottom: 60px;
}

.press-body {
  max-height: none;
  overflow: visible;
  margin-top: 22px;
  padding-right: 0;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

.press-body p,
.press-body h3,
.press-body blockquote {
  margin-top: 0;
  margin-bottom: 18px;
}

.press-body h3 {
  margin-bottom: 14px;
}

.press-quote {
  margin: 22px 0;
  padding: 18px 22px;
  border-left: 3px solid var(--magenta);
  background: rgba(255, 255, 255, 0.04);
  color: #eef4ff;
  font-size: 1.02rem;
  line-height: 1.7;
}

.press-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.event-card,
.membership-card,
.legal-card,
.timeline-card,
.grid-block {
  border-radius: var(--radius-lg);
  padding: 24px;
}

.card-line {
  height: 2px;
  border-radius: 999px;
  background: var(--gradient);
}

.event-meta,
.list-clean,
.accent-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.membership-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 60px;
}

.membership-stack {
  display: grid;
  gap: 20px;
}

.membership-panel {
  background:
    linear-gradient(145deg, rgba(32, 198, 235, 0.14), transparent 45%),
    linear-gradient(325deg, rgba(255, 106, 43, 0.12), transparent 45%),
    rgba(12, 18, 34, 0.88);
}

.membership-panel h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.12;
}

.membership-card h3,
.event-card h3,
.timeline-card h3,
.legal-card h3,
.grid-block h3,
.glass-card h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.25;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field,
.field-full {
  display: grid;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.95rem;
  color: #d9e3f2;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 14px 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

select {
  appearance: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04)),
    rgba(15, 22, 40, 0.96);
}

select option {
  color: #f4f7fb;
  background: #111a2d;
}

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

.accent-list {
  display: grid;
  gap: 12px;
}

.accent-list li {
  padding-left: 18px;
  position: relative;
}

.accent-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--gradient);
}

.footer-wrap {
  display: flex;
  flex-direction: column;
  width: min(var(--content), calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding: 100px 0 56px;
}

.footer-grid {
  background: rgba(7, 12, 23, 0.92);
}

.footer-columns,
.legal-grid {
  display: grid;
  gap: 24px;
}

.footer-columns {
  grid-template-columns: 1.1fr 0.9fr;
}

.legal-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.footer-meta {
  margin-top: 28px;
}

.footer-links {
  display: flex;
  align-items: center;
  margin-top: 22px;
  gap: 18px;
  color: #dce7f5;
}

.footer-note,
.small-note {
  font-size: 0.92rem;
  color: #8da1bf;
}

.footer-note {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 980px) {
  .gallery-grid,
  .projects-layout,
  .donate-grid,
  .membership-layout,
  .footer-columns,
  .legal-grid,
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .topbar nav {
    display: none;
  }
}

@media (max-width: 720px) {
  .hero,
  .section,
  .footer-wrap {
    padding-top: calc(var(--nav-height) + 24px);
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .consent-row {
    align-items: flex-start;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .gallery-card,
  .story-grid .glass-card,
  .contact-panel,
  .membership-panel,
  .footer-grid,
  .event-card,
  .membership-card,
  .legal-card,
  .timeline-card,
  .grid-block {
    padding: 20px;
  }

  .logo-showcase {
    padding: 34px 22px 24px;
  }
}
