:root {
  --primary: #ff7e5f;
  --secondary: #feb47b;
  --background: #fff9f5;
  --text: #2b2b2b;
  --accent: #ffd9c1;
  --card: #ffffff;
  --border: #f2c5b5;
  --muted: #6b5a54;
  --shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, system-ui, sans-serif;
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 126, 95, 0.2), transparent 30%),
    radial-gradient(circle at 92% 14%, rgba(254, 180, 123, 0.28), transparent 34%),
    var(--background);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: -999px;
}

.skip-link:focus {
  left: 8px;
  top: 8px;
  background: #000;
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 1000;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-bottom: 3px solid var(--accent);
  color: #fff;
}

.site-header .inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.8rem 1rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
}

.brand > span {
  display: flex;
  flex-direction: column;
}

.brand img {
  display: block;
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  object-fit: cover;
  object-position: center;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 13px;
  box-shadow: 0 6px 16px rgba(20, 24, 36, 0.18);
}

.brand-title {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.1;
  font-weight: 800;
}

.brand-subtitle {
  margin: 0;
  color: #fff4ec;
  font-size: 0.9rem;
}

.menu-toggle {
  appearance: none;
  border: 0;
  background: transparent;
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  cursor: pointer;
}

.menu-toggle:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.menu-toggle .bars,
.menu-toggle .bars::before,
.menu-toggle .bars::after {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  position: relative;
  margin: 0 auto;
  content: "";
}

.menu-toggle .bars::before {
  position: absolute;
  top: -7px;
  left: 0;
}

.menu-toggle .bars::after {
  position: absolute;
  top: 7px;
  left: 0;
}

.site-nav {
  grid-column: 1 / -1;
  display: none;
  gap: 0.35rem;
  flex-wrap: wrap;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 0.4rem;
}

.site-nav.open {
  display: flex;
}

.site-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 0.45rem 0.7rem;
  border-radius: 8px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(0, 0, 0, 0.15);
}

main {
  max-width: 1120px;
  margin: 1.1rem auto 2.5rem;
  padding: 0 1rem;
}

.hero {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.35rem;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.92), rgba(255, 243, 234, 0.84));
  box-shadow: var(--shadow);
}

.hero h1 {
  margin: 0;
  color: var(--primary);
  line-height: 1.15;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.hero p {
  margin: 0.55rem 0 0;
  max-width: 74ch;
}

.hero-game {
  position: relative;
  overflow: hidden;
  border-color: #283348;
  background:
    radial-gradient(circle at 24% 76%, rgba(73, 205, 255, 0.18), transparent 26%),
    radial-gradient(circle at 78% 22%, rgba(255, 143, 28, 0.22), transparent 30%),
    linear-gradient(145deg, #101622, #1a2433 62%, #0f1520 100%);
  box-shadow: 0 16px 36px rgba(9, 15, 26, 0.26);
  color: #eef4ff;
}

.hero-game::before,
.hero-game::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-game::before {
  width: 240px;
  height: 240px;
  top: -120px;
  right: -70px;
  background: radial-gradient(circle, rgba(255, 153, 57, 0.28), rgba(255, 153, 57, 0) 70%);
}

.hero-game::after {
  width: 220px;
  height: 220px;
  left: -90px;
  bottom: -110px;
  background: radial-gradient(circle, rgba(73, 205, 255, 0.24), rgba(73, 205, 255, 0) 72%);
}

.hero-game .page-title,
.hero-game h1 {
  color: #ffbe64;
}

.hero-game .lead,
.hero-game p {
  color: #e3edf9;
  max-width: 72ch;
}

.hero-game .hero-kicker-game {
  border-color: rgba(255, 194, 110, 0.25);
  background: rgba(15, 23, 37, 0.86);
  color: #ffd6a1;
}

.hero-home {
  position: relative;
  overflow: hidden;
  border-color: #efccbe;
  border-radius: 22px;
  padding: clamp(1.2rem, 2vw, 1.7rem);
  background: linear-gradient(160deg, #ffffff 8%, #fff4ea 65%, #fff9f6 100%);
  box-shadow: 0 12px 28px rgba(148, 87, 56, 0.14);
  display: grid;
  gap: 0.5rem;
}

.hero-home::after {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  top: -95px;
  right: -82px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 126, 95, 0.24), rgba(255, 126, 95, 0) 68%);
  pointer-events: none;
}

.hero-kicker {
  margin: 0;
  width: fit-content;
  border: 1px solid #f1c9b8;
  border-radius: 999px;
  background: rgba(255, 247, 240, 0.92);
  color: #8d4b32;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.2rem 0.62rem;
}

.hero-home h1 {
  color: #eb6a4a;
  letter-spacing: -0.02em;
  font-size: clamp(1.95rem, 4vw, 2.8rem);
}

.hero-home .hero-lead {
  margin: 0.1rem 0 0;
  max-width: 72ch;
  font-size: clamp(1rem, 1.7vw, 1.1rem);
}

.hero-home .hero-support {
  margin: 0;
  max-width: 70ch;
  color: #564b46;
}

.hero-actions {
  margin-top: 0.62rem;
}

.hero-actions .btn {
  min-height: 44px;
  border-radius: 999px;
  padding: 0.62rem 1.02rem;
}

.hero-actions .btn-primary {
  box-shadow: 0 9px 20px rgba(240, 124, 88, 0.33);
}

.hero-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.95);
  border-color: #e8ccbf;
  color: #6d3718;
}

