/* ================================================================
   TAKE SATU! — Community Page Stylesheet
   Palette: Dark Navy · Soft Gold · Muted Slate Blue
   Fonts: Bebas Neue · Montserrat · Poppins (from Google Fonts)
   ================================================================ */

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  --bg:        #0d0f14;
  --surface:   #141720;
  --surface-2: #1c2030;
  --text:      #e8eaf0;
  --muted:     #7a8099;
  --accent:    #c9a96e;          /* soft gold          */
  --accent-d:  rgba(201,169,110,.12);
  --accent-b:  rgba(201,169,110,.25);
  --wa:        #25d366;
  --wa-d:      rgba(37,211,102,.14);
  --wa-b:      rgba(37,211,102,.35);
  --dc:        #5865f2;
  --dc-d:      rgba(88,101,242,.14);
  --dc-b:      rgba(88,101,242,.35);
  --tg:        #229ed9;
  --tg-d:      rgba(34,158,217,.14);
  --tg-b:      rgba(34,158,217,.35);
  --border:    rgba(255,255,255,.07);
  --radius:    18px;
  --ease:      cubic-bezier(.16,1,.3,1);
  --t:         .4s var(--ease);
  --font-d:    'Bebas Neue', cursive;
  --font-s:    'Montserrat', sans-serif;
  --font-b:    'Poppins', sans-serif;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}
img   { display: block; max-width: 100%; }
a     { text-decoration: none; color: inherit; }

/* ── Container ────────────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Typography helpers ───────────────────────────────────── */
.section-label {
  display: block;
  font-family: var(--font-s);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .9rem;
}
.section-title {
  font-family: var(--font-d);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: .04em;
  color: var(--text);
  text-align: center;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.text-left { text-align: left; }
.section-body {
  font-size: clamp(.9rem, 1.3vw, 1.05rem);
  color: var(--muted);
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}
.text-left.section-body { text-align: left; margin: 0 0 2.5rem; }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
  padding: 6rem 1.5rem 5rem;
}

/* animated grid */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,169,110,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,169,110,.035) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
}

/* floating orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  will-change: transform;
}
.orb-1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(201,169,110,.18) 0%, transparent 70%);
  top: -80px; left: -120px;
  animation: orbFloat 12s ease-in-out infinite alternate;
}
.orb-2 {
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(126,184,212,.15) 0%, transparent 70%);
  bottom: -60px; right: -80px;
  animation: orbFloat 9s ease-in-out infinite alternate-reverse;
}
.orb-3 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(201,169,110,.10) 0%, transparent 70%);
  top: 50%; left: 60%;
  animation: orbFloat 14s ease-in-out infinite alternate;
}
@keyframes orbFloat {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(30px,20px) scale(1.08); }
}

/* particles */
.particles { position: absolute; inset: 0; pointer-events: none; }
.particle {
  position: absolute;
  width: 2.5px; height: 2.5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0;
  animation: pFloat 10s ease-in-out infinite;
}
@keyframes pFloat {
  0%   { transform: translateY(0)   scale(1); opacity: 0; }
  20%  { opacity: .65; }
  80%  { opacity: .2; }
  100% { transform: translateY(-80px) scale(0); opacity: 0; }
}

/* hero inner */
.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  width: 100%;
}

/* logo */
.hero-logo {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}
.hero-logo-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-b);
  box-shadow: 0 0 0 8px var(--accent-d);
  position: relative;
  z-index: 1;
  transition: transform var(--t), box-shadow var(--t);
}
.hero-logo:hover .hero-logo-img {
  transform: scale(1.06);
  box-shadow: 0 0 0 12px var(--accent-d), 0 0 40px rgba(201,169,110,.3);
}
.hero-logo-ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid var(--accent-b);
  animation: ringPulse 2.8s ease-in-out infinite;
}
@keyframes ringPulse {
  0%,100% { transform: scale(1); opacity: .7; }
  50%      { transform: scale(1.08); opacity: .2; }
}

/* eyebrow */
.hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  font-family: var(--font-s);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.eyebrow-line {
  display: inline-block;
  width: 30px; height: 1px;
  background: var(--accent);
  opacity: .5;
}

/* headline */
.hero-title {
  font-family: var(--font-d);
  font-size: clamp(3rem, 8vw, 5.5rem);
  letter-spacing: .05em;
  line-height: .95;
  color: var(--text);
  margin-bottom: 1.4rem;
  text-shadow: 0 4px 60px rgba(0,0,0,.6);
}
.hero-title-accent {
  color: transparent;
  -webkit-text-stroke: 2px var(--accent);
  display: block;
}

/* sub */
.hero-sub {
  font-size: clamp(.88rem, 1.2vw, 1rem);
  font-weight: 300;
  color: rgba(232,234,240,.6);
  line-height: 1.75;
  letter-spacing: .02em;
  max-width: 560px;
  margin: 0 auto 2.2rem;
}
.br-desktop { display: inline; }

