/* Seedance video generator page skin */
body.seedance-page{
    --sd-ink:#111421;
    --sd-body:#555b6c;
    --sd-muted:#7b8190;
    --sd-paper:#efe9e9;
    --sd-cream:#f3e8bc;
    --sd-orange:#f54f1b;
    --sd-red:#5a2132;
    --sd-blue:#1e223d;
    --sd-teal:#035352;
    background:var(--sd-paper)!important;
    color:var(--sd-ink);
  }
  
  body.seedance-page .tool-hero{
    padding:calc(var(--navH,76px) + 34px) 0 54px;
  }
  
  body.seedance-page .tool-hero .container{
    width:min(1780px,calc(100% - 112px));
    max-width:none;
    display:grid;
    grid-template-columns:minmax(0,1.05fr) minmax(420px,.82fr);
    align-items:center;
    gap:clamp(34px,5vw,86px);
    text-align:left;
  }
  
  .seedance-hero-copy{
    min-width:0;
  }
  
  .seedance-pill{
    display:inline-flex;
    align-items:center;
    gap:10px;
    width:max-content;
    max-width:100%;
    margin:0 0 24px;
    padding:10px 20px;
    border:1px solid rgba(134,239,172,.34);
    border-radius:999px;
    background:rgba(134,239,172,.08);
    color:#86efac;
    font-size:12px;
    font-weight:850;
    letter-spacing:.16em;
    text-transform:uppercase;
  }
  
  .seedance-pill::before{
    content:"";
    width:9px;
    height:9px;
    flex:none;
    border-radius:50%;
    background:var(--sd-orange);
    box-shadow:0 0 0 8px rgba(245,79,27,.13);
  }
  
  body.seedance-page .tool-hero h1{
    max-width:12.6ch;
    margin:0;
    color:var(--sd-paper)!important;
    font-size:clamp(58px,7.4vw,124px);
    line-height:.95;
    letter-spacing:0;
    text-wrap:balance;
  }
  
  body.seedance-page .tool-hero h1 span{
    display:block;
    color:var(--sd-cream);
  }
  
  body.seedance-page .tool-hero .tool-subtitle{
    max-width:760px;
    margin:28px 0 0;
    color:rgba(239,233,233,.72)!important;
    font-size:clamp(18px,1.45vw,24px);
    line-height:1.48;
  }
  
  .seedance-hero-actions{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    margin-top:34px;
  }
  
  .seedance-primary,
  .seedance-secondary{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:58px;
    padding:0 28px;
    border-radius:999px;
    color:#090b10;
    font-size:15px;
    font-weight:850;
    text-decoration:none;
  }
  
  .seedance-primary{
    background:linear-gradient(135deg,#ff5b22,var(--sd-orange) 64%,#b53225);
    box-shadow:0 18px 40px rgba(245,79,27,.26);
  }
  
  .seedance-secondary{
    border:1px solid rgba(239,233,233,.2);
    background:rgba(239,233,233,.05);
    color:var(--sd-paper);
  }
  
  .seedance-stats{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
    max-width:780px;
    margin-top:34px;
  }
  
  .seedance-stats span{
    display:grid;
    gap:4px;
    min-height:90px;
    padding:18px 20px;
    border:1px solid rgba(239,233,233,.13);
    border-radius:8px;
    background:rgba(239,233,233,.06);
    color:rgba(239,233,233,.62);
    font-size:12px;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
  }
  
  .seedance-stats strong{
    color:#fff;
    font-size:clamp(26px,2.7vw,42px);
    line-height:1;
    letter-spacing:0;
    text-transform:none;
  }
  
  .seedance-stage{
    position:relative;
    min-height:540px;
    display:grid;
    place-items:center;
  }
  
  .seedance-orbit{
    position:absolute;
    inset:auto 8% 4% auto;
    width:min(420px,72%);
    aspect-ratio:1;
    border:1px solid rgba(134,239,172,.18);
    border-radius:50%;
    opacity:.72;
    animation:seedance-spin 18s linear infinite;
  }
  
  .seedance-orbit::before,
  .seedance-orbit::after{
    content:"";
    position:absolute;
    border-radius:50%;
  }
  
  .seedance-orbit::before{
    inset:18%;
    border:1px solid rgba(245,79,27,.2);
  }
  
  .seedance-orbit::after{
    width:12px;
    height:12px;
    right:16%;
    top:11%;
    background:var(--sd-orange);
    box-shadow:0 0 32px rgba(245,79,27,.72);
  }
  
  .seedance-video-card{
    position:relative;
    width:min(640px,100%);
    min-height:520px;
    padding:22px;
    border:1px solid rgba(239,233,233,.13);
    border-radius:10px;
    background:linear-gradient(150deg,rgba(90,33,50,.42),rgba(7,10,14,.9) 42%,rgba(3,83,82,.24));
    box-shadow:0 34px 90px rgba(0,0,0,.28);
    overflow:hidden;
  }
  
  .seedance-video-card::before{
    content:"";
    position:absolute;
    inset:0;
    background:
      linear-gradient(rgba(239,233,233,.045) 1px,transparent 1px),
      linear-gradient(90deg,rgba(239,233,233,.035) 1px,transparent 1px);
    background-size:38px 38px;
    opacity:.55;
    pointer-events:none;
  }
  
  .seedance-card-head,
  .seedance-card-foot,
  .seedance-shot,
  .seedance-frame-stack{
    position:relative;
    z-index:1;
  }
  
  .seedance-card-head{
    display:flex;
    justify-content:space-between;
    gap:14px;
    color:rgba(239,233,233,.8);
    font-size:12px;
    font-weight:850;
    letter-spacing:.16em;
    text-transform:uppercase;
  }
  
  .seedance-card-head strong{
    color:#86efac;
  }
  
  .seedance-shot{
    margin-top:20px;
    border:1px solid rgba(239,233,233,.12);
    border-radius:8px;
    background:
      radial-gradient(circle at 24% 30%,rgba(245,79,27,.45),transparent 18%),
      radial-gradient(circle at 74% 24%,rgba(134,239,172,.3),transparent 16%),
      linear-gradient(145deg,#15182a,#080a0e 48%,#14292e);
    aspect-ratio:16/9;
    overflow:hidden;
  }
  
  .seedance-shot::before{
    content:"";
    position:absolute;
    inset:14%;
    border-radius:12px;
    background:
      linear-gradient(90deg,transparent 0 12%,rgba(255,255,255,.1) 12% 15%,transparent 15% 28%,rgba(255,255,255,.14) 28% 31%,transparent 31%),
      linear-gradient(135deg,rgba(243,232,188,.88),rgba(239,233,233,.1));
    clip-path:polygon(4% 26%,58% 6%,96% 36%,92% 82%,30% 96%,0 62%);
    opacity:.86;
    transform:translateX(-8px) rotate(-4deg);
    animation:seedance-float 5.8s ease-in-out infinite;
  }
  
  .seedance-shot::after{
    content:"";
    position:absolute;
    left:10%;
    right:10%;
    bottom:13%;
    height:8px;
    border-radius:999px;
    background:linear-gradient(90deg,rgba(245,79,27,.85),rgba(134,239,172,.86),rgba(243,232,188,.9));
    box-shadow:0 0 36px rgba(134,239,172,.28);
    animation:seedance-scan 3.4s ease-in-out infinite;
  }
  
  .seedance-frame-stack{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
    margin-top:16px;
  }
  
  .seedance-frame-stack span{
    min-height:88px;
    border:1px solid rgba(239,233,233,.11);
    border-radius:7px;
    background:
      radial-gradient(circle at 42% 35%,rgba(239,233,233,.28),transparent 19%),
      linear-gradient(145deg,rgba(90,33,50,.28),rgba(239,233,233,.05));
    opacity:.78;
    animation:seedance-pulse 3.2s ease-in-out infinite;
  }
  
  .seedance-frame-stack span:nth-child(2){animation-delay:.18s}
  .seedance-frame-stack span:nth-child(3){animation-delay:.36s}
  .seedance-frame-stack span:nth-child(4){animation-delay:.54s}
  
  .seedance-card-foot{
    display:grid;
    gap:12px;
    margin-top:22px;
  }
  
  .seedance-timeline{
    position:relative;
    height:12px;
    border-radius:999px;
    background:rgba(239,233,233,.08);
    overflow:hidden;
  }
  
  .seedance-timeline::before{
    content:"";
    position:absolute;
    inset:0 auto 0 0;
    width:58%;
    border-radius:999px;
    background:linear-gradient(90deg,var(--sd-orange),#86efac);
    animation:seedance-progress 4s ease-in-out infinite;
  }
  
  .seedance-chips{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
  }
  
  .seedance-chips span{
    padding:8px 12px;
    border-radius:999px;
    background:rgba(239,233,233,.08);
    color:rgba(239,233,233,.78);
    font-size:11px;
    font-weight:850;
    letter-spacing:.1em;
    text-transform:uppercase;
  }
  
  .seedance-intro .container{
    width:min(1320px,calc(100% - 64px))!important;
    max-width:none!important;
  }
  
  .seedance-intro-grid{
    display:grid;
    grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);
    gap:24px;
    align-items:stretch;
  }
  
  .seedance-lede-card,
  .seedance-copy-stack{
    min-width:0;
  }
  
  .seedance-lede-card{
    padding:clamp(30px,4vw,50px);
    border-radius:22px;
    background:
      radial-gradient(520px 260px at 0% 0%,rgba(243,232,188,.4),transparent 72%),
      linear-gradient(145deg,var(--sd-blue),#15182a 70%);
    color:var(--sd-paper);
    box-shadow:0 26px 64px rgba(30,34,61,.14);
  }
  
  .seedance-lede-card h2{
    margin:0 0 16px;
    color:#fff;
    font-size:clamp(32px,3.6vw,58px);
    line-height:1.03;
    letter-spacing:0;
  }
  
  .seedance-lede-card p{
    margin:0;
    color:rgba(239,233,233,.74)!important;
    font-size:18px!important;
    line-height:1.65!important;
  }
  
  .seedance-copy-stack{
    display:grid;
    gap:18px;
  }
  
  .seedance-info-card{
    position:relative;
    min-height:176px;
    padding:28px;
    border:1px solid rgba(30,34,61,.1);
    border-radius:18px;
    background:#fff;
    color:var(--sd-body);
    box-shadow:0 18px 42px rgba(30,34,61,.06);
  }
  
  .seedance-info-card strong{
    display:block;
    margin-bottom:8px;
    color:var(--sd-ink);
    font-size:19px;
  }
  
  .seedance-info-card p{
    margin:0!important;
    color:var(--sd-body)!important;
    font-size:16px!important;
    line-height:1.65!important;
  }
  
  body.seedance-page .tool-step,
  body.seedance-page .tool-usecase,
  body.seedance-page .tool-link-card{
    border-radius:8px;
  }
  
  body.seedance-page .tool-cta{
    display:grid;
    place-items:center;
    text-align:center;
    margin-top:18px;
  }
  
  body.seedance-page .tool-cta .container{
    display:grid;
    justify-items:center;
  }
  
  body.seedance-page .tool-cta-title{
    max-width:760px;
  }
  
  @keyframes seedance-spin{
    to{transform:rotate(360deg)}
  }
  
  @keyframes seedance-float{
    0%,100%{transform:translate(-8px,0) rotate(-4deg)}
    50%{transform:translate(10px,-8px) rotate(2deg)}
  }
  
  @keyframes seedance-scan{
    0%,100%{transform:scaleX(.6);opacity:.64}
    50%{transform:scaleX(1);opacity:1}
  }
  
  @keyframes seedance-pulse{
    0%,100%{opacity:.46;transform:translateY(0)}
    50%{opacity:1;transform:translateY(-5px)}
  }
  
  @keyframes seedance-progress{
    0%,100%{width:42%}
    50%{width:92%}
  }
  
  @media (max-width:1180px){
    body.seedance-page .tool-hero .container,
    .seedance-intro-grid{
      grid-template-columns:1fr;
    }
  
    .seedance-stage{
      min-height:auto;
    }
  
    .seedance-video-card{
      width:min(760px,100%);
    }
  }
  
  @media (max-width:820px){
    body.seedance-page{
      overflow-x:hidden;
    }
  
    body.seedance-page .site-header,
    body.seedance-page main,
    body.seedance-page section,
    body.seedance-page footer{
      max-width:100vw;
    }
  
    body.seedance-page .tool-hero .container,
    .seedance-intro .container{
      width:100%!important;
      padding-inline:22px!important;
      overflow:hidden;
    }
  
    body.seedance-page .tool-hero{
      padding-top:calc(var(--navH,72px) + 28px);
    }
  
    body.seedance-page .tool-hero h1{
      max-width:100%;
      font-size:clamp(34px,10.6vw,50px);
      line-height:1.02;
      text-wrap:wrap;
      overflow-wrap:break-word;
      word-break:normal;
    }
  
    body.seedance-page .tool-hero .tool-subtitle{
      font-size:17px;
      line-height:1.55;
    }
  
    .seedance-pill{
      width:100%;
      justify-content:center;
      padding-inline:14px;
      font-size:10px;
      letter-spacing:.12em;
      text-align:center;
    }
  
    .seedance-hero-actions{
      display:grid;
      grid-template-columns:1fr;
    }
  
    .seedance-primary,
    .seedance-secondary{
      width:100%;
      min-height:56px;
      padding-inline:18px;
    }
  
    .seedance-stats{
      grid-template-columns:1fr;
    }
  
    .seedance-video-card{
      width:100%;
      min-height:0;
      padding:16px;
    }
  
    .seedance-frame-stack span{
      min-height:62px;
    }
  }
  
  @media (prefers-reduced-motion:reduce){
    .seedance-orbit,
    .seedance-shot::before,
    .seedance-shot::after,
    .seedance-frame-stack span,
    .seedance-timeline::before{
      animation:none;
    }
  }
  