.hero-actions .btn-secondary:hover,
.hero-actions .btn-secondary:focus-visible {
  background: #fff4ec;
}

.featured-apps-panel {
  border-color: #d3dac5;
  background: linear-gradient(145deg, #ffffff 0%, #f7fbf4 100%);
  box-shadow: 0 10px 24px rgba(69, 108, 56, 0.12);
}

.featured-apps-head {
  align-items: flex-start;
}

.featured-apps-panel .featured-apps-head h2 {
  margin: 0.1rem 0 0;
  color: #276234;
}

.section-kicker {
  margin: 0;
  color: #3f6d34;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.featured-apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.9rem;
  margin-top: 0.85rem;
}

.featured-app-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0.75rem;
  border: 1px solid #cfe0c5;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 7px 16px rgba(52, 90, 42, 0.08);
  padding: 0.86rem;
}

.featured-app-card-main {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 0.72rem;
  align-items: center;
}

.featured-app-thumb {
  display: block;
  width: 64px;
  height: 64px;
}

.featured-app-thumb img {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 8px 16px rgba(36, 62, 29, 0.14);
}

.featured-apps-panel .featured-app-card h3 {
  margin: 0;
  color: #1f5f31;
  font-size: 1.05rem;
  line-height: 1.2;
}

.featured-app-date {
  margin-top: 0.18rem;
  color: #5b6955;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
}

.featured-app-card p {
  margin: 0;
  color: #3d4439;
}

.featured-app-actions {
  margin-top: 0.1rem;
}

.featured-app-actions .btn {
  border-radius: 999px;
}

.panel {
  margin-top: 1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 1.1rem;
}

.panel h2,
.panel h3 {
  margin-top: 0;
  color: var(--primary);
}

.muted {
  color: var(--muted);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
}

.apps-panel > .muted {
  margin: 0.35rem 0 0.8rem;
}

.app-categories {
  display: grid;
  gap: 1rem;
}

.app-category {
  border-top: 1px solid #f1ded4;
  padding-top: 0.95rem;
}

.app-category:first-child {
  border-top: 0;
  padding-top: 0;
}

.app-category-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 0.6rem;
}

.app-category-head h3 {
  margin: 0;
  color: #9a4428;
}

.category-count {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #e9c7b7;
  background: #fff5ef;
  color: #875139;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
}

.app-grid-single {
  grid-template-columns: minmax(220px, 420px);
  justify-content: start;
}

.app-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 7px 16px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

