/* ============================================================
   $OCISLY — Design System
   ============================================================ */

:root {
  --cyan:    #00d9ff;
  --magenta: #ff006e;
  --cyan-dim: rgba(0, 217, 255, 0.12);
  --magenta-dim: rgba(255, 0, 110, 0.12);
  --bg:      #04050f;
  --bg-2:    #080a1a;
  --bg-3:    #0d0f22;
  --border:  rgba(255,255,255,0.08);
  --text:    #f0f2ff;
  --muted:   #6b7280;
  --font-sans: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'Space Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  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 {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---- Shared Section Labels ---- */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--cyan);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-sub {
  color: var(--muted);
  margin-top: 0.75rem;
  font-size: 1.05rem;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(4, 5, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  flex-shrink: 0;
}
.nav-logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(0,217,255,0.5));
}

.nav-links {
  display: flex;
  gap: 2rem;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.55rem 1.3rem;
  border-radius: 6px;
  background: var(--cyan);
  color: #04050f;
  transition: opacity 0.2s, transform 0.2s;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}
.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8rem 2rem 6rem;
}

#starfield {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,217,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,217,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: orbDrift 12s ease-in-out infinite alternate;
}
.hero-orb--cyan {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,217,255,0.18) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}
.hero-orb--magenta {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,0,110,0.15) 0%, transparent 70%);
  bottom: -80px;
  left: -80px;
  animation-delay: -6s;
}

@keyframes orbDrift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 30px) scale(1.08); }
}

.hero-inner {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(0,217,255,0.3);
  background: rgba(0,217,255,0.06);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--cyan);
  margin-bottom: 2.5rem;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0,217,255,0.5); }
  50% { opacity: 0.7; box-shadow: 0 0 0 5px rgba(0,217,255,0); }
}

.hero-logo-wrap {
  margin-bottom: 1.5rem;
}
.hero-logo {
  width: 220px;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 0 40px rgba(0,217,255,0.4)) drop-shadow(0 0 25px rgba(255,0,110,0.3));
  animation: logoHover 4s ease-in-out infinite;
}
@keyframes logoHover {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 1.25rem;
}
.hero-title__ticker {
  font-family: var(--font-mono);
  font-size: clamp(3.5rem, 9vw, 6.5rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--cyan) 0%, #fff 40%, var(--magenta) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
}
.hero-title__sub {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0.05em;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(240,242,255,0.7);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}
.btn--primary {
  background: linear-gradient(135deg, var(--cyan) 0%, #0090cc 100%);
  color: #04050f;
  box-shadow: 0 4px 24px rgba(0,217,255,0.35);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,217,255,0.5);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.05);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem 2.5rem;
  backdrop-filter: blur(8px);
  display: inline-flex;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 2rem;
}
.hero-stat__num {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
}
.hero-stat__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: 0.3rem;
}
.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 10;
}
.hero-scroll__line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--muted) 0%, transparent 100%);
  animation: scrollLine 1.5s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.6); opacity: 0.5; }
}

/* ============================================================
   STORY
   ============================================================ */
.story {
  padding: 8rem 0;
  background: var(--bg);
  position: relative;
}
.story::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5px;
  margin-top: 4rem;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.story-card {
  padding: 2.5rem;
  background: var(--bg-2);
  position: relative;
  transition: background 0.25s;
  border-right: 1.5px solid var(--border);
}
.story-card:last-child { border-right: none; }
.story-card:hover { background: var(--bg-3); }

.story-card__num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.story-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--cyan-dim);
  border: 1px solid rgba(0,217,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  transition: background 0.2s, box-shadow 0.2s;
}
.story-card:hover .story-card__icon {
  background: rgba(0,217,255,0.18);
  box-shadow: 0 0 20px rgba(0,217,255,0.2);
}

.story-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.story-card__date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
  letter-spacing: 0.05em;
  margin-bottom: 0.9rem;
}

