/* =====================================================
   MULTIVERSE OF BRICKNESS – Main Stylesheet
   ===================================================== */

/* ── Custom Properties ── */
:root {
  --bg-base:      #06080f;
  --bg-card:      #0d1117;
  --bg-card-alt:  #111827;
  --bg-glass:     rgba(255,255,255,0.04);
  --border-glass: rgba(255,255,255,0.08);

  --accent-yellow: #FFE81A;
  --accent-orange: #FF6B35;
  --accent-purple: #9B59B6;
  --accent-blue:   #3498DB;
  --accent-teal:   #1ABC9C;
  --accent-pink:   #E91E63;

  --gradient-hero: linear-gradient(135deg, #0a0e1a 0%, #0d1b3e 50%, #0a0e1a 100%);
  --gradient-text: linear-gradient(90deg, #FFE81A, #FF6B35, #E91E63, #9B59B6);
  --gradient-cta:  linear-gradient(135deg, #FF6B35, #FFE81A);
  --gradient-glow: radial-gradient(ellipse at center, rgba(255,232,26,0.15) 0%, transparent 70%);

  --font-display: 'Orbitron', sans-serif;
  --font-heading: 'Rajdhani', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --radius-full: 9999px;

  --shadow-glow-yellow: 0 0 30px rgba(255,232,26,0.3), 0 0 60px rgba(255,232,26,0.1);
  --shadow-glow-orange: 0 0 30px rgba(255,107,53,0.3), 0 0 60px rgba(255,107,53,0.1);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: #e2e8f0;
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

/* ── Utility ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: var(--gradient-text);
  background-size: 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 4s ease infinite;
}

@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity 0.2s;
}

.btn:hover::before { opacity: 1; }

.btn-primary {
  background: var(--gradient-cta);
  color: #000;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(255,107,53,0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,107,53,0.6);
}

.btn-ghost {
  background: transparent;
  color: #e2e8f0;
  border: 1.5px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  border-color: var(--accent-yellow);
  color: var(--accent-yellow);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255,232,26,0.2);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.1rem;
}

/* ── Section Shared ── */
.section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.section-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
  opacity: 0.15;
  z-index: 0;
}

.glow-purple { background: var(--accent-purple); top: -100px; right: -100px; }
.glow-orange { background: var(--accent-orange); bottom: -100px; left: -100px; }
.glow-blue   { background: var(--accent-blue);   top: 50%; left: 50%; transform: translate(-50%,-50%); }
.glow-yellow { background: var(--accent-yellow);  top: -150px; right: 10%; }
.glow-pink   { background: var(--accent-pink);    bottom: -100px; right: -100px; }

.section-header {
  text-align: center;
  margin-bottom: 72px;
  position: relative;
  z-index: 1;
}

.section-tag {
  display: inline-block;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-yellow);
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #fff;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #94a3b8;
  max-width: 500px;
  margin: 0 auto;
}

/* ── Scroll Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ══════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: transparent;
  transition: background var(--transition), backdrop-filter var(--transition),
              box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(6,8,15,0.85);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border-glass);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.brand-icon { font-size: 1.4rem; }

.brand-accent {
  color: var(--accent-yellow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  color: #94a3b8;
  transition: var(--transition);
}

.nav-links a:hover {
  color: #fff;
  background: var(--bg-glass);
}

.nav-yt-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  background: var(--gradient-cta) !important;
  color: #000 !important;
  font-weight: 700 !important;
  padding: 8px 18px !important;
}

.nav-yt-btn svg {
  width: 16px;
  height: 16px;
}

.nav-yt-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255,107,53,0.5);
  background: var(--bg-glass) !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #e2e8f0;
  border-radius: 2px;
  transition: var(--transition);
}

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding: 120px 24px 80px;
}

#particles-canvas-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

#particles-canvas {
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-badge {
  display: inline-block;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-yellow);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 24px;
}

.title-line-1 {
  display: block;
  font-size: clamp(3rem, 10vw, 7rem);
  color: #fff;
  text-shadow: 0 0 60px rgba(255,232,26,0.3);
  letter-spacing: 0.1em;
}

.title-line-2 {
  display: block;
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  letter-spacing: 0.08em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: #94a3b8;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

/* Stats */
.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  padding: 24px 40px;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 32px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent-yellow);
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent-yellow);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
  white-space: nowrap;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-glass);
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: #475569;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: float 2s ease-in-out infinite;
}

.scroll-arrow {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--accent-yellow));
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ══════════════════════════════════════════════
   STORY SECTION