/* hero CTA button */
.btn-primary-hero {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: .95rem 2.2rem;
  background: var(--accent);
  color: #0d0f14;
  font-family: var(--font-s);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: transform var(--t), box-shadow var(--t);
  position: relative;
  overflow: hidden;
  margin-bottom: 3rem;
}
.btn-primary-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  transform: translateX(-110%);
  transition: transform .55s var(--ease);
}
.btn-primary-hero:hover::after { transform: translateX(110%); }
.btn-primary-hero:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(201,169,110,.45);
}
.btn-primary-hero svg { flex-shrink: 0; transition: transform .35s var(--ease); }
.btn-primary-hero:hover svg { transform: translateX(5px); }

/* stats strip */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.hero-stat strong {
  display: block;
  font-family: var(--font-d);
  font-size: 1.8rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: .15rem;
  letter-spacing: .04em;
}
.hero-stat span {
  font-family: var(--font-s);
  font-size: .58rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(232,234,240,.35);
}
.stat-sep {
  width: 1px; height: 32px;
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
}

/* scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
  transition: opacity .3s;
}
.scroll-cue:hover { opacity: .6; }
.scroll-cue span {
  font-family: var(--font-s);
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(232,234,240,.3);
}
.scroll-track {
  width: 1.5px; height: 50px;
  background: rgba(255,255,255,.1);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.scroll-dot {
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 50%;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollAnim 2s cubic-bezier(.4,0,.2,1) infinite;
}
@keyframes scrollAnim {
  0%   { top: -50%; }
  100% { top: 120%; }
}

/* ================================================================
   ABOUT
   ================================================================ */
.about {
  padding: 7rem 1.5rem;
}

/* pillar cards */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
  position: relative;
  overflow: hidden;
}
.pillar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0);
  transition: transform .5s var(--ease);
}
.pillar:hover { transform: translateY(-6px); border-color: var(--accent-b); box-shadow: 0 16px 40px rgba(0,0,0,.4); }
.pillar:hover::after { transform: scaleX(1); }

.pillar-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--accent-d);
  border: 1px solid var(--accent-b);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.2rem;
  transition: transform .35s var(--ease);
}
.pillar:hover .pillar-icon { transform: scale(1.1) rotate(-5deg); }
.pillar h3 {
  font-family: var(--font-d);
  font-size: 1.5rem;
  letter-spacing: .06em;
  color: var(--text);
  margin-bottom: .5rem;
}
.pillar p { font-size: .9rem; color: var(--muted); line-height: 1.65; }

/* ================================================================
   MISSION
   ================================================================ */
.mission {
  padding: 7rem 1.5rem;
  background: var(--surface);
}
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.mission-goals { display: flex; flex-direction: column; gap: 1.2rem; }
.goal {
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
  background: var(--surface-2, #1c2030);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
  position: relative;
  overflow: hidden;
}
.goal::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 3px;
  background: var(--accent);
  border-radius: 0 2px 2px 0;
  transform: scaleY(0);
  transition: transform .4s var(--ease);
}
.goal:hover { transform: translateX(6px); border-color: var(--accent-b); box-shadow: 0 8px 28px rgba(0,0,0,.35); }
.goal:hover::before { transform: scaleY(1); }
.goal-num {
  font-family: var(--font-d);
  font-size: 2.2rem;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  letter-spacing: .04em;
  opacity: .7;
}
.goal h3 { font-family: var(--font-d); font-size: 1.35rem; color: var(--text); margin-bottom: .35rem; letter-spacing: .04em; }
.goal p  { font-size: .88rem; color: var(--muted); line-height: 1.65; margin: 0; }

/* ================================================================
   JOIN
   ================================================================ */
.join {
  padding: 7rem 1.5rem;
}
.platform-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-bottom: 2rem;
}

/* platform card base */
.platform-card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 2rem 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  cursor: pointer;
}
.pc-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s;
  pointer-events: none;
  border-radius: inherit;
}
.platform-card:hover { transform: translateY(-8px); }

/* WhatsApp */
.wa { --clr: var(--wa); --clr-d: var(--wa-d); --clr-b: var(--wa-b); }
.wa .pc-glow { background: radial-gradient(circle at 60% 0%, rgba(37,211,102,.18) 0%, transparent 65%); }
.wa:hover { border-color: var(--wa-b); box-shadow: 0 20px 50px rgba(37,211,102,.2); }
.wa:hover .pc-glow { opacity: 1; }
/* Discord */
.dc { --clr: var(--dc); --clr-d: var(--dc-d); --clr-b: var(--dc-b); }
.dc .pc-glow { background: radial-gradient(circle at 60% 0%, rgba(88,101,242,.18) 0%, transparent 65%); }
.dc:hover { border-color: var(--dc-b); box-shadow: 0 20px 50px rgba(88,101,242,.2); }
.dc:hover .pc-glow { opacity: 1; }
/* Telegram */
.tg { --clr: var(--tg); --clr-d: var(--tg-d); --clr-b: var(--tg-b); }
.tg .pc-glow { background: radial-gradient(circle at 60% 0%, rgba(34,158,217,.18) 0%, transparent 65%); }
.tg:hover { border-color: var(--tg-b); box-shadow: 0 20px 50px rgba(34,158,217,.2); }
.tg:hover .pc-glow { opacity: 1; }

