/* intro-player.css — MANJI-022 / CLIENT-AMIAOS-013: the click-to-play cover, the frame and the overlay.
   Each site themes it with these properties (set on :root or on the .intro):
     --intro-bg      the cover's wash          --intro-accent  the play button
     --intro-ink     the cover's text           --intro-on      the play triangle
     --intro-art     url() of the site's art    --intro-radius  the corners
     --intro-font    the title's typeface */
.intro{ position:relative; width:100%; aspect-ratio:16/9; border-radius:var(--intro-radius,18px); overflow:hidden;
  background:#000; box-shadow:0 28px 80px -30px rgba(0,0,0,.65); }
.intro__frame{ position:absolute; inset:0; width:100%; height:100%; border:0; display:block; }

.intro__cover{ position:absolute; inset:0; width:100%; height:100%; border:0; padding:0; margin:0; cursor:pointer;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:clamp(10px,2.4vw,22px);
  color:var(--intro-ink,#fff); font:inherit; text-align:center;
  background:var(--intro-bg,linear-gradient(160deg,#0e0e10 0%,#1d2566 100%)); }
.intro__cover::before{ content:""; position:absolute; inset:0; background:var(--intro-art,none) center 62%/min(78%,760px) no-repeat;
  opacity:.5; transition:transform .9s cubic-bezier(.16,1,.3,1), opacity .4s; }
.intro__cover::after{ content:""; position:absolute; inset:0; background:radial-gradient(ellipse at 50% 45%,transparent 0,rgba(0,0,0,.45) 100%); }
.intro__cover > *{ position:relative; z-index:1; }
.intro__cover:hover::before, .intro__cover:focus-visible::before{ transform:scale(1.04); opacity:.62; }

.intro__play{ width:clamp(64px,11vw,104px); height:clamp(64px,11vw,104px); border-radius:50%; display:grid; place-items:center;
  background:var(--intro-accent,#00bf63); color:var(--intro-on,#06140d);
  box-shadow:0 0 0 10px color-mix(in srgb,var(--intro-accent,#00bf63) 22%,transparent), 0 18px 40px -12px rgba(0,0,0,.6);
  transition:transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s; }
.intro__play svg{ width:38%; height:38%; margin-left:8%; fill:currentColor; }
.intro__cover:hover .intro__play, .intro__cover:focus-visible .intro__play{ transform:scale(1.08);
  box-shadow:0 0 0 16px color-mix(in srgb,var(--intro-accent,#00bf63) 26%,transparent), 0 22px 48px -12px rgba(0,0,0,.6); }
.intro__cover:focus-visible{ outline:3px solid var(--intro-accent,#00bf63); outline-offset:-6px; }

.intro__title{ font-family:var(--intro-font,inherit); font-size:clamp(17px,2.6vw,30px); line-height:1.1; max-width:22ch;
  text-shadow:0 2px 18px rgba(0,0,0,.55); padding-inline:16px; }
.intro__len{ font-size:clamp(12px,1.3vw,15px); letter-spacing:.14em; text-transform:uppercase; opacity:.85;
  padding:5px 12px; border-radius:999px; background:rgba(0,0,0,.35); border:1px solid rgba(255,255,255,.22); }

.intro-yt{ display:block; margin-top:12px; text-align:center; font-size:.95rem; }

/* the overlay (opened by [data-intro-open]) */
.intro-overlay{ position:fixed; inset:0; z-index:2147483000; display:none; align-items:center; justify-content:center;
  padding:16px; background:rgba(4,6,14,.86); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); }
.intro-overlay.is-open{ display:flex; animation:intro-in .28s ease both; }
.intro-overlay__panel{ position:relative; width:min(1100px,100%, calc((100svh - 120px) * 16 / 9)); }
.intro-overlay__close{ position:absolute; right:0; top:-52px; width:44px; height:44px; border-radius:50%; border:1px solid rgba(255,255,255,.3);
  background:rgba(255,255,255,.08); color:#fff; font-size:28px; line-height:1; cursor:pointer; }
.intro-overlay__close:hover, .intro-overlay__close:focus-visible{ background:rgba(255,255,255,.2); }
.intro-lock, .intro-lock body{ overflow:hidden; }
@keyframes intro-in{ from{ opacity:0 } to{ opacity:1 } }
@media (prefers-reduced-motion:reduce){ .intro__cover::before, .intro__play{ transition:none } .intro-overlay.is-open{ animation:none } }

/* amiaos.com's look (CLIENT-AMIAOS-013) */
.seeit{ max-width:900px; margin:56px auto 0; text-align:center; scroll-margin-top:90px; }
.seeit-h{ margin-bottom:22px; }
.seeit .intro{ --intro-accent:var(--red); --intro-on:#fff; --intro-ink:#fff; --intro-font:var(--din); --intro-radius:22px;
  --intro-art:url("/assets/edge-node-v1.png"); --intro-bg:radial-gradient(ellipse at 50% 115%,rgba(255,204,3,.30) 0,transparent 58%),linear-gradient(160deg,#1D2566 0%,#3D4AAA 100%);
  box-shadow:0 30px 70px -28px rgba(29,37,102,.6); border:4px solid var(--navy); }
.seeit .intro__title{ text-transform:uppercase; letter-spacing:.02em; font-size:clamp(22px,3.4vw,40px); }
.seeit .intro__len{ font-family:var(--din); letter-spacing:.1em; }
.seeit .intro-yt{ color:var(--navy); font-family:var(--din); text-transform:uppercase; letter-spacing:.06em; font-size:17px; margin-top:16px; }
.hx-watch{ display:inline-block; margin:14px 0 4px; font-family:var(--din); text-transform:uppercase; letter-spacing:.05em; font-size:19px;
  color:var(--navy); text-decoration:underline; text-decoration-color:var(--red); text-decoration-thickness:3px; text-underline-offset:6px; }
.hx-watch:hover{ color:var(--red); }