══════════════════════════════════════════════ */
.story-section {
  background: linear-gradient(180deg, var(--bg-base) 0%, #0a0d1a 100%);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.story-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.story-lead {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: #e2e8f0;
  line-height: 1.6;
}

.story-lead strong {
  color: var(--accent-yellow);
}

.story-text p {
  color: #94a3b8;
  font-size: 1rem;
}

.story-text strong {
  color: #e2e8f0;
}

.story-text em {
  font-style: italic;
  color: var(--accent-purple);
  display: block;
  padding-left: 16px;
  border-left: 3px solid var(--accent-purple);
  margin: 8px 0;
}

.story-text .btn {
  align-self: flex-start;
  margin-top: 12px;
}

/* Portal Visual */
.story-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 400px;
}

.story-portal {
  position: relative;
  width: 260px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portal-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid;
  animation: portal-rotate 8s linear infinite;
}

.portal-ring-1 {
  width: 100%;
  height: 100%;
  border-color: rgba(155,89,182,0.6);
  animation-duration: 8s;
}

.portal-ring-2 {
  width: 78%;
  height: 78%;
  border-color: rgba(52,152,219,0.5);
  animation-duration: 12s;
  animation-direction: reverse;
  border-style: dashed;
}

.portal-ring-3 {
  width: 56%;
  height: 56%;
  border-color: rgba(255,232,26,0.5);
  animation-duration: 6s;
}

@keyframes portal-rotate {
  to { transform: rotate(360deg); }
}

.portal-core {
  width: 40%;
  height: 40%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,232,26,0.3), rgba(155,89,182,0.2));
  box-shadow: 0 0 30px rgba(255,232,26,0.4), 0 0 60px rgba(155,89,182,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse-core 3s ease-in-out infinite;
}

.portal-emoji {
  font-size: 2.5rem;
  animation: portal-rotate 10s linear infinite;
}

@keyframes pulse-core {
  0%, 100% { box-shadow: 0 0 30px rgba(255,232,26,0.4), 0 0 60px rgba(155,89,182,0.3); }
  50%       { box-shadow: 0 0 50px rgba(255,232,26,0.7), 0 0 100px rgba(155,89,182,0.5); }
}

/* Floating bricks */
.story-bricks {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.floating-brick {
  position: absolute;
  font-size: 1.5rem;
  animation: brick-float 5s ease-in-out infinite;
  opacity: 0.7;
}

.b1 { top: 5%;  left: 5%;  animation-delay: 0s;    animation-duration: 6s; }
.b2 { top: 10%; right: 5%; animation-delay: 0.8s;  animation-duration: 7s; }
.b3 { bottom: 15%; left: 10%; animation-delay: 1.5s; animation-duration: 5.5s; }
.b4 { bottom: 5%;  right: 10%; animation-delay: 2s;  animation-duration: 6.5s; }
.b5 { top: 45%; left: 0;   animation-delay: 0.5s;  animation-duration: 7.5s; }
.b6 { top: 45%; right: 0;  animation-delay: 2.5s;  animation-duration: 5s; }

@keyframes brick-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-20px) rotate(15deg); }
}

/* ══════════════════════════════════════════════
   UPDATE SECTION
══════════════════════════════════════════════ */
.update-section {
  background: #0a0d1a;
}

.update-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.update-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(0,0,0,0.5), var(--shadow-glow-orange);
}

.update-thumbnail {
  position: relative;
  overflow: hidden;
  min-height: 380px;
}

.thumbnail-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a0a2e, #0d1b3e, #1a2a0a);
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb-play {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,107,53,0.2);
  border: 2px solid var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
}

.thumb-play:hover {
  background: var(--accent-orange);
  transform: scale(1.1);
}

.thumb-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #E91E63;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(233,30,99,0.5); }
  50%       { box-shadow: 0 0 0 8px rgba(233,30,99,0); }
}

.thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 60%);
}

.thumb-title-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  z-index: 2;
}

.thumb-title-overlay span {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--accent-orange);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
}

.thumb-title-overlay h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-top: 4px;
}

.update-info {
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.update-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.update-ep {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-orange);
  background: rgba(255,107,53,0.1);
  border: 1px solid rgba(255,107,53,0.3);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.update-date {
  font-size: 0.85rem;
  color: #64748b;
}

.update-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.update-desc {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.8;
}

.update-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #94a3b8;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

/* ══════════════════════════════════════════════
   UNIVERSES
══════════════════════════════════════════════ */
.universes-section {
  background: var(--bg-base);
}

.universes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

.universe-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.universe-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(var(--card-accent-rgb,255,255,255),0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}

.universe-card:hover {
  transform: translateY(-6px);
  border-color: var(--card-accent);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4), 0 0 0 1px var(--card-accent), 0 0 30px rgba(0,0,0,0.2);
}

.universe-card:hover::before {
  opacity: 1;
}

.universe-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
  display: block;
}

.universe-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.universe-desc {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.65;
  margin-bottom: 20px;
}

.universe-bar {
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  margin-bottom: 8px;
  overflow: hidden;
}

.universe-bar span {
  display: block;
  height: 100%;
  background: var(--card-accent);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--card-accent);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.universe-card.visible .universe-bar span {
  transform: scaleX(1);
}

