/* =========================================================
   RUANZITWO — Portfolio
   Style: dark, cinematic, Netflix-inspired
   ========================================================= */

:root {
  --bg: #000000;
  --bg-soft: #0a0a0a;
  --bg-card: #111111;
  --line: #1c1c1c;
  --text: #f5f5f5;
  --muted: #8a8a8a;
  --red: #e50914;
  --red-deep: #b00610;
  --red-glow: rgba(229, 9, 20, 0.45);
  --radius: 14px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

::selection { background: var(--red); color: #fff; }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: linear-gradient(180deg, rgba(0,0,0,0.85), rgba(0,0,0,0));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .3s var(--ease), padding .3s var(--ease);
}
.nav.scrolled {
  background: rgba(0,0,0,0.9);
  padding: 14px 48px;
  border-bottom: 1px solid var(--line);
}
.logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 2px;
  color: #fff;
}
.logo-accent { color: var(--red); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color .25s var(--ease);
  position: relative;
}
.nav-links a:hover { color: #fff; }
.nav-links a.cta-mini {
  color: #fff;
  background: var(--red);
  padding: 8px 18px;
  border-radius: 999px;
  transition: all .25s var(--ease);
}
.nav-links a.cta-mini:hover {
  background: var(--red-deep);
  box-shadow: 0 0 24px var(--red-glow);
  transform: translateY(-1px);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 120px 48px 0;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(229,9,20,0.22), transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(229,9,20,0.10), transparent 60%),
    linear-gradient(180deg, #000 0%, #050505 100%);
  z-index: 0;
}
.hero-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
  opacity: 0.07;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 40px;
}
.hero-pre {
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 24px;
  font-weight: 600;
  opacity: 0;
  animation: fadeUp .8s var(--ease) .1s forwards;
}
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(64px, 12vw, 180px);
  line-height: 0.92;
  letter-spacing: -1px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 1s var(--ease) .25s forwards;
}
.hero-title-accent {
  color: var(--red);
  text-shadow: 0 0 60px var(--red-glow);
}
.hero-sub {
  font-size: clamp(15px, 1.4vw, 19px);
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 1s var(--ease) .45s forwards;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s var(--ease) .6s forwards;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: all .25s var(--ease);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 6px 24px rgba(229,9,20,0.35);
}
.btn-primary:hover {
  background: var(--red-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(229,9,20,0.55);
}
.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
}
.btn-lg { padding: 18px 36px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }
.btn-icon { font-size: 12px; }

/* ---------- HERO MARQUEE ---------- */
.hero-marquee {
  position: relative;
  z-index: 2;
  margin: 0 -48px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  background: rgba(0,0,0,0.4);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: marquee 22s linear infinite;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 4px;
  color: rgba(255,255,255,0.6);
}
.marquee-set {
  display: flex;
  gap: 40px;
  padding-right: 40px;
  flex-shrink: 0;
}
.marquee-set span:nth-child(even) { color: var(--red); }

@keyframes marquee {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* ---------- STATS ---------- */
.stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 80px 48px;
  background: linear-gradient(180deg, #000, #0a0000 50%, #000);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.stat {
  flex: 1;
  text-align: center;
  min-width: 200px;
  padding: 20px;
}
.stat-divider {
  flex: 0 0 1px;
  align-self: stretch;
  background: var(--line);
  padding: 0;
  min-width: unset;
}
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(56px, 7vw, 96px);
  line-height: 1;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: 1px;
}
.stat-num::after { content: attr(data-suffix); color: var(--red); }
.stat-label {
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 500;
}

/* ---------- SECTION HEAD ---------- */
.section-head {
  max-width: 1400px;
  margin: 0 auto 40px;
  padding: 0 48px;
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: 3px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
}
.section-bar {
  display: inline-block;
  width: 6px;
  height: 32px;
  background: var(--red);
  box-shadow: 0 0 16px var(--red-glow);
}
.section-sub {
  font-size: 15px;
  color: var(--muted);
  margin-left: 24px;
}

