/* Shared technology festival theme. Existing forms and interaction hooks stay in place. */
:root {
  color-scheme: dark;
  --ink: #eef7f4;
  --muted: #95a6ab;
  --paper: #080d12;
  --line: #253138;
  --purple: #73e7cf;
  --mint: #b7ff62;
  --radius: 12px;
  --cyan: #5ff2cf;
  --surface: #10181f;
  --mono: 'Cascadia Code', 'Consolas', monospace;
}
body {
  background: radial-gradient(ellipse at 90% 0, #163d3825, transparent 40%), var(--paper);
  color: var(--ink);
}
::selection {
  background: #b7ff62;
  color: #080d12;
}
.preview-bar {
  background: #13221d;
  border-bottom: 1px solid #31503e;
  color: #bed4bf;
  padding: 6px 16px;
}
.site-header {
  padding: 22px 40px;
  max-width: 1340px;
}
.brand {
  gap: 14px;
}
.brand-mark {
  color: var(--cyan);
  font-size: 32px;
  letter-spacing: -3px;
}
.brand small {
  font-size: 9px;
  color: #9aadb2;
  margin-top: 2px;
}
.site-header nav {
  gap: 32px;
}
nav a {
  position: relative;
  color: #a4b3b6;
  transition: color 0.2s;
}
nav a:hover,
nav a.active {
  color: var(--cyan);
}
nav a.active::after {
  content: '';
  position: absolute;
  bottom: -9px;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--cyan);
}
.button {
  border-radius: 5px;
  padding: 13px 23px;
  background: var(--cyan);
  color: #071d18;
  border-color: var(--cyan);
  transition:
    background 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 22px #5ff2cf18;
  background: #8dffe1;
}
.button.mint {
  background: var(--mint);
  border-color: var(--mint);
  color: #15230a;
}
.button.mint:hover {
  background: #cbff8c;
  box-shadow: 0 4px 22px #b7ff6222;
}
.button.outline {
  color: var(--ink);
  background: transparent;
  border-color: #405159;
}
.button.outline:hover {
  background: #17252a;
  border-color: var(--cyan);
}
.button.danger {
  background: #643540;
  color: #ffdde2;
  border-color: #955160;
}
.text-link {
  color: #becdce;
}
.text-link:hover {
  color: var(--cyan);
}
.hero {
  border: 1px solid #304147;
  border-radius: 12px;
  margin: 8px auto 0;
  min-height: 590px;
  grid-template-columns: 1.06fr 1fr;
  background: radial-gradient(ellipse at 80% 50%, #153c3338, transparent 55%), #0b1218;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#77ccb008 1px, transparent 1px),
    linear-gradient(90deg, #77ccb008 1px, transparent 1px);
  background-size: 46px 46px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 130px;
  height: 2px;
  background: var(--cyan);
}
.hero-copy {
  padding: 52px 0 52px 56px;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1.7px;
}
.live-dot {
  background: var(--cyan);
  box-shadow: 0 0 14px #5ff2cf80;
}
.hero-kicker {
  font-size: 13px;
  color: #adc0c0;
  letter-spacing: 4px;
  margin-top: 29px;
}
.hero h1 {
  font-size: clamp(49px, 5.25vw, 72px);
  line-height: 1.17;
  letter-spacing: -2px;
  margin: 15px 0 23px;
  font-weight: 800;
}
.hero h1 em {
  color: var(--cyan);
  font-family: Arial, sans-serif;
  letter-spacing: -4px;
}
.hero-copy > p {
  color: #a9babe;
  font-size: 14px;
  line-height: 1.95;
}
.hero .actions {
  margin: 30px 0 34px;
  gap: 22px;
}
.hero .text-link {
  font-size: 12px;
  color: #b8cccc;
}
.hero-date {
  gap: 20px;
  align-items: center;
}
.hero-date strong {
  font: 42px/1 var(--mono);
  letter-spacing: -3px;
  color: #e4f7ed;
}
.hero-date strong > span {
  color: var(--cyan);
  font: inherit;
  border: 0;
  padding: 0;
}
.hero-date > span {
  font-size: 10px;
  border-color: #384b50;
  color: #93aaad;
}
.hero-art {
  background: none;
  isolation: isolate;
}
.tech-core {
  width: 114%;
  max-width: 650px;
  height: auto;
  flex-shrink: 0;
  transform: translate(-4px, -5px);
  animation: core-drift 10s ease-in-out infinite;
}
.art-label {
  font-family: var(--mono);
  color: #8ea9a9;
  font-size: 9px;
  letter-spacing: 1.7px;
  z-index: 2;
}
.art-label.top {
  top: 36px;
  left: 32px;
}
.art-label.bottom {
  bottom: 28px;
  right: 34px;
}
.core-caption {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 9px;
  color: #bbd6d0;
  white-space: nowrap;
  font-size: 11px;
  letter-spacing: 3px;
}
.core-marker {
  width: 5px;
  height: 5px;
  border: 1px solid var(--cyan);
  transform: rotate(45deg);
}
.hero-corner {
  position: absolute;
  bottom: 18px;
  left: 56px;
  font: 9px var(--mono);
  letter-spacing: 1.5px;
  color: #5f7a7e;
}
.ticker {
  padding: 18px 32px;
  font: 12px/1.7 var(--mono);
  letter-spacing: 2px;
  color: #a7bdb9;
  border-color: #2a373b;
}
.ticker span {
  color: var(--cyan);
  font-size: 18px;
}
.section-heading {
  padding: 53px 0 27px;
}
.section-heading h2 {
  font-size: 30px;
  font-weight: 650;
  margin-top: 10px;
}
.section-heading .eyebrow {
  color: var(--cyan);
}
.section-heading > p {
  color: #92a7ac;
}
.event-grid {
  padding: 0;
  gap: 22px;
}
.event-card {
  padding: 26px 32px 32px;
  border: 1px solid #2c4542;
  border-radius: 10px;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.event-card:hover {
  border-color: #6f9b84;
  transform: translateY(-3px);
}
.creator-card {
  background: radial-gradient(ellipse at 95% 0%, #8ccd4f15, transparent 65%), #111d1a;
}
.film-card {
  background: radial-gradient(ellipse at 95% 0%, #9f8eff20, transparent 65%), #151822;
  border-color: #38384e;
}
.film-card:hover {
  border-color: #9285bd;
}
.pill {
  border-radius: 3px;
  color: #adccc0;
  border-color: #3a554a;
  font: 10px/1.8 var(--mono);
  padding: 4px 9px;
}
.film-card .pill {
  color: #c5c0e6;
  border-color: #4a4566;
}
.event-symbol {
  font-size: 50px;
  color: var(--mint);
}
.film-card .event-symbol {
  color: #c7b1ff;
}
.event-card h3 {
  font-size: 38px;
  font-weight: 750;
  letter-spacing: -1px;
  margin-top: 12px;
}
.event-card p {
  color: #adbbb7;
  font-size: 13px;
}
.film-card p {
  color: #b2b3c7;
}
.event-tags {
  color: #9fbbb0;
  font-size: 10px;
  gap: 12px;
  margin: 24px 0;
}
.film-card .event-tags {
  color: #b3accb;
}
.event-tags span + span {
  border-color: #44594e;
}
.film-card .event-tags span + span {
  border-color: #46435b;
}
.event-card .button {
  background: transparent;
  color: var(--mint);
  border-color: #53704b;
}
.event-card .button:hover {
  background: #263722;
}
.film-card .button {
  color: #d4c5ff;
  border-color: #696080;
}
.film-card .button:hover {
  background: #2b253f;
  box-shadow: none;
}
.how-section {
  margin: 62px 0;
  padding: 38px 0 10px;
  border-top: 1px solid var(--line);
  gap: 50px;
}
.how-section .eyebrow {
  color: var(--cyan);
}
.how-section h2 {
  font-weight: 600;
}
.how-section li {
  padding: 0 0 18px;
  border-bottom: 1px solid #202d33;
}
.how-section li > b {
  font: 20px/1.5 var(--mono);
  color: var(--cyan);
}
.how-section li strong {
  font-weight: 500;
}
.how-section li p {
  margin-top: 5px;
}
.content-page {
  padding: 40px 0 70px;
}
.page-title {
  font-weight: 650;
}
.panel,
.work-card,
.admin-record,
.stat-card,
.empty {
  background: var(--surface);
  border-color: #2b3941;
  border-radius: 10px;
}
.panel-heading {
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}
.step-number {
  background: #193b33;
  color: var(--cyan);
  border-radius: 5px;
  font-family: var(--mono);
}
.tabs {
  background: #10181f;
  border: 1px solid #2e3e46;
  border-radius: 6px;
  padding: 4px;
}
.tabs button {
  border-radius: 3px;
  color: #a0b2b7;
}
.tabs button.active {
  background: #263c36;
  color: #a0ffe3;
  box-shadow: none;
}
label {
  color: #d4e0e2;
}
input:not([type='checkbox']),
textarea,
select {
  background: #0b1218;
  border-color: #34434c;
  border-radius: 5px;
  color: #edf5f5;
}
input::placeholder,
textarea::placeholder {
  color: #7e949c;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px #5ff2cf14;
}
input:disabled,
textarea:disabled,
select:disabled {
  background: #161f25;
  color: #83969b;
}
input[type='file']::file-selector-button {
  color: #b2ebdc;
  background: #253932;
  border-radius: 3px;
}
.checkbox {
  color: #a8b9bf;
}
.inline-link {
  color: var(--cyan);
}
.hint.error {
  color: #ff9ca8;
}
.participation-aside {
  background: #111e22;
  border-color: #2c454c;
}
.participation-aside p {
  color: #a4b5bb;
}
.divider {
  border-color: var(--line);
}
.upload-progress {
  background: #132921;
  border: 1px solid #2d4c40;
  border-radius: 5px;
}
.work-media {
  background: radial-gradient(ellipse at center, #244841, #0c1920);
}
.work-media > span {
  color: var(--cyan);
}
.work-media button {
  background: #122a23e0;
  border-color: #5cbfa4;
  color: var(--cyan);
}
.work-scores {
  color: #9ebab9;
}
.empty {
  border-color: #43565e;
}
.status {
  background: #292744;
  color: #d3c6ff;
  border-radius: 3px;
}
.status.approved {
  background: #163d2a;
  color: #9de9b2;
}
.status.rejected {
  background: #42262c;
  color: #ffb1bc;
}
.status.draft {
  background: #26313c;
  color: #a8bbcd;
}
.qr {
  background: white;
  border-radius: 4px;
}
footer {
  padding: 28px 0;
  color: #8b9fa6;
  margin-top: 12px;
}
dialog {
  background: #101b23;
  border: 1px solid #40565d;
  border-radius: 12px;
  box-shadow: 0 20px 100px #000a;
}
dialog::backdrop {
  background: #03080cc9;
  backdrop-filter: blur(6px);
}
.toast {
  background: #183e32;
  color: #d5fff0;
  border: 1px solid #5aab89;
  border-radius: 6px;
}
.stat-card strong {
  font-family: var(--mono);
  color: var(--cyan);
}
.stat-card strong.storage-value {
  font-size: 22px;
  letter-spacing: -1px;
}
.storage-table {
  overflow-x: auto;
  margin: 20px 0;
}
.storage-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.storage-table th,
.storage-table td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.storage-table th {
  color: var(--cyan);
  font-weight: 500;
}
.checkin-result {
  color: #bbf2ca;
  background: #183828;
}
.admin-shell .tabs {
  border-radius: 6px;
}
@keyframes core-drift {
  0%,
  100% {
    transform: translate(-4px, -5px);
  }
  50% {
    transform: translate(-4px, -14px);
  }
}
@media (min-width: 1400px) {
  .hero {
    min-height: 610px;
  }
  .hero-copy {
    padding: 58px 0 58px 62px;
  }
}
@media (max-width: 1340px) {
  .page {
    max-width: calc(100% - 64px);
  }
  footer {
    max-width: calc(100% - 64px);
  }
  .hero {
    margin: 8px 0 0;
  }
}
@media (max-width: 1000px) {
  .site-header {
    padding: 20px 32px;
  }
  .site-header nav {
    gap: 20px;
  }
  .hero {
    min-height: 520px;
  }
  .hero-copy {
    padding: 40px 0 48px 34px;
  }
  .hero h1 {
    font-size: 53px;
  }
  .hero-copy > p {
    font-size: 12px;
  }
  .hero .actions {
    gap: 16px;
  }
  .hero .button {
    font-size: 12px;
    padding: 12px 17px;
  }
  .hero-art .art-label {
    font-size: 8px;
  }
  .hero-corner {
    left: 34px;
  }
  .section-heading h2 {
    font-size: 26px;
  }
  .event-card {
    padding: 24px;
  }
  .event-card h3 {
    font-size: 32px;
  }
  .event-card p {
    font-size: 12px;
  }
}
@media (max-width: 700px) {
  .page {
    max-width: calc(100% - 28px);
  }
  .preview-bar {
    font-size: 10px;
    padding: 7px 15px;
    line-height: 1.6;
  }
  .site-header {
    padding: 17px 20px;
    gap: 16px;
  }
  .brand-mark {
    font-size: 28px;
  }
  .site-header nav {
    gap: 8px;
    padding-top: 14px;
  }
  nav a.active::after {
    bottom: -6px;
  }
  .hero {
    margin: 4px 0 0;
    border-radius: 9px;
    min-height: 0;
  }
  .hero-copy {
    padding: 32px 25px 0;
  }
  .hero .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .hero-kicker {
    font-size: 11px;
    letter-spacing: 3px;
    margin-top: 23px;
  }
  .hero h1 {
    font-size: clamp(39px, 11vw, 57px);
    margin: 14px 0 21px;
    letter-spacing: -1.5px;
  }
  .hero-copy > p {
    font-size: 12px;
  }
  .hero .actions {
    margin: 24px 0 26px;
    gap: 17px;
  }
  .hero .button {
    font-size: 11px;
    padding: 12px 14px;
    gap: 10px;
  }
  .hero .text-link {
    font-size: 11px;
  }
  .hero-date strong {
    font-size: 35px;
  }
  .hero-date > span {
    font-size: 9px;
  }
  .hero-art {
    height: 310px;
    overflow: hidden;
  }
  .tech-core {
    width: 370px;
    max-width: 115%;
  }
  .art-label.top {
    top: 22px;
    left: 21px;
    font-size: 7px;
  }
  .art-label.bottom {
    bottom: 18px;
    right: 20px;
    font-size: 7px;
  }
  .core-caption {
    bottom: 44px;
    font-size: 9px;
    letter-spacing: 2px;
  }
  .hero-corner {
    display: none;
  }
  .ticker {
    font-size: 9px;
    letter-spacing: 0;
    padding: 15px 0;
  }
  .ticker span {
    font-size: 13px;
  }
  .section-heading {
    padding: 34px 5px 21px;
    gap: 10px;
  }
  .section-heading h2 {
    font-size: 23px;
  }
  .section-heading > p {
    font-size: 11px;
  }
  .event-grid {
    padding: 0;
    gap: 16px;
  }
  .event-card {
    padding: 23px 25px 26px;
  }
  .event-card h3 {
    font-size: 32px;
  }
  .event-card p {
    font-size: 12px;
  }
  .how-section {
    margin: 38px 5px;
    padding-top: 30px;
    gap: 26px;
  }
  .how-section h2 {
    font-size: 24px;
  }
  .content-page {
    padding: 28px 4px 48px;
  }
  .page-title {
    font-size: 28px;
  }
  .tabs {
    border-radius: 6px;
  }
  .tabs button {
    border-radius: 3px;
  }
  .participation-aside {
    padding: 20px;
  }
  footer {
    max-width: calc(100% - 40px);
    padding: 24px 0;
    gap: 12px;
  }
  .admin-shell {
    padding: 0 18px;
  }
  .admin-login {
    margin: 35px 18px;
    max-width: none;
  }
  dialog {
    padding: 26px;
  }
  dialog h2 {
    font-size: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .tech-core {
    animation: none;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