/* card internals */
.pc-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.4rem;
  position: relative;
  z-index: 1;
}
.pc-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--clr-d);
  border: 1px solid var(--clr-b);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--t), box-shadow var(--t);
}
.platform-card:hover .pc-icon-wrap {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 0 20px var(--clr-d);
}
.pc-icon {
  width: 26px; height: 26px;
  color: var(--clr);
  display: block;
}
.pc-badge {
  font-family: var(--font-s);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--wa);
  background: var(--wa-d);
  border: 1px solid var(--wa-b);
  border-radius: 4px;
  padding: .2rem .55rem;
}
.pc-body {
  flex: 1;
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
}
.pc-name {
  font-family: var(--font-d);
  font-size: 1.8rem;
  letter-spacing: .06em;
  color: var(--text);
  margin-bottom: .5rem;
  line-height: 1;
}
.pc-desc {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}
.pc-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 1.2rem;
  position: relative;
  z-index: 1;
  font-family: var(--font-s);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--clr);
  transition: gap .3s;
}
.pc-cta svg { flex-shrink: 0; transition: transform .35s var(--ease); }
.platform-card:hover .pc-cta svg { transform: translateX(5px); }

/* join note */
.join-note {
  text-align: center;
  font-family: var(--font-s);
  font-size: .74rem;
  color: var(--muted);
  letter-spacing: .08em;
  margin-top: .5rem;
  opacity: .7;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy {
  font-size: .8rem;
  color: var(--muted);
  margin: 0;
}
.footer-nav {
  display: flex;
  gap: 1.8rem;
}
.footer-nav a {
  font-family: var(--font-s);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .3s;
}
.footer-nav a:hover { color: var(--accent); }

/* ================================================================
   SCROLL REVEAL
   ================================================================ */
.reveal-section { opacity: 1; }
.reveal-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal-item.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal-item:nth-child(2) { transition-delay: .1s; }
.reveal-item:nth-child(3) { transition-delay: .2s; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 960px) {
  .mission-grid { grid-template-columns: 1fr; gap: 3rem; }
  .text-left { text-align: center; }
  .section-body.text-left { margin: 0 auto 2.5rem; text-align: center; }
}

@media (max-width: 768px) {
  .pillars { grid-template-columns: 1fr; }
  .br-desktop { display: none; }
  .hero { padding: 5rem 1.5rem 4rem; }
  .about, .mission, .join { padding: 5rem 1.5rem; }
  .mission-grid { gap: 2.5rem; }

  /* ── Platform cards: 3-column balanced tile layout ── */
  .platform-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: .7rem;
  }
  /* Centered vertical tile — generous breathing room */
  .platform-card {
    padding: 1.6rem .7rem 1.3rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 180px;
    justify-content: space-between;
    gap: .75rem;             /* space between icon / name / cta     */
  }
  /* Icon block centered */
  .pc-header {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    width: 100%;
    gap: .55rem;
  }
  .pc-icon-wrap {
    width: 48px; height: 48px;
    border-radius: 13px;
    margin: 0 auto;
  }
  .pc-icon { width: 23px; height: 23px; }
  /* Badge centered below icon */
  .pc-badge {
    font-size: .5rem;
    padding: .15rem .45rem;
    display: inline-block;
  }
  /* Platform name */
  .pc-body {
    margin-bottom: 0;
    width: 100%;
  }
  .pc-name {
    font-size: 1.1rem;
    margin-bottom: 0;
    letter-spacing: .04em;
    line-height: 1.2;
  }
  .pc-desc { display: none; }
  /* CTA: separator line + centered arrow */
  .pc-cta {
    border-top: 1px solid var(--border);
    padding-top: .75rem;
    justify-content: center;
    font-size: .6rem;
    width: 100%;
    margin-top: auto;        /* push arrow to bottom of card         */
  }
  .pc-cta span { display: none; }
  .pc-cta svg  { width: 14px; height: 14px; }
}

@media (max-width: 480px) {
  .hero { padding-bottom: 6rem; }
  .hero-logo-img { width: 80px; height: 80px; }
  .hero-stats { gap: 1.2rem; }
  .stat-sep { height: 24px; }
  .hero-stat strong { font-size: 1.4rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-nav { gap: 1.2rem; }
  /* Tighten cards on very small phones while keeping the same proportions */
  .platform-cards { gap: .5rem; }
  .platform-card  { padding: 1.3rem .55rem 1.1rem; min-height: 166px; gap: .6rem; }
  .pc-icon-wrap   { width: 42px; height: 42px; border-radius: 11px; }
  .pc-icon        { width: 21px; height: 21px; }
  .pc-name        { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}