:root {
  color-scheme: dark;
  --bg: #070914;
  --panel: rgba(16, 23, 38, 0.86);
  --panel-strong: rgba(8, 13, 24, 0.92);
  --text: #f7f9ff;
  --muted: #b8c3d6;
  --line: rgba(255, 255, 255, 0.14);
  --cyan: #36d6f5;
  --violet: #c57aff;
  --lime: #9be37a;
  --orange: #ffac38;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 12% 0%, rgba(197, 122, 255, 0.22), transparent 32%),
    radial-gradient(circle at 92% 12%, rgba(54, 214, 245, 0.18), transparent 28%),
    linear-gradient(180deg, #070914 0%, #101827 52%, #080b12 100%);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1160px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(7, 9, 20, 0.84);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  object-fit: cover;
  box-shadow: 0 0 28px rgba(197, 122, 255, 0.34);
}

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

.site-nav a {
  min-height: 42px;
  padding: 9px 16px;
  border-radius: 14px;
  color: var(--muted);
  font-weight: 800;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--text);
}

main,
.site-footer {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 42px;
  align-items: center;
  min-height: calc(100vh - 94px);
  padding: 66px 0 48px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
li {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 7vw, 6.4rem);
}

h2 {
  font-size: clamp(2rem, 4.8vw, 4.2rem);
}

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

.hero-copy p {
  max-width: 62ch;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 18px;
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  font-weight: 900;
  text-align: center;
}

.button.primary {
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  color: #07101b;
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.app-store-link {
  margin-top: 4px;
}

.music-store-link {
  margin-top: 22px;
}

.hero-panel {
  display: grid;
  gap: 14px;
}

.hero-app-card {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  align-items: center;
  min-height: 118px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: var(--shadow);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.hero-app-card:hover,
.hero-app-card:focus-visible {
  border-color: rgba(54, 214, 245, 0.55);
  background: rgba(20, 31, 52, 0.92);
  transform: translateY(-2px);
}

.hero-panel img,
.app-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  object-fit: cover;
}

.hero-panel img {
  grid-row: span 2;
}

.hero-app-card strong,
.hero-app-card span {
  display: block;
}

.hero-app-card strong {
  font-size: 1.25rem;
}

.hero-app-card span {
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  padding: 30px 0 24px;
}

.product {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 34px;
  align-items: center;
  margin: 22px 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
}

.music-spotlight {
  position: relative;
  overflow: hidden;
  margin: 22px 0;
  min-height: 660px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(circle at 82% 20%, rgba(54, 214, 245, 0.18), transparent 30%),
    radial-gradient(circle at 18% 78%, rgba(197, 122, 255, 0.22), transparent 34%),
    linear-gradient(135deg, #120d26 0%, #24133f 48%, #0b1224 100%);
  box-shadow: var(--shadow);
}

.music-backdrop {
  position: absolute;
  inset: 0;
  background: transparent;
}

.music-backdrop::after {
  content: none;
}

.music-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(300px, 1.12fr);
  gap: 34px;
  align-items: center;
  min-height: 660px;
  padding: 42px;
}

.music-copy {
  max-width: 560px;
}

.music-copy h2 {
  font-size: clamp(2.8rem, 6vw, 5.8rem);
}

.music-copy p:not(.eyebrow) {
  max-width: 52ch;
}

.music-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.music-tags span {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 800;
}

.music-preview {
  display: flex;
  justify-content: flex-end;
}

.phone-carousel {
  width: min(360px, 100%);
  margin-left: 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 32px;
  background: rgba(7, 9, 20, 0.7);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(14px);
}

.phone-carousel .carousel-frame {
  border-radius: 24px;
}

.product-info {
  min-width: 0;
}

.app-icon {
  width: 88px;
  height: 88px;
  margin-bottom: 20px;
  box-shadow: 0 0 30px rgba(54, 214, 245, 0.22);
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 26px;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
}

.feature-list li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--lime), var(--cyan));
  content: "";
}

.product-media {
  min-width: 0;
}

.wide-preview,
.carousel-frame {
  overflow: hidden;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel-strong);
}

.wide-preview {
  height: auto;
  object-fit: contain;
}

.carousel {
  width: min(430px, 100%);
  margin-left: auto;
}

.compact-carousel {
  margin-top: 18px;
}

.carousel-frame {
  aspect-ratio: 9 / 13;
  touch-action: pan-y;
}

.carousel-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.carousel-controls {
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
}

.carousel-controls span {
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  gap: 34px;
  align-items: start;
  margin: 70px 0 30px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
}

.contact-page {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  gap: 34px;
  align-items: start;
  min-height: calc(100vh - 180px);
  padding: 86px 0 58px;
}

.contact-intro {
  position: sticky;
  top: 118px;
}

.contact-intro h1 {
  max-width: 10ch;
}

.contact-intro .button {
  margin-top: 22px;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  outline: none;
  padding: 13px 14px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(54, 214, 245, 0.82);
  box-shadow: 0 0 0 4px rgba(54, 214, 245, 0.12);
}

.contact-form option {
  color: #101827;
}

.form-note {
  margin: 0;
  font-size: 0.92rem;
}

code {
  color: var(--text);
}

.policy-page {
  width: min(920px, calc(100% - 32px));
  padding: 56px 0;
}