.app-card .thumb {
  display: grid;
  place-items: center;
  padding: 1rem;
  background: linear-gradient(145deg, #fff6f0, #ffe9db);
  border-bottom: 1px solid var(--border);
}

.app-card .thumb.thumb-space {
  background:
    radial-gradient(circle at 30% 72%, rgba(77, 214, 255, 0.18), transparent 28%),
    radial-gradient(circle at 72% 28%, rgba(255, 145, 24, 0.22), transparent 30%),
    linear-gradient(150deg, #101622, #1b2434 60%, #0d121b);
  border-bottom-color: #24324a;
}

.app-card .thumb.thumb-space img {
  filter: drop-shadow(0 14px 26px rgba(255, 127, 0, 0.18));
}

.app-card .thumb img {
  width: 96px;
  height: 96px;
  border-radius: 20px;
  object-fit: cover;
}

.app-card .content {
  padding: 0.9rem;
  display: grid;
  gap: 0.55rem;
}

.app-card h3,
.app-card h4 {
  margin: 0;
  color: #a74b2f;
  font-size: 1.05rem;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.app-type {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.2rem 0.54rem;
}

.app-type-sports {
  background: #eaf2ff;
  border-color: #9fc1f5;
  color: #1d4d89;
}

.app-type-games {
  background: #edf1ff;
  border-color: #95aaf2;
  color: #273d90;
}

.app-type-tools {
  background: #edf8ef;
  border-color: #9bc7a2;
  color: #245f2c;
}

.app-type-club-operations {
  background: #fff2e8;
  border-color: #e8be9e;
  color: #7a3c1f;
}

.app-type-officials {
  background: #eef4f8;
  border-color: #aabfcc;
  color: #2f5367;
}

.app-type-business {
  background: #e8f7f5;
  border-color: #8fc8c0;
  color: #1f625f;
}

.app-type-food {
  background: #fff0df;
  border-color: #e4ad72;
  color: #7b3f12;
}

.app-type-coach-help {
  background: #fff7e5;
  border-color: #e6cb88;
  color: #7a5600;
}

.app-type-community {
  background: #f2edf8;
  border-color: #b8a0d4;
  color: #53306f;
}

.app-type-guides {
  background: #eff7f4;
  border-color: #8fbbb0;
  color: #245b51;
}

.badge {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff2e8;
  color: #7a3a00;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.2rem 0.6rem;
}

.badge-live {
  background: #e7f8ed;
  border-color: #70cd97;
  color: #0f6932;
}

.badge-dev {
  background: #fff5e8;
  border-color: #f2c27c;
  color: #8a4b00;
}

.badge-soon {
  background: #eaf2ff;
  border-color: #8eb7f4;
  color: #0e4b93;
}

.badge-review {
  background: #eef8f7;
  border-color: #75bbb5;
  color: #145c58;
}

.status-ticker {
  margin-top: 0.72rem;
  border: 1px solid #ead3c8;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 7px 16px rgba(148, 87, 56, 0.08);
  overflow: hidden;
  padding: 0;
}

.status-ticker-viewport {
  overflow: hidden;
  padding: 0.38rem 0.64rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.status-ticker-track {
  display: flex;
  width: max-content;
}

.status-ticker-track.is-ready {
  animation: status-ticker-scroll 58s linear infinite;
}

.status-ticker:hover .status-ticker-track.is-ready,
.status-ticker:focus-within .status-ticker-track.is-ready {
  animation-play-state: paused;
}

.status-ticker-group {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
  padding-right: 0.5rem;
}

.status-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 218px;
  max-width: 248px;
  border: 1px solid #efd8ce;
  border-radius: 11px;
  background: linear-gradient(145deg, #ffffff, #fff6f0);
  color: inherit;
  padding: 0.32rem 0.48rem;
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(148, 87, 56, 0.06);
}

.status-ticker-item:hover,
.status-ticker-item:focus-visible {
  border-color: #e8b39e;
  background: #fff7f2;
}

.status-ticker-item:focus-visible {
  outline: 2px solid #ff9c75;
  outline-offset: 2px;
}

.status-ticker-item img {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  object-fit: cover;
}

.status-ticker-copy {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.status-ticker-name {
  flex: 1 1 auto;
  overflow: hidden;
  color: #873d25;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-ticker-item .badge {
  flex: 0 0 auto;
  max-width: 100%;
  font-size: 0.64rem;
  line-height: 1.15;
  padding: 0.13rem 0.38rem;
  white-space: nowrap;
}

@keyframes status-ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.btn-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 12px;
  padding: 0.58rem 0.85rem;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid var(--border);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: transparent;
  color: #fff;
}

.btn-secondary {
  color: #7a3a00;
  background: #fff7f2;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.page-title {
  margin: 0;
  color: var(--primary);
  line-height: 1.18;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.lead {
  margin-top: 0.45rem;
  max-width: 78ch;
}

.confirm-main {
  max-width: 780px;
  margin-top: clamp(1rem, 4vh, 2.25rem);
}

.confirm-hero {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid #efccbe;
  background: linear-gradient(160deg, #ffffff 6%, #fff3e9 62%, #fff8f4 100%);
  box-shadow: 0 12px 30px rgba(153, 87, 55, 0.16);
  animation: confirm-card-enter 360ms ease-out both;
}

.confirm-hero::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  top: -78px;
  right: -68px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 126, 95, 0.22), rgba(255, 126, 95, 0) 68%);
  pointer-events: none;
}

.confirm-kicker {
  margin: 0 0 0.45rem;
  width: fit-content;
  border: 1px solid #f1c9b8;
  border-radius: 999px;
  background: rgba(255, 247, 240, 0.92);
  color: #8d4b32;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.58rem;
}

.confirm-message {
  margin-top: 0.58rem;
  color: #3d3835;
  font-size: 1.02rem;
}

.confirm-message.err {
  color: #8a1f17;
}

.confirm-actions {
  margin-top: 0.95rem;
  gap: 0.52rem;
}

.confirm-actions .btn {
  min-height: 44px;
  border-radius: 999px;
  padding: 0.62rem 1rem;
  letter-spacing: 0.01em;
  flex: 1 1 180px;
}

.confirm-actions .btn-primary {
  box-shadow: 0 8px 18px rgba(240, 124, 88, 0.35);
}

.confirm-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.95);
  border-color: #e8ccbf;
  color: #6d3718;
}

.confirm-actions .btn-secondary:hover,
.confirm-actions .btn-secondary:focus-visible {
  background: #fff4ec;
}

@keyframes confirm-card-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.app-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: center;
}