.universe-progress {
  font-size: 0.7rem;
  color: #475569;
  font-family: var(--font-heading);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ══════════════════════════════════════════════
   PROJECTS
══════════════════════════════════════════════ */
.projects-section {
  background: #0a0d1a;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  border-color: rgba(255,255,255,0.15);
}

.project-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

.project-img-wrap {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.project-featured .project-img-wrap {
  min-height: 380px;
}

.project-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover .project-img-wrap img {
  transform: scale(1.05);
}

.project-img-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-icon {
  font-size: 5rem;
  opacity: 0.3;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-play {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient-cta);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: bold;
  transition: transform var(--transition);
  box-shadow: 0 0 0 8px rgba(255,107,53,0.2);
}

.project-play:hover {
  transform: scale(1.1);
}

.project-info {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

.project-universe {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--u-color, var(--accent-yellow));
}

.project-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.project-featured .project-title {
  font-size: 1.7rem;
}

.project-desc {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.7;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: #64748b;
  font-family: var(--font-heading);
}

/* ══════════════════════════════════════════════
   COMMUNITY SECTION
══════════════════════════════════════════════ */
.community-section {
  background: var(--bg-base);
}

.community-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.community-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(255,232,26,0.04) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(233,30,99,0.04) 0%, transparent 60%);
}

.community-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

.community-desc {
  font-size: 1.05rem;
  color: #94a3b8;
  line-height: 1.8;
}

.community-actions { display: flex; }

.community-perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.perk {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #94a3b8;
}

.perk-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* Orbit animation */
.community-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.community-orbit {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,0.1);
}

.orbit-1 {
  width: 100%;
  height: 100%;
  animation: orbit-spin 15s linear infinite;
}

.orbit-2 {
  width: 65%;
  height: 65%;
  animation: orbit-spin 10s linear infinite reverse;
}

@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}

.orbit-dot {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-card-alt);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  top: 50%;
  left: 50%;
  transform-origin: 0 0;
  transform: translate(-50%, -50%) rotate(var(--angle)) translateX(140px) rotate(calc(-1 * var(--angle)));
}

.orbit-2 .orbit-dot {
  transform: translate(-50%, -50%) rotate(var(--angle)) translateX(90px) rotate(calc(-1 * var(--angle)));
}

.orbit-center {
  position: relative;
  z-index: 2;
  font-size: 3rem;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--bg-card-alt);
  border: 2px solid var(--accent-yellow);
  box-shadow: 0 0 30px rgba(255,232,26,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse-core 3s ease-in-out infinite;
}

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.footer {
  background: #06080f;
  border-top: 1px solid var(--border-glass);
  padding: 64px 0 32px;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  text-align: center;
}

.footer-tagline {
  font-size: 0.9rem;
  color: #475569;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: var(--transition);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.social-link:hover {
  background: var(--gradient-cta);
  color: #000;
  border-color: transparent;
  transform: translateY(-2px);
}

.footer-nav {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-nav a {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: #475569;
  letter-spacing: 0.05em;
  transition: color var(--transition);
}

.footer-nav a:hover { color: var(--accent-yellow); }

.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--border-glass);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: #334155;
}

.footer-credits { font-style: italic; }

/* ── Nav Active State ── */
.nav-links a.active {
  color: var(--accent-yellow) !important;
}

/* ── Project img fill ── */
.project-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .universes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .community-card {
    grid-template-columns: 1fr;
    padding: 48px 40px;
    gap: 48px;
  }

  .community-orbit {
    width: 260px;
    height: 260px;
  }

  .orbit-1 .orbit-dot {
    transform: translate(-50%, -50%) rotate(var(--angle)) translateX(110px) rotate(calc(-1 * var(--angle)));
  }

  .orbit-2 .orbit-dot {
    transform: translate(-50%, -50%) rotate(var(--angle)) translateX(70px) rotate(calc(-1 * var(--angle)));
  }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }

  .navbar { padding: 16px 20px; }

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(6,8,15,0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    backdrop-filter: blur(20px);
  }

  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.2rem; }

  .nav-hamburger { display: flex; z-index: 1001; }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .story-visual {
    min-height: 280px;
  }

  .update-card {
    grid-template-columns: 1fr;
  }

  .update-thumbnail { min-height: 260px; }
  .update-info { padding: 32px 24px; }

  .universes-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

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

  .project-featured {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    padding: 24px;
    gap: 16px;
  }

  .stat { padding: 0 16px; }
  .stat-divider { width: 40px; height: 1px; }

  .community-card {
    padding: 36px 24px;
    gap: 40px;
  }

  .community-perks {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .universes-grid {
    grid-template-columns: 1fr;
  }

  .hero-title .title-line-1 {
    font-size: 2.8rem;
  }

  .hero-title .title-line-2 {
    font-size: 2.2rem;
  }
}
