@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Orbitron:wght@400;700;900&family=Inter:wght@300;400;500&display=swap');

:root {
  --void:       #040308;
  --deep:       #08050f;
  --surface:    #0e0a1a;
  --surface-2:  #13101f;
  --border:     rgba(255,255,255,0.07);
  --border-h:   rgba(212,175,55,0.35);

  --gold:       #d4af37;
  --gold-dim:   #a0832a;
  --gold-glow:  rgba(212,175,55,0.25);
  --gold-glow2: rgba(212,175,55,0.08);

  --violet:     #7c3aed;
  --violet-dim: #4c1d95;
  --violet-glow:rgba(124,58,237,0.3);

  --text:       #f0eaff;
  --text-dim:   rgba(240,234,255,0.55);
  --text-muted: rgba(240,234,255,0.3);

  --cursor-core:      #f5c800;
  --cursor-glow:      rgba(245,200,0,0.5);
  --cursor-trail:     #e03020;
  --cursor-trail-glow:rgba(224,48,32,0.5);

  --sp-section: clamp(5rem, 12vw, 9rem);
  --container:  1200px;
  --gutter:     clamp(1rem, 4vw, 2rem);

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  background: var(--void);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body { font-family: 'Inter', sans-serif; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { text-decoration: none; }

body.has-custom-cursor,
body.has-custom-cursor * { cursor: none !important; }

.c-cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 99999;
  will-change: transform;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.c-cursor__dot {
  width: 5px;
  height: 5px;
  background: var(--cursor-core);
  border-radius: 50%;
  margin: -2.5px 0 0 -2.5px;
  box-shadow: 0 0 6px var(--cursor-glow), 0 0 14px var(--cursor-core);
  transition: transform 0.15s var(--ease-out), opacity 0.2s ease;
}
#cursor.hovering  .c-cursor__dot { transform: scale(0); opacity: 0; }
#cursor.clicking  .c-cursor__dot { transform: scale(1.6); }

#cursor-ring {
  --sz: 34px;
  width:  var(--sz);
  height: var(--sz);
  margin: calc(var(--sz) / -2) 0 0 calc(var(--sz) / -2);

  background: transparent;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34'%3E%3Cpath d='M0 10 L0 0 L10 0' fill='none' stroke='%23e03020' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M24 0 L34 0 L34 10' fill='none' stroke='%23e03020' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M0 24 L0 34 L10 34' fill='none' stroke='%23e03020' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M24 34 L34 34 L34 24' fill='none' stroke='%23e03020' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 100% 100%;

  filter: drop-shadow(0 0 4px rgba(224,48,32,0.8));

  transition:
    width   0.35s var(--ease-out),
    height  0.35s var(--ease-out),
    margin  0.35s var(--ease-out),
    filter  0.3s ease,
    background-image 0s;
}

#cursor-ring.hovering {
  --sz: 54px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='54' height='54'%3E%3Cpath d='M0 16 L0 0 L16 0' fill='none' stroke='%23f5c800' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M38 0 L54 0 L54 16' fill='none' stroke='%23f5c800' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M0 38 L0 54 L16 54' fill='none' stroke='%23f5c800' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M38 54 L54 54 L54 38' fill='none' stroke='%23f5c800' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  filter: drop-shadow(0 0 8px rgba(245,200,0,0.9));
}

#cursor-ring.clicking {
  --sz: 20px;
  filter: drop-shadow(0 0 12px rgba(245,200,0,1)) drop-shadow(0 0 4px rgba(224,48,32,1));
}

@media (hover:none),(pointer:coarse),(prefers-reduced-motion:reduce) {
  body.has-custom-cursor,
  body.has-custom-cursor * { cursor: auto !important; }
  .c-cursor { display: none !important; }
}

h1, h2, h3 {
  font-family: 'Orbitron', sans-serif;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 700; }
em { font-style: normal; color: var(--gold); }

.section__label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section__label::after {
  content: '';
  display: block;
  height: 1px;
  width: 40px;
  background: var(--gold);
  opacity: 0.5;
}
.section__title {
  margin-bottom: 4rem;
  color: var(--text);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: var(--sp-section) 0; }
.section--dark { background: var(--deep); }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--r-sm);
  padding: 0.9rem 2rem;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
  transform: translateX(-150%);
  transition: transform 0.5s ease;
}
.btn:hover::after { transform: translateX(150%); }

