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

@font-face {
  font-family: 'Chinese Rocks';
  src: url('../assets/fonts/chinese rocks rg.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

  :root {
    --gold: #FFD000;
    --gold-2: #FFB700;
    --gold-glow: rgb(from var(--gold) r g b / 0.18);
    --gold-glow-strong: rgb(from var(--gold) r g b / 0.35);
    --bg-dark: #0D0D0D;
    --bg-card: #141414;
    --bg-card-2: #1a1a1a;
    --bg-card-3: #1f1f1f;
    --border: rgb(from var(--gold) r g b / 0.12);
    --border-hover: rgb(from var(--gold) r g b / 0.35);
    --text-primary: #ffffff;
    --text-secondary: rgba(255,255,255,0.6);
    --text-muted: rgba(255,255,255,0.35);
    --green: #00E676;
    --purple: #7B61FF;
    --red: #ff5470;
    --radius: 12px;
    --radius-sm: 8px;
    --glass: rgba(255,255,255,0.03);
    --glass-strong: rgba(255,255,255,0.05);
    --glass-border: rgba(255,255,255,0.08);
    --shadow-soft: 0 1px 2px rgba(0,0,0,0.4), 0 10px 30px -12px rgba(0,0,0,0.6);
    --shadow-lift: 0 1px 2px rgba(0,0,0,0.4), 0 20px 40px -16px rgba(0,0,0,0.65), 0 0 0 1px rgb(from var(--gold) r g b / 0.08);
    --ease: cubic-bezier(.16,1,.3,1);
  }

  body.gojo-active {
    background: transparent !important;
    background-image: none !important;
  }

  body.gojo-active::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background: url('../assets/images/bg.png') center center / cover no-repeat;
    opacity: 0.12;
    pointer-events: none;
  }

  @media (max-width: 768px) {
    body.gojo-active::after {
      background-position: 30% center;
    }
  }

  body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-dark);
    background-image: radial-gradient(ellipse 1200px 600px at 50% -10%, rgb(from var(--gold) r g b / 0.05), transparent 60%);
    color: var(--text-primary);
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    display: grid;
    grid-template-rows: auto 1fr auto;
  }
  body > [data-page] {
    align-self: center;
  }

  .cursor-glow {
    position: fixed;
    top: 0; left: 0;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgb(from var(--gold) r g b / 0.16), rgb(from var(--gold) r g b / 0.04) 45%, transparent 72%);
    transform: translate(calc(var(--glow-x, 50vw) - 50%), calc(var(--glow-y, 50vh) - 50%));
    pointer-events: none;
    z-index: -1;
    opacity: 0;
    transition: opacity .4s var(--ease);
    will-change: transform;
  }
  .cursor-glow.show { opacity: 1; }
  @media (max-width: 900px) {
    .cursor-glow { width: 280px; height: 280px; }
  }

  nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 40px;
    height: 68px;
    background: rgba(13,13,13,0.72);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(24px) saturate(140%);
    -webkit-backdrop-filter: blur(24px) saturate(140%);
    box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 12px 30px -16px rgba(0,0,0,0.7);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow .3s var(--ease);
  }
  .nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-self: start;
  }
  .nav-logo-icon {
    width: 36px; height: 36px;
    border-radius: 8px;
    overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 14px -4px rgb(from var(--gold) r g b / 0.5);
    transition: transform .3s var(--ease);
  }
  .nav-logo:hover .nav-logo-icon { transform: rotate(-8deg) scale(1.06); }
  .nav-logo-icon img { width: 100%; height: 100%; object-fit: cover; }
  .nav-logo-text { font-family: 'Chinese Rocks', 'Space Grotesk', sans-serif; font-weight: 700; font-size: 15px; line-height: 1.2; }
  .nav-logo-text span { color: var(--gold); display: block; }
  .nav-links { display: flex; align-items: center; gap: 8px; }
  .nav-links a {
    position: relative;
    color: var(--text-secondary);
    text-decoration: none;
    font-family: 'Chinese Rocks', 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 6px;
    transition: color .2s var(--ease), background .2s var(--ease);
  }
  .nav-links a::after {
    content: '';
    position: absolute;
    left: 14px; right: 14px; bottom: 2px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s var(--ease);
  }
  .nav-links a:hover { color: #fff; background: rgba(255,255,255,0.06); }
  .nav-links a:hover::after { transform: scaleX(1); }
  .nav-links a.active { color: var(--gold); }
  .nav-links a.active::after { transform: scaleX(1); }
  .nav-actions { display: flex; gap: 10px; align-items: center; justify-self: end; }
  .btn-ghost {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--text-primary);
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color .2s var(--ease), background .2s var(--ease), transform .15s var(--ease);
    font-family: 'Inter', sans-serif;
  }
  .btn-ghost:hover { border-color: rgba(255,255,255,0.35); background: rgba(255,255,255,0.06); }
  .btn-ghost:active { transform: scale(.97); }
  .nav-actions .btn-ghost { font-family: 'Chinese Rocks', 'Inter', sans-serif; }
  .btn-gold {
    position: relative;
    background: var(--gold);
    border: none;
    color: #000;
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 16px -5px rgb(from var(--gold) r g b / 0.5);
    transition: background .2s var(--ease), transform .15s var(--ease), box-shadow .25s var(--ease);
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    isolation: isolate;
  }
  .btn-gold::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.45) 48%, transparent 65%);
    transform: translateX(-120%);
    transition: transform .55s var(--ease);
    pointer-events: none;
  }
  .btn-gold:hover { background: var(--gold-2); transform: translateY(-1px); box-shadow: 0 8px 20px -6px rgb(from var(--gold) r g b / 0.45); }
  .btn-gold:hover::after { transform: translateX(120%); }
  .btn-gold:active { transform: scale(.97) translateY(0); }

  .access-badge {
    font-family: 'Chinese Rocks', 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(10px);
    transition: transform .2s var(--ease);
  }
  .access-badge-premium { background: rgb(from var(--gold) r g b / 0.15); color: var(--gold); border: 1px solid rgb(from var(--gold) r g b / 0.3); box-shadow: 0 0 16px -6px rgb(from var(--gold) r g b / 0.6); }
  .access-badge-free { background: rgba(255,255,255,0.06); color: var(--text-secondary); border: 1px solid rgba(255,255,255,0.12); }

  .hero {
    padding: 80px 40px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
  }
  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgb(from var(--gold) r g b / 0.1);
    border: 1px solid rgb(from var(--gold) r g b / 0.25);
    color: var(--gold);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 50px;
    margin-bottom: 14px;
    letter-spacing: .5px;
  }
  .hero-credit {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 16px;
  }
  .hero-credit span { color: var(--gold); font-weight: 700; }
  .hero h1 {
    font-family: 'Chinese Rocks', 'Space Grotesk', sans-serif;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
  }
  .hero h1 span {
    background: linear-gradient(100deg, var(--gold) 20%, var(--gold-2) 50%, var(--gold) 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .hero p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 460px;
  }
  .hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
  .btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold);
    color: #000;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px -6px rgb(from var(--gold) r g b / 0.5);
    transition: background .2s var(--ease), transform .15s var(--ease), box-shadow .25s var(--ease);
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    overflow: hidden;
    isolation: isolate;
  }
  .btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.45) 48%, transparent 65%);
    transform: translateX(-120%);
    transition: transform .55s var(--ease);
    pointer-events: none;
  }
  .btn-primary:hover { background: var(--gold-2); transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgb(from var(--gold) r g b / 0.45); }
  .btn-primary:hover::after { transform: translateX(120%); }
  .btn-primary:active { transform: scale(.97); }
  .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.02);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.18);
    cursor: pointer;
    transition: border-color .2s var(--ease), background .2s var(--ease), transform .15s var(--ease);
    font-family: 'Inter', sans-serif;
    text-decoration: none;
  }
  .btn-outline:hover { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.06); transform: translateY(-1px); }
  .btn-outline:active { transform: scale(.97); }

  .hero-visual {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .hero-icon-box {
    background: linear-gradient(160deg, var(--glass-strong), var(--glass));
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
  }
  .hero-icon-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgb(from var(--gold) r g b / 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
  }
  .hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  video::-webkit-media-controls-picture-in-picture-button { display: none !important; }
  video::slotted(::-webkit-media-controls-picture-in-picture-button) { display: none !important; }

  .stats-row {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px;
    max-width: 1200px;
    margin: 0 auto 60px;
  }
  .stat-item {
    text-align: center;
    padding: 26px 16px 22px;
    border-radius: 18px;
    background: linear-gradient(160deg, rgba(255,255,255,0.065) 0%, rgba(255,255,255,0.025) 100%);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid rgb(from var(--gold) r g b / 0.18);
    box-shadow:
      inset 0 1.5px 1.5px rgba(255,255,255,0.14),
      inset 0 -1px 1px rgba(0,0,0,0.18),
      0 8px 32px -6px rgb(from var(--gold) r g b / 0.14),
      0 4px 20px rgba(0,0,0,0.35);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  }
  @media (hover: hover) {
    .stat-item:hover {
      transform: translateY(-4px);
      border-color: rgb(from var(--gold) r g b / 0.38);
      box-shadow:
        inset 0 1.5px 1.5px rgba(255,255,255,0.16),
        inset 0 -1px 1px rgba(0,0,0,0.18),
        0 14px 40px -6px rgb(from var(--gold) r g b / 0.28),
        0 6px 24px rgba(0,0,0,0.45);
    }
  }
  .stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -1px;
    display: inline-block;
    background: linear-gradient(100deg, var(--gold) 20%, var(--gold-2) 55%, var(--gold) 85%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 2px;
  }
  .stat-stars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    margin-bottom: 4px;
    height: 34px;
  }
  .stat-stars svg {
    fill: var(--gold);
    filter: drop-shadow(0 0 5px rgb(from var(--gold) r g b / 0.65));
    flex-shrink: 0;
  }
  .stat-label { font-size: 12.5px; color: var(--text-secondary); margin-top: 4px; font-weight: 500; letter-spacing: 0.3px; }

  .section-label {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  .section-label::before, .section-label::after {
    content: '';
    width: 30px; height: 1px;
    background: var(--gold);
    opacity: 0.4;
  }

  .tool-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
  }
  .tool-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    align-items: start;
  }

  .card {
    background: linear-gradient(165deg, var(--bg-card-2), var(--bg-card));
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
  }
  .card-header {
    padding: 22px 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .card-title {
    font-family: 'Chinese Rocks', 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
  }
  .card-body { padding: 22px 24px 26px; }

  .upload-zone {
    border: 2px dashed rgb(from var(--gold) r g b / 0.25);
    border-radius: var(--radius);
    padding: 60px 40px;
    text-align: center;
    cursor: pointer;
    transition: border-color .25s var(--ease), background .25s var(--ease), transform .2s var(--ease);
    background: rgb(from var(--gold) r g b / 0.02);
    position: relative;
  }
  .upload-zone:hover {
    border-color: var(--gold);
    background: rgb(from var(--gold) r g b / 0.05);
  }
  .upload-zone:active { transform: scale(.995); }
  .upload-zone input[type="file"] {
    position: absolute; inset: 0;
    opacity: 0; cursor: pointer;
    width: 100%; height: 100%;
  }
  .upload-icon {
    width: 64px; height: 64px;
    background: rgb(from var(--gold) r g b / 0.1);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    transition: transform .3s var(--ease);
  }
  .upload-zone:hover .upload-icon { transform: translateY(-3px) scale(1.05); }
  .upload-icon svg { width: 30px; height: 30px; stroke: var(--gold); fill: none; stroke-width: 2; }
  .upload-title { font-family: 'Chinese Rocks', 'Inter', sans-serif; font-size: 18px; font-weight: 700; margin-bottom: 6px; }
  .upload-sub { font-size: 13px; color: var(--text-secondary); margin-bottom: 20px; }
  .btn-browse {
    display: inline-block;
    background: var(--gold);
    color: #000;
    font-family: 'Chinese Rocks', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 13px;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    pointer-events: none;
    box-shadow: 0 4px 14px -5px rgb(from var(--gold) r g b / 0.45);
    transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  }
  .upload-zone:hover .btn-browse { transform: translateY(-2px); box-shadow: 0 8px 18px -6px rgb(from var(--gold) r g b / 0.5); }

  .fps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
  }
  .fps-option {
    background: var(--bg-card-2);
    border: 1.5px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    padding: 18px 10px 16px;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s var(--ease), background .2s var(--ease), transform .15s var(--ease), box-shadow .2s var(--ease);
    position: relative;
  }
  @media (hover: hover) {
    .fps-option:hover { border-color: rgb(from var(--gold) r g b / 0.4); background: rgb(from var(--gold) r g b / 0.04); transform: translateY(-2px); }
  }
  .fps-option:active { transform: scale(.98); }
  .fps-option.active {
    border-color: var(--gold);
    background: rgb(from var(--gold) r g b / 0.08);
    box-shadow: 0 0 0 1px rgb(from var(--gold) r g b / 0.2), 0 8px 20px -10px rgb(from var(--gold) r g b / 0.5);
  }
  .fps-option.active .fps-num { color: var(--gold); }
  .fps-num { font-family: 'Chinese Rocks', 'Space Grotesk', sans-serif; font-size: 26px; font-weight: 800; margin-bottom: 2px; transition: color .2s var(--ease); }
  .fps-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: var(--text-muted); margin-bottom: 6px; }
  .fps-desc { font-size: 11px; color: var(--text-secondary); line-height: 1.4; }

  .process-btn {
    position: relative;
    width: 100%;
    background: var(--gold);
    color: #000;
    font-weight: 800;
    font-size: 15px;
    padding: 16px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 22px -7px rgb(from var(--gold) r g b / 0.55);
    transition: background .2s var(--ease), transform .15s var(--ease), box-shadow .25s var(--ease);
    font-family: 'Space Grotesk', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    letter-spacing: .3px;
    overflow: hidden;
    isolation: isolate;
  }
  .process-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.4) 48%, transparent 65%);
    transform: translateX(-120%);
    transition: transform .55s var(--ease);
    pointer-events: none;
  }
  .process-btn:hover:not(:disabled) { background: var(--gold-2); transform: translateY(-1px); box-shadow: 0 10px 28px -8px rgb(from var(--gold) r g b / 0.45); }
  .process-btn:hover:not(:disabled)::after { transform: translateX(120%); }
  .process-btn:active:not(:disabled) { transform: scale(.98); }
  .process-btn:disabled:not(.is-loading) { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }
  .process-btn.is-loading { cursor: wait; opacity: 1; }
  .process-btn.is-loading svg { display: none; }
  .process-btn.is-loading::before {
    content: '';
    width: 16px; height: 16px;
    border: 2.5px solid rgba(0,0,0,0.25);
    border-top-color: #000;
    border-radius: 50%;
    animation: spin .7s linear infinite;
  }

  #progress-section { display: none; margin-top: 20px; }
  .progress-card {
    background: linear-gradient(165deg, var(--bg-card-2), var(--bg-card));
    border: 1px solid rgb(from var(--gold) r g b / 0.15);
    border-radius: var(--radius);
    padding: 20px 22px;
    box-shadow: var(--shadow-soft);
  }
  .progress-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
  }
  .progress-title { font-size: 13px; font-weight: 700; color: var(--gold); transition: color .2s var(--ease); }
  .progress-pct { font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 800; color: var(--gold); }
  .progress-bar-wrap {
    background: rgba(255,255,255,0.06);
    border-radius: 50px;
    height: 8px;
    overflow: hidden;
    margin-bottom: 14px;
    position: relative;
  }
  .progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-2), var(--gold));
    border-radius: 50px;
    width: 0%;
    transition: width .4s var(--ease);
    box-shadow: 0 0 12px rgb(from var(--gold) r g b / 0.4);
    position: relative;
    overflow: hidden;
  }
  .progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0; left: -40%;
    width: 40%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
    transform: translateX(0);
    animation: shimmer 1.6s linear infinite;
  }
  .progress-log {
    background: #0a0a0a;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 14px 16px;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    color: #00ff88;
    height: 160px;
    overflow-y: auto;
    line-height: 1.7;
  }
  .progress-log .log-line { animation: fadeIn .15s ease; }
  .log-dim { color: rgba(0,255,136,0.45); }
  .log-gold { color: var(--gold); }
  .log-blue { color: #60a5fa; }
  .log-white { color: rgba(255,255,255,0.7); }

  #result-section { display: none; margin-top: 20px; }
  .result-card {
    background: linear-gradient(135deg, rgba(0,230,118,0.07), rgba(0,230,118,0.02));
    border: 1px solid rgba(0,230,118,0.25);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow-soft);
    animation: resultIn .4s var(--ease);
  }
  .result-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
  }
  .result-check {
    width: 32px; height: 32px;
    background: rgba(0,230,118,0.15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    animation: popIn .4s var(--ease);
  }
  .result-check svg { width: 16px; height: 16px; stroke: var(--green); fill: none; stroke-width: 2.5; }
  .result-title { font-size: 15px; font-weight: 700; }
  .result-sub { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }

  .result-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
  }
  .result-meta-item {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 8px;
    padding: 10px 14px;
    flex: 1;
    text-align: center;
  }
  .meta-label { font-size: 10px; text-transform: uppercase; letter-spacing: .8px; color: var(--text-muted); font-weight: 600; margin-bottom: 4px; }
  .meta-value { font-family: 'Space Grotesk', sans-serif; font-size: 16px; font-weight: 700; color: var(--text-primary); }
  .meta-value.gold { color: var(--gold); }

  .btn-download {
    width: 100%;
    background: var(--green);
    color: #000;
    font-weight: 800;
    font-size: 14px;
    padding: 14px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Space Grotesk', sans-serif;
    transition: filter .2s var(--ease), transform .15s var(--ease), box-shadow .25s var(--ease);
    letter-spacing: .3px;
  }
  .btn-download:hover { filter: brightness(0.92); transform: translateY(-2px); box-shadow: 0 10px 26px -8px rgba(0,230,118,0.45); }
  .btn-download:active { transform: scale(.98); }
  .btn-download svg { width: 18px; height: 18px; stroke: #000; fill: none; stroke-width: 2.5; }
  .btn-download:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

  .turnstile-wrap { display: flex; justify-content: center; }
  #premiumLoginBtn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

  .sidebar { display: flex; flex-direction: column; gap: 16px; }

  .side-card {
    background: linear-gradient(165deg, var(--bg-card-2), var(--bg-card));
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
  }
  @media (hover: hover) {
    .side-card:hover { border-color: rgb(from var(--gold) r g b / 0.25); }
  }
  .side-card-header {
    padding: 16px 18px 12px;
    border-bottom: 1px solid var(--border);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold);
  }
  .side-card-body { padding: 16px 18px; }

  .activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .activity-item:last-child { border-bottom: none; padding-bottom: 0; }
  .activity-icon {
    width: 34px; height: 34px;
    background: rgb(from var(--gold) r g b / 0.08);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .activity-icon svg { width: 16px; height: 16px; fill: var(--gold); }
  .activity-info { flex: 1; min-width: 0; }
  .activity-name { font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .activity-meta { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
  .activity-status {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 50px;
  }
  .status-done { background: rgba(0,230,118,0.12); color: var(--green); }
  .status-proc { background: rgb(from var(--gold) r g b / 0.12); color: var(--gold); }

  .pro-card {
    background: linear-gradient(135deg, #1a1400, #141414);
    border: 1px solid rgb(from var(--gold) r g b / 0.25);
    border-radius: 14px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
  }
  @media (hover: hover) {
    .pro-card:hover { border-color: rgb(from var(--gold) r g b / 0.45); box-shadow: var(--shadow-lift); }
  }
  .pro-card::before {
    content: '';
    position: absolute;
    top: -30px; right: -30px;
    width: 100px; height: 100px;
    background: radial-gradient(circle, rgb(from var(--gold) r g b / 0.15), transparent 70%);
    pointer-events: none;
    transition: transform .6s var(--ease);
  }
  .pro-card:hover::before { transform: scale(1.3); }
  .pro-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgb(from var(--gold) r g b / 0.15);
    border: 1px solid rgb(from var(--gold) r g b / 0.3);
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
    margin-bottom: 12px;
    letter-spacing: .5px;
  }
  .pro-title { font-family: 'Chinese Rocks', 'Inter', sans-serif; font-size: 16px; font-weight: 800; margin-bottom: 12px; }
  .pro-features { list-style: none; margin-bottom: 16px; display: flex; flex-direction: column; gap: 8px; }
  .pro-features li {
    display: flex; align-items: center; gap: 8px;
    font-size: 12px; color: var(--text-secondary);
  }
  .pro-features li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; }

  .tools-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
  }
  .tools-heading {
    text-align: center;
    margin-bottom: 36px;
  }
  .tools-heading h2 {
    font-family: 'Chinese Rocks', 'Space Grotesk', sans-serif;
    font-size: 36px;
    font-weight: 800;
    margin-top: 8px;
    letter-spacing: -0.5px;
    line-height: 1.2;
  }
  .tools-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .tool-card {
    background: linear-gradient(165deg, var(--bg-card-2), var(--bg-card));
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 24px;
    transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    will-change: transform;
  }
  .tool-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top left, rgb(from var(--gold) r g b / 0.07), transparent 60%);
    opacity: 0;
    transition: opacity .3s var(--ease);
    pointer-events: none;
  }
  @media (hover: hover) {
    .tool-card:hover { border-color: rgb(from var(--gold) r g b / 0.35); transform: translateY(-4px); box-shadow: var(--shadow-lift); }
  }
  .tool-card:active { transform: scale(.99); }
  .tool-card:hover::after { opacity: 1; }
  .tool-card.coming-soon { opacity: .65; cursor: default; }
  .tool-card.coming-soon:hover { transform: none; border-color: var(--glass-border); box-shadow: var(--shadow-soft); }
  .tool-icon {
    width: 44px; height: 44px;
    background: rgb(from var(--gold) r g b / 0.1);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px;
    transition: transform .3s var(--ease);
  }
  .tool-card:hover .tool-icon { transform: scale(1.08) rotate(-4deg); }
  .tool-icon svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 2; }
  .tool-name { font-family: 'Chinese Rocks', 'Inter', sans-serif; font-size: 15px; font-weight: 700; margin-bottom: 4px; }
  .tool-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.5; margin-bottom: 14px; }
  .tool-use-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: 'Inter', sans-serif;
    transition: gap .2s var(--ease), opacity .2s var(--ease), text-shadow .2s var(--ease);
  }
  .tool-use-btn:hover { gap: 10px; text-shadow: 0 0 12px rgb(from var(--gold) r g b / 0.6); }
  .tool-use-btn:active { opacity: .7; }
  .coming-badge {
    display: inline-block;
    background: rgba(123,97,255,0.15);
    color: var(--purple);
    border: 1px solid rgba(123,97,255,0.3);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 50px;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 14px;
  }

  .input-field {
    width: 100%;
    background: var(--bg-card-2);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    resize: vertical;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  }
  .input-field:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgb(from var(--gold) r g b / 0.15); }
  .form-error { color: var(--red); font-size: 12px; display: none; }

  .modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(6px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity .25s var(--ease);
  }
  .modal-overlay.open { display: flex; opacity: 1; }
  .modal-card {
    background: linear-gradient(165deg, var(--bg-card-2), var(--bg-card));
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 38px 30px;
    max-width: 380px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 24px 70px rgba(0,0,0,0.55), 0 0 0 1px rgb(from var(--gold) r g b / 0.06);
    transform: scale(.94) translateY(8px);
    transition: transform .3s var(--ease);
  }
  .modal-overlay.open .modal-card { transform: scale(1) translateY(0); }
  .modal-close {
    position: absolute;
    top: 14px; right: 14px;
    background: none; border: none;
    color: var(--text-muted);
    font-size: 16px;
    cursor: pointer;
    transition: color .2s var(--ease), transform .2s var(--ease);
  }
  .modal-close:hover { color: #fff; transform: rotate(90deg); }
  .modal-icon { font-size: 40px; margin-bottom: 14px; }
  .modal-title { font-family: 'Space Grotesk', sans-serif; font-size: 20px; font-weight: 800; margin-bottom: 10px; color: var(--gold); }
  .modal-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 22px; }

  .access-gate-card { max-width: 460px; margin: 0 auto; }

  .review-slider-wrap { display: flex; align-items: center; gap: 14px; }
  .review-slide-viewport { flex: 1; overflow: hidden; }
  .review-slide-track { display: flex; transition: transform .4s ease; }
  .review-slide { min-width: 100%; box-sizing: border-box; padding: 0 4px; }
  .review-card {
    background: linear-gradient(165deg, var(--bg-card-2), var(--bg-card));
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px 34px;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    box-shadow: var(--shadow-soft);
  }
  .review-stars { color: var(--gold); font-size: 18px; letter-spacing: 3px; margin-bottom: 14px; }
  .review-text { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }
  .review-author { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 14px; }
  .review-nav-btn {
    background: var(--bg-card-2);
    border: 1px solid var(--border);
    color: var(--gold);
    width: 36px; height: 36px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color .2s var(--ease), transform .15s var(--ease), background .2s var(--ease);
  }
  .review-nav-btn:hover { border-color: var(--gold); background: rgb(from var(--gold) r g b / 0.08); transform: translateY(-1px); }
  .review-nav-btn:active { transform: scale(.92); }
  .review-dots { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
  .review-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.2); cursor: pointer; transition: background .2s var(--ease), transform .2s var(--ease); }
  .review-dot.active { background: var(--gold); transform: scale(1.3); }
  .star-picker { font-size: 26px; letter-spacing: 8px; color: rgba(255,255,255,0.2); cursor: default; text-align: center; pointer-events: none; user-select: none; }
  .star-picker span { display: inline-block; transition: none; }
  .star-picker span.active { color: var(--gold); text-shadow: 0 0 10px rgb(from var(--gold) r g b / 0.85), 0 0 22px rgb(from var(--gold) r g b / 0.4); }

  .pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 840px;
    margin: 0 auto;
  }
  .price-card {
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-soft);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  }
  .price-card-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
    background: linear-gradient(165deg, var(--bg-card-2), var(--bg-card));
    border-radius: inherit;
    overflow: hidden;
  }
  @media (hover: hover) {
    .price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: rgb(from var(--gold) r g b / 0.3); }
  }
  .price-card.featured {
    border-color: var(--gold);
    box-shadow: 0 0 0 1px rgb(from var(--gold) r g b / 0.25), 0 20px 50px rgb(from var(--gold) r g b / 0.08);
  }
  @media (hover: hover) {
    .price-card.featured:hover { box-shadow: 0 0 0 1px rgb(from var(--gold) r g b / 0.4), 0 26px 60px rgb(from var(--gold) r g b / 0.16); }
  }
  .price-badge-tag {
    position: absolute;
    top: -12px; right: 24px;
    z-index: 3;
    background: var(--gold);
    color: #000;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 50px;
    letter-spacing: .5px;
    animation: floatY 3s ease-in-out infinite;
  }
  .price-name { font-family: 'Chinese Rocks', 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 800; margin-bottom: 12px; }
  .price-amount { margin-bottom: 16px; }
  .price-lkr { display: block; font-family: 'Chinese Rocks', 'Space Grotesk', sans-serif; font-size: 30px; font-weight: 800; color: var(--gold); }
  .price-usd { display: block; font-size: 12px; color: var(--text-muted); margin-top: 2px; }
  .price-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 18px; }

  .guide-section { width: 100%; max-width: 900px; margin: 0 auto; padding: 40px; }
  .video-embed-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lift);
  }
  .video-embed-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

  .support-section { width: 100%; max-width: 900px; margin: 0 auto; padding: 40px; }
  .support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .support-card {
    background: linear-gradient(165deg, var(--bg-card-2), var(--bg-card));
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 28px 18px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    box-shadow: var(--shadow-soft);
  }
  @media (hover: hover) {
    .support-card:hover { border-color: rgb(from var(--gold) r g b / 0.35); transform: translateY(-4px); box-shadow: var(--shadow-lift); }
  }
  .support-card:active { transform: scale(.98); }
  .support-icon {
    width: 52px; height: 52px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 10px;
    transition: transform .3s var(--ease);
  }
  .support-card:hover .support-icon { transform: scale(1.1); }
  .support-name { font-weight: 700; font-size: 14px; }
  .support-meta { font-size: 11px; color: var(--text-muted); }

  footer {
    background: rgba(20,20,20,0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    padding: 28px 40px;
  }
  .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
  }
  .footer-features {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
  }
  .footer-feature {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
  }
  .footer-feature svg { width: 16px; height: 16px; stroke: var(--gold); fill: none; stroke-width: 2; }
  .footer-credit {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
  }
  .footer-credit span { color: var(--gold); font-weight: 700; }

  .progress-log::-webkit-scrollbar { width: 4px; }
  .progress-log::-webkit-scrollbar-track { background: transparent; }
  .progress-log::-webkit-scrollbar-thumb { background: rgb(from var(--gold) r g b / 0.3); border-radius: 4px; }

  .badge-premium-req {
    display: inline-block;
    background: linear-gradient(135deg, rgb(from var(--gold) r g b / 0.2), rgba(255,183,0,0.1));
    border: 1px solid rgb(from var(--gold) r g b / 0.3);
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 6px;
    display: block;
  }

  .fps-option.method-disabled {
    opacity: 0.38;
    cursor: not-allowed !important;
    pointer-events: none;
    filter: grayscale(0.4);
  }

  .fps-option.method-premium {
    position: relative;
  }

  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
      radial-gradient(ellipse 900px 500px at 20% 10%, rgb(from var(--gold) r g b / 0.04) 0%, transparent 60%),
      radial-gradient(ellipse 700px 400px at 80% 80%, rgb(from var(--purple) r g b / 0.03) 0%, transparent 60%),
      radial-gradient(ellipse 600px 350px at 50% 50%, rgb(from var(--green) r g b / 0.02) 0%, transparent 60%);
    pointer-events: none;
    z-index: -2;
    animation: auroraShift 18s ease infinite;
    background-size: 200% 200%;
    will-change: background-position;
  }

  #particleCanvas {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: 0.55;
  }

  .reveal-section {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.65s cubic-bezier(.16,1,.3,1), transform 0.65s cubic-bezier(.16,1,.3,1);
    will-change: transform, opacity;
  }
  .reveal-section.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  .tilt-spring-btn, .tilt-spring-card {
    will-change: transform;
  }
  .tilt-glare-host {
    transform-style: preserve-3d;
  }
  .tilt-glare {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 2;
    will-change: opacity, background;
  }

  .ripple-host { position: relative; overflow: hidden; }
  .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgb(from var(--gold) r g b / 0.3);
    width: 10px; height: 10px;
    margin-top: -5px; margin-left: -5px;
    pointer-events: none;
    animation: rippleEffect 0.55s cubic-bezier(.16,1,.3,1) forwards;
    z-index: 10;
  }

  .fps-option.active {
    animation: borderGlow 2.5s ease-in-out infinite;
  }

  .card, .side-card, .pro-card, .review-card, .price-card, .price-card-inner, .support-card, .tool-card {
    position: relative;
  }

  #pageLoader {
    position: fixed;
    inset: 0;
    height: 100%;
    height: 100dvh;
    background: #0D0D0D;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 26px;
    overflow: hidden;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    padding-top: env(safe-area-inset-top, 0px);
    transition: opacity 0.5s ease;
  }
  #pageLoader.hide {
    opacity: 0;
    pointer-events: none;
  }
  .ld-aura {
    position: absolute;
    width: 60vmax; height: 60vmax;
    max-width: 640px; max-height: 640px;
    border-radius: 50%;
    background: radial-gradient(circle, rgb(from var(--gold) r g b / 0.16) 0%, rgb(from var(--gold) r g b / 0.05) 45%, transparent 72%);
    animation: ldAuraPulse 3.2s ease-in-out infinite;
    pointer-events: none;
  }
  .ld-core {
    position: relative;
    width: 108px; height: 108px;
    display: flex; align-items: center; justify-content: center;
    animation: loaderRingIn 0.6s var(--ease);
  }
  .ld-ring {
    position: absolute; inset: 0;
    border-radius: 50%;
    border: 1px solid rgb(from var(--gold) r g b / 0.32);
    box-shadow:
      0 0 0 1px rgb(from var(--gold) r g b / 0.08),
      0 0 30px -4px rgb(from var(--gold) r g b / 0.55);
    animation: ldRingPulse 2s ease-in-out infinite;
  }
  .ld-ring::before {
    content: '';
    position: absolute; inset: -14px;
    border-radius: 50%;
    border: 1px solid rgb(from var(--gold) r g b / 0.14);
    animation: ldRingPulse 2s ease-in-out infinite .3s;
  }
  .ld-logo {
    position: relative;
    width: 82px; height: 82px;
    border-radius: 50%;
    overflow: hidden;
    background:
      linear-gradient(155deg, rgba(255,255,255,0.14), rgba(255,255,255,0.02) 45%, rgba(0,0,0,0.08)),
      var(--bg-card);
    box-shadow:
      inset 0 1px 1px rgba(255,255,255,0.25),
      inset 0 -4px 10px -4px rgba(0,0,0,0.5),
      0 0 26px -4px rgb(from var(--gold) r g b / 0.5);
    display: flex; align-items: center; justify-content: center;
    animation: ldLogoBreathe 2s ease-in-out infinite;
  }
  .ld-logo img { width: 60%; height: 60%; object-fit: contain; }
  .ld-bar-track {
    width: 176px; height: 5px;
    border-radius: 50px;
    background: rgba(255,255,255,0.07);
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.4);
    overflow: hidden;
  }
  .ld-bar-fill {
    position: relative;
    height: 100%; width: 0%;
    border-radius: 50px;
    background: linear-gradient(90deg, var(--gold-2), var(--gold));
    box-shadow: 0 0 10px rgb(from var(--gold) r g b / 0.6);
    transition: width 0.3s ease;
    overflow: hidden;
  }
  .ld-bar-fill::after {
    content: '';
    position: absolute; inset: 0;
    width: 40%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    animation: ldShimmer 1.3s linear infinite;
  }
  .ld-label {
    display: flex; align-items: center; gap: 8px;
    padding: 7px 15px;
    border-radius: 50px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgb(from var(--gold) r g b / 0.2);
    font-family: 'Chinese Rocks', 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
  }
  .ld-dot {
    width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0;
    background: var(--gold);
    box-shadow: 0 0 8px rgb(from var(--gold) r g b / 0.9);
    animation: ldDotPulse 1.4s ease-in-out infinite;
  }
  .ld-ellipsis { display: inline-flex; gap: 2px; margin-left: 1px; }
  .ld-ellipsis i {
    width: 3px; height: 3px; border-radius: 50%;
    background: var(--gold); opacity: 0.25;
    animation: ldDotSeq 1.2s ease-in-out infinite;
  }
  .ld-ellipsis i:nth-child(2) { animation-delay: .15s; }
  .ld-ellipsis i:nth-child(3) { animation-delay: .3s; }
  @media (prefers-reduced-motion: reduce) {
    .ld-aura, .ld-ring, .ld-ring::before, .ld-logo, .ld-bar-fill::after, .ld-dot, .ld-ellipsis i {
      animation: none !important;
    }
  }

  .hero-icon-box {
    animation: borderGlow 3s ease-in-out infinite;
  }

  nav.scrolled {
    box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 16px 40px -12px rgba(0,0,0,0.85), 0 0 0 1px rgb(from var(--gold) r g b / 0.06);
  }

  .process-btn:not(:disabled) {
    background-size: 200% auto;
    background-image: linear-gradient(115deg, var(--gold-2) 0%, var(--gold) 50%, var(--gold-2) 100%);
  }
  .process-btn:not(:disabled):hover {
    background-position: right center;
    animation: gradientShift 2s ease infinite;
  }

  .btn-gold, .btn-primary, .btn-outline, .btn-ghost,
  .process-btn, .btn-download, .btn-browse,
  .pcard-btn {
    border: 1px solid rgb(from var(--gold) r g b / 0.5) !important;
    box-shadow:
      0 2px 2px rgba(0,0,0,0.15),
      inset 0 2px 2px rgba(255,255,255,0.55),
      inset 0 -2px 2px rgba(0,0,0,0.3),
      0 0 0 1px rgb(from var(--gold) r g b / 0.25),
      0 18px 40px -12px rgb(from var(--gold) r g b / 0.65);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .2s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
  }
  .btn-outline, .btn-ghost {
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    border: 1px solid rgb(from var(--gold) r g b / 0.3) !important;
    box-shadow:
      0 1px 1px rgba(0,0,0,0.1),
      inset 0 1px 1px rgba(255,255,255,0.12),
      inset 0 -1px 1px rgba(0,0,0,0.15),
      0 8px 18px -10px rgb(from var(--gold) r g b / 0.22);
  }
  .btn-gold:hover, .btn-primary:hover, .process-btn:hover:not(:disabled), .btn-download:hover {
    filter: brightness(1.08);
    transform: translateY(-3px) scale(1.02);
    box-shadow:
      0 2px 2px rgba(0,0,0,0.15),
      inset 0 2px 2px rgba(255,255,255,0.7),
      inset 0 -2px 2px rgba(0,0,0,0.32),
      0 0 0 1.5px rgb(from var(--gold) r g b / 0.5),
      0 26px 56px -14px rgb(from var(--gold) r g b / 0.85);
  }
  .btn-outline:hover, .btn-ghost:hover {
    box-shadow:
      0 2px 2px rgba(0,0,0,0.15),
      inset 0 2px 2px rgba(255,255,255,0.3),
      inset 0 -2px 2px rgba(0,0,0,0.25),
      0 0 0 1.5px rgb(from var(--gold) r g b / 0.4),
      0 22px 48px -14px rgb(from var(--gold) r g b / 0.55);
  }
  .btn-gold:active, .btn-primary:active, .btn-outline:active, .btn-ghost:active,
  .process-btn:active:not(:disabled), .btn-download:active, .pcard-btn:active {
    filter: brightness(0.95);
  }

  @keyframes ctaBreathe {
    0%, 100% { box-shadow: 0 2px 2px rgba(0,0,0,0.15), inset 0 2px 2px rgba(255,255,255,0.55), inset 0 -2px 2px rgba(0,0,0,0.3), 0 0 0 1px rgb(from var(--gold) r g b / 0.25), 0 18px 40px -12px rgb(from var(--gold) r g b / 0.65); transform: scale(1); }
    50% { box-shadow: 0 2px 2px rgba(0,0,0,0.15), inset 0 2px 2px rgba(255,255,255,0.65), inset 0 -2px 2px rgba(0,0,0,0.3), 0 0 0 1.5px rgb(from var(--gold) r g b / 0.45), 0 26px 60px -10px rgb(from var(--gold) r g b / 0.95); transform: scale(1.015); }
  }
  #startProcessingBtn:not(:hover), .process-btn:not(:hover):not(:disabled):not(.is-loading) {
    animation: ctaBreathe 2.2s ease-in-out infinite;
  }

  .hero-credit, .hero-badge, .theme-card-sub, .fps-label,
  .tools-heading > p {
    font-family: 'Chinese Rocks', 'Space Grotesk', sans-serif;
  }
  .price-usd { font-family: 'Chinese Rocks', 'Space Grotesk', sans-serif; }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
    body::before { animation: none; }
    .tilt-spring-btn, .tilt-spring-card { transform: none !important; }
    .tilt-glare { display: none; }
    #particleCanvas { display: none; }
    #pageLoader { display: none; }
    .reveal-section { opacity: 1; transform: none; }
  }

  @media (max-width: 900px) {
    body::before { opacity: 0.6; }
    .tilt-spring-btn, .tilt-spring-card { transform: none !important; }
  }

  :root[data-theme="blue"] {
    --gold: #3EA6FF;
    --gold-2: #1E8DE6;
    --gold-glow: rgba(62,166,255,0.18);
    --gold-glow-strong: rgba(62,166,255,0.35);
    --border: rgba(62,166,255,0.12);
    --border-hover: rgba(62,166,255,0.35);
  }
  :root[data-theme="colorful"] {
    --gold: #FF2D87;
    --gold-2: #E0186E;
    --gold-glow: rgba(255,45,135,0.18);
    --gold-glow-strong: rgba(255,45,135,0.35);
    --border: rgba(255,45,135,0.12);
    --border-hover: rgba(255,45,135,0.35);
  }
  [data-theme="colorful"] nav,
  [data-theme="colorful"] .hero,
  [data-theme="colorful"] #upload-card,
  [data-theme="colorful"] #guide,
  [data-theme="colorful"] #support {
    --gold: #FF6D3B;
    --gold-2: #E85A28;
    --gold-glow: rgba(255,109,59,0.18);
    --gold-glow-strong: rgba(255,109,59,0.35);
    --border: rgba(255,109,59,0.12);
    --border-hover: rgba(255,109,59,0.35);
  }
  [data-theme="colorful"] #pricing {
    --gold: #00E676;
    --gold-2: #00C766;
    --gold-glow: rgba(0,230,118,0.18);
    --gold-glow-strong: rgba(0,230,118,0.35);
    --border: rgba(0,230,118,0.12);
    --border-hover: rgba(0,230,118,0.35);
  }
  [data-theme="colorful"] #reviews,
  [data-theme="colorful"] #powerful-tools {
    --gold: #7B61FF;
    --gold-2: #6A4FE0;
    --gold-glow: rgba(123,97,255,0.18);
    --gold-glow-strong: rgba(123,97,255,0.35);
    --border: rgba(123,97,255,0.12);
    --border-hover: rgba(123,97,255,0.35);
  }
  [data-theme="colorful"] #tools {
    --gold: #FF6D3B;
    --gold-2: #E85A28;
    --gold-glow: rgba(255,109,59,0.18);
    --gold-glow-strong: rgba(255,109,59,0.35);
    --border: rgba(255,109,59,0.12);
    --border-hover: rgba(255,109,59,0.35);
  }
  [data-theme="colorful"] .wf-step-hd::before {
    content: '';
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    flex-shrink: 0;
  }
  [data-theme="colorful"] .studio-main > .wf-step:nth-child(1) .wf-step-hd::before { background: #FF6D3B; }
  [data-theme="colorful"] .studio-main > .wf-step:nth-child(1) .wf-num { color: #FF6D3B; }
  [data-theme="colorful"] .studio-main > .wf-step:nth-child(1) .wf-dot { color: rgba(255,109,59,0.45); }
  [data-theme="colorful"] .studio-main > .wf-step:nth-child(2) .wf-step-hd::before { background: #FF2D87; }
  [data-theme="colorful"] .studio-main > .wf-step:nth-child(2) .wf-num { color: #FF2D87; }
  [data-theme="colorful"] .studio-main > .wf-step:nth-child(2) .wf-dot { color: rgba(255,45,135,0.45); }
  [data-theme="colorful"] .studio-main > .wf-step:nth-child(3) .wf-step-hd::before { background: #00E676; }
  [data-theme="colorful"] .studio-main > .wf-step:nth-child(3) .wf-num { color: #00E676; }
  [data-theme="colorful"] .studio-main > .wf-step:nth-child(3) .wf-dot { color: rgba(0,230,118,0.45); }
  :root[data-theme="bw"] {
    --gold: #FFFFFF;
    --gold-2: #FFFFFF;
    --gold-glow: rgba(255,255,255,0.18);
    --gold-glow-strong: rgba(255,255,255,0.35);
    --border: rgba(255,255,255,0.15);
    --border-hover: rgba(255,255,255,0.4);
    --bg-dark: #000000;
    --bg-card: #000000;
    --bg-card-2: #0a0a0a;
    --bg-card-3: #111111;
    --text-primary: #ffffff;
    --text-secondary: rgba(255,255,255,0.65);
    --text-muted: rgba(255,255,255,0.4);
    --green: #ffffff;
    --purple: #ffffff;
    --red: #ffffff;
    --glass: rgba(255,255,255,0.04);
    --glass-strong: rgba(255,255,255,0.07);
    --glass-border: rgba(255,255,255,0.12);
  }
  [data-theme="bw"] body { background-image: none; }