.app-head img {
  width: 132px;
  height: 132px;
  border-radius: 20px;
  object-fit: cover;
}

.app-visuals {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 220px);
  gap: 0.75rem;
  margin: 1rem 0 1.25rem;
  align-items: stretch;
}

.app-visuals img {
  width: 100%;
  height: 100%;
  max-height: 320px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #0d121b;
  box-shadow: 0 10px 22px rgba(9, 15, 26, 0.14);
  object-fit: cover;
}

.app-visuals .app-visual-portrait {
  aspect-ratio: 9 / 16;
  object-position: center top;
}

.store-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.store-badges img {
  max-height: 58px;
  width: auto;
}

.placeholder-badge {
  min-width: 146px;
  height: 44px;
  border-radius: 10px;
  border: 2px dashed #d5d5d5;
  background: #f7f7f7;
  color: #636363;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.feature-list {
  margin: 0.35rem 0 0;
  padding-left: 1.2rem;
}

.feature-list li {
  margin: 0.3rem 0;
}

.faq-list {
  margin: 0.45rem 0 0;
}

.faq-list dt {
  font-weight: 800;
  color: #8d3d24;
  margin-top: 0.55rem;
}

.faq-list dd {
  margin: 0.2rem 0 0.4rem;
}

.notify-panel .lead {
  margin-top: 0.4rem;
}

.notify-form {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.7rem;
}

.notify-field {
  max-width: 440px;
}

.notify-row {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: center;
}

.notify-checks {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin: 0.1rem 0;
}

