@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --bg: #090d16;
  --bg-secondary: #0f172a;
  --fg: #f8fafc;
  --muted: #94a3b8;
  --card: rgba(18, 26, 44, 0.75);
  --card-hover: rgba(26, 38, 64, 0.85);
  --line: rgba(255, 255, 255, 0.08);
  --line-highlight: rgba(0, 210, 255, 0.35);

  --pri: #00d2ff;
  --pri2: #3a7bd5;
  --accent-blue: #00d2ff;
  --accent-cyan: #38bdf8;
  --accent-green: #00e676;
  --accent-gold: #ffb300;
  --accent-purple: #a855f7;
  --accent-pink: #ec4899;

  --live: #00e676;
  --soon: #ffb300;
  --web: #00d2ff;

  --r: 20px;
  --sh: 0 20px 40px rgba(0, 0, 0, 0.4);
  --glow-blue: 0 0 24px rgba(0, 210, 255, 0.25);
  --glow-green: 0 0 24px rgba(0, 230, 118, 0.25);

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 15%, rgba(0, 210, 255, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 90% 85%, rgba(0, 230, 118, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.03) 0%, transparent 60%);
  background-attachment: fixed;
}

a {
  color: var(--pri);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

a:hover {
  text-decoration: none;
  color: #fff;
}

svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.wrap, .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--card);
  padding: 8px 16px;
  z-index: 999;
}
.skip:focus {
  left: 8px;
}

/* TOP HEADER & NAVBAR */
.top, header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(9, 13, 22, 0.85);
  border-bottom: 1px solid var(--line);
}

.bar, .nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 72px;
}

.brand, .logo-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.5px;
}

.brand .mono, .logo-badge {
  display: inline-grid;
  place-items: center;
  padding: 6px 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-green));
  color: #051020;
  font-weight: 800;
  box-shadow: 0 0 16px rgba(0, 210, 255, 0.3);
}

.brand span:last-child {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.05rem;
}

.nav, .nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin-left: auto;
}

.nav a, .nav-links a {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav a:hover, .nav-links a:hover {
  color: #fff;
}

.nav a.highlight-link {
  color: var(--accent-blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.25);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}
.nav a.highlight-link:hover {
  background: rgba(0, 210, 255, 0.2);
  color: #fff;
}

.lang {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.lang a {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--muted);
  transition: all 0.2s ease;
}

.lang a.on {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  color: #051020;
}

.lang a:hover:not(.on) {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* BUTTONS */
.btn-group, .cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
}

.btn:hover {
  transform: translateY(-2px);
  border-color: var(--line-highlight);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.btn-primary, .btn.pri {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  border-color: transparent;
  color: #051020;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0, 210, 255, 0.35);
}

.btn-primary:hover, .btn.pri:hover {
  background: linear-gradient(135deg, #33dcff, #5195e8);
  box-shadow: 0 6px 28px rgba(0, 210, 255, 0.55);
  color: #030812;
}

.btn-cinema {
  background: linear-gradient(135deg, #ff0844 0%, #ffb199 100%);
  border-color: transparent;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(255, 8, 68, 0.35);
}

.btn-cinema:hover {
  box-shadow: 0 6px 28px rgba(255, 8, 68, 0.55);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg);
  border: 1px solid var(--line);
}

.btn.big {
  font-size: 1.1rem;
  padding: 16px 32px;
}

/* HERO SECTION */
.hero {
  padding: 80px 0 60px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-tag, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.25);
  color: var(--accent-blue);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-family: var(--font-mono);
  margin-bottom: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 4rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 12px;
  background: linear-gradient(180deg, #ffffff 30%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle, .alt {
  font-size: 1.25rem;
  color: var(--accent-blue);
  font-weight: 600;
  margin-bottom: 18px;
}

.hero-desc, .lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 620px;
}

.hero-desc strong, .lead strong {
  color: #fff;
}

/* HERO PORTRAIT & CARD */
.hero-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--sh);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.founder-portrait-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.founder-avatar {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  object-fit: cover;
  border: 2px solid var(--accent-blue);
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.4);
  flex-shrink: 0;
}

.founder-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.founder-info p {
  font-size: 0.85rem;
  color: var(--accent-green);
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 6px;
}

.founder-info p::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-item {
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.stat-item:hover {
  border-color: rgba(0, 210, 255, 0.3);
  transform: translateY(-2px);
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-blue);
  font-family: var(--font-mono);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.3;
}

/* SECTION TITLES */
.sec {
  padding: 70px 0;
}

.section-header {
  margin-bottom: 44px;
}

.section-title, h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
  color: #fff;
}

.section-desc, .sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 720px;
}

