@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@300;400;500&family=Orbitron:wght@400;700;900&display=swap');

:root {
  --green: #2bdc70;
  --green-dim: #178a44;
  --green-dark: #0d4f28;
  --bg: #050508;
  --bg2: #0a0a0f;
  --bg3: #0f0f18;
  --surface: #111118;
  --surface2: #181820;
  --border: rgba(43,220,112,0.15);
  --border-bright: rgba(43,220,112,0.35);
  --text: #f5f4f0;
  --muted: #b8b6c8;
  --muted2: #d4d2e0;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ── GLOBAL LINK RESET ── */
a { color: inherit; text-decoration: none !important; }
a:hover { color: var(--green); }
a:visited { color: inherit !important; }
a:-webkit-any-link { color: inherit; text-decoration: none; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 18px;
  overflow-x: hidden;
}


/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background: rgba(5,5,8,0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.nav-logo { display: flex; align-items: center; }
.nav-links { display: flex; gap: 8px; list-style: none; align-items: center; }
.nav-links a {
  color: var(--muted2);
  font-size: 0.72rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  padding: 8px 16px;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--green); }
.nav-links a.active { color: var(--green); }
.nav-links .dropdown { position: relative; }
.nav-links .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg2);
  border: 1px solid var(--border);
  min-width: 240px;
  z-index: 100;
  padding: 8px 0;
}
.nav-links .dropdown:hover .dropdown-menu { display: block; }
.nav-links .dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.72rem;
  letter-spacing: 0.10em;
  color: var(--muted2);
  border-bottom: 1px solid rgba(43,220,112,0.06);
}
.nav-links .dropdown-menu a:hover { color: var(--green); background: rgba(43,220,112,0.05); }
.nav-cta {
  background: var(--green) !important;
  color: #050508 !important;
  font-weight: 700 !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.10em !important;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  padding: 8px 18px !important;
}
.nav-cta:hover { background: #1db85a !important; color: #050508 !important; }

/* ── PAGE HEADER ── */
.page-hero {
  padding: 140px 48px 80px;
  background: var(--bg2);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 20% 50%, rgba(43,220,112,0.05) 0%, transparent 70%);
}
.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(43,220,112,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(43,220,112,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 60% 100% at 0% 50%, black 0%, transparent 70%);
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.section-tag {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-tag::before { content: ''; display: block; width: 20px; height: 1px; background: var(--green); }
.page-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.92;
  letter-spacing: 0.03em;
  color: var(--text);
}
.page-title span { color: var(--green); }
.breadcrumb {
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb span { color: var(--green); }

/* ── MAIN CONTENT ── */
.main-content { max-width: 1200px; margin: 0 auto; padding: 80px 48px; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: #050508 !important;
  padding: 13px 28px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.10em;
  font-weight: 700;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary:hover { background: #1db85a; transform: translateY(-2px); color: #050508 !important; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--text) !important;
  padding: 12px 28px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.10em;
  font-weight: 700;
  border: 1px solid var(--border-bright);
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: border-color 0.2s, color 0.2s;
  cursor: pointer;
}
.btn-secondary:hover { border-color: var(--green); color: var(--green) !important; }

/* ── FOOTER ── */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 60px 48px 36px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p { font-size: 1.0rem; color: var(--muted); line-height: 1.8; margin-top: 12px; font-weight: 400; }
.footer-col h4 {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { color: var(--muted); font-size: 1.0rem; font-weight: 500; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--green); }
.footer-col ul li a:visited { color: var(--muted); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-bottom p { font-size: 0.88rem; color: var(--muted); line-height: 1.75; font-weight: 400; }
.footer-bottom p.left { font-size: 0.76rem; }
.footer-bottom p.right { font-size: 1.0rem; white-space: nowrap; }
.footer-bottom a { color: var(--green); }
.footer-bottom a:hover { color: var(--green); }
.footer-bottom a:visited { color: var(--muted); }

/* ── ANIMATIONS ── */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.anim { animation: fadeSlideUp 0.7s ease both; }
.anim-2 { animation: fadeSlideUp 0.7s ease 0.15s both; }
.anim-3 { animation: fadeSlideUp 0.7s ease 0.3s both; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .page-hero { padding: 110px 20px 60px; }
  .main-content { padding: 60px 20px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  footer { padding: 48px 20px 28px; }
}
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* Social card with real logos */
.social-grid-logos { display:grid; grid-template-columns:repeat(auto-fill,minmax(100px,1fr)); gap:2px; max-width:1200px; margin:0 auto; }
.social-card { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; padding:28px 16px; background:var(--surface); border:1px solid rgba(255,255,255,0.04); color:var(--muted2)!important; text-decoration:none!important; transition:all .25s; position:relative; overflow:hidden; }
.social-card::before { content:''; position:absolute; inset:0; background:rgba(43,220,112,0.06); opacity:0; transition:opacity .25s; }
.social-card:hover { transform:translateY(-4px); border-color:var(--border-bright); color:var(--green)!important; }
.social-card:hover::before { opacity:1; }
.social-icon-wrap { position:relative; z-index:1; width:28px; height:28px; display:flex; align-items:center; justify-content:center; }
.social-label { font-family:'Orbitron',sans-serif; font-size:.72rem; letter-spacing:.10em; font-weight:600; text-align:center; position:relative; z-index:1; }

/* ── PROJECT BANNER IMAGE ── */
.proj-banner-wrap {
  position: relative;
  width: calc(100% - 96px);
  max-width: 1104px;
  margin: 80px auto 0;
  max-height: 420px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 2px;
}
.proj-banner-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.proj-banner-overlay {
  position: absolute;
  inset: 0;

  pointer-events: none;
}
@media (max-width: 900px) {
  .proj-banner-wrap {
    width: calc(100% - 40px);
    margin: 70px auto 0;
    max-height: 280px;
  }
  .proj-banner-img {
    max-height: 280px;
  }
}
@media (max-width: 600px) {
  .proj-banner-wrap {
    width: calc(100% - 24px);
    margin: 65px auto 0;
    max-height: 200px;
  }
  .proj-banner-img {
    max-height: 200px;
  }
}

/* ── SIDEBAR YOUTUBE EMBED ── */
.sidebar-embed {
  margin-top: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}
.sidebar-embed-label {
  padding: 14px 16px 10px;
  border-bottom: 1px solid rgba(43,220,112,0.1);
}
.sidebar-embed-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}
.sidebar-embed-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
}
.sidebar-embed-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ── WATCH SECTION (project pages) ── */
.watch-section {
  margin-top: 64px;
  padding-top: 64px;
  border-top: 1px solid rgba(43,220,112,0.1);
}
.watch-header { margin-bottom: 32px; }
.watch-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.04em;
  line-height: 0.92;
}
.watch-title span { color: var(--green); }
.watch-empty {
  padding: 60px 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid rgba(43,220,112,0.3);
  text-align: center;
}
.watch-empty-icon { margin-bottom: 20px; }
.watch-empty-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: 12px;
}
.watch-empty-body {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.75;
  max-width: 480px;
  margin: 0 auto;
}
.watch-episodes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2px;
}
.watch-ep-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.04);
  overflow: hidden;
  transition: border-color 0.2s;
}
.watch-ep-card:hover { border-color: var(--border-bright); }
.watch-ep-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
}
.watch-ep-thumb iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.watch-ep-info { padding: 16px 18px; }
.watch-ep-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  color: var(--green);
  margin-bottom: 4px;
}
.watch-ep-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.watch-ep-date {
  font-size: 0.82rem;
  color: var(--muted);
}
