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

:root {
  --bg: #0a0c10;
  --bg2: #0f1218;
  --bg3: #141820;
  --orange: #f5820a;
  --orange2: #ff9d2e;
  --gold: #ffc145;
  --blue: #1a8fff;
  --green: #22c55e;
  --text: #e2e8f0;
  --muted: #8892a4;
  --border: rgba(245,130,10,0.18);
  --glow: rgba(245,130,10,0.35);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Exo 2', sans-serif;
  font-weight: 400;
  overflow-x: hidden;
  min-height: 100vh;
}

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  height: 64px;
  background: rgba(10,12,16,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.nav-logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--orange), var(--gold));
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #0a0c10;
  box-shadow: 0 0 16px var(--glow);
}
.nav-logo-text {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: 0.04em;
}
.nav-logo-text span { color: var(--orange); }

.nav-links { display: flex; gap: 1.45rem; list-style: none; align-items: center; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--orange); }
.nav-cta {
  background: linear-gradient(135deg, var(--orange), var(--orange2));
  color: #0a0c10 !important;
  padding: 0.4rem 1.2rem;
  border-radius: 6px;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  box-shadow: 0 0 16px var(--glow);
  transition: box-shadow 0.2s, transform 0.2s !important;
}
.nav-cta:hover { box-shadow: 0 0 28px var(--glow) !important; transform: translateY(-1px); color: #0a0c10 !important; }

.nav-toggle { display:none; background:transparent; border:1px solid var(--border); border-radius:8px; padding:9px; }
.nav-toggle span { display:block; width:22px; height:2px; background:var(--text); margin:4px 0; }

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 3rem 4rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 60% 40%, rgba(245,130,10,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 70%, rgba(26,143,255,0.06) 0%, transparent 60%),
    linear-gradient(180deg, #0a0c10 0%, #0d1016 100%);
}
.hero-grid, .page-header-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(245,130,10,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,130,10,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.orb { position:absolute; border-radius:999px; filter: blur(22px); opacity:.6; }
.orb-1 { width:220px; height:220px; background:rgba(245,130,10,.13); right:14%; top:22%; }
.orb-2 { width:180px; height:180px; background:rgba(26,143,255,.1); right:7%; bottom:20%; }

.hero-content { position: relative; z-index: 2; max-width: 660px; }
.hero-badge {
  display:inline-flex; align-items:center; gap:.5rem;
  background:rgba(245,130,10,.1);
  border:1px solid rgba(245,130,10,.3);
  border-radius:100px;
  padding:.3rem 1rem;
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--orange2);
  margin-bottom:1.5rem;
}
.hero-badge::before {
  content:''; width:6px; height:6px; border-radius:50%;
  background:var(--orange); box-shadow:0 0 8px var(--orange);
  animation:pulse 2s infinite;
}
@keyframes pulse { 50% { opacity:.35; transform:scale(1.6); } }

h1, h2, h3 { font-family:'Rajdhani', sans-serif; line-height:1.0; }
.hero h1 {
  font-size: clamp(3.4rem, 8vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 1.25rem;
}
.hero h1 .line2, .gradient-text {
  background: linear-gradient(90deg, var(--orange), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub { color:var(--muted); font-size:1.08rem; line-height:1.75; max-width:620px; }
.hero-sub strong { color:var(--text); font-weight:600; }

.hero-actions { display:flex; gap:1rem; flex-wrap:wrap; margin-top:2rem; }
.btn-primary, .btn-secondary, .coffee-btn, .email-btn {
  display:inline-flex; align-items:center; justify-content:center;
  min-height:48px; padding:0 1.4rem; border-radius:7px;
  font-weight:700; letter-spacing:.03em; transition:.2s ease;
  border:1px solid transparent;
}
.btn-primary, .coffee-btn {
  background:linear-gradient(135deg,var(--orange),var(--orange2));
  color:#0a0c10;
  box-shadow:0 0 20px var(--glow);
}
.btn-primary:hover, .coffee-btn:hover { transform:translateY(-2px); box-shadow:0 0 34px var(--glow); }
.btn-secondary {
  border-color:var(--border);
  color:var(--orange2);
  background:rgba(245,130,10,.06);
}
.btn-secondary:hover { border-color:rgba(245,130,10,.5); color:var(--gold); transform:translateY(-2px); }

.hero-stats { display:flex; gap:2rem; margin-top:2.2rem; flex-wrap:wrap; }
.hero-stat-value { font-family:'Rajdhani',sans-serif; color:var(--text); font-size:1.6rem; font-weight:700; }
.hero-stat-label { color:var(--muted); font-size:.78rem; text-transform:uppercase; letter-spacing:.08em; }

.hero-visual {
  position: absolute;
  right: -2%;
  top: 50%;
  transform: translateY(-50%);
  width: 55%;
  max-width: 720px;
  z-index: 2;
  filter: none;
}
.hero-window {
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow:
    0 0 0 1px rgba(245,130,10,0.2),
    0 32px 80px rgba(0,0,0,0.8),
    0 0 80px rgba(245,130,10,0.08);
  transform: perspective(1200px) rotateY(-8deg) rotateX(3deg);
  transition: transform 0.4s ease;
}
.hero-window img {
  width: 100%;
  display: block;
  height: auto;
  background: transparent;
}

.section, .container { position:relative; z-index:1; max-width:1160px; margin:0 auto; padding:5rem 3rem; }
.section-label, .page-label {
  font-family:'JetBrains Mono', monospace;
  font-size:.75rem;
  color:var(--orange);
  letter-spacing:.15em;
  text-transform:uppercase;
  margin-bottom:1rem;
}
.section-title {
  font-size:clamp(2.2rem,4vw,4rem);
  margin-bottom:1rem;
}
.section-title span, .page-header h1 span {
  background:linear-gradient(90deg,var(--orange),var(--gold));
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}
.section-desc { color:var(--muted); line-height:1.7; max-width:680px; margin-bottom:2rem; }

.features-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:1.25rem;
}
.feature-card, .download-card, .price-card, .form-card, .support-card, .about-block, .contact-card, .faq-item {
  background:linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.06);
  border-radius:16px;
  padding:1.6rem;
  position:relative;
  overflow:hidden;
}
.feature-card::before, .download-card::before, .price-card::before, .form-card::before, .support-card::before, .about-block::before {
  content:''; position:absolute; left:0; top:0; right:0; height:2px;
  background:linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity:.75;
}
.feature-icon { font-size:2rem; margin-bottom:1rem; }
.feature-card h3, .download-card-name { font-size:1.35rem; margin-bottom:.5rem; }
.feature-card p, .about-block p, .faq-item p, .support-card p { color:var(--muted); line-height:1.7; }

.screenshots { text-align:center; overflow:hidden; }
.swiper { width:100%; padding:1rem 0 3rem; }
.swiper-slide {
  background:var(--bg2);
  border:1px solid var(--border);
  border-radius:18px;
  padding:1rem;
  overflow:hidden;
}


.swiper-button-next, .swiper-button-prev { color:var(--orange) !important; }
.swiper-pagination-bullet-active { background:var(--orange) !important; }

.how-grid { display:grid; grid-template-columns: .9fr 1.1fr; gap:3rem; align-items:center; }
.steps { display:grid; gap:1.1rem; }
.step { display:flex; gap:1rem; align-items:flex-start; }
.step-num {
  width:34px; height:34px; flex:0 0 auto; border-radius:8px;
  background:linear-gradient(135deg,var(--orange),var(--gold));
  color:#0a0c10; display:grid; place-items:center;
  font-family:'Rajdhani',sans-serif; font-weight:700;
}
.step-title { color:var(--text); font-weight:700; margin-bottom:.3rem; }
.step-desc { color:var(--muted); line-height:1.65; }
.how-visual img { border-radius:16px; border:1px solid var(--border); box-shadow:0 30px 70px rgba(0,0,0,.32); }

.cta-band {
  position:relative; z-index:1; text-align:center; padding:5rem 3rem;
  background:linear-gradient(90deg, rgba(245,130,10,.08), rgba(255,193,69,.04), rgba(245,130,10,.08));
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.cta-band h2 { font-size:clamp(2.2rem,4vw,4rem); margin-bottom:.8rem; }
.cta-band p { color:var(--muted); margin-bottom:1.5rem; }

.page-header {
  position:relative;
  padding:9rem 3rem 5rem;
  overflow:hidden;
  text-align:center;
}
.page-header::before {
  content:'';
  position:absolute; inset:0;
  background:radial-gradient(ellipse 60% 80% at 50% 0%, rgba(245,130,10,.08) 0%, transparent 70%), linear-gradient(180deg,#0a0c10 0%,#0d1016 100%);
}
.page-header-content { position:relative; z-index:2; }
.page-header h1 { font-size:clamp(2.6rem,6vw,4.8rem); margin-bottom:1rem; }
.page-header p { color:var(--muted); max-width:620px; margin:0 auto; line-height:1.7; }

.two-col, .download-grid, .pricing-grid { display:grid; grid-template-columns:1fr 1fr; gap:1.4rem; align-items:start; }
.tech-grid { display:flex; flex-wrap:wrap; gap:.8rem; margin-top:1.5rem; }
.tech-tag {
  border:1px solid var(--border); border-radius:8px; padding:.55rem .8rem;
  color:var(--muted); background:rgba(245,130,10,.04);
  font-family:'JetBrains Mono',monospace; font-size:.86rem;
}
.tech-tag span { color:var(--orange); margin-right:.35rem; }

.download-card-header {
  padding: 2rem 2rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 0;
}
.download-card-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--orange), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #0a0c10;
  box-shadow: 0 0 18px rgba(245,130,10,0.18);
  flex: 0 0 auto;
}
.download-card-desc {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  margin-top: 0.2rem;
}
.download-platforms { display:grid; gap:.75rem; margin-top:1.3rem; }
.download-btn {
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
  border:1px solid var(--border); background:rgba(245,130,10,.05);
  border-radius:10px; padding:1rem; color:var(--text); transition:.2s;
}
.download-btn:hover { transform:translateY(-2px); border-color:rgba(245,130,10,.45); }
.download-btn-left { display:flex; align-items:center; gap:.7rem; }
.btn-text { display:grid; gap:.2rem; }
.download-btn-size { color:var(--muted); font-size:.82rem; }
.checksum {
  display:flex; align-items:center; gap:.7rem;
  background:#080a0e; border:1px solid rgba(255,255,255,.06);
  border-radius:10px; padding:.85rem; overflow:auto;
}
.checksum-label { color:var(--orange); font-family:'JetBrains Mono',monospace; font-size:.75rem; font-weight:700; }
.checksum-value {
  color:var(--text);
  font-family:'JetBrains Mono',monospace;
  font-size:.85rem;
  user-select:all;
  white-space:nowrap;
}
.copy-hash {
  margin-left:auto; border:1px solid var(--border); background:rgba(245,130,10,.06);
  color:var(--orange2); border-radius:7px; padding:.35rem .65rem; cursor:pointer;
}

.price { font-family:'Rajdhani',sans-serif; font-size:3rem; font-weight:700; color:var(--text); margin:1rem 0; }
.check-list { list-style:none; display:grid; gap:.75rem; margin-top:1rem; }
.check-list li { color:var(--muted); position:relative; padding-left:1.6rem; line-height:1.6; }
.check-list li::before { content:'✓'; position:absolute; left:0; color:var(--orange); font-weight:700; }

.form-grid { display:grid; gap:1rem; }
.form-field { display:grid; gap:.35rem; }
.form-field label { font-size:.82rem; text-transform:uppercase; letter-spacing:.08em; color:var(--muted); }
.form-field input {
  width:100%; border:1px solid var(--border); background:#080a0e; color:var(--text);
  border-radius:9px; padding:.95rem 1rem; font:inherit;
}
.form-field input:focus { outline:1px solid var(--orange); }
.form-message { margin-bottom:1rem; padding:.9rem 1rem; border-radius:10px; color:var(--text); }
.form-message.success { background:rgba(34,197,94,.12); border:1px solid rgba(34,197,94,.3); }
.form-message.error { background:rgba(248,113,113,.12); border:1px solid rgba(248,113,113,.3); }
.hp-field { position:absolute; left:-9999px; opacity:0; }

.faq-grid { display:grid; grid-template-columns:1fr 1fr; gap:1rem; margin-top:2rem; }
.faq-item h3 { margin-bottom:.5rem; }

.support-main { min-height:calc(100vh - 64px); display:flex; align-items:center; justify-content:center; padding:8rem 3rem 4rem; position:relative; }
.support-card { max-width:620px; width:100%; text-align:center; }
.coffee-float { font-size:4.2rem; line-height:1.15; display:inline-block; margin-bottom:1rem; padding:.12rem .2rem .35rem; animation:coffeeBob 3.8s ease-in-out infinite; will-change:transform; backface-visibility:hidden; transform:translate3d(0,0,0); }
@keyframes coffeeBob { 0%,100%{transform:translate3d(0,0,0)} 50%{transform:translate3d(0,-8px,0)} }
.qr-wrap { margin:1.5rem auto 0; }
.qr-label { color:var(--muted); font-size:.9rem; margin-bottom:.75rem; }
.qr-img { width:min(100%,196px); margin:0 auto; border-radius:18px; padding:.55rem; background:#fff; }
.perks { display:grid; gap:.75rem; margin:1.4rem 0; text-align:left; }
.perk { color:var(--muted); border:1px solid rgba(255,255,255,.06); border-radius:10px; padding:.85rem; background:rgba(255,255,255,.025); }
.coffee-btn-below { margin-top:1.3rem; }

footer {
  position:relative; z-index:1;
  border-top:1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.025);
  padding:2.5rem 3rem;
  display:flex; align-items:center; justify-content:space-between;
  gap:2rem;
}
.footer-logo { display:flex; align-items:center; gap:.75rem; }
.footer-logo-icon {
  width:30px; height:30px; background:linear-gradient(135deg,var(--orange),var(--gold));
  border-radius:6px; display:flex; align-items:center; justify-content:center;
  font-family:'Rajdhani',sans-serif; font-weight:700; font-size:.85rem; color:#0a0c10;
}
.footer-logo-text { font-family:'Rajdhani',sans-serif; font-weight:600; font-size:.95rem; color:var(--muted); }
.footer-links { display:flex; gap:1.5rem; list-style:none; flex-wrap:wrap; justify-content:center; }
.footer-links a { color:var(--muted); font-size:.82rem; transition:.2s; }
.footer-links a:hover { color:var(--orange); }
.footer-copy { margin-left:auto; font-size:.78rem; color:rgba(136,146,164,.58); font-family:'JetBrains Mono',monospace; white-space:nowrap; }
.more-from-xgdl {
  position: static;
  inset: auto;
  height: auto;
  backdrop-filter: none;
  width: 100%;
  order: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem .9rem;
  flex-wrap: wrap;
  color: rgba(226, 232, 240, .72);
  font-size: .86rem;
  padding: .8rem 1rem;
  border: 1px solid rgba(245,130,10,.16);
  border-radius: 10px;
  background: rgba(10,12,16,.28);
}
.more-from-xgdl strong {
  color: var(--orange2);
  font-family: 'Rajdhani', sans-serif;
  font-size: .98rem;
  font-weight: 700;
}
.more-from-xgdl a {
  color: rgba(226, 232, 240, .84);
  transition: color .2s;
}
.more-from-xgdl a:hover {
  color: var(--orange);
}

@media (max-width: 1050px) {
  .hero { min-height:auto; display:block; padding-top:8rem; }
  .hero-visual { position:relative; right:auto; top:auto; width:100%; transform:none; margin-top:3rem; }
}

@media (max-width: 900px) {
  nav { padding:0 1.5rem; }
  .nav-toggle { display:block; }
  .nav-links {
    display:none; position:absolute; top:64px; left:1rem; right:1rem;
    background:rgba(10,12,16,.98); border:1px solid var(--border);
    border-radius:14px; padding:1rem; flex-direction:column; align-items:stretch; gap:.9rem;
  }
  .nav-links.open { display:flex; }
  .features-grid, .two-col, .download-grid, .pricing-grid, .faq-grid, .how-grid, .steps-grid { grid-template-columns:1fr; }
  footer { flex-direction:column; text-align:center; }
  .footer-copy { margin-left:0; }
}

@media (max-width: 560px) {
  .hero, .section, .container, .page-header, .cta-band, .support-main { padding-left:1.25rem; padding-right:1.25rem; }
  .hero h1 { font-size:3.3rem; }
  .hero-stats { gap:1.2rem; }
}



  100% {
    opacity: 1;
    transform: translateY(-50%) translateX(0) perspective(1100px) rotateY(-9deg) rotateZ(1deg) scale(1);
  }
}

@media (max-width: 980px) {
  .fly-in-right { animation: none; }
}


/* Purchase page cards copied from the Video Fetcher purchase layout, adapted for XG Downloader. */
.purchase-container { max-width: 1020px; }
.purchase-pricing-grid { gap: 2rem; margin-bottom: 4rem; align-items: stretch; }
.pricing-card {
  background: var(--bg2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.purchase-pricing-grid .pricing-card {
  height: 100%;
  border-color: var(--orange);
  box-shadow: 0 0 30px rgba(245,130,10,0.15);
}
.pricing-card.featured { border-color: var(--orange); box-shadow: 0 0 30px rgba(245,130,10,0.15); }
.pricing-card.featured::before {
  content:'RECOMMENDED';
  position:absolute;
  top:14px;
  right:-32px;
  background:linear-gradient(135deg,var(--orange),var(--gold));
  color:#0a0c10;
  font-family:'JetBrains Mono',monospace;
  font-size:.6rem;
  font-weight:700;
  padding:4px 24px 4px 66px;
  transform:rotate(45deg);
  letter-spacing:.1em;
}
.pricing-card h2 { font-size:1.8rem; margin-bottom:.5rem; }
.price small { font-size:1rem; color:var(--muted); font-weight:400; }
.price-note { font-size:.82rem; color:var(--muted); margin-bottom:1.5rem; }
.feature-list { list-style:none; margin:0 0 2rem; padding:0; flex:1; }
.feature-list li {
  padding:.55rem 0;
  font-size:.9rem;
  color:var(--muted);
  border-bottom:1px solid rgba(255,255,255,.04);
  display:flex;
  align-items:center;
  gap:.6rem;
  line-height:1.55;
}
.feature-list li:last-child { border-bottom:none; }
.feature-list .yes { color:#00cc44; font-weight:700; }
.feature-list .limited { color:#ff9d2e; }
.btn-free,
.btn-purchase {
  display:block;
  text-align:center;
  padding:.8rem 1rem;
  background:linear-gradient(135deg,var(--orange),var(--gold));
  color:#0a0c10;
  border-radius:8px;
  text-decoration:none;
  font-family:'Rajdhani',sans-serif;
  font-weight:700;
  font-size:1rem;
  border:0;
  cursor:pointer;
  box-shadow:0 4px 20px rgba(245,130,10,.25);
  transition:all .2s;
}
.btn-free:hover,
.btn-purchase:hover { transform:translateY(-2px); box-shadow:0 6px 28px rgba(245,130,10,.4); }
.steps-section { margin: 0 0 4rem; }
.steps-title,
.faq-title { font-size:2rem; text-align:center; margin-bottom:2rem; }
.steps-title span,
.faq-title span {
  background:linear-gradient(90deg,var(--orange),var(--gold));
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}
.steps-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; }
.step-card {
  background:var(--bg2);
  border:1px solid rgba(255,255,255,.06);
  border-radius:12px;
  padding:2rem 1.5rem;
  text-align:center;
  position:relative;
  overflow:hidden;
}
.step-card::before { content:''; position:absolute; top:0; left:0; right:0; height:3px; background:linear-gradient(90deg,transparent,var(--orange),transparent); }
.step-card .step-num { font-size:2.5rem; width:auto; height:auto; background:none; -webkit-text-fill-color:initial; color:var(--orange); margin:0 0 .5rem; }
.step-card h3 { font-size:1.2rem; margin-bottom:.75rem; }
.step-card p { font-size:.85rem; color:var(--muted); line-height:1.65; }
.faq-section { margin-bottom:4rem; }
.registration-card { max-width:560px; margin:0 auto; }
.registration-intro { color:var(--muted); font-size:.9rem; text-align:center; margin-bottom:1.5rem; }
.registration-form { display:flex; flex-direction:column; gap:1rem; }
.field-help { font-size:.75rem; color:var(--muted); }
.form-submit { width:100%; margin-top:.5rem; }
.registration-note { font-size:.78rem; color:var(--muted); text-align:center; margin-top:1.2rem; line-height:1.6; }
.registration-note a { color:var(--orange); text-decoration:none; }

/* Screenshot image updates */

  100% { opacity: 1; transform: translateX(0) rotateY(-8deg) rotateZ(1deg) scale(1); }
}
.hero-window img,
.swiper-slide img,
.how-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
}


.hero-window:hover {
  transform: perspective(1200px) rotateY(-4deg) rotateX(1deg);
}


/* Carousel screenshot cards: equal image area, centered screenshots, captions below */
.swiper {
  padding: 1rem 3rem 4rem !important;
}

.swiper-slide {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(245,130,10,0.15),
    0 20px 60px rgba(0,0,0,0.6);
  transition: transform 0.3s, box-shadow 0.3s;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.02));
}

