:root {
  --bg: #f4f5f7;
  --bg-2: #efeff2;
  --card: rgba(255, 255, 255, 0.72);
  --card-2: #ececef;
  --text: #1f1f23;
  --muted: #7d7f87;
  --line: rgba(0, 0, 0, 0.05);
  --accent: #2fd2f6;
  --accent-2: #14bfe9;
  --accent-3: #7be9ff;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  --radius-xl: 34px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

body {
  margin: 0;
  padding: 0;
  font-family: Inter, Segoe UI, Arial, sans-serif;
  background-image: url('https://static.tildacdn.net/tild3533-6336-4863-b834-386632353533/ChatGPT_Image_8__202.png');
  background-color: rgba(0, 0, 0, 0.03);
  background-blend-mode: overlay;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--text);
  overflow-x: hidden;
}

.page {
  width: min(var(--max-width), calc(100% - 36px));
  margin: 0 auto;
  position: relative;
}

.site-shell {
  padding: 34px 0 60px;
  position: relative;
  z-index: 2;
}

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(70px);
  opacity: 0.18;
  animation: floatOrb 11s ease-in-out infinite;
}

.orb-1 {
  width: 320px;
  height: 320px;
  left: -80px;
  top: 40px;
  background: rgba(47, 210, 246, 0.45);
}

.orb-2 {
  width: 260px;
  height: 260px;
  right: -40px;
  top: 120px;
  background: rgba(20, 191, 233, 0.34);
  animation-delay: -3s;
}

.orb-3 {
  width: 360px;
  height: 360px;
  right: 14%;
  bottom: -120px;
  background: rgba(123, 233, 255, 0.22);
  animation-delay: -6s;
}

@keyframes floatOrb {
  0%, 100% { transform: translateY(0px) translateX(0px) scale(1); }
  50% { transform: translateY(-14px) translateX(8px) scale(1.04); }
}

.hero {
  margin-bottom: 22px;
}

.hero-top {
  padding-top: 0;
}

.hero-card,
.section-card {
  background: rgba(255, 255, 255, 0.70);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 36px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero-card {
  padding: 34px;
  min-height: 360px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 22px;
  align-items: stretch;
}

.hero-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #f0f1f4;
  color: #6f727a;
  font-size: 14px;
  width: fit-content;
  margin-bottom: 18px;
}

.hero-badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 12px rgba(47, 210, 246, 0.45);
}

.hero-main h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -1.2px;
}

.hero-main p,
.section-subtitle,
.timeline-text,
.feature-card p,
.side-text {
  color: var(--muted);
  line-height: 1.7;
}

.hero-main p {
  margin: 0;
  max-width: 720px;
  font-size: 18px;
}

.hero-side {
  background: #ededf0;
  border-radius: 32px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mini-label {
  color: #8b8d95;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 600;
}

.side-big {
  font-size: 42px;
  line-height: 1;
  font-weight: 700;
  margin-bottom: 10px;
}

.pulse {
  height: 88px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.46), rgba(255,255,255,0.14)),
    radial-gradient(circle at 20% 50%, rgba(47, 210, 246, 0.14), transparent 24%),
    radial-gradient(circle at 70% 50%, rgba(20, 191, 233, 0.10), transparent 24%);
  position: relative;
  overflow: hidden;
  margin: 18px 0;
}

.pulse::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -8%;
  width: 116%;
  height: 2px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, transparent 0%, rgba(47, 210, 246, 0.18) 10%, rgba(47, 210, 246, 0.85) 22%, rgba(20, 191, 233, 0.95) 30%, rgba(47, 210, 246, 0.2) 42%, transparent 56%);
  animation: pulseMove 4s linear infinite;
}

@keyframes pulseMove {
  0% { transform: translateY(-50%) translateX(-6%); }
  100% { transform: translateY(-50%) translateX(6%); }
}

.section-card {
  padding: 30px;
  margin-bottom: 22px;
}

.section-title {
  margin: 0 0 12px;
  font-family: "Unbounded", sans-serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.4px;
}