/* ========================================================= */
/* CINEMA THEATER SECTION */
/* ========================================================= */
.cinema-section {
  position: relative;
  background: linear-gradient(180deg, rgba(9, 13, 22, 0) 0%, rgba(12, 18, 32, 0.7) 30%, rgba(12, 18, 32, 0.7) 70%, rgba(9, 13, 22, 0) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 90px 0;
}

.cinema-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(255, 8, 68, 0.15), rgba(255, 177, 153, 0.15));
  border: 1px solid rgba(255, 8, 68, 0.4);
  color: #ff5252;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-family: var(--font-mono);
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cinema-modes {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.mode-tab {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 8px 18px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mode-tab:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.mode-tab.active {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  color: #051020;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.35);
}

/* THEATER SCREEN */
.theater-container {
  margin-top: 36px;
  background: #020408;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 50px rgba(0, 210, 255, 0.1);
  position: relative;
}

.theater-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theater-screen video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  cursor: pointer;
}

.comic-frame {
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  background: #060911;
  padding: 20px;
}

.comic-frame img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

/* PROGRESS BAR */
.cinema-progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  position: relative;
}

.cinema-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-green));
  position: relative;
  transition: width 0.1s linear;
}

.cinema-progress-fill::after {
  content: "";
  position: absolute;
  right: -5px;
  top: -4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px rgba(0, 210, 255, 0.8);
}

/* CONTROLS BAR */
.theater-controls {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(9, 13, 22, 0.95);
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.controls-left, .controls-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ctrl-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: #fff;
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.ctrl-btn.play-btn {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  color: #051020;
  font-weight: 700;
  padding: 8px 18px;
}

.ctrl-btn.play-btn:hover {
  box-shadow: 0 0 16px rgba(0, 210, 255, 0.5);
}

.time-display {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--muted);
}

.auto-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}

.auto-toggle-wrap input {
  accent-color: var(--accent-blue);
  cursor: pointer;
}

/* NARRATIVE STORY PANEL */
.theater-narrative {
  padding: 24px 30px;
  background: rgba(18, 26, 44, 0.6);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: flex-start;
}

.narrative-badge {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 130px;
}

.year-tag {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-blue);
}

.theme-tag {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  width: fit-content;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
}

.narrative-body h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.narrative-body p {
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* EPISODE PILLS SCRUBBER */
.cinema-pills-wrap {
  margin-top: 24px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 12px 4px 16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 210, 255, 0.3) transparent;
}

.cinema-pills-wrap::-webkit-scrollbar {
  height: 6px;
}

.cinema-pills-wrap::-webkit-scrollbar-thumb {
  background: rgba(0, 210, 255, 0.3);
  border-radius: 999px;
}

.ep-pill {
  background: rgba(18, 26, 44, 0.7);
  border: 1px solid var(--line);
  padding: 10px 18px;
  border-radius: 14px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 90px;
  flex-shrink: 0;
  transition: all 0.2s ease;
  color: var(--muted);
  text-align: left;
}

.ep-pill:hover {
  border-color: rgba(0, 210, 255, 0.35);
  color: #fff;
  transform: translateY(-2px);
}

.ep-pill.active {
  background: rgba(0, 210, 255, 0.15);
  border-color: var(--accent-blue);
  color: #fff;
  box-shadow: 0 0 16px rgba(0, 210, 255, 0.25);
}

.ep-pill .ep-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-blue);
}

.ep-pill .ep-yr {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}

/* ========================================================= */
/* STORYLINE & HISTORY TIMELINE */
/* ========================================================= */
.timeline {
  position: relative;
  padding-left: 40px;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
  margin: 40px 0 60px;
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
}

.timeline-dot {
  position: absolute;
  left: -49px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-blue);
  box-shadow: 0 0 14px var(--accent-blue);
  border: 2px solid var(--bg);
}

.timeline-dot.family {
  background: #ff5252;
  box-shadow: 0 0 14px #ff5252;
}

.timeline-dot.gold {
  background: var(--accent-gold);
  box-shadow: 0 0 14px var(--accent-gold);
}

.timeline-dot.green {
  background: var(--accent-green);
  box-shadow: 0 0 14px var(--accent-green);
}

.timeline-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px 28px;
  transition: all 0.25s ease;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.timeline-card:hover {
  border-color: var(--line-highlight);
  transform: translateX(4px);
  box-shadow: var(--sh);
}

.timeline-year {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-blue);
  font-weight: 700;
  margin-bottom: 6px;
}

.timeline-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.timeline-content {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

.timeline-action {
  flex-shrink: 0;
}

.btn-play-scene {
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.3);
  color: var(--accent-blue);
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-play-scene:hover {
  background: var(--accent-blue);
  color: #051020;
  box-shadow: 0 0 16px rgba(0, 210, 255, 0.4);
}

/* ========================================================= */
/* STORYBOARD COMIC GALLERY */
/* ========================================================= */
.comic-gallery {
  margin: 40px 0 70px;
}

.comic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.comic-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.comic-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-highlight);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.6);
}

.comic-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.comic-card-info {
  padding: 14px 16px;
}

.comic-card-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-blue);
  font-weight: 700;
}

.comic-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin-top: 2px;
}

/* STORYBOARD MASTER BANNER */
.storyboard-banner {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px;
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.storyboard-banner img {
  width: 100%;
  border-radius: 16px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: transform 0.2s ease;
}

.storyboard-banner img:hover {
  transform: scale(1.02);
}

/* ========================================================= */
/* PROJECTS ECOSYSTEM */
/* ========================================================= */
.projects-grid, .grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 22px;
  margin-bottom: 70px;
}

