
:root {
  --bg: #130c0a;
  --paper: #f4e1c6;
  --red: #b13022;
  --accent: #f6c745;
  --text-main: #1b120f;
  --text-light: #fdf5ea;
  --shadow-soft: 0 10px 30px rgba(0,0,0,0.35);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --max-width: 1100px;
  --transition-fast: 0.18s ease-out;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #2b1712 0, #0a0504 48%, #030101 100%);
  color: var(--text-light);
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: linear-gradient(90deg, rgba(12,6,4,0.94), rgba(40,12,6,0.96));
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.5);
}

.logo-title h1 {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tagline {
  margin: 0.1rem 0 0;
  font-size: 0.75rem;
  opacity: 0.8;
}

.site-nav {
  display: flex;
  gap: 0.75rem;
  font-size: 0.8rem;
}

.site-nav a {
  padding: 0.4rem 0.7rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  opacity: 0.86;
  transition: background var(--transition-fast), transform var(--transition-fast), opacity var(--transition-fast);
}

.site-nav a:hover {
  background: rgba(244,225,198,0.14);
  transform: translateY(-1px);
  opacity: 1;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.75rem 1.25rem 3rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: center;
  margin-top: 1.5rem;
  margin-bottom: 2.25rem;
}

.hero-text h2 {
  font-size: 2.2rem;
  margin: 0 0 0.5rem;
}

.hero-text p {
  margin-top: 0.25rem;
}

.hero-es {
  font-style: italic;
  opacity: 0.88;
}

.hero-actions {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-art {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0,0,0,0.6);
}

.section {
  margin: 2.25rem 0;
  padding: 1.75rem 1.4rem;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, rgba(241,210,170,0.24), rgba(19,7,4,0.96));
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255,255,255,0.12);
}

.section h3 {
  margin-top: 0;
  font-size: 1.4rem;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 1.5rem;
}

.join-section .card {
  margin-top: 1.1rem;
}

.card {
  background: rgba(4,2,1,0.9);
  border-radius: 12px;
  padding: 1.1rem 1rem 1rem;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: var(--shadow-soft);
}

.field {
  margin-bottom: 0.9rem;
}

.field label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.9;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.55rem 0.6rem;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(10,5,4,0.9);
  color: var(--text-light);
  font-size: 0.9rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(246,199,69,0.7);
}

.hidden {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.btn.primary {
  background: linear-gradient(135deg, #f9453b, #f6c745);
  color: #1b0503;
  box-shadow: 0 9px 22px rgba(0,0,0,0.55);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 13px 28px rgba(0,0,0,0.7);
}

.btn.secondary {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.25);
  color: #ffe7c7;
}

.btn.secondary:hover {
  background: rgba(255,255,255,0.16);
}

.btn.fb {
  background: #1877f2;
  color: #fff;
}

.btn.fb:hover {
  background: #3b87f2;
}

.btn.tiny {
  font-size: 0.68rem;
  padding: 0.22rem 0.6rem;
  letter-spacing: 0.08em;
  border-radius: 999px;
}

.btn.full-width {
  width: 100%;
}

.status-msg {
  font-size: 0.8rem;
  margin-top: 0.4rem;
  min-height: 1.2em;
}

.social-cta {
  margin-top: 1.75rem;
}

.social-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.gallery-item {
  background: rgba(0,0,0,0.85);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: var(--shadow-soft);
}

.gallery-item img {
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: cover;
  cursor: pointer;
}

.gallery-item figcaption {
  padding: 0.45rem 0.6rem 0.55rem;
  font-size: 0.75rem;
  opacity: 0.9;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.meme-label {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.gallery-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.center {
  text-align: center;
  margin-top: 1.25rem;
}

.contact p {
  margin: 0.25rem 0;
}

.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2.25rem;
  font-size: 0.75rem;
  opacity: 0.75;
}

/* Meme modal */
.meme-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
}

.meme-modal.active {
  display: flex;
}

.meme-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
}

.meme-modal-dialog {
  position: relative;
  max-width: min(90vw, 720px);
  max-height: 90vh;
  background: #130a06;
  border-radius: 18px;
  box-shadow: 0 22px 40px rgba(0,0,0,0.7);
  padding: 0.75rem 0.9rem 0.9rem;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.meme-modal-body {
  overflow: auto;
  max-height: 70vh;
}

.meme-modal-body img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.meme-modal-close {
  position: absolute;
  top: 0.2rem;
  right: 0.4rem;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.meme-modal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  justify-content: flex-start;
}

/* Responsive */
@media (max-width: 780px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-art {
    order: -1;
  }
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
  }
  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  main {
    padding-inline: 1rem;
  }
  .section {
    padding-inline: 1.1rem;
  }
  .two-col {
    grid-template-columns: minmax(0, 1fr);
  }
}


.hero-art.hero-art--text {
  display: flex;
  align-items: stretch;
  justify-content: center;
  background: radial-gradient(circle at top left, #f9453b, #7b1410 40%, #120606 80%);
  padding: 1.4rem 1.2rem;
}

.hero-art-inner {
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(0,0,0,0.45);
  padding: 1rem 1.2rem;
  color: #ffe7c7;
  box-shadow: 0 14px 30px rgba(0,0,0,0.6);
}

.hero-art-inner h3 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-art-inner p {
  margin: 0;
  font-size: 0.9rem;
}