.section-subtitle {
  margin: 0 0 22px;
  font-size: 16px;
  max-width: 820px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.feature-card {
  background: #ededf0;
  border-radius: 30px;
  padding: 24px;
  min-height: 220px;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 210, 246, 0.14), transparent 70%);
  pointer-events: none;
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: linear-gradient(180deg, #ffffff, #e8fbff);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 8px 18px rgba(47, 210, 246, 0.10);
}

.feature-icon .material-symbols-rounded,
.feature-icon img {
  font-size: 28px;
  color: #14bfe9;
  line-height: 1;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 23px;
  font-weight: 700;
}

.placeholder {
  margin-top: 16px;
  border-radius: 18px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.56);
  color: #646872;
  font-size: 13px;
  line-height: 1.5;
  word-break: break-word;
}

.btn,
.ghost-btn,
.input,
.textarea {
  font-family: inherit;
}

.btn {
  border: 0;
  cursor: pointer;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 10px 30px rgba(47, 210, 246, 0.24);
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

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

.ghost-btn {
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ececef;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.input {
  width: 100%;
  min-height: 52px;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255,255,255,0.84);
  padding: 14px 16px;
  font-size: 15px;
  outline: none;
}

.textarea {
  min-height: 110px;
  resize: vertical;
}

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

.small-form {
  max-width: 420px;
}

.hidden {
  display: none !important;
}

.error-text {
  color: #d63f45;
  margin-top: 14px;
}

.success-text {
  color: #148f6d;
  margin-top: 14px;
}

.player-panel audio,
.small-player-page audio,
#mainAudio,
#soloAudio,
#audio {
  width: 100%;
  margin-top: 12px;
}

.player-topline,
.panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.player-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.player-title {
  margin-bottom: 6px;
}

.nowplaying-text {
  margin-bottom: 0;
}

.genre-card {
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.genre-card:hover {
  transform: translateY(-2px);
}

.genre-card.selected {
  outline: 2px solid rgba(20, 191, 233, 0.55);
}

.genre-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.genre-pill {
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.66);
  font-size: 13px;
  color: #5f6570;
}

.admin-grid,
.admin-list {
  margin-top: 22px;
}

.form-card {
  min-height: unset;
}

.genre-detail-card {
  background: #ededf0;
  border-radius: 30px;
  padding: 24px;
}

.track-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 12px;
  align-items: center;
  background: rgba(255,255,255,0.68);
  border-radius: 18px;
  padding: 14px 16px;
  margin-bottom: 12px;
}

.track-row:last-child {
  margin-bottom: 0;
}

.track-name {
  font-weight: 700;
}

.track-sub {
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

.inline-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.small-btn {
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 14px;
  box-shadow: none;
}

.small-danger {
  background: linear-gradient(135deg, #ff7a7a, #ee4b58);
}

.small-muted {
  background: #ececef;
  color: #1f1f23;
}

.compact {
  margin-bottom: 0;
}

.footer {
  text-align: center;
  color: #92949d;
  font-size: 13px;
  padding: 8px 0 6px;
}

.custom-h3 {
  font-family: "Unbounded", sans-serif;
}

.fade-up,
.fade-left,
.fade-right,
.scale-in {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.2, 0.9, 0.3, 1), transform 0.8s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.fade-up { transform: translateY(40px); }
.fade-left { transform: translateX(-30px); }
.fade-right { transform: translateX(30px); }
.scale-in { transform: scale(0.9); }

.fade-up.appeared,
.fade-left.appeared,
.fade-right.appeared,
.scale-in.appeared {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

@media (max-width: 980px) {
  .page { width: min(100%, calc(100% - 18px)); }
  .hero-card,
  .grid-3,
  .grid-2,
  .track-row { grid-template-columns: 1fr; }
  .hero-card,
  .section-card,
  .feature-card,
  .hero-side,
  .genre-detail-card { border-radius: 26px; }
  .hero-main h1 { font-size: 38px; }
}
