* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-main: #050505;
  --bg-soft: #101010;
  --card: rgba(18, 18, 18, 0.95);
  --gold: #caa24a;
  --gold-soft: #e3c97a;
  --blue: #173d97;
  --text: #f5f1e6;
  --muted: #d7c9a2;
  --border: rgba(202, 162, 74, 0.25);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --radius: 22px;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  background: linear-gradient(135deg, #000000, #111111, #050505);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

.page-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top center, rgba(202,162,74,0.08), transparent 30%),
    radial-gradient(circle at bottom right, rgba(23,61,151,0.08), transparent 30%);
  pointer-events: none;
}

.topbar,
.container,
.footer {
  position: relative;
  z-index: 1;
}

.topbar {
  width: min(1200px, calc(100% - 32px));
  margin: 24px auto 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand-logo {
  width: 110px;
  height: 110px;
  object-fit: contain;
  border-radius: 50%;
  background: #000;
  border: 2px solid rgba(202, 162, 74, 0.35);
  padding: 6px;
}

.brand-text h1 {
  font-size: 1.7rem;
  color: var(--gold-soft);
  margin-bottom: 8px;
  line-height: 1.3;
}

.brand-text h2 {
  font-size: 1.3rem;
  color: var(--text);
  font-weight: normal;
  margin-bottom: 8px;
  text-align: right;
}

.brand-text p {
  color: var(--muted);
  font-size: 1rem;
}

.container {
  width: min(1200px, calc(100% - 32px));
  margin: 24px auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

.player-card,
.info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.player-card {
  padding: 24px;
}

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

.title-block h3 {
  font-size: 1.4rem;
  color: var(--gold-soft);
  margin-bottom: 6px;
}

.title-block p {
  color: var(--muted);
  line-height: 1.5;
}

.live-badge {
  background: rgba(202, 162, 74, 0.12);
  color: var(--gold-soft);
  border: 1px solid rgba(202, 162, 74, 0.35);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: bold;
}

.video-wrapper {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(202, 162, 74, 0.18);
}

.video-player {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  background: #000;
}

.controls-panel {
  margin-top: 20px;
  display: grid;
  gap: 18px;
}

.stream-url-box label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
}

.url-row {
  display: flex;
  gap: 10px;
}

.url-row input {
  flex: 1;
  padding: 14px 16px;
  background: #0d0d0d;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 14px;
  outline: none;
}

button {
  border: none;
  border-radius: 14px;
  padding: 13px 18px;
  font-size: 0.95rem;
  font-weight: bold;
  cursor: pointer;
  transition: 0.25s ease;
  color: #fff;
  background: linear-gradient(135deg, var(--gold), #8b6824);
}

button:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

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

.status-box {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #0d0d0d;
  border: 1px solid var(--border);
  color: var(--muted);
}

.info-card {
  padding: 24px;
}

.logo-box {
  text-align: center;
  margin-bottom: 20px;
}

.side-logo {
  width: 180px;
  max-width: 100%;
  object-fit: contain;
}

.info-card h3 {
  margin-bottom: 14px;
  color: var(--gold-soft);
  font-size: 1.15rem;
}

.info-card ul {
  list-style: none;
  margin-bottom: 22px;
}

.info-card li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(202, 162, 74, 0.12);
  color: var(--text);
}

.info-card p {
  color: var(--muted);
  line-height: 1.7;
}

.footer {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto 24px;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.footer p:first-child {
  margin-bottom: 6px;
}

@media (max-width: 960px) {
  .container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .brand {
    flex-direction: column;
    text-align: center;
  }

  .brand-text h2 {
    text-align: center;
  }

  .player-header {
    flex-direction: column;
  }

  .url-row {
    flex-direction: column;
  }

  .actions {
    flex-direction: column;
  }

  button {
    width: 100%;
  }
}
