:root {
  --bg: #ffffff;
  --card: #111827;
  --card-2: #1f2937;
  --text: #f8fafc;
  --muted: #cbd5e1;
  --line: rgba(255,255,255,.12);
  --accent: #ef4444;
  --ok: #22c55e;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: #0f172a;
  min-height: 100vh;
}

header {
  width: min(1200px, calc(100% - 28px));
  margin: 0 auto;
  padding: 14px 0 6px;
  text-align: left;
}

h1.logo {
  margin: 0;
  line-height: 1;
}

.site-logo {
  display: block;
  width: min(260px, 70vw);
  height: auto;
}

.wrap {
  width: min(1200px, calc(100% - 28px));
  margin: 10px auto 40px;
}

.tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

button {
  border: 1px solid var(--line);
  background: rgba(15,23,42,.08);
  color: #0f172a;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

button:hover {
  background: rgba(15,23,42,.14);
}

button.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.card {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  color: var(--text);
}

.player {
  position: relative;
  background: #000;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
}

video,
iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  background: #000;
}

.start-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background:
    linear-gradient(180deg, rgba(15,23,42,.20), rgba(15,23,42,.82)),
    radial-gradient(circle at center, rgba(239,68,68,.30), transparent 38%),
    #111827;
  overflow: hidden;
}

.start-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/player-cover.png");
  background-size: cover;
  background-position: center;
  opacity: .45;
  transform: scale(1.02);
}

.start-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 20px;
}

.big-play {
  width: 86px;
  height: 86px;
  border-radius: 999px;
  border: 3px solid rgba(255,255,255,.75);
  background: rgba(239, 68, 68, .96);
  color: #ffffff;
  font-size: 36px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
  padding-left: 5px;
}

.start-title {
  color: #ffffff;
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 900;
  letter-spacing: -.03em;
  text-shadow: 0 3px 18px rgba(0,0,0,.45);
}

.start-subtitle {
  color: rgba(255,255,255,.82);
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 720px) {
  header {
    padding: 10px 0 5px;
  }

  .site-logo {
    width: min(220px, 68vw);
  }

  .wrap {
    margin-top: 8px;
  }

  .tabs {
    gap: 5px;
    margin-bottom: 7px;
  }

  button {
    padding: 5px 8px;
    font-size: 11px;
  }

  .big-play {
    width: 68px;
    height: 68px;
    font-size: 28px;
  }
}