.policy-document {
  padding: clamp(22px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(16, 23, 38, 0.9);
  box-shadow: var(--shadow);
}

.policy-document h1 {
  max-width: none;
  font-size: clamp(2.25rem, 6vw, 4.4rem);
}

.policy-document h2 {
  margin-top: 34px;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
}

.policy-document h3 {
  margin-top: 24px;
  font-size: 1.25rem;
}

.policy-document p,
.policy-document li {
  color: var(--muted);
}

.policy-document a {
  color: var(--cyan);
  overflow-wrap: anywhere;
}

.policy-document hr {
  margin: 32px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.form-result .button {
  margin-top: 18px;
}

.feedback-heading h1 {
  max-width: 11ch;
}

.feedback-app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 24px 0 76px;
}

.feedback-app-card {
  display: grid;
  gap: 18px;
  min-height: 320px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(16, 23, 38, 0.86);
  box-shadow: var(--shadow);
  transition: border-color 180ms ease, transform 180ms ease;
}

.feedback-app-card:hover,
.feedback-app-card:focus-visible {
  border-color: rgba(54, 214, 245, 0.56);
  transform: translateY(-2px);
}

.feedback-app-card img {
  width: 88px;
  height: 88px;
  border-radius: 22px;
}

.feedback-app-card h2 {
  font-size: 1.6rem;
}

.feedback-form-page {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: 34px;
  align-items: start;
  padding: 72px 0;
}

.feedback-form .check-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.feedback-form legend {
  padding: 0 8px;
  color: var(--text);
  font-weight: 900;
}

.feedback-form .check-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--muted);
  font-weight: 700;
}

.feedback-form input[type="checkbox"],
.feedback-form input[type="radio"] {
  width: 18px;
  height: 18px;
}

.admin-page {
  width: min(1180px, calc(100% - 32px));
  padding: 56px 0;
}

.admin-login {
  max-width: 520px;
  margin: 8vh auto;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.admin-menu {
  position: relative;
  flex: 0 0 auto;
}

.admin-menu summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.admin-menu summary::-webkit-details-marker {
  display: none;
}

.admin-menu summary::after {
  margin-left: 10px;
  color: var(--muted);
  content: "v";
  font-size: 0.85rem;
}

.admin-menu[open] summary::after {
  content: "^";
}

.admin-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  display: grid;
  gap: 10px;
  width: min(260px, calc(100vw - 32px));
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(7, 9, 20, 0.96);
  box-shadow: var(--shadow);
}

.admin-menu-panel .button {
  width: 100%;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0;
}

.admin-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(16, 23, 38, 0.9);
  box-shadow: var(--shadow);
  max-height: 620px;
  overflow: auto;
}

.admin-card h2 {
  margin-bottom: 18px;
  font-size: 1.7rem;
}

.admin-card .admin-bar-row,
.admin-card .admin-keyword-row {
  max-width: 100%;
}

.admin-app-section {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.admin-app-heading {
  margin-bottom: 14px;
}

.admin-bar-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.8fr) minmax(120px, 1fr) 42px;
  gap: 12px;
  align-items: center;
  margin: 12px 0;
  color: var(--muted);
}

.admin-bar-row div {
  overflow: hidden;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.admin-bar-row i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
}

.admin-bar-row strong {
  color: var(--text);
  text-align: right;
}

.admin-keyword-row {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

.admin-keyword-row div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.admin-keyword-row span {
  min-width: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.admin-keyword-row strong {
  flex: 0 0 auto;
  color: var(--text);
}

.admin-keyword-row i {
  display: block;
  overflow: hidden;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.admin-keyword-row b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
}

.admin-table-wrap {
  overflow-x: auto;
  max-height: 430px;
  overflow-y: auto;
}

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

.admin-table th,
.admin-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--text);
}

.admin-error,
.admin-notice {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.feature-message-list {
  display: grid;
  gap: 12px;
  max-height: 430px;
  overflow: auto;
}

.admin-card:has(.admin-bar-row),
.admin-card:has(.admin-keyword-row) {
  max-height: 430px;
  overflow: auto;
}

.feature-message {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
}

.feature-message div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.feature-message p {
  margin: 0;
}

.mini-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
}

.table-message,
.table-email {
  margin-bottom: 8px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer a {
  color: var(--cyan);
}

@media (max-width: 980px) {
  .hero,
  .product,
  .music-content,
  .contact,
  .contact-page,
  .feedback-form-page {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 46px;
  }

  .carousel {
    margin: 0;
  }

  .music-spotlight,
  .music-content {
    min-height: auto;
  }

  .music-preview {
    justify-content: flex-start;
  }

  .contact-intro {
    position: static;
  }

  .feedback-app-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 720px) {
  .site-header,
  main,
  .site-footer {
    width: calc(100% - 24px);
  }

  .site-header {
    margin-top: 12px;
    border-radius: 18px;
  }

  .brand span {
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(7, 9, 20, 0.96);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    min-height: 48px;
  }

  h1 {
    max-width: 11ch;
    font-size: 2.65rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero {
    gap: 28px;
    padding-bottom: 34px;
  }

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

  .product,
  .contact {
    padding: 20px;
    border-radius: 22px;
  }

  .music-spotlight {
    border-radius: 22px;
  }

  .music-content {
    padding: 22px;
  }

  .contact-form {
    padding: 20px;
    border-radius: 22px;
  }

  .contact-page {
    padding: 54px 0 38px;
  }

  .feedback-form-page {
    padding: 54px 0 38px;
  }

  .feedback-app-grid {
    padding-bottom: 46px;
  }

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

  .admin-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-menu {
    width: 100%;
  }

  .admin-menu summary {
    width: 100%;
  }

  .admin-menu-panel {
    right: auto;
    left: 0;
    width: 100%;
  }

  .admin-card {
    max-height: 560px;
  }

  .admin-bar-row {
    grid-template-columns: 1fr;
  }

  .carousel {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .brand span {
    max-width: 138px;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  h1 {
    font-size: 2.35rem;
  }

  .hero-app-card {
    grid-template-columns: 58px 1fr;
    padding: 14px;
  }

  .hero-panel img {
    width: 58px;
    height: 58px;
  }
}