.btn--primary {
  background: linear-gradient(135deg, var(--gold) 0%, #b8860b 100%);
  color: #0a0608;
  box-shadow: 0 8px 24px var(--gold-glow);
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px var(--gold-glow);
}

.btn--ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  border-color: var(--border-h);
  color: var(--gold);
  transform: translateY(-3px);
}

.btn--outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  padding: 0.7rem 1.6rem;
  font-size: 0.82rem;
}
.btn--outline:hover {
  background: var(--gold-glow2);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.btn--large { padding: 1.1rem 2.8rem; font-size: 1rem; }

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 72px;
  display: flex;
  align-items: center;
  transition: background 0.4s ease, border-color 0.4s ease, height 0.4s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(4,3,8,0.85);
  backdrop-filter: blur(20px);
  height: 58px;
  border-bottom-color: var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 var(--gutter);
}
.nav__group {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.nav__logo img { height: 38px; transition: transform 0.3s ease; }
.nav__logo:hover img { transform: scale(1.06); }
.nav__id-help {
  display: inline-flex;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.nav__id-help:hover {
  color: var(--gold);
  border-color: var(--border-h);
  background: var(--gold-glow2);
  transform: translateY(-1px);
}
@media (max-width: 600px) {
  .nav__id-help { display: none; } /* Hide on very small screens to keep logo clean */
}
.nav__links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav__link {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.3s ease;
  position: relative;
  padding-bottom: 2px;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  height: 1px;
  width: 0;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav__link:hover, .nav__link.active { color: var(--gold); }
.nav__link:hover::after, .nav__link.active::after { width: 100%; }
.nav__cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0a0608;
  background: linear-gradient(135deg, var(--gold), #b8860b);
  padding: 0.55rem 1.4rem;
  border-radius: var(--r-sm);
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px var(--gold-glow);
}
.nav__cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px var(--gold-glow); }

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, #120822 0%, var(--void) 70%);
}
.hero__stars {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero__bg-glow {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, var(--violet-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: heroPulse 6s ease-in-out infinite;
}
@keyframes heroPulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 820px;
  padding: 0 var(--gutter);
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.hero__badge {
  background: var(--gold-glow2);
  border: 1px solid var(--border-h);
  color: var(--gold);
  padding: 0.3rem 0.8rem;
  border-radius: 30px;
  font-size: 0.7rem;
}
.hero__divider {
  width: 1px;
  height: 14px;
  background: var(--border);
}

.hero__logo {
  width: 100%;
  max-width: 520px;
  filter: drop-shadow(0 0 40px var(--violet-glow)) drop-shadow(0 0 80px rgba(124,58,237,0.15));
  animation: float 7s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

.hero__sub {
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  color: var(--text-dim);
  letter-spacing: 0.05em;
  max-width: 480px;
}

.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

.hero__scroll-hint {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 1rem;
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.5; }
  50% { transform: scaleY(1.3); opacity: 1; }
}

.hero__id-link {
  margin-top: 1.5rem;
}
.hero__id-link a {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--text-muted);
  transition: all 0.4s var(--ease-out);
  padding: 0.6rem 1.2rem;
  display: inline-block;
  opacity: 0.6;
}
.hero__id-link a:hover {
  color: var(--text);
  opacity: 1;
  letter-spacing: 0.45em;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.story__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}
.story__text p {
  color: var(--text-dim);
  margin-bottom: 1.2rem;
  font-size: 1rem;
}
.story__text .btn { margin-top: 1.5rem; }

.story__card {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16/10;
}
.story__card img { width: 100%; height: 100%; object-fit: cover; }
.story__card-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(124,58,237,0.3) 0%, transparent 60%);
  pointer-events: none;
}