.notify-checks label {
  margin: 0;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.notify-status {
  min-height: 1.2rem;
  font-weight: 700;
}

.notify-status.ok {
  color: #0b6b2a;
}

.notify-status.err {
  color: #8a1f17;
}

.notify-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.roadmap-meta {
  margin-top: 0.65rem;
  font-weight: 700;
}

.roadmap-jump {
  margin-top: 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.roadmap-jump a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff7f1;
  color: #7a3a00;
  padding: 0.34rem 0.68rem;
}

.roadmap-jump a:hover,
.roadmap-jump a:focus-visible {
  background: #fff1e6;
}

.roadmap-board {
  margin-top: 0.85rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 0.75rem;
}

.roadmap-status-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.82rem;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.06);
  display: grid;
  gap: 0.48rem;
}

.roadmap-app-name {
  margin: 0;
  font-weight: 800;
  color: #8d3d24;
}

.roadmap-status-card p {
  margin: 0;
}

.roadmap-links {
  margin-top: 0.25rem;
}

.roadmap-links .btn {
  flex: 1 1 168px;
}

.roadmap-detail-grid {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 0.85rem;
}

.roadmap-app-section {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.06);
}

.roadmap-app-section h3 {
  margin: 0;
  color: #8d3d24;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.roadmap-app-section .hint {
  margin-top: 0.55rem;
}

.gallery {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.7rem;
}

.gallery img {
  border-radius: 12px;
  border: 1px solid var(--border);
}

