﻿:root {
  --bg: #0f172a;
  --bg-soft: #1e293b;
  --card: #111827;
  --line: #334155;
  --text: #e2e8f0;
  --muted: #94a3b8;
  --accent: #f97316;
  --accent-2: #facc15;
  --busy: #ef4444;
  --free: #22c55e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 15%, rgba(249, 115, 22, 0.15), transparent 45%),
    radial-gradient(circle at 90% 0%, rgba(250, 204, 21, 0.13), transparent 40%),
    var(--bg);
  min-height: 100vh;
  padding: 24px;
}

.hero {
  max-width: 1060px;
  margin: 0 auto 16px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.hero p {
  margin: 8px 0 0;
  color: var(--muted);
}

.audio-box {
  max-width: 1060px;
  margin: 0 auto 20px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
}

.audio-title {
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--muted);
}

audio {
  width: 100%;
}

main {
  max-width: 1060px;
  margin: 0 auto;
}

.status {
  min-height: 22px;
  color: var(--muted);
  margin-bottom: 10px;
}

.gift-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}

.card {
  background: rgba(17, 24, 39, 0.85);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-body {
  padding: 12px;
  display: grid;
  gap: 9px;
}

.card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

a.link {
  color: #93c5fd;
  text-decoration: none;
  font-size: 0.9rem;
}

a.link:hover {
  text-decoration: underline;
}

.badge {
  border-radius: 999px;
  font-size: 0.72rem;
  padding: 3px 8px;
  border: 1px solid;
  font-weight: 700;
}

.badge.free {
  color: #bbf7d0;
  border-color: rgba(34, 197, 94, 0.7);
  background: rgba(34, 197, 94, 0.2);
}

.badge.busy {
  color: #fecaca;
  border-color: rgba(239, 68, 68, 0.7);
  background: rgba(239, 68, 68, 0.2);
}

button.reserve {
  border: 0;
  border-radius: 10px;
  padding: 10px;
  background: linear-gradient(110deg, var(--accent), var(--accent-2));
  color: #1f2937;
  font-weight: 700;
  cursor: pointer;
}

button.reserve[disabled] {
  cursor: default;
  background: #334155;
  color: #cbd5e1;
}

.report-section {
  max-width: 1060px;
  margin: 34px auto 0;
}

.report-section h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
}

.report-section p {
  margin: 6px 0 12px;
  color: var(--muted);
}

.report-marquee {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(17, 24, 39, 0.85);
  position: relative;
}

.report-marquee::before,
.report-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  width: 56px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.report-marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 1), rgba(15, 23, 42, 0));
}

.report-marquee::after {
  right: 0;
  background: linear-gradient(270deg, rgba(15, 23, 42, 1), rgba(15, 23, 42, 0));
}

.report-track {
  display: flex;
  gap: 10px;
  padding: 12px 0;
  width: max-content;
  animation: report-scroll 95s linear infinite;
}

.report-track img {
  width: 260px;
  height: 170px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

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

@media (max-width: 700px) {
  body {
    padding: 16px;
  }

  .card img {
    height: 165px;
  }

  .report-track img {
    width: 220px;
    height: 148px;
  }
}