.story__stats {
  display: flex;
  gap: 1px;
  margin-top: 1px;
  background: var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.stat {
  flex: 1;
  background: var(--surface);
  padding: 1.2rem;
  text-align: center;
}
.stat__num {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.stat__label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.features {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, 320px);
  gap: 1rem;
}
.feature-card {
  grid-column: span 4;
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color 0.4s ease, transform 0.5s var(--ease-out), box-shadow 0.4s ease;
}
.feature-card--large { grid-column: span 8; }
.feature-card:hover {
  border-color: var(--border-h);
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 24px 60px rgba(0,0,0,0.6), 0 0 40px var(--gold-glow);
}
.feature-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease, filter 0.5s ease;
  filter: brightness(0.5) saturate(0.8);
}
.feature-card:hover .feature-card__img {
  transform: scale(1.08);
  filter: brightness(0.65) saturate(1.1);
}
.feature-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4,3,8,0.95) 0%, rgba(4,3,8,0.3) 50%, transparent 100%);
}
.feature-card__body {
  position: relative;
  z-index: 2;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.feature-card__num {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.2em;
  margin-bottom: 0.6rem;
  opacity: 0.7;
}
.feature-card h3 {
  color: var(--text);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}
.feature-card p { color: var(--text-dim); font-size: 0.9rem; }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.gallery__item {
  aspect-ratio: 16/9;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
  transition: border-color 0.3s ease, transform 0.4s var(--ease-out);
}
.gallery__item:hover {
  border-color: var(--border-h);
  transform: scale(1.02);
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s ease;
  filter: saturate(0.7);
}
.gallery__item:hover img {
  transform: scale(1.06);
  filter: saturate(1.1) brightness(1.05);
}
.gallery__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--violet-glow) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gallery__item:hover .gallery__overlay { opacity: 1; }

.cta-band {
  padding: var(--sp-section) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band__bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at center, var(--violet-dim) 0%, var(--void) 70%);
  opacity: 0.5;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band__title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1rem;
  color: var(--text);
}
.cta-band__sub {
  color: var(--text-dim);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.footer {
  background: var(--void);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
}
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}
.footer__logo { height: 36px; opacity: 0.7; transition: opacity 0.3s ease; }
.footer__logo:hover { opacity: 1; }
.footer__socials { display: flex; gap: 1rem; }
.footer__social {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-dim);
  transition: all 0.3s ease;
}
.footer__social:hover {
  border-color: var(--border-h);
  color: var(--gold);
  background: var(--gold-glow2);
  transform: translateY(-3px);
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer__copy, .footer__made {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.footer__made { color: var(--text-muted); }

@media (max-width: 900px) {
  .nav__links { display: none; }
  .story { grid-template-columns: 1fr; gap: 3rem; }
  .features {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .feature-card, .feature-card--large {
    grid-column: span 1;
    height: 280px;
  }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer__bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 600px) {
  .gallery { grid-template-columns: 1fr; }
  .story__stats { flex-direction: column; gap: 1px; }
  .hero__actions { flex-direction: column; align-items: center; }
  .footer__top { flex-direction: column; gap: 1.5rem; }
}

/* --- Tutorial Page Specific --- */
.tut {
  position: relative;
  min-height: 100vh;
  padding: 120px 0 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  background-color: var(--void);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 0% 100%, rgba(212, 175, 55, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(124, 58, 237, 0.08) 0%, transparent 40%);
}

.tut::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  z-index: 1;
}

.tut__bg-stars {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.8;
}

.tut__glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 1400px;
  height: 800px;
  background: radial-gradient(ellipse, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
  filter: blur(80px);
}

.tut__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  padding: 0 var(--gutter);
  text-align: center;
}

.tut__header {
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.tut__label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.9;
}

.tut__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 0.5rem;
  text-shadow: 0 0 40px rgba(255,255,255,0.1);
}

.tut__desc {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto;
}

.tut__video-wrap {
  position: relative;
  border-radius: 24px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 
    0 50px 100px -20px rgba(0, 0, 0, 0.8),
    0 0 60px -10px rgba(124, 58, 237, 0.2),
    inset 0 0 20px rgba(255, 255, 255, 0.02);
  aspect-ratio: 16/9;
  margin-bottom: 4rem;
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}

.tut__video-wrap:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 60px 120px -20px rgba(0, 0, 0, 0.9),
    0 0 80px -5px rgba(124, 58, 237, 0.3);
}

.tut__video-wrap video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.05);
}

.tut__video-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), transparent 40%, rgba(124, 58, 237, 0.2));
  opacity: 0.5;
}

.tut__actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.back-btn {
  position: fixed;
  top: 30px;
  left: 30px;
  z-index: 1001;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-dim);
  transition: all 0.3s var(--ease-out);
}

.back-btn:hover {
  background: var(--gold-glow2);
  border-color: var(--border-h);
  color: var(--gold);
  transform: translateX(-5px);
}

@media (max-width: 768px) {
  .back-btn { top: 20px; left: 20px; width: 40px; height: 40px; }
  .tut { padding-top: 80px; }
}