/* ---------- SHOWCASE ---------- */
.showcase {
  padding: 100px 0;
  background: var(--bg);
}
.video-row {
  overflow: hidden;
  padding: 20px 0 40px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.video-track {
  display: flex;
  width: max-content;
  animation: videoMarquee 60s linear infinite;
}
.video-track:hover { animation-play-state: paused; }

.video-set {
  display: flex;
  gap: 24px;
  padding-right: 24px;
  flex-shrink: 0;
}

@keyframes videoMarquee {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.video-card {
  flex: 0 0 auto;
  width: clamp(240px, 22vw, 320px);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), border-color .3s var(--ease), box-shadow .4s var(--ease);
}
.video-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--red);
  box-shadow: 0 16px 48px rgba(229,9,20,0.25);
  z-index: 2;
}
.video-card.featured {
  border-color: rgba(229,9,20,0.4);
  box-shadow: 0 0 0 1px var(--red), 0 16px 48px rgba(229,9,20,0.15);
}
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #000;
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-meta {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.video-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 2px;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(255,255,255,0.08);
  color: var(--muted);
  text-transform: uppercase;
  width: fit-content;
  font-weight: 600;
}
.video-tag.tag-hot {
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 14px var(--red-glow);
}
.video-meta h3 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

/* ---------- ABOUT ---------- */
.about {
  padding: 120px 48px;
  background: linear-gradient(180deg, #000, #060606);
  border-top: 1px solid var(--line);
}
.about-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-text .section-title { padding: 0; }
.about-lead {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.5;
  color: #fff;
  margin: 32px 0 24px;
  font-weight: 400;
}
.about-body {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 36px;
  max-width: 580px;
}
.about-body strong { color: var(--red); font-weight: 600; }

.about-list {
  list-style: none;
  display: grid;
  gap: 14px;
}
.about-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  transition: all .25s var(--ease);
}
.about-list li:hover {
  border-color: var(--red);
  transform: translateX(6px);
}
.about-list li span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  color: var(--red);
  min-width: 28px;
}

.about-card {
  background: linear-gradient(160deg, #150202, #0a0000);
  border: 1px solid rgba(229,9,20,0.3);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: sticky;
  top: 100px;
  box-shadow: 0 20px 60px rgba(229,9,20,0.15);
}
.about-card-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 18px;
  padding: 6px 12px;
  border: 1px solid var(--red);
  border-radius: 999px;
  position: relative;
}
.about-card-tag::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  margin-right: 8px;
  vertical-align: middle;
  animation: pulse 1.6s ease-in-out infinite;
}
.about-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  line-height: 1.05;
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.about-card p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 28px;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--red-glow); }
  50%      { box-shadow: 0 0 0 8px transparent; }
}

/* ---------- CONTACT ---------- */
.contact {
  padding: 140px 48px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(229,9,20,0.25), transparent 60%),
    #000;
  text-align: center;
  border-top: 1px solid var(--line);
}
.contact-inner {
  max-width: 800px;
  margin: 0 auto;
}
.contact-pre {
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 24px;
  font-weight: 600;
}
.contact-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.95;
  margin-bottom: 48px;
  letter-spacing: -1px;
}
.contact-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.socials {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.socials a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 28px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  min-width: 180px;
  transition: all .25s var(--ease);
}
.socials a:hover {
  border-color: var(--red);
  background: rgba(229,9,20,0.06);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(229,9,20,0.18);
}
.social-platform {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 600;
}
.social-handle {
  font-size: 15px;
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.socials a:hover .social-platform { color: var(--red); }

/* ---------- FOOTER ---------- */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 48px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 1px;
}
.footer-mark {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 3px;
  color: var(--red);
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .nav { padding: 14px 20px; }
  .nav.scrolled { padding: 12px 20px; }
  .nav-links { gap: 18px; }
  .nav-links a:not(.cta-mini) { display: none; }

  .hero { padding: 110px 20px 0; }
  .hero-marquee { margin: 0 -20px; }

  .stats { padding: 50px 20px; gap: 20px; }
  .stat-divider { display: none; }

  .section-head { padding: 0 20px; }
  .video-set { gap: 16px; padding-right: 16px; }
  .video-card { width: 72vw; }
  .video-track { animation-duration: 80s; }

  .about { padding: 80px 20px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-card { position: static; }

  .contact { padding: 90px 20px; }
  .footer { padding: 24px 20px; flex-direction: column; gap: 10px; }
}