.swiper-slide:hover {
  box-shadow:
    0 0 0 1px rgba(245,130,10,0.35),
    0 24px 72px rgba(0,0,0,0.7),
    0 0 40px rgba(245,130,10,0.08);
}

.swiper-slide img {
  width: 100%;
  height: 430px;
  object-fit: contain;
  object-position: center center;
  display: block;
  background: #111722;
  padding: 10px 10px 0;
}

.swiper-slide-caption {
  display: block;
  background: var(--bg3);
  padding: 0.75rem 1.25rem;
  font-size: 0.82rem;
  color: var(--muted);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
  border-top: 1px solid rgba(245,130,10,0.1);
  text-align: left;
  margin-top: 0;
}

@media (max-width: 900px) {
  .swiper-slide img {
    height: 340px;
  }
}

@media (max-width: 768px) {
  .hero { flex-direction: column; padding: 6rem 1.5rem 3rem; }
  .hero-visual { position: relative; width: 100%; right: auto; top: auto; transform: none; margin-top: 2rem; }
  .hero-window { transform: none; }
  .swiper { padding: 1rem 1rem 3.2rem !important; }
  .swiper-slide img { height: 280px; }
}


/* Real download release notes */
.linux-help-note {
  margin-top: .75rem;
  border: 1px solid rgba(245,130,10,.18);
  background: rgba(245,130,10,.045);
  border-radius: 10px;
  padding: .85rem;
  display: grid;
  gap: .45rem;
}
.help-note-title {
  color: var(--orange2);
  font-family: 'JetBrains Mono', monospace;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.linux-help-note code {
  display: block;
  color: var(--text);
  background: #080a0e;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 7px;
  padding: .55rem .65rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: .82rem;
  overflow-x: auto;
}
.md5-file-link {
  color: var(--orange2);
  border: 1px solid var(--border);
  background: rgba(245,130,10,.04);
  border-radius: 7px;
  padding: .35rem .65rem;
  font-size: .78rem;
  white-space: nowrap;
}
.md5-file-link:hover {
  border-color: rgba(245,130,10,.45);
  color: var(--gold);
}


/* How to run section */
.run-help-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  margin-top: 1.4rem;
}
.run-help-card {
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.025);
  border-radius: 14px;
  padding: 1.25rem;
}
.run-help-title {
  display: flex;
  align-items: center;
  gap: .7rem;
  color: var(--text);
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: .75rem;
}
.run-help-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg,var(--orange),var(--gold));
  color: #0a0c10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px rgba(245,130,10,0.18);
  font-size: 1.15rem;
}
.run-help-card p {
  color: var(--muted);
  line-height: 1.7;
}
@media (max-width: 800px) {
  .run-help-grid {
    grid-template-columns: 1fr;
  }
}


