/* arca-landing — atlanta network linktree */
:root {
  --bg-0: #0a0a0f;
  --bg-1: #14141c;
  --fg-0: #f5f5f7;
  --fg-1: #b8b8c4;
  --accent: #ff3a3a;
  --discord: #5865f2;
  --discord-hover: #4752c4;
  --card-radius: 18px;
  --shadow: 0 18px 60px -20px rgba(0,0,0,.7);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg-0); color: var(--fg-0); font-family: 'Inter', -apple-system, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }

body {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at top, #1a1a26 0%, transparent 60%),
    radial-gradient(ellipse at bottom right, #1f0a14 0%, transparent 50%),
    radial-gradient(ellipse at bottom left, #0a141f 0%, transparent 50%),
    var(--bg-0);
  background-attachment: fixed;
  position: relative;
  overflow-x: hidden;
}

/* particle layer */
.bg-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,.15), transparent),
    radial-gradient(1px 1px at 60% 70%, rgba(255,255,255,.1), transparent),
    radial-gradient(1px 1px at 80% 20%, rgba(255,255,255,.12), transparent),
    radial-gradient(2px 2px at 40% 80%, rgba(255,180,80,.08), transparent),
    radial-gradient(1px 1px at 90% 50%, rgba(80,180,255,.08), transparent);
  background-size: 1200px 1200px;
  animation: drift 120s linear infinite;
  z-index: 0;
}
@keyframes drift {
  from { background-position: 0 0, 0 0, 0 0, 0 0, 0 0; }
  to   { background-position: 1200px 1200px, -1200px 1200px, 1200px -1200px, -1200px -1200px, 0 1200px; }
}

/* hero */
.hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 48px 24px 32px;
}
.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(38px, 7vw, 64px);
  letter-spacing: 0.06em;
  line-height: 1;
  background: linear-gradient(135deg, #fff 0%, #d8d8e0 50%, #a0a0b0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 60px rgba(255,255,255,.05);
}
.logo span {
  background: linear-gradient(135deg, var(--accent) 0%, #ff7a4a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.tag {
  margin-top: 14px;
  color: var(--fg-1);
  font-size: clamp(13px, 1.6vw, 16px);
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* main grid */
.grid {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 20px 60px;
}

.cat { margin-bottom: 56px; }
.cat-title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--fg-1);
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}
.cat-title::before, .cat-title::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
}
.cat-title::before { right: calc(50% + 100px); }
.cat-title::after { left: calc(50% + 100px); }

.cards {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(4, 1fr);
}
.cards.single { grid-template-columns: 1fr; max-width: 720px; margin: 0 auto; }
.cards.two { grid-template-columns: repeat(2, 1fr); max-width: 800px; margin: 0 auto; }

@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cards, .cards.two { grid-template-columns: 1fr; max-width: 420px; }
  .cards.single { max-width: 420px; }
}

/* card */
.card {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px 20px 20px;
  border: 1px solid rgba(255,255,255,.06);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  isolation: isolate;
}
.card.wide { aspect-ratio: 16/8; padding: 26px; }

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 80px -20px rgba(0,0,0,.85);
  border-color: rgba(255,255,255,.14);
}

.card-bg {
  position: absolute;
  inset: 0;
  background: var(--bg) center/cover, var(--bg-1);
  background-image: var(--tint), var(--bg);
  background-size: cover, cover;
  background-position: center, center;
  z-index: -1;
  transition: transform .8s ease;
}
.card:hover .card-bg { transform: scale(1.08); }

.logo-img {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 80%;
  max-height: 42%;
  object-fit: contain;
  filter: drop-shadow(0 6px 24px rgba(0,0,0,.5));
}
.logo-img.big { max-height: 50%; }
.card.wide .logo-img { max-height: 60%; top: 10px; }

.meta {
  margin-bottom: 14px;
  text-align: center;
}
.meta .name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 2px;
}
.meta .sub {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-1);
  opacity: .85;
}
.card.wide .meta .name { font-size: 22px; }
.card.wide .meta .sub { font-size: 12px; }

/* discord button */
.btn.discord {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--discord);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.1);
  position: relative;
  overflow: hidden;
  transition: background .25s ease, transform .25s ease;
  box-shadow: 0 8px 28px -8px rgba(88,101,242,.6);
}
.btn.discord svg { width: 22px; height: 18px; }
.btn.discord::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--discord) 0%, #7983f5 50%, var(--discord) 100%);
  z-index: -1;
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: .7; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.04); }
}
.btn.discord:hover {
  background: var(--discord-hover);
  transform: translateY(-2px);
}

footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 24px 0 36px;
  color: var(--fg-1);
  font-size: 12px;
  opacity: .55;
}