.video-wrap {
  margin-top: 0.8rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.video-wrap video {
  width: 100%;
  display: block;
}

.legal-card {
  margin-top: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  background: #fff;
}

.legal-card h2 {
  margin: 0 0 0.35rem;
  color: #9f4528;
  font-size: 1.05rem;
}

.topnav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

label {
  display: block;
  margin: 0.65rem 0 0.3rem;
  font-weight: 700;
}

input[type="text"],
input[type="email"],
select,
textarea,
input[type="search"] {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  color: inherit;
  background: #fff;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.actions {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.hint {
  margin: 0.3rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.banner-success {
  display: none;
  margin-top: 1rem;
  border-radius: 12px;
  border: 1px solid #9ae6b4;
  background: linear-gradient(135deg, #10b981, #22c55e);
  color: #07331b;
  padding: 0.9rem 1rem;
}

.banner-success.show {
  display: block;
}

.toast {
  color: #065f46;
  background: #d1fae5;
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  padding: 6px 10px;
  font-weight: 700;
}

.toast.err {
  color: #7f1d1d;
  background: #fee2e2;
  border-color: #fecaca;
}

.sent-badge {
  display: none;
  border-radius: 999px;
  border: 1px solid #a7f3d0;
  background: #d1fae5;
  color: #065f46;
  font-weight: 700;
  padding: 0.36rem 0.65rem;
}

.sent-badge.show {
  display: inline-flex;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 0.55rem;
  border-bottom: 1px solid #e9d8cd;
  vertical-align: top;
  text-align: left;
}

.pagination {
  margin-top: 0.9rem;
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  border: 1px solid #e2cdbf;
  border-radius: 8px;
  text-decoration: none;
  padding: 0.38rem 0.6rem;
  color: inherit;
}

.pagination .current {
  background: #fff1e6;
  font-weight: 700;
}

.site-footer {
  margin-top: 2rem;
  background: linear-gradient(135deg, #f7a168, var(--secondary));
  color: #fff;
}

.site-footer .inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.2rem 1rem;
  text-align: center;
}

.footer-links,
.social-links {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.footer-links a,
.site-footer a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.footer-links a:hover,
.site-footer a:hover {
  text-decoration: underline;
}

.social-link {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
}

.social-link img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

@media (min-width: 900px) {
  .menu-toggle {
    display: none;
  }

  .site-nav {
    grid-column: 3;
    display: flex !important;
    justify-content: flex-end;
    background: transparent;
    padding: 0;
  }
}

@media (max-width: 620px) {
  .brand img {
    width: 45px;
    height: 45px;
  }

  .brand-title {
    font-size: 1.2rem;
  }

  .app-head {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .app-head img {
    width: 108px;
    height: 108px;
    margin: 0 auto;
  }

  .app-visuals {
    grid-template-columns: 1fr;
  }

  .app-visuals img {
    max-height: 260px;
  }

  .app-visuals .app-visual-portrait {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 480px) {
  .site-header .inner {
    padding: 0.68rem 0.75rem;
    gap: 0.55rem;
  }

  .site-nav {
    padding: 0.35rem;
  }

  .site-nav a {
    padding: 0.5rem 0.62rem;
    font-size: 0.93rem;
  }

  .brand-title {
    font-size: 1.05rem;
  }

  .brand-subtitle {
    font-size: 0.8rem;
  }

  main {
    margin: 0.9rem auto 2rem;
    padding: 0 0.72rem;
  }

  .hero,
  .panel {
    padding: 0.95rem;
    border-radius: 14px;
  }

  .hero h1,
  .page-title {
    font-size: 1.42rem;
    line-height: 1.2;
  }

  .hero p,
  .lead {
    font-size: 0.95rem;
  }

  .hero-home {
    border-radius: 16px;
  }

  .hero-home h1 {
    font-size: 1.62rem;
  }

  .hero-kicker {
    font-size: 0.68rem;
  }

  .hero-actions .btn {
    width: 100%;
    flex-basis: 100%;
  }

  .status-ticker-viewport {
    padding: 0.34rem 0.5rem;
  }

  .status-ticker-group {
    gap: 0.42rem;
    padding-right: 0.42rem;
  }

  .status-ticker-item {
    min-width: 204px;
    max-width: 224px;
    padding: 0.3rem 0.4rem;
  }

  .status-ticker-item img {
    width: 28px;
    height: 28px;
    border-radius: 7px;
  }

  .confirm-main {
    margin-top: 1rem;
  }

  .confirm-hero {
    border-radius: 16px;
    padding: 1rem;
  }

  .confirm-kicker {
    font-size: 0.7rem;
  }

  .confirm-message {
    font-size: 0.95rem;
  }

  .confirm-actions .btn {
    width: 100%;
    flex-basis: 100%;
  }

  .app-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .app-category {
    padding-top: 0.82rem;
  }

  .app-category-head {
    margin-bottom: 0.5rem;
  }

  .app-grid-single {
    grid-template-columns: 1fr;
  }

  .app-card .thumb {
    padding: 0.8rem;
  }

  .app-card .thumb img {
    width: 82px;
    height: 82px;
  }

  .btn-row {
    gap: 0.45rem;
  }

  .notify-row .btn {
    width: 100%;
  }

  .btn {
    font-size: 0.92rem;
    padding: 0.52rem 0.72rem;
  }

  .app-card .btn-row .btn,
  .actions .btn {
    width: 100%;
  }

  .store-badges {
    justify-content: center;
    gap: 10px;
  }

  .store-badges img {
    max-height: 52px;
  }

  .placeholder-badge {
    min-width: 132px;
    height: 40px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  input[type="text"],
  input[type="email"],
  select,
  textarea,
  input[type="search"] {
    padding: 0.62rem 0.68rem;
  }

  .site-footer .inner {
    padding: 1rem 0.75rem;
  }

  .roadmap-jump a {
    font-size: 0.88rem;
    padding: 0.32rem 0.56rem;
  }

  .roadmap-board,
  .roadmap-detail-grid {
    grid-template-columns: 1fr;
    gap: 0.68rem;
  }

  .roadmap-status-card,
  .roadmap-app-section {
    padding: 0.8rem;
  }

  .roadmap-links .btn {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .brand-title {
    font-size: 0.98rem;
  }

  .brand-subtitle {
    font-size: 0.74rem;
  }

  .site-nav a {
    font-size: 0.89rem;
  }

  .btn {
    font-size: 0.88rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .status-ticker-viewport {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .status-ticker-track.is-ready {
    animation: none;
  }

  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