/* Uniform download cards */
.download-grid {
  align-items: stretch;
}
.download-grid .download-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.download-grid .download-card > .section-desc {
  min-height: 1.8rem;
  margin-bottom: 1.2rem;
}
.download-grid .download-platforms {
  margin-top: auto;
}

/* Content update refinements */
.faq-item p + p { margin-top: .8rem; }
.about-block h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.7rem;
  margin: 1.8rem 0 .9rem;
}


/* About page spacing */
.why-users-title {
  margin-top: 2.1rem !important;
  margin-bottom: 1.05rem !important;
}
.why-users-title + p {
  margin-top: 0;
}


/* Background music toggle */
.music-toggle {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  border: 1px solid rgba(245,130,10,.35);
  background: rgba(10,12,16,.88);
  color: var(--orange2);
  border-radius: 999px;
  padding: .72rem 1rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .03em;
  cursor: pointer;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 22px rgba(245,130,10,.18);
  transition: transform .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.music-toggle:hover {
  color: var(--gold);
  border-color: rgba(245,130,10,.65);
  box-shadow: 0 0 30px rgba(245,130,10,.28);
  transform: translateY(-2px);
}
.music-toggle.is-playing {
  color: #0a0c10;
  background: linear-gradient(135deg, var(--orange), var(--gold));
  border-color: transparent;
}
@media (max-width: 560px) {
  .music-toggle { right: 12px; bottom: 12px; padding: .65rem .85rem; }
}


/* Smooth internal navigation helper */
#ajax-content {
  display: contents;
}
body.is-loading-page #ajax-content {
  opacity: .72;
  transition: opacity .12s ease;
}


/* Centered footer layout */
footer {
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  text-align: center;
}

.footer-logo {
  display: none;
}

.footer-links {
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-copy {
  width: 100%;
  margin-left: 0 !important;
  text-align: center;
  order: 1;
}


/* Playlist music controls */
.music-player {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  display: flex;
  gap: .45rem;
  align-items: center;
}

.music-player .music-toggle,
.music-player .music-next {
  position: static;
}

.music-next {
  border: 1px solid rgba(245,130,10,.35);
  background: rgba(10,12,16,.88);
  color: var(--orange2);
  border-radius: 999px;
  min-width: 42px;
  height: 42px;
  padding: 0 .8rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 22px rgba(245,130,10,.18);
  transition: transform .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.music-next:hover {
  color: var(--gold);
  border-color: rgba(245,130,10,.65);
  box-shadow: 0 0 30px rgba(245,130,10,.28);
  transform: translateY(-2px);
}

@media (max-width: 560px) {
  .music-player {
    right: 12px;
    bottom: 12px;
  }
}
