:root {
  --bg: linear-gradient(135deg, #147d96 0%, #021b21 100%);
  --panel: #ffffff;
  --stroke: #e5e5f0;
  --text: #0c1835;
  --muted: #e9e4f3;
  --accent: #e62c7b;
  --accent-strong: #0c1835;
  --radius: 22px;
  --shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
  --max: 1220px;
  font-family: "Poppins", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: #f7f4ff;
}

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

body {
  margin: 0;
  min-height: 100vh;
  color: #f7f4ff;
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  opacity: 0.9;
}

.account-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #f1e9ff;
  margin-bottom: 8px;
}

.store-shell {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px 24px 72px;
}

.app-logo-img {
  max-width: 160px;
  max-height: 80px;
  object-fit: contain;
}

.hero-full {
  padding: 24px 0 12px;
  color: #f7f4ff;
}

.hero-full h1 {
  margin: 6px 0 10px;
  font-size: 36px;
  letter-spacing: -0.03em;
}

.hero-full p {
  max-width: 840px;
  line-height: 1.6;
  margin: 0 0 4px;
}

.hero-note {
  font-size: 13px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  margin: 0;
  opacity: 0.85;
}

.route-sample-inline {
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.filters-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 18px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f7f4ff;
  margin: 18px 0 10px;
}

.filters-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filters-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pill-option {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
}

.pill-option input {
  display: none;
}

.pill-option input:checked + span,
.pill-option input:checked ~ span {
  color: #0c1835;
}

.pill-option input:checked + span,
.pill-option input:checked ~ span,
.pill-option.active {
  background: #fff;
  color: #0c1835;
  border-color: #fff;
}

.pill-more {
  border-style: dashed;
}

.clear-link {
  color: #fff;
  font-size: 13px;
  text-decoration: underline;
}

.more-filters {
  display: none;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 14px;
}

.more-filters.open {
  display: block;
}

.filter-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.filter-column {
  color: #fff;
}

.filter-title {
  font-weight: 700;
  margin-bottom: 6px;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  font-size: 14px;
  color: #f7f4ff;
}

.filter-option input {
  accent-color: #fff;
}

.filters-right {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.sort-select select {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  color: #fff;
}

.chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 16px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13px;
  color: #fff;
}

.chip button {
  background: transparent;
  border: 0;
  color: #f7f4ff;
  cursor: pointer;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.app-card {
  background: #ffffff;
  color: #0c1835;
  border-radius: 20px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 360px;
  border: 1px solid #f2f2fb;
}

.logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 28px 20px 8px;
}

.app-logo {
  width: 160px;
  height: 80px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 22px;
}

.app-body {
  padding: 0 22px;
  text-align: center;
}

.app-name {
  margin: 4px 0 6px;
  font-size: 18px;
}

.app-summary {
  margin: 0 0 14px;
  color: #4a4f69;
  line-height: 1.4;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 0;
  background: #e62c7b;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: #e62c7b;
  box-shadow: 0 15px 25px rgba(230, 44, 123, 0.3);
}

.btn.full {
  width: 100%;
}

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

.app-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 14px 0 16px;
  background: #f3f4fb;
  border-radius: 0 0 20px 20px;
}

.icon-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #147d96 0%, #021b21 100%);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  position: relative;
}

.icon-dot:hover::after {
  content: attr(title);
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  background: rgba(12, 18, 38, 0.95);
  color: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  pointer-events: none;
  z-index: 5;
}

.empty {
  padding: 40px;
  text-align: center;
  border-radius: var(--radius);
  border: 1px dashed rgba(255, 255, 255, 0.5);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.muted {
  color: #f1e9ff;
}

.detail-hero {
  position: relative;
  border-radius: 22px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, #147d96 0%, #021b21 100%);
  color: #f8fbff;
}

.detail-columns {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 18px;
  align-items: start;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #f8fbff;
}

.section {
  margin-top: 22px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.section h3 {
  margin: 0 0 10px;
}

.list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.list li {
  list-style: none;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.meta-card {
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.meta-card span {
  display: block;
  color: #e2edfb;
  font-size: 12px;
  margin-bottom: 4px;
}

.meta-card strong {
  color: #f8fbff;
}

.backlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  margin-bottom: 16px;
}

.detail-page {
  color: #f7f4ff;
}

.detail-card {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 22px;
  margin-bottom: 16px;
}

.detail-main h1 {
  margin: 6px 0 8px;
}

.detail-headline {
  font-size: 16px;
  color: #f1e9ff;
  margin: 0 0 8px;
}

.detail-summary {
  color: #e1dcf4;
  margin: 0 0 12px;
  line-height: 1.6;
}

.detail-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.detail-logo img,
.detail-logo .app-logo {
  width: 180px;
  height: 90px;
  border-radius: 16px;
  object-fit: contain;
}

.detail-meta .meta-card {
  background: rgba(255, 255, 255, 0.12);
}

.section.light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #f8fbff;
}

.submit-form {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 18px;
  border-radius: 16px;
  color: #fff;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
}

.form-flex {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 14px;
}

.form-column {
  display: grid;
  gap: 12px;
}

.form-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

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

.form-grid label span {
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
  color: #f1e9ff;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  backdrop-filter: blur(4px);
}

.form-grid textarea {
  resize: vertical;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.form-multi {
  padding: 8px;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.3);
}

.multi-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
  margin-top: 6px;
  font-size: 13px;
}

.multi-options.two-col {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.terms {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-actions {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.logo-preview {
  margin-top: 8px;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 3 / 1;
  background: rgba(255, 255, 255, 0.1);
  border: 1px dashed rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.logo-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.preview-card .logo-preview {
  max-width: 100%;
}

.preview-block h3 {
  margin: 8px 0 4px;
}

.preview-block p {
  margin: 4px 0;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.admin-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 14px;
  border-radius: 14px;
}

.admin-meta {
  display: grid;
  gap: 4px;
  color: #f1e9ff;
  font-size: 13px;
}

.admin-actions {
  margin-top: 10px;
}

.footer-links {
  display: grid;
  gap: 10px;
  padding-top: 0;
}

.footer-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 12px 16px;
  color: #fff;
}

.legal-links {
  display: flex;
  gap: 12px;
}

.policy-page {
  color: #f7f4ff;
}
@media (max-width: 980px) {
  .filters-bar {
    border-radius: 16px;
  }

  .detail-card {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .store-shell {
    padding: 28px 18px 60px;
  }

  .filters-bar {
    align-items: flex-start;
  }

  .filters-right {
    width: 100%;
    justify-content: flex-start;
  }
}
