@font-face {
  font-family: "Minecraft Five";
  src: url("https://cdn.jsdelivr.net/gh/Mojang/web-theme-bootstrap@main/assets/fonts/MinecraftFive-Regular.woff2") format("woff2"),
       url("https://cdn.jsdelivr.net/gh/Mojang/web-theme-bootstrap@main/assets/fonts/MinecraftFive-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.hidden {
  display: none !important;
}

@font-face {
  font-family: "Minecraft Default";
  src: url("https://cdn.jsdelivr.net/gh/Mojang/web-theme-bootstrap@main/assets/fonts/Minecraft-Seven_v2.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Minecraft Five";
  src: url("https://cdn.jsdelivr.net/gh/Mojang/web-theme-bootstrap@main/assets/fonts/MinecraftFive-Bold.woff") format("woff");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #07060c;
  --ink: #111016;
  --paper: #f4f1fb;
  --white: #fff;
  --muted: #aaa5b4;
  --line: #2d2939;
  --purple: #9667e8;
  --purple-dark: #6f43c2;
  --mist: #ded4ff;
  --font: "Minecraft Five", monospace;
  --game-font: "Minecraft Default", monospace;
  --body-font: var(--game-font);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(circle at 84% 5%, rgba(126, 72, 225, .16), transparent 28rem), radial-gradient(circle at 8% 42%, rgba(104, 62, 173, .11), transparent 34rem), var(--black);
  color: var(--paper);
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

.wrap { width: min(1260px, calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: absolute; top: -48px; left: 16px; z-index: 99; padding: 8px 12px; background: var(--paper); color: var(--black); }
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed; /* Keeps navbar stuck to the top of the viewport when scrolling */
  top: 0;
  left: 0;
  right: 0;
  z-index: 100; /* Ensures navbar stays on top of all page content */
  height: 86px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 6, 12, 0.6); /* Translucent background so video shows through */
  backdrop-filter: blur(12px); /* Glass blur effect */
}
.site-header.scrolled { border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--white); font-family: var(--font); font-size: 24px; font-weight: 700; letter-spacing: .11em; text-decoration: none; }
.brand-logo { display: block; width: 29px; height: 29px; object-fit: contain; }
.nav-links { display: flex; gap: 31px; margin-left: auto; }
.nav-links a, .back-top { color: #c1bdcb; font-family: var(--game-font); font-size: 18px; text-decoration: none; }
.nav-links a:hover, .back-top:hover { color: var(--white); }
.nav-toggle { display: none; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 17px; padding: 15px 19px; border: 1px solid transparent; font: 400 18px var(--game-font); color: var(--white); letter-spacing: .03em; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease, border-color .2s ease; will-change: transform; }
.button:hover { transform: translateY(-2px); }
.button span { font-size: 17px; line-height: 0; }
.button-small { padding: 10px 16px; }
.button-red { background: var(--purple); }
.button-red:hover { background: var(--purple-dark); }
.button-light { background: var(--paper); color: var(--black); }
.button-light:hover { background: var(--white); }
.button-outline { border-color: #5b536d; background: var(--black); }
.button-outline:hover { border-color: var(--black); background: var(--black); }
.button-outline2 { border-color: #d49d2f; background: #d49d2f; }
.button-outline2:hover { border-color: #a67c28; background: #a67c28; }
.buy-button-outline2 { border-color: #d49d2f; background: #d49d2f; }
.buy-button-outline2:hover { border-color: #a67c28; background: #a67c28; }

.hero-content {
  position: relative;
  z-index: 1;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  min-height: 100vh;
  padding-top: 136px; /* 86px navbar height + 50px offset to prevent text overlap */
  padding-bottom: 50px;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom center; /* Keeps bottom edge pinned */
  z-index: -2;
  opacity: 0.5;
  pointer-events: none;
}

.purchase-modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.75);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.purchase-modal.hidden{
    display:none;
}

.purchase-box{
    width:500px;
    max-width:90%;
    background:#17171b;
    border:1px solid #34343f;
    border-radius:18px;
    padding:32px;
}

.purchase-box h2{
    margin-bottom:10px;
}

.purchase-box p{
    color:#b9b9c8;
    margin-bottom:25px;
}

.purchase-box input[type=text]{

    width:100%;
    padding:14px;
    margin-top:8px;
    margin-bottom:20px;

    background:#101014;
    border:1px solid #333;
    border-radius:10px;

    color:white;
}

.premium-showcase {
    max-width: 1100px;
    margin: 80px auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    padding: 0 20px;
    align-items: stretch;
}


.premium-card,
.steps-card {
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(212,165,47,.12);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 24px;
    padding: 35px;
    backdrop-filter: blur(15px);
    animation: fadeUp .8s ease forwards;
}

/* GOLD */
.premium-active .premium-card,
.premium-active .steps-card {
    box-shadow:
    0 25px 80px rgba(212,165,47,.25);
}

/* PURPLE */
.setup-active .premium-card,
.setup-active .steps-card {
    box-shadow:
    0 20px 60px rgba(120,70,255,.12);
}


.premium-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    letter-spacing: 2px;
    color: #b084ff;
}


.status-dot {
    width: 10px;
    height: 10px;
    background: #a56cff;
    border-radius: 50%;
    animation: pulse 2s infinite;
}


.premium-card h3 {
    font-size: 38px;
    margin: 20px 0 10px;
}


.premium-features {
    display: grid;
    gap: 15px;
    margin-top: 30px;
}


.premium-feature {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 15px;
    border-radius: 15px;
    background: rgba(255,255,255,.03);
    transition: .3s;
}


.premium-feature:hover {
    transform: translateX(8px);
    background: rgba(255,255,255,.08);
}


.premium-feature img {
    width: 42px;
    height: 42px;
}


.premium-feature span {
    display: flex;
    flex-direction: column;
    gap: 5px;
}


.steps-title {
    font-size: 13px;
    letter-spacing: 2px;
    opacity: .6;
}


.step {
    margin-top: 18px;
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 18px;
    opacity: .45;
}


.step span {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
}


.step.active {
    opacity: 1;
}


.step.current {
    opacity: 1;
    color: #b084ff;
}


@keyframes pulse {
    50% {
        opacity: .4;
    }
}


@keyframes floatGlow {
    from {
        transform: translate(0,0);
    }

    to {
        transform: translate(-30px,30px);
    }
}


@keyframes fadeUp {

    from {
        opacity:0;
        transform:translateY(30px);
    }

    to {
        opacity:1;
        transform:translateY(0);
    }

}

.confirm-row{

    display:flex;
    gap:12px;
    align-items:flex-start;

    margin-bottom:25px;
}

.purchase-buttons{

    display:flex;
    justify-content:flex-end;
    gap:15px;
}

.feature-icon { position: absolute; top: 28px; right: 28px; width: 50px; height: 50px; padding: 3px; ; border: 1px solid #6a6177; }

.hero::before, .hero::after { position: absolute; z-index: -1; pointer-events: none; content: ""; filter: blur(26px); will-change: transform; }
.hero::before { top: 2rem; right: -16rem; width: 42rem; height: 28rem; background: radial-gradient(ellipse, rgba(152, 93, 255, .34), rgba(95, 50, 186, .13) 2%, transparent 90%); animation: nebula-drift 16s ease-in-out infinite alternate; }
.hero::after { bottom: -7rem; left: -10rem; width: 42rem; height: 15rem; background: radial-gradient(ellipse, rgba(190, 164, 255, .12), rgba(86, 43, 157, .15) 36%, transparent 70%); animation: fog-drift 20s ease-in-out infinite alternate; }
.eyebrow, .section-label, .kicker, .feature-number, .tag { font-family: var(--game-font); margin-top: 25px; margin-bottom: -45px; font-size: 18px; letter-spacing: .05em; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: #d2cedb; }
.signal {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  animation: signal-pulse 2.5s infinite;
}

@keyframes signal-pulse {
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: end; gap: 64px; margin-top: 44px; }
.hero h1, .statement h2, .plans h2, .faq h2, .download h2, .feature h3, .dashboard h2, .price { margin: 0; font-family: var(--font); font-size: clamp(48px, 6.1vw, 86px); font-weight: 700; line-height: .96; letter-spacing: 0.03em; }

.hero h1 em, .statement h2 em, .plans h2 em, .download h2 em {
  color: var(--mist);
  font-style: normal;
  animation: text-glow 1.5s ease-in-out infinite alternate;
}

@keyframes text-glow {
  0% { text-shadow: 0 0 40px rgba(158, 102, 255, 0.3); }
  100% { text-shadow: 0 0 90px rgba(158, 102, 255, 0.9), 0 0 10px rgba(158, 102, 255, 0.5); }
}

.lede { max-width: 555px; margin: 31px 0; color: #c0bbc9; font-size: 20px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 25px; }
.text-link { color: var(--paper); font-size: 18px; text-decoration: none; }
.text-link:hover { color: var(--mist); }
.hero-facts { display: flex; margin: 70px 0 40px; }
.hero-facts div { padding: 0 27px; border-left: 1px solid var(--line);}
.hero-facts div:first-child { padding-left: 0; border: 0; }
.hero-facts dt { font-size: 25px; font-weight: 700; letter-spacing: 0.05em; }
.hero-facts dd { margin: 2px 0 0; color: #9c96a8; font-size: 16px; }

.product-frame { min-height: 420px; overflow: hidden; border: 1px solid rgba(190, 165, 255, .4); background: #111016; box-shadow: 15px 17px 0 rgba(59, 34, 91, .48), 0 0 48px rgba(134, 80, 220, .17); animation: frame-float 7s ease-in-out infinite; transition: transform .35s ease, box-shadow .35s ease; }
.product-frame:hover { transform: translateY(-4px); box-shadow: 18px 22px 0 rgba(59, 34, 91, .52), 0 0 58px rgba(134, 80, 220, .23); }
.frame-top { display: flex; align-items: center; gap: 6px; height: 43px; padding: 0 14px; border-bottom: 1px solid #37313f; }
.frame-top span { width: 7px; height: 7px; border: 1px solid #92899e; border-radius: 50%; }
.frame-top p { margin: auto; color: #bcb5c8; font-size: 10px; letter-spacing: .08em; }
.frame-top b { color: #cdb8ff; font-size: 9px; }
.frame-body { display: flex; min-height: 376px; }
.frame-body aside { display: flex; flex-direction: column; width: 130px; gap: 5px; padding: 18px 11px; border-right: 1px solid #312b38; }
.mini-brand { padding: 4px 8px 20px; color: var(--purple); font-size: 20px; }
.frame-body aside a { padding: 8px; color: #9e96a9; font-size: 10px; text-decoration: none; }
.frame-body aside .active { border-left: 2px solid var(--purple); background: #2b2435; color: var(--white); }
.frame-body aside small { margin-top: auto; padding: 8px; color: #746d7e; font-size: 9px; }
.dashboard { position: relative; flex: 1; padding: 45px 42px; background: linear-gradient(135deg, #17131f, #0f0d15 62%); }
.dashboard::after { position: absolute; top: 0; right: 0; width: 140px; height: 140px; background: linear-gradient(135deg, #b888ff, #6d3dcb); clip-path: polygon(100% 0, 100% 100%, 0 0); content: ""; opacity: .75; }
.kicker { margin: 0; color: #afa7bc; }
.dashboard h2 { margin: 20px 0 35px; font-size: clamp(30px, 3vw, 44px); letter-spacing: -.07em; line-height: 1; }
.dash-row { display: flex; gap: 15px; }
.dash-row div { min-width: 76px; padding: 10px; border: 1px solid #43394e; background: #181420; }
.dash-row span { display: block; color: #aaa1b6; font-size: 9px; }
.dash-row strong { font-size: 15px; letter-spacing: -.05em; }
.launch { position: absolute; right: 38px; bottom: 35px; padding: 12px 14px; border: 0; background: var(--purple); color: var(--white); font: 400 11px var(--game-font); cursor: pointer; }
.launch span { margin-left: 22px; font-size: 15px; }

.statement { padding: 115px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(112, 67, 184, .075), transparent 58%); }
.statement-bright { position: relative; overflow: hidden; border-color: #d9d0e8; background: radial-gradient(circle at 84% 40%, rgba(173, 124, 255, .34), transparent 22rem), linear-gradient(110deg, #f7f3ff, #e9dffc); color: #160e25; }
.statement-bright::after { position: absolute; right: -6rem; bottom: -9rem; width: 28rem; height: 20rem; border-radius: 50%; background: rgba(121, 73, 204, .13); content: ""; filter: blur(34px); }
.statement-bright .statement-grid { position: relative; z-index: 1; }
.statement-bright h2 em { color: var(--purple-dark); text-shadow: none; }
.statement-bright .section-label { color: var(--purple-dark); }
.statement-bright .statement-grid > div > p { color: #4f465d; }
.statement-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.statement h2 { font-size: clamp(40px, 5vw, 65px); }
.statement-grid > div > p { max-width: 490px; margin: 30px 0 0; color: #c0bbc9; font-size: 18px; line-height: 1.8; }
.section-label { margin: 0; color: var(--purple); }
.section-label-2 {
margin: 0;
color: var(--white);
font-size: 18px;
letter-spacing: .15em
}

.features { padding: 132px 0 120px; }
.section-head { display: flex; align-items: start; justify-content: space-between; margin-bottom: 42px; }
.section-head > p:last-child { margin: 0; color: var(--muted); font-size: 20px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature { position: relative; min-height: 300px; padding: 25px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s ease, transform .25s ease; will-change: transform; }
.feature:hover { background: rgba(161, 110, 240, .06); transform: translateY(-3px); }
.feature-wide { grid-column: span 2; }
.feature-number { color: #847c91; }
.feature h3 { margin: 47px 0 13px; font-size: 22px; letter-spacing: -.0em; line-height: 1.1; }
.feature p { max-width: 315px; margin: 0; color: #b6afc0; font-size: 15px; line-height: 1.8; }
.metric { position: absolute; right: 26px; bottom: 24px; text-align: right; }
.metric strong { display: block; color: var(--mist); font-size: 25px; letter-spacing: 0.02em; }
.metric span { color: #948b9f; font-size: 14px; display: block; }
.metric span2 { color: #948b9f; font-size: 10px; display: block; margin-top: 4px }

.glyph { position: absolute; top: 28px; right: 28px; width: 44px; height: 44px; border: 1px solid #6a6177; }
.glyph::before, .glyph::after { position: absolute; background: var(--purple); content: ""; }
.sliders::before { top: 14px; right: 9px; left: 9px; height: 1px; }
.sliders::after { top: 11px; left: 19px; width: 7px; height: 7px; }
.cube::before { top: 12px; left: 12px; width: 17px; height: 17px; border: 1px solid var(--purple); background: transparent; }
.cube::after { top: 8px; left: 21px; width: 1px; height: 27px; transform: rotate(45deg); }
.grid { background: linear-gradient(90deg, transparent 47%, var(--purple) 48%, var(--purple) 52%, transparent 53%), linear-gradient(transparent 47%, var(--purple) 48%, var(--purple) 52%, transparent 53%); }
.footnote { margin: 18px 0 0; color: #867e91; font-size: 9px; }

.plans { padding: 120px 0; background: linear-gradient(135deg, #f4f1fb, #ece5fa); color: var(--ink); }
.plans-head { margin-bottom: 51px; }
.plans h2 { font-size: clamp(42px, 5vw, 66px); }
.plans h2 em { color: var(--purple-dark); text-shadow: none; }
.plans-head > p { max-width: 245px; color: #5d5669; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 29px; border: 1px solid #c9c2d6; }
.plan2 { display: flex; flex-direction: column; padding: 29px; border: 1px solid #c9c2d6; }
.plan-featured { position: relative; border-color: var(--black); background: linear-gradient(145deg, #140d22, #08070c 75%); color: var(--paper); box-shadow: 0 16px 38px rgba(63, 33, 109, .3); }
.tag { align-self: flex-start; margin: 0 0 19px; padding: 5px 7px; background: #d49d2f; color: var(--white); }
.plan-name { margin: 0; font-size: 16px; letter-spacing: .05em; text-transform: uppercase; }
.price { margin: 15px 0 6px; font-size: 34px; font-weight: 700; letter-spacing: -.005em; font-family: var(--game-font)}
.price small { color: #a59ab5; font-size: 24px; letter-spacing: 0; }
.plan-intro { min-height: 43px; margin: 0; color: #615b69; font-size: 16px; line-height: 1.7; }
.plan-featured .plan-intro { color: #b5adbf; }
.plan ul { display: grid; gap: 11px; padding: 0; margin: 29px 0; list-style: none; font-size: 18px; }
.plan li { display: flex; gap: 9px; align-items: start; }
.plan li2 { display: flex; gap: 9px; align-items: start; }
.plan li::before { color: var(--purple); content: "+"; font-weight: 700; }
.plan li2::before { color: #d49d2f; content: "+"; font-weight: 700; }
.plan .button { margin-top: auto; }

.faq { display: grid; grid-template-columns: 1fr 2fr; gap: 70px; padding: 125px 0; }
.faq h2 { margin-top: 15px; font-size: clamp(45px, 5vw, 62px); }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; list-style: none; font-size: 20px; font-weight: 700; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary span { color: var(--mist); font-size: 22px; font-weight: 400; line-height: .8; }

html {
  interpolate-size: allow-keywords;
}

details::details-content {
  display: block;
  overflow: hidden;
  height: 0;
  opacity: 0;
  padding: 0;
  transition:
    height 0.35s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 0.25s ease,
    padding 0.35s cubic-bezier(0.25, 1, 0.5, 1),
    content-visibility 0.35s allow-discrete;
  transition-behavior: allow-discrete;
}

details[open]::details-content {
  height: auto;
  opacity: 1;
  padding: 10px 0 23px;
}

@starting-style {
  details[open]::details-content {
    height: 0;
    opacity: 0;
    padding: 0;
  }
}

details summary {
  cursor: pointer;
  list-style: none;
}
details summary::-webkit-details-marker {
  display: none;
}

details summary span {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

details[open] summary span {
  transform: rotate(45deg);
}

details p {
  margin: 0;
}

/* Download Section Style Utility & Reusable Hero Banner */
.download-vibe {
  position: relative;
  overflow: hidden;
  background: linear-gradient(110deg, #6f3dcb, #9a67e5 52%, #7040c4);
  color: var(--white);
}

.download-vibe::before {
  position: absolute;
  inset: -70% -20%;
  background: radial-gradient(ellipse, rgba(235, 227, 255, 0.35), transparent 50%);
  content: "";
  filter: blur(24px);
  animation: fog-drift 18s ease-in-out infinite alternate;
  pointer-events: none;
}

/* Integrated Config Saving Banner (Forced to the absolute top) */
.config-hero-banner {
  position: relative;
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  /* Pulls the element up by exactly 33px to kill that phantom gap */
  margin-top: -33px;
  margin-bottom: 40px;

  /* Keep text safely below the 100px navbar height */
  padding-top: 67px; /* 100px navbar height + 33px compensation + extra breathing room */
  padding-bottom: 60px;
  padding-left: max(24px, calc((100vw - 1260px) / 2 + 24px));
  padding-right: max(24px, calc((100vw - 1260px) / 2 + 24px));

  border-radius: 0;
  background: linear-gradient(110deg, #6f3dcb, #9a67e5 52%, #7040c4);
  box-shadow: 0 20px 240px rgba(111, 67, 194, 0.25);
  color: var(--white);
}


.config-hero-banner::before {
  position: absolute;
  inset: -70% -20%;
  background: radial-gradient(ellipse, rgba(235, 227, 255, 0.35), transparent 50%);
  content: "";
  filter: blur(24px);
  animation: fog-drift 18s ease-in-out infinite alternate;
  pointer-events: none;
}

.config-hero-banner .section-head {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}

.config-hero-banner h2 {
  margin: 12px 0 16px;
  font-size: clamp(38px, 5vw, 62px);
  font-family: var(--font);
}

.config-hero-banner h2 em {
  color: var(--black);
  text-shadow: none;
  font-style: normal;
}

.config-hero-banner .lede {
  color: rgba(255, 255, 255, 0.9);
  max-width: 650px;
  margin: 0;
}

/* Upgraded Config Cards with Download Glass Effect */
.config-card {
  position: relative;
  overflow: hidden;
  background: rgba(17, 16, 22, 0.75);
  border: 1px solid rgba(154, 103, 229, 0.3);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 28px;
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), inset 0 1px rgba(255, 255, 255, 0.1);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.config-card:hover {
  border-color: rgba(154, 103, 229, 0.6);
  box-shadow: 0 16px 50px rgba(111, 67, 194, 0.25), inset 0 1px rgba(255, 255, 255, 0.15);
}

.config-textarea {
  background: rgba(8, 8, 12, 0.85);
  border: 1px solid rgba(154, 103, 229, 0.3);
  color: var(--mist);
  border-radius: 12px;
  padding: 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.config-textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(150, 103, 232, 0.25);
}

.download { position: relative; overflow: hidden; padding: 102px 0; background: linear-gradient(110deg, #6f3dcb, #9a67e5 52%, #7040c4); color: var(--white); }
.download::before { position: absolute; inset: -70% -20%; background: radial-gradient(ellipse, rgba(235, 227, 255, .35), transparent 50%); content: ""; filter: blur(24px); animation: fog-drift 18s ease-in-out infinite alternate; }
.download-inner { position: relative; }
.download h2 { margin: 17px 0 37px; font-size: clamp(50px, 6vw, 78px); }
.download h2 em { color: var(--black); text-shadow: none; }
.download .button { position: absolute; right: 0; bottom: 4px; }
.footer { display: flex; align-items: center; justify-content: space-between; min-height: 116px; gap: 25px; }
.footer p { margin: 0; color: #898192; font-size: 13px; }
.back-top { font-size: 13px; }

@keyframes nebula-drift { to { transform: translate3d(-56px, 34px, 0) scale(1.12); } }
@keyframes fog-drift { to { transform: translate3d(70px, -18px, 0) scale(1.08); opacity: .72; } }
@keyframes frame-float { 50% { transform: translate3d(0, -9px, 0); } }
@keyframes signal-pulse { 70% { box-shadow: 0 0 0 8px rgba(176, 131, 255, 0); } }

@media (max-width: 760px) {
  .wrap { width: min(100% - 32px, 1160px); }
  .site-header { height: 70px; }
  .nav-download { display: none; }
  .nav-toggle { display: block; z-index: 2; width: 32px; height: 30px; padding: 4px; border: 0; background: none; }
  .nav-toggle span:not(.sr-only) { display: block; height: 1px; margin: 5px 0; background: var(--white); transition: .2s; }
  .nav-links { position: absolute; top: 60px; right: 16px; left: 16px; display: none; flex-direction: column; gap: 17px; padding: 17px; border: 1px solid #443a55; background: #16121e; }
  .nav-links.open { display: flex; }

  .hero-grid, .statement-grid, .faq { grid-template-columns: 1fr; gap: 35px; }
  .hero h1 { font-size: clamp(50px, 15vw, 72px); }
  .hero-facts { margin-top: 50px; }
  .hero-facts div { padding: 0 12px; }
  .hero-facts dt { font-size: 18px; }
  .hero-facts dd { font-size: 8px; }
.skin-container-wrapper {
    position: relative;
    overflow: visible;
    height: 760px;
    margin-top: -120px;
}
#skin_container {
    width: 100%;
    height: 100%;
    display: block;
}

.skin-container-wrapper {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 300px;
}

.skin-header-image {
    width: 20px !important;
    height: auto !important;
    margin-top: 0 !important;
    margin-bottom: 8px !important;
    display: block !important;
}

  .frame-body aside { width: 91px; padding: 14px 7px; }
  .frame-body aside a { padding: 7px 4px; font-size: 8px; }
  .dashboard { padding: 34px 20px; }
  .dash-row { gap: 6px; }
  .dash-row div { min-width: 0; padding: 7px; }
  .dash-row strong { font-size: 11px; }
  .launch { right: 20px; bottom: 25px; }
  .statement, .plans { padding: 80px 0; }
  .features { padding: 85px 0; }
  .section-head { display: block; }
  .section-head > p:last-child { margin-top: 17px; }
  .feature-grid, .plan-grid { grid-template-columns: 1fr; }
  .feature-wide { grid-column: auto; }
  .feature { min-height: 245px; }
  .metric { position: static; margin-top: 24px; text-align: left; }
  .faq { padding: 85px 0; }
  .download { padding: 75px 0; }
  .download .button { position: static; }
  .footer { flex-wrap: wrap; min-height: auto; padding: 28px 0; }
  .footer p { order: 3; width: 100%; }

  .footer.wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }

  .footer-left {
    display: flex;
    align-items: center;
    gap: 20px; /* Adjusts the space between the logo/brand and the paragraph */
  }

  .footer p {
    margin: 0;
    text-align: left;
  }

  .hero { height: auto; min-height: 100vh; padding: 55px 0 20px; }

  .premium-showcase {
      grid-template-columns: 1fr;
      gap: 20px;
      margin: 40px auto;
  }

  #skin_container {
      max-width: 100%;
      height: auto !important;
  }

  .skin-container-wrapper {
      margin: 20px auto 0 auto !important;
      align-items: center !important;
  }

  .nametag-container {
      margin-left: 0 !important;
      text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

#step-section {
    transition:
    background 1s ease,
    color 1s ease;
}


#step-section.premium-mode {

    background:
    linear-gradient(
        110deg,
        #8c6418,
        #d4a53c 50%,
        #9b701e
    );

}

.premium-mode .section-label-2 {
    color:white;
}


.premium-mode h2 em {

    color:#fff1b0;

}

.premium-mode .premium-card,
.premium-mode .steps-card {

    border-color:
    rgba(255,215,100,.45);

    box-shadow:
    0 25px 80px rgba(212,165,47,.25);

}

.premium-mode .premium-header {

    color:#ffe08a;

}


.premium-mode .status-dot {

    background:#ffd45c;

}

.premium-mode .step.current {

    color:#ffd45c;

}


.premium-mode .step span {

    background:
    rgba(255,215,100,.15);

}

.premium-mode .button-light {

    background:#fff1bd;
    color:#382400;

}


.premium-mode .button-light:hover {

    background:white;

}

#step-section,
.premium-showcase,
.premium-card,
.steps-card,
.premium-header,
.steps-title,
.step,
.step span,
.status-dot,
.premium-glow,
strong,
.section-label-2,
h2 em,
.button-light,
#next-button {

    transition:
    background 0.8s ease,
    color 0.8s ease,
    border-color 0.8s ease,
    box-shadow 0.8s ease,
    text-shadow 0.8s ease;

}

.premium-mode + .premium-showcase .premium-header,
.premium-mode + .premium-showcase .steps-title {

    color:#ffe08a !important;

}


.premium-mode + .premium-showcase .step.current {

    color:#ffd45c !important;

}


.premium-mode + .premium-showcase .step span {

    background:
    rgba(255,215,100,.15);

    border-color:
    rgba(255,215,100,.35);

}

.premium-mode + .premium-showcase strong {

    color:#fff1b8;

}

.premium-mode + .premium-showcase .premium-glow {

    background:
    rgba(255,215,90,.25);

}

.premium-mode + .premium-showcase .status-dot {

    background:#ffd45c;

    box-shadow:
    0 0 20px rgba(255,210,80,.8);

}

.setup-mode + .premium-showcase .premium-header,
.setup-mode + .premium-showcase .steps-title {

    color:#b084ff !important;

}

.setup-mode + .premium-showcase .step.current {

    color:#b084ff !important;

}

.setup-mode + .premium-showcase .step span {

    background:
    rgba(158,102,255,.15);

    border-color:
    rgba(158,102,255,.35);

}

.setup-mode + .premium-showcase strong {

    color:#ded4ff;

}

.setup-mode + .premium-showcase .premium-glow {

    background:
    rgba(158,102,255,.25);

}

.setup-mode + .premium-showcase .status-dot {

    background:#a56cff;

    box-shadow:
    0 0 20px rgba(165,108,255,.8);

}

.setup-mode {

    background:
    linear-gradient(
        110deg,
        #6f3dcb,
        #9a67e5 52%,
        #7040c4
    );

}


.setup-mode .button-light {

    background:#6f43c2;

    color:white;

    border:1px solid rgba(255,255,255,.15);

    box-shadow:
    0 10px 30px rgba(111,67,194,.35);

}


.setup-mode .button-light:hover {

    background:#7d4fd8;

    transform:translateY(-3px);

    box-shadow:
    0 15px 40px rgba(111,67,194,.5);

}


.setup-mode h2 em {

    color:#eab0ff;

    text-shadow:
    0 0 30px rgba(158,102,255,.5);

}


.setup-mode .premium-header {

    color:#b084ff;

}


.setup-mode .status-dot {

    background:#a56cff;

}

.premium-mode + .premium-showcase {

    --accent-color:
    #ffd45c;

}

.premium-mode h2 em {

    color:#fff1b8 !important;

    animation:
    premium-text-glow 2s ease-in-out infinite alternate !important;

}


@keyframes premium-text-glow {

    from {

        text-shadow:
        0 0 10px rgba(255,215,100,.15);

    }


    to {

        text-shadow:
        0 0 40px rgba(255,215,100,.45),
        0 0 10px rgba(255,215,100,.35);

    }

}

.download-inner,
.premium-showcase {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.swipe-out-left {
    transform: translateX(-80px);
    opacity: 0;
    pointer-events: none;
}

.swipe-in-right {
    transform: translateX(80px);
    opacity: 0;
    transition: none !important;
}

body:has(.theme-swipe.active) .premium-glow,
body:has(.theme-swipe.active)::before,
body:has(.theme-swipe.active)::after {

    opacity:0 !important;

}

.theme-swipe {

    position:fixed;
    inset:0;

    background:
    linear-gradient(
        110deg,
        #8c6418,
        #d4a53c,
        #9b701e
    );

    transform:translateX(-110%);

    z-index:99999;

    pointer-events:none;

}

.purchase-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 5, 10, 0.75);
  backdrop-filter: blur(12px);
  z-index: 9999;
  opacity: 1;
  transition: opacity .25s ease;
  will-change: opacity;
}

.purchase-modal.hidden {
  display: none;
}


.purchase-box {
  width: min(430px, calc(100vw - 40px));
  background:
    linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
    #101015;

  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;

  padding: 38px;

  box-shadow:
    0 25px 80px rgba(0,0,0,.55),
    inset 0 1px rgba(255,255,255,.08);

  animation: modal-pop .3s ease;
  will-change: transform, opacity;
}


@keyframes modal-pop {
  from {
    transform: translateY(20px) scale(.96);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}


.purchase-box h2 {
  font-family: inherit;
  font-size: 30px;
  letter-spacing: -1px;
  margin-bottom: 12px;
}


.purchase-box p {
  color: rgba(255,255,255,.65);
  line-height: 1.5;
  margin-bottom: 28px;
}

.purchase-box label:not(.confirm-row) {
  display: block;

  font-size: 13px;
  font-weight: 600;

  color: rgba(255,255,255,.75);

  margin-bottom: 8px;
}

#premium-username {

  width: 100%;
  box-sizing: border-box;

  height: 52px;

  background: rgba(255,255,255,.05);

  border: 1px solid rgba(255,255,255,.12);

  border-radius: 12px;

  padding: 0 16px;

  color:white;

  font-family: inherit;
  font-size: 16px;

  outline:none;

  transition:
    border .2s ease,
    background .2s ease,
    box-shadow .2s ease;
}


#premium-username::placeholder {
  color: rgba(255,255,255,.35);
}


#premium-username:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: #d49d2f;
  box-shadow: 0 0 0 4px rgba(212, 157, 47, 0.2);
}

.confirm-row {

  display:flex;
  align-items:flex-start;
  gap:12px;

  margin-top:22px;

  cursor:pointer;

  color:rgba(255,255,255,.65);

  font-size:14px;
  line-height:1.45;
}


.confirm-row input {

  appearance:none;

  width:20px;
  height:20px;

  flex-shrink:0;

  border-radius:6px;

  margin-top:2px;

  background:#18181e;

  border:1px solid rgba(255,255,255,.2);

  cursor:pointer;

  position:relative;

  transition:.2s ease;
}


.confirm-row input:checked {
  background: #d49d2f;
  border-color: #d49d2f;
}


.confirm-row input:checked::after {

  content:"✓";

  position:absolute;

  color:white;

  font-size:14px;

  left:4px;
  top:0px;

  font-weight:700;

}

.purchase-buttons {

  display:flex;

  gap:12px;

  margin-top:32px;

}


.purchase-buttons button {

  height:50px;

  border-radius:14px;

  font-family:inherit;

  font-size:15px;

  font-weight:600;

  cursor:pointer;

  transition:
    transform .2s ease,
    background .2s ease,
    opacity .2s ease;
  will-change: transform;

}

#cancel-purchase {

  flex:1;

  background:rgba(255,255,255,.06);

  border:1px solid rgba(255,255,255,.12);

  color:white;

}


#cancel-purchase:hover {

  background:rgba(255,255,255,.12);

  transform:translateY(-2px);

}

#continue-purchase {
  flex: 1.5;
  background: #d49d2f;
  border: none;
  color: white;
  box-shadow: 0 10px 30px rgba(212, 157, 47, 0.25);
}

#continue-purchase:hover:not(:disabled) {
  background: #b58422;
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(212, 157, 47, 0.4);
}


#continue-purchase:disabled {

  opacity:.35;

  cursor:not-allowed;

  box-shadow:none;

}

#modal-step-2 .purchase-buttons {
  width: 100%;
}

#back-to-step-1 {
  width: 100%;
  height: 50px;
  background: #ff3b30;
  border: none;
  border-radius: 14px;
  color: white;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(255, 59, 48, 0.25);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

#back-to-step-1:hover {
  background: #e03126;
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(255, 59, 48, 0.4);
}

/* Modal Styling */
.custom-popup-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.42);
        backdrop-filter: blur(5px);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10000;
        opacity: 1;
        visibility: visible;
        transition: opacity 0.22s ease, visibility 0.22s ease;
    }
    .custom-popup-overlay.hidden {
        display: flex !important;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
    .custom-popup-card {
        background: #110e1a;
        border: 1px solid rgba(255,255,255,0.12);
        border-radius: 16px;
        padding: 28px;
        max-width: 460px;
        width: 90%;
        text-align: center;
        box-shadow: 0 20px 60px rgba(0,0,0,0.8), 0 0 60px rgba(0, 0, 0, 0.4);
        transition:
            opacity 0.22s ease,
            transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
            border-color 0.3s,
            box-shadow 0.3s;
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    .custom-popup-overlay.hidden .custom-popup-card {
        opacity: 0;
        transform: translateY(14px) scale(0.96);
    }
    .custom-popup-card.popup-premium-green {
        border-color: rgba(85, 255, 170, 0.5);
        background: #0e1a14;
    }

    /* Corrected descendant selector */
    .popup-premium-green .button-red {
        background: #4bc969;
    }

    .popup-premium-green .button-red:hover {
        background: #359c4d;
    }

    .custom-popup-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 16px;
    }
    .custom-popup-icon img {
        filter: brightness(0) invert(1);
    }
    .custom-popup-card h3 {
        margin-top: 0;
        margin-bottom: 12px;
        color: #ffffff;
        font-size: 1.4rem;
    }
    .custom-popup-card p {
        color: #c0bbc9;
        font-size: 0.95rem;
        margin-bottom: 20px;
        line-height: 1.5;
    }

/* =========================================================
   PERFORMANCE PATCH
   Visual values are intentionally preserved.
   ========================================================= */

/* Avoid permanently allocating compositor layers for every interactive
   element. Browsers can promote them only while they are actually animating. */
.button,
.feature,
.purchase-buttons button,
.premium-feature,
.config-card,
#premium-username,
.confirm-row input {
  will-change: auto;
}

/* Keep the existing filtered/animated atmospheric elements isolated. */
.hero::before,
.hero::after,
.download-vibe::before,
.config-hero-banner::before,
.download::before,
.product-frame,
.statement-bright::after {
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

/* Isolate expensive visual components so their paint does not invalidate
   unrelated page content. No visual properties are changed here. */
.premium-card,
.steps-card,
.config-card,
.product-frame,
.custom-popup-card,
.purchase-box {
  contain: layout paint;
  backface-visibility: hidden;
}

/* Full-screen overlays are already isolated visual layers. Promoting them
   prevents opacity/transform animation from causing broad page invalidation.
   Existing backdrop blur remains unchanged. */
.purchase-modal,
.custom-popup-overlay,
.theme-swipe {
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  isolation: isolate;
  contain: layout paint;
}

/* Modal cards only need to composite their own animation. */
.purchase-box,
.custom-popup-card {
  transform: translate3d(0, 0, 0);
}

/* Prevent below-the-fold sections from being painted while they are off-screen.
   Intrinsic sizing avoids layout jumps as sections become visible. */
.statement,
.features,
.plans,
.faq,
.download {
  content-visibility: auto;
  contain-intrinsic-size: auto 700px;
}



/* =========================================================
   RUNTIME SMOOTHNESS PATCH
   Preserves the existing visual design and interaction model.
   ========================================================= */

/* Keep the hero media in its own paint/compositing area. */
.hero-video-bg,
#skin_container {
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  contain: paint;
}

/* The modal/popup covers the moving hero, so pause the atmospheric
   animations underneath while it is open. */
.performance-overlay-active .hero::before,
.performance-overlay-active .hero::after,
.performance-overlay-active .download-vibe::before,
.performance-overlay-active .config-hero-banner::before,
.performance-overlay-active .download::before {
  animation-play-state: paused !important;
}

/* Do not keep compositor hints on permanently; only the active overlay
   needs an isolated compositing surface. */
.purchase-modal,
.custom-popup-overlay {
  contain: layout paint;
  isolation: isolate;
}

.purchase-box,
.custom-popup-card {
  contain: layout paint;
  backface-visibility: hidden;
}

/* The existing modal blur remains visually identical; isolating the
   overlay limits how much of the page must be considered during paint. */
.purchase-modal,
.custom-popup-overlay {
  transform: translate3d(0, 0, 0);
}

/* =========================================================
   FINAL MOBILE-ONLY RESPONSIVE OVERRIDES
   Desktop layout and functionality are intentionally untouched.
   ========================================================= */
@media (max-width: 760px) {
  html, body { width:100%; max-width:100%; overflow-x:hidden; }
  .wrap { width:min(100% - 28px, 1160px); }

  /* Header */
  .site-header { height:70px; }
  .nav { gap:10px; }
  .brand { min-width:0; max-width:calc(100% - 50px); font-size:17px; letter-spacing:.08em; white-space:nowrap; }
  .brand-logo { width:23px; height:23px; flex:0 0 auto; }
  .nav-toggle { flex:0 0 36px; width:36px; height:36px; padding:5px; border-radius:8px; cursor:pointer; }
  .nav-links { top:70px; left:14px; right:14px; width:auto; gap:0; padding:7px; border-radius:12px; box-shadow:0 18px 45px rgba(0,0,0,.35); }
  .nav-links a { width:100%; padding:13px 12px; border-radius:8px; font-size:16px; }
  .nav-links a:hover { background:rgba(255,255,255,.06); }

  /* Hero Base & Grid */
  .hero { min-height:auto; padding-top:96px; padding-bottom:25px; }
  .hero-content,
  .hero-grid,
  .hero-grid > *,
  .hero-copy {
    width: 100%;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .hero-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 18px !important;
    margin-top: 28px !important;
    overflow: visible;
  }

  .eyebrow {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 auto !important;
    font-size: 12px;
    line-height: 1.35;
  }

.hero h1 {
    width: 100% !important;
    max-width: 100% !important; /* Allow the heading to use full available screen width */
    margin: 0 auto !important;
    text-align: center !important;
    font-size: clamp(26px, 8vw, 48px) !important; /* Slightly reduced lower bound so 11 chars fit */
    line-height: 1.05 !important;

    /* Keeps words whole without splitting */
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }

  .hero .lede {
    width: 100% !important;
    max-width: 330px !important;
    margin: 22px auto !important;
    text-align: center !important;
    font-size: 16px !important;
    line-height: 1.55 !important;
  }

  .hero-actions {
    width: 100% !important;
    max-width: 330px !important;
    justify-content: center !important;
    margin: 0 auto !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  .hero-actions .button,
  .download .button {
    width: 100%;
    max-width: 100%;
  }

  .text-link {
    width: 100%;
    text-align: center;
    padding: 5px;
    font-size: 16px;
  }

  .hero-facts {
    width: 100% !important;
    max-width: 330px !important;
    margin: 35px auto 20px !important;
    justify-content: center !important;
    overflow: hidden !important;
  }

  .hero-facts div {
    min-width: 0 !important;
    padding: 0 9px !important;
  }

  .hero-facts dt {
    font-size: 16px !important;
    line-height: 1.1;
  }

  .hero-facts dd {
    font-size: 9px !important;
    white-space: normal !important;
    line-height: 1.3;
  }

  .product-frame {
    width: 100% !important;
    max-width: 330px !important;
    margin: 0 auto !important;
  }

  /* Skin Viewer Container */
  .skin-container-wrapper {
    position: relative !important;
    width: 100% !important;
    max-width: 220px !important;
    height: auto !important;
    margin: 10px auto 0 auto !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
  }

/* Nametag nach rechts verschoben */
  .nametag-container,
  .skin-container-wrapper .nametag-container {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;

    /* Verschiebt den Nametag z. B. um 15px nach rechts */
    transform: translateX(20px) !important;

    width: 80% !important;
    max-width: 10px !important;
    margin: 0 auto 6px auto !important;
    padding: 0 !important;
    flex: 0 0 auto !important;

    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .nametag-container img,
  .skin-container-wrapper .nametag-container img {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;

    width: 100% !important;
    max-width: 130px !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
  }

  #skin_container {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;

    display: block !important;
    width: 220px !important;
    max-width: 220px !important;
    height: auto !important;
    margin: 0 auto !important;
    flex: 0 0 auto !important;
  }

  /* Sections */
  .statement, .features, .plans, .faq { padding-top:68px; padding-bottom:68px; }
  .statement-grid, .faq { grid-template-columns:1fr; gap:30px; }
  .statement h2 { font-size:clamp(39px,12vw,58px); }
  .statement-grid > div > p { margin-top:22px; font-size:16px; line-height:1.65; }
  .section-head { display:block; margin-bottom:28px; }
  .section-head > p:last-child { margin-top:13px; }
  .section-label, .section-label-2 { font-size:13px; letter-spacing:.11em; }

  /* Feature cards */
  .feature-grid, .plan-grid { grid-template-columns:1fr; }
  .feature-wide { grid-column:auto; }
  .feature { min-height:255px; padding:22px; }
  .feature h3 { margin-top:42px; padding-right:48px; font-size:22px; }
  .feature p { max-width:none; font-size:14px; line-height:1.6; }
  .feature-icon { top:21px; right:21px; width:43px; height:43px; }
  .metric { position:static; margin-top:22px; text-align:left; }

  /* Plans */
  .plans-head { margin-bottom:30px; }
  .plans h2 { font-size:clamp(40px,12vw,60px); }
  .plans-head > p { max-width:none; font-size:15px; }
  .plan { padding:24px 20px; }
  .plan .price { font-size:clamp(38px,11vw,58px); }
  .plan .button { width:100%; margin-top:auto; }

  /* FAQ */
  .faq h2 { font-size:clamp(40px,12vw,58px); }
  summary { gap:12px; padding:18px 0; font-size:16px; line-height:1.35; }
  summary span { flex:0 0 auto; }
  details p { font-size:14px; line-height:1.65; }

  /* Download/footer */
  .download { padding:68px 0; }
  .download h2 { font-size:clamp(43px,12vw,62px); margin-bottom:28px; }
  .download .button { position:static; }
  .footer, .footer.wrap { min-height:auto; padding:28px 0; display:flex; flex-direction:column; align-items:flex-start; gap:16px; }
  .footer .brand { max-width:none; }
  .footer p, .footer-left { width:100%; margin:0; }
  .footer p { font-size:11px; line-height:1.5; }

  /* Purchase modal */
  .purchase-modal { padding:14px; align-items:center; }
  .purchase-box { width:100%; max-width:430px; max-height:calc(100dvh - 28px); overflow-y:auto; padding:24px 18px; border-radius:17px; }
  .purchase-box h2 { font-size:24px; line-height:1.15; }
  .purchase-box p { font-size:14px; margin-bottom:20px; }
  .purchase-buttons { gap:9px; margin-top:24px; }
  .purchase-buttons button { min-width:0; height:48px; padding:0 10px; font-size:13px; }
  .confirm-row { gap:10px; font-size:13px; }

  /* Config/saving page */
  .config-page-wrapper { width:min(100% - 28px,1160px) !important; padding-top:92px !important; padding-bottom:50px !important; }
  .config-hero-banner { margin-bottom:24px; padding-top:32px; padding-bottom:34px; padding-left:20px; padding-right:20px; }
  .config-head { margin-bottom:0; }
  .config-hero-banner h2 { font-size:clamp(38px,12vw,58px); line-height:.98; }
  .config-hero-banner .lede { margin:18px 0 0; font-size:15px; line-height:1.6; }
  .config-card { padding:18px; margin-bottom:16px; border-radius:14px; }
  .config-card label { font-size:16px; }
  .card-subtitle { font-size:13px; line-height:1.55; }
  .upload-action-row { display:flex; flex-direction:column; align-items:stretch; gap:10px; }
  .upload-action-row .button { width:100%; }
  .file-name-display { display:block; max-width:100%; margin-left:0 !important; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:12px; }
  .grid-output { grid-template-columns:1fr; gap:14px; }
  .section-card { padding:15px; }

  /* Config progress/notification popup */
  .custom-popup-overlay { padding:14px; }
  .custom-popup-card { width:min(100%,460px); max-height:calc(100dvh - 28px); overflow-y:auto; padding:22px 17px; border-radius:14px; }
  .custom-popup-card h3 { font-size:20px; }
  .custom-popup-card p { font-size:14px; line-height:1.55; }
  #popup-actions { gap:9px !important; }

  .button, .nav-links a, .back-top, summary, .nav-toggle { -webkit-tap-highlight-color:transparent; }
  .button { min-height:48px; }
}

@media (max-width: 380px) {
  .wrap { width:min(100% - 22px,1160px); }
  .brand { font-size:15px; }
  .hero { padding-top:92px; }
  .hero h1 { font-size:clamp(38px,13.5vw,54px); max-width:285px !important; }
  .hero .lede,
  .hero-actions,
  .hero-facts,
  .product-frame { max-width:285px !important; }
  .hero-facts dt { font-size:15px; }
  .hero-facts dd { font-size:10px; }

  .skin-container-wrapper,
  #skin_container {
    width: 180px !important;
    max-width: 180px !important;
  }

  .nametag-container,
  .nametag-container img,
  .skin-container-wrapper .nametag-container,
  .skin-container-wrapper .nametag-container img {
    max-width: 110px !important;
  }

  .plan { padding:21px 17px; }
  .purchase-box, .custom-popup-card { padding:20px 15px; }
}

/* Schritt 1: Klickbarkeit des Burger-Menüs auf Mobilgeräten reparieren */
@media (max-width: 760px) {
  .nav-toggle {
    display: block;
    position: relative;
    z-index: 101; /* Höher als .site-header (100) */
    width: 36px;
    height: 36px;
    padding: 5px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  /* Verhindert, dass innere Spans Tap-Events abfangen */
  .nav-toggle span {
    pointer-events: none;
  }
}

/* Schritt 2: Verhindern, dass der 3D-Player-Canvas das Scrollen blockiert */
@media (max-width: 760px) {
  #skin_container,
  .skin-container-wrapper {
    pointer-events: none;
  }
}

/* Burger-Button Styling */
.nav-toggle {
  display: none; /* Auf dem PC standardmäßig ausblenden */
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 101;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--white, #fff);
  border-radius: 2px;
}

/* Mobile Ansicht */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex; /* Button auf Mobilgeräten anzeigen */
  }

  .nav-links {
    display: none; /* Links standardmäßig einklappen */
    position: absolute;
    top: 86px;
    left: 0;
    right: 0;
    background: rgba(7, 6, 12, 0.95);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    backdrop-filter: blur(12px);
  }

  .nav-links.open {
    display: flex; /* Bei Klick aufklappen */
  }
}

.nav-toggle span:not(.sr-only) {
  height: 3px;
  margin: 0;
  flex-shrink: 0;
}