.story-card p:last-child {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* ============================================================
   X POSTS
   ============================================================ */
.posts {
  padding: 8rem 0;
  background: var(--bg-2);
  position: relative;
}
.posts::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.25rem;
  margin-top: 3.5rem;
}

.post-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  cursor: default;
}
.post-card:hover {
  border-color: rgba(0,217,255,0.25);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.35), 0 0 20px rgba(0,217,255,0.08);
}

.post-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.post-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1.5px solid rgba(0,217,255,0.25);
}
.post-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.post-meta {
  flex: 1;
  min-width: 0;
}
.post-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.post-check { color: #1d9bf0; font-size: 0.8rem; }
.post-handle {
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 0.1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-x { color: var(--muted); flex-shrink: 0; }

.post-text {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 0.9rem;
}
.post-text strong { color: #fff; }

.post-img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 0.9rem;
  height: auto;
  max-height: 280px;
  object-fit: cover;
}

.post-stats {
  display: flex;
  gap: 1.25rem;
  font-size: 0.76rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
}

/* ============================================================
   TOKENOMICS
   ============================================================ */
.tokenomics {
  padding: 8rem 0;
  background: var(--bg);
  position: relative;
}
.tokenomics::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.toko-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 4rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.toko-item {
  flex: 1;
  padding: 3rem 2.5rem;
  background: var(--bg-2);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: background 0.2s;
}
.toko-item:hover { background: var(--bg-3); }

.toko-divider {
  width: 1px;
  background: var(--border);
  flex-shrink: 0;
}

.toko-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(255,0,110,0.1);
  border: 1px solid rgba(255,0,110,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--magenta);
  flex-shrink: 0;
  transition: background 0.2s, box-shadow 0.2s;
}
.toko-item:hover .toko-icon {
  background: rgba(255,0,110,0.18);
  box-shadow: 0 0 18px rgba(255,0,110,0.2);
}

.toko-content {}

.toko-value {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--magenta);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.toko-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.8rem;
}

.toko-content p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ============================================================
   COMMUNITY
   ============================================================ */
.community {
  padding: 0;
}

.community-inner {
  position: relative;
  overflow: hidden;
  padding: 8rem 0;
  background: var(--bg-2);
}
.community-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.community-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(0,217,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.community-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.community-sub {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 3rem;
  max-width: 440px;
}

.community-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.comm-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.2s ease;
  border: 1px solid;
}

.comm-link--tg {
  background: rgba(41, 168, 224, 0.1);
  border-color: rgba(41, 168, 224, 0.3);
  color: #29a8e0;
}
.comm-link--tg:hover {
  background: rgba(41, 168, 224, 0.18);
  border-color: #29a8e0;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(41,168,224,0.2);
}

.comm-link--x {
  background: rgba(255,255,255,0.05);
  border-color: var(--border);
  color: var(--text);
}
.comm-link--x:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.comm-arrow {
  opacity: 0.5;
  transition: opacity 0.2s, transform 0.2s;
}
.comm-link:hover .comm-arrow {
  opacity: 1;
  transform: translateX(3px);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 3rem 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}
.footer-brand img {
  width: 28px;
  height: auto;
  filter: drop-shadow(0 0 8px rgba(0,217,255,0.4));
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-disc {
  font-size: 0.75rem;
  color: rgba(107,114,128,0.6);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .toko-row {
    flex-direction: column;
  }
  .toko-divider {
    width: 100%;
    height: 1px;
  }
  .nav-links { display: none; }
}

@media (max-width: 700px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-card { border-right: none; border-bottom: 1.5px solid var(--border); }
  .story-card:last-child { border-bottom: none; }
  .hero-stats { padding: 1rem 1.5rem; }
  .hero-stat { padding: 0 1rem; }
  .hero-stat__num { font-size: 1.2rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .hero { padding: 7rem 1.25rem 5rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .posts-grid { grid-template-columns: 1fr; }
  .community-links { flex-direction: column; }
  .comm-link { width: 100%; justify-content: space-between; }
}
