:root {
  --bg: #0a0505; --panel: #150a09; --panel-2: #21100c; --ink: #fff8ed;
  --muted: #c2aca1; --orange: #ff5c1b; --gold: #ffb02e; --purple: #8038c7;
  --line: rgba(255, 170, 111, .2);
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0; min-height: 100vh; color: var(--ink); font-family: Arial, Helvetica, sans-serif;
  background: radial-gradient(circle at 12% 8%, rgba(255,73,17,.2), transparent 32rem), radial-gradient(circle at 92% 82%, rgba(117,34,176,.18), transparent 28rem), var(--bg);
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.survey-main, .results-main { width: min(100%, 1240px); min-height: 100vh; margin: 0 auto; padding: 24px clamp(18px,4vw,56px) 56px; }
.survey-nav { display: flex; align-items: center; justify-content: space-between; min-height: 52px; gap: 20px; margin-bottom: clamp(28px,5vw,62px); }
.survey-brand { display: inline-flex; align-items: flex-start; font-family: Georgia,"Times New Roman",serif; font-size: 25px; font-weight: 900; letter-spacing: -.04em; line-height: 1; }
.survey-brand span { color: var(--orange); font-size: .48em; margin: 1px 3px 0 1px; }
.survey-nav-note, .results-actions { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.survey-layout { display: grid; grid-template-columns: minmax(300px,.82fr) minmax(420px,1.18fr); min-height: 660px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: rgba(15,7,6,.88); box-shadow: 0 30px 100px rgba(0,0,0,.45); }
.survey-poster { position: relative; min-height: 100%; overflow: hidden; background: #160504; }
.survey-poster::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg,transparent 38%,rgba(8,2,2,.9) 92%),linear-gradient(90deg,transparent 72%,rgba(15,7,6,.9)); }
.survey-poster img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); }
.poster-copy { position: absolute; z-index: 1; right: 34px; bottom: 34px; left: 34px; display: grid; gap: 8px; }
.poster-copy span, .survey-kicker { color: var(--gold); font-size: 11px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.poster-copy strong { max-width: 330px; font-size: clamp(22px,3vw,34px); line-height: 1.05; }
.survey-card { position: relative; display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: clamp(32px,5vw,68px); background: linear-gradient(135deg,rgba(255,255,255,.025),transparent 40%),var(--panel); }
.survey-card::before { position: absolute; top: 0; right: 0; width: 140px; height: 140px; border-top: 1px solid rgba(255,92,27,.35); border-right: 1px solid rgba(255,92,27,.35); border-radius: 0 22px 0 0; content: ""; pointer-events: none; }
.survey-kicker { margin: 0 0 14px; }
h1 { max-width: 720px; margin: 0 0 20px; font-size: clamp(38px,5vw,67px); line-height: .96; letter-spacing: -.055em; }
.survey-screen h1 em { display: block; margin-top: 9px; color: var(--gold); font-style: normal; }
.survey-copy, .admin-copy { max-width: 610px; margin-top: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.survey-facts { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 30px 0; }
.survey-facts span { min-width: 0; padding: 15px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); background: rgba(255,255,255,.025); font-size: 11px; font-weight: 800; line-height: 1.3; text-transform: uppercase; }
.survey-facts b { display: block; color: var(--ink); font-size: 22px; }
.survey-button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; width: fit-content; min-height: 51px; padding: 0 22px; border: 1px solid var(--orange); border-radius: 9px; color: #170603; background: linear-gradient(135deg,var(--gold),var(--orange)); box-shadow: 0 10px 34px rgba(255,92,27,.2); cursor: pointer; font-size: 14px; font-weight: 900; transition: transform .15s ease,filter .15s ease; }
.survey-button:hover, .survey-button:focus-visible { filter: brightness(1.1); transform: translateY(-1px); }
.survey-button:disabled { opacity: .5; cursor: wait; transform: none; }
.secondary-button { border-color: var(--line); color: var(--ink); background: rgba(255,255,255,.035); box-shadow: none; }
.steam-button { margin-top: 24px; color: #eaf5ff; border-color: #2a475e; background: linear-gradient(135deg,#2a475e,#1b2838); box-shadow: 0 12px 36px rgba(20,80,120,.24); }
.survey-privacy { max-width: 560px; margin: 18px 0 0; color: #8f7b72; font-size: 11px; line-height: 1.5; }
.survey-progress { position: absolute; top: 30px; right: clamp(32px,5vw,68px); left: clamp(32px,5vw,68px); display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.survey-progress > div { flex: 1; height: 2px; overflow: hidden; background: rgba(255,255,255,.08); }
.survey-progress i { display: block; height: 100%; background: linear-gradient(90deg,var(--orange),var(--gold)); }
.survey-fieldset { min-width: 0; margin: 22px 0 0; padding: 0; border: 0; }
.survey-fieldset legend { margin-bottom: 12px; font-size: 14px; font-weight: 800; line-height: 1.45; }
.survey-choices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.survey-choices.single-column { grid-template-columns: 1fr; }
.price-choices { grid-template-columns: repeat(3,minmax(0,1fr)); }
.survey-choice { display: flex; align-items: center; gap: 11px; min-height: 50px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); background: rgba(255,255,255,.025); cursor: pointer; font-size: 13px; font-weight: 700; line-height: 1.3; transition: border-color .15s ease,color .15s ease,background .15s ease; }
.survey-choice:hover { border-color: rgba(255,176,46,.55); color: var(--ink); }
.survey-choice input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.survey-choice i { flex: 0 0 16px; width: 16px; height: 16px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; box-shadow: inset 0 0 0 3px var(--panel); }
.selected-choice { border-color: var(--orange); color: var(--ink); background: rgba(255,92,27,.1); }
.selected-choice i { border-color: var(--gold); background: var(--gold); }
.current-price-choice { border-color: rgba(255,176,46,.42); }
.price-choices small { display: block; margin-top: 2px; color: var(--gold); font-size: 8px; letter-spacing: .06em; text-transform: uppercase; }
.wide-choice { grid-column: 1 / -1; }
.survey-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; }
.survey-error { margin: 17px 0 0; padding: 11px 13px; border: 1px solid rgba(255,88,88,.4); border-radius: 8px; color: #ffb0a4; background: rgba(255,50,30,.08); font-size: 12px; line-height: 1.4; }
.survey-input-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.compact-input-grid { grid-template-columns: minmax(0, 1fr); }
.survey-input { display: grid; gap: 8px; font-size: 12px; font-weight: 800; line-height: 1.4; }
.survey-input small { color: var(--muted); font-size: 10px; font-weight: 500; }
.survey-input > input, .survey-input > div, .survey-input > textarea, .admin-form input { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: rgba(255,255,255,.035); outline: 0; }
.survey-input > input { padding: 0 13px; }
.survey-input > div { display: flex; align-items: center; padding: 0 12px; }
.survey-input > div b { color: var(--gold); }
.survey-input > div input { min-width: 0; width: 100%; border: 0; padding: 0 8px; color: var(--ink); background: transparent; outline: 0; }
.survey-input > textarea { min-height: 92px; padding: 12px 13px; resize: vertical; line-height: 1.45; }
.survey-input > input:focus, .survey-input > div:focus-within, .survey-input > textarea:focus, .admin-form input:focus { border-color: var(--orange); }
.survey-comment { margin-top: 14px; }
.thanks-screen .survey-text-link { display: block; width: fit-content; margin-top: 20px; color: var(--muted); font-size: 12px; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.survey-loader { align-self: center; width: 38px; height: 38px; border: 3px solid rgba(255,255,255,.12); border-top-color: var(--orange); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.admin-body { display: grid; min-height: 100vh; place-items: center; }
.admin-center { width: min(100%,720px); padding: 18px; }
.admin-login-card { padding: clamp(34px,6vw,68px); border: 1px solid var(--line); border-radius: 20px; background: var(--panel); box-shadow: 0 30px 100px rgba(0,0,0,.45); }
.admin-login-card .survey-brand { margin-bottom: 70px; }
.admin-login-card h1 { font-size: clamp(40px,7vw,62px); }
.admin-form { display: grid; gap: 16px; margin-top: 26px; }
.admin-form label { display: grid; gap: 8px; font-size: 12px; font-weight: 800; }
.admin-form input { padding: 0 14px; }
.admin-notice { margin-top: 24px; padding: 16px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.admin-notice code { color: var(--gold); }

.results-main { max-width: 1380px; }
.results-actions { display: flex; align-items: center; gap: 14px; }
.results-actions form { margin: 0; }
.small-button { min-height: 40px; padding: 0 15px; font-size: 11px; }
.text-button { border: 0; color: var(--muted); background: transparent; cursor: pointer; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.results-header { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 32px; }
.results-header h1 { margin-bottom: 0; }
.results-header > a { color: var(--muted); font-size: 12px; font-weight: 800; }
.stat-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 12px; }
.stat-grid article { display: grid; gap: 14px; min-height: 134px; padding: 22px; border: 1px solid var(--line); border-radius: 13px; background: var(--panel); }
.stat-grid span { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.stat-grid strong { align-self: end; font-size: 36px; line-height: 1; }
.stat-grid .accent-stat { border-color: rgba(255,92,27,.52); background: linear-gradient(135deg,rgba(255,92,27,.17),var(--panel)); }
.accent-stat strong { color: var(--gold); }
.results-panel { margin-top: 12px; padding: 26px; border: 1px solid var(--line); border-radius: 13px; background: rgba(21,10,9,.92); }
.panel-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.panel-heading h2 { margin: 0; font-size: 30px; letter-spacing: -.035em; }
.panel-heading > p { max-width: 320px; margin: 0; color: var(--muted); font-size: 12px; }
.price-table, .recent-table { overflow-x: auto; }
.price-row { display: grid; grid-template-columns: 1.2fr repeat(5,1fr); align-items: center; min-width: 700px; gap: 12px; padding: 13px 15px; border-bottom: 1px solid rgba(255,255,255,.055); color: var(--muted); font-size: 13px; }
.price-row.suggestion-row { grid-template-columns: 1.4fr 1fr 1fr; min-width: 420px; }
.price-head { color: var(--muted); border-bottom-color: var(--line); font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.price-row strong { display: flex; align-items: center; gap: 9px; color: var(--ink); font-size: 18px; }
.price-row small { padding: 4px 6px; border-radius: 4px; color: #1c0802; background: var(--gold); font-size: 8px; text-transform: uppercase; }
.best-row { background: rgba(255,92,27,.07); }
.results-split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.results-split-three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.simple-list { display: grid; gap: 10px; }
.simple-list > div { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.055); color: var(--muted); font-size: 12px; }
.simple-list b { color: var(--ink); }
.recent-table > div { display: grid; grid-template-columns: 1.2fr .55fr 1fr 1.25fr .8fr .55fr; min-width: 850px; gap: 12px; padding: 12px 4px; border-bottom: 1px solid rgba(255,255,255,.055); color: var(--muted); font-size: 11px; }
.recent-table strong, .recent-table b { color: var(--ink); }
.comment-list { display: grid; gap: 12px; }
.comment-list article { padding: 16px; border: 1px solid rgba(255,255,255,.065); border-radius: 9px; background: rgba(255,255,255,.02); }
.comment-list article > div { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 11px; }
.comment-list article strong { color: var(--gold); }
.comment-list article p { margin: 12px 0 0; color: var(--ink); font-size: 13px; line-height: 1.6; white-space: normal; }
.empty-state { color: var(--muted); font-size: 13px; }

@media (min-width:901px) {
  .survey-poster {
    display: grid;
    grid-template-rows: auto 1fr;
    background:
      radial-gradient(circle at 50% 14%, rgba(255,92,27,.22), transparent 45%),
      repeating-linear-gradient(90deg, rgba(255,176,46,.035) 0, rgba(255,176,46,.035) 1px, transparent 1px, transparent 34px),
      #120504;
  }
  .survey-poster::after {
    background: linear-gradient(180deg, transparent 22%, rgba(18,5,4,.16) 42%, rgba(18,5,4,.92) 68%, #120504 100%);
  }
  .survey-poster img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    transform: none;
  }
  .poster-copy {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    align-content: center;
    align-self: stretch;
    padding: clamp(34px,4vw,58px);
  }
}

@media (max-width:900px) {
  .survey-layout { grid-template-columns: 1fr; }
  .survey-poster { min-height: 300px; max-height: 340px; }
  .survey-poster::after { background: linear-gradient(180deg,transparent 25%,rgba(21,10,9,.96)); }
  .survey-card { min-height: 610px; }
  .stat-grid { grid-template-columns: repeat(2,1fr); }
  .results-split { grid-template-columns: 1fr; }
}
@media (min-width:901px) and (max-width:1150px) { .results-split-three { grid-template-columns: 1fr; } }
@media (max-width:600px) {
  .survey-main, .results-main { padding: 16px 14px 38px; }
  .survey-nav { margin-bottom: 22px; }
  .survey-nav-note { font-size: 9px; text-align: right; }
  .survey-layout { border-radius: 15px; }
  .survey-poster { min-height: 220px; max-height: 250px; }
  .poster-copy { right: 20px; bottom: 20px; left: 20px; }
  .poster-copy strong { font-size: 22px; }
  .survey-card { min-height: 560px; padding: 54px 20px 28px; }
  .survey-card::before { border-radius: 0 15px 0 0; }
  h1 { font-size: 40px; }
  .survey-progress { top: 23px; right: 20px; left: 20px; }
  .survey-facts { gap: 6px; }
  .survey-facts span { padding: 12px 8px; font-size: 9px; }
  .survey-choices { grid-template-columns: 1fr; }
  .price-choices { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .wide-choice { grid-column: auto; }
  .survey-input-grid { grid-template-columns: 1fr; }
  .survey-actions .survey-button { gap: 8px; padding: 0 15px; }
  .admin-login-card { padding: 40px 22px; }
  .admin-login-card .survey-brand { margin-bottom: 54px; }
  .results-header { align-items: flex-start; flex-direction: column; }
  .stat-grid { gap: 8px; }
  .stat-grid article { min-height: 110px; padding: 16px; }
  .stat-grid strong { font-size: 28px; }
  .results-panel { padding: 18px; }
  .panel-heading { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; transition:none!important; } }