.project-card, .card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  color: var(--fg);
}

.project-card:hover, .card:hover {
  transform: translateY(-4px);
  border-color: var(--line-highlight);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
  text-decoration: none;
}

.card-h, .project-header {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.appicon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(0,0,0,0.4);
}

.appicon.letter {
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 22px;
  font-family: var(--font-mono);
}

.g-mydokon { background: linear-gradient(135deg, #f97316, #ef4444) !important; }
.g-hujjat { background: linear-gradient(135deg, #2563eb, #1e3a8a) !important; }
.g-smartcoinuz { background: linear-gradient(135deg, #0098ea, #22d3ee) !important; }
.g-itvi { background: linear-gradient(135deg, #ef4444, #7c3aed) !important; }
.g-quickutils { background: linear-gradient(135deg, #10b981, #0f766e) !important; }

.project-title, .card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}

.project-platforms, .plats {
  font-size: 0.8rem;
  color: var(--accent-blue);
  font-family: var(--font-mono);
  margin-top: 4px;
}

.project-desc, .tag {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 12px 0 18px;
  flex-grow: 1;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.badge, .project-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid currentColor;
}

.badge.live, .project-badge.store {
  background: rgba(0, 230, 118, 0.12);
  color: var(--accent-green);
  border-color: rgba(0, 230, 118, 0.3);
}

.badge.soon, .project-badge.soon {
  background: rgba(255, 179, 0, 0.12);
  color: var(--accent-gold);
  border-color: rgba(255, 179, 0, 0.3);
}

.badge.web {
  background: rgba(0, 210, 255, 0.12);
  color: var(--accent-blue);
  border-color: rgba(0, 210, 255, 0.3);
}

/* ========================================================= */
/* TECH STACK & CHIPS */
/* ========================================================= */
.skills-wrapper, .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 20px 0 60px;
}

.skill-chip, .chips li {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  padding: 10px 18px;
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: #fff;
  transition: all 0.2s ease;
}

.skill-chip:hover, .chips li:hover {
  border-color: var(--accent-blue);
  transform: translateY(-2px);
  background: rgba(0, 210, 255, 0.08);
}

/* ========================================================= */
/* ABOUT & OFFICIAL LINKS */
/* ========================================================= */
.two {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 48px;
}

.about-text p {
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.plist {
  list-style: none;
  display: grid;
  gap: 12px;
}

.plist a {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  color: #fff;
  font-weight: 600;
  transition: all 0.2s ease;
}

.plist a:hover {
  border-color: var(--accent-blue);
  transform: translateY(-2px);
  background: var(--card-hover);
}

.plist small {
  display: block;
  color: var(--muted);
  font-weight: 400;
  font-size: 0.85rem;
}

/* ========================================================= */
/* FAQ SECTION */
/* ========================================================= */
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 12px;
  transition: border-color 0.2s ease;
}

.faq details:hover {
  border-color: rgba(0, 210, 255, 0.3);
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  outline: none;
}

.faq p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.98rem;
}

/* ========================================================= */
/* FOOTER */
/* ========================================================= */
footer, .foot {
  border-top: 1px solid var(--line);
  padding: 50px 0 40px;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
  background: rgba(9, 13, 22, 0.95);
}

.footer-links, .foot .links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.footer-links a, .foot .links a {
  color: var(--accent-blue);
  font-weight: 500;
}

.footer-links a:hover, .foot .links a:hover {
  color: #fff;
}

/* ========================================================= */
/* LIGHTBOX MODAL */
/* ========================================================= */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(4, 7, 14, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-modal.open {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 210, 255, 0.2);
}

.lightbox-close {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1e293b;
  border: 1px solid var(--line);
  color: #fff;
  font-size: 24px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.lightbox-close:hover {
  transform: scale(1.1);
  background: #ff5252;
}

/* SUBPAGE SPECIFIC STYLES (for projects/*) */
.crumbs {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 24px;
}
.ph {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 16px;
}
.ph h1 {
  font-size: clamp(28px, 4vw, 42px);
}
.byline {
  font-size: 17px;
  padding: 14px 18px;
  border-left: 4px solid var(--accent-blue);
  background: var(--card);
  border-radius: 0 14px 14px 0;
  margin: 24px 0 16px;
}
.byline a {
  font-weight: 700;
}
.feat {
  padding-left: 20px;
  margin: 16px 0;
}
.feat li {
  margin: 8px 0;
  color: #cbd5e1;
}
.note {
  font-size: 14px;
  color: var(--muted);
  border: 1px dashed var(--line);
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
}
.stores {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.store {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  color: #fff;
  font-weight: 600;
}
.store:hover {
  border-color: var(--accent-blue);
  background: var(--card-hover);
}
.store.off {
  opacity: 0.65;
  border-style: dashed;
}

/* RESPONSIVE DESIGN */
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .two {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .storyboard-banner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav, .nav-links {
    display: none;
  }
  .theater-narrative {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .timeline-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .timeline {
    padding-left: 28px;
  }
  .timeline-dot {
    left: -37px;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
}
