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

body {
  background: #0f0f0f;
  font-family: "Roboto", "Arial", sans-serif;
  color: #f1f1f1;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.yt-container {
  width: 100%;
  max-width: 640px;
  padding: 20px;
}

.yt-header {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.yt-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.yt-logo svg {
  height: 20px;
  width: auto;
}

.video-card {
  background: #212121;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.thumbnail-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  cursor: pointer;
}

.thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
}

.play-button {
  width: 68px;
  height: 48px;
  background: #ff0000;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.video-info {
  padding: 20px;
}

.video-info h1 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
}

.video-info p {
  font-size: 14px;
  color: #aaaaaa;
  margin-bottom: 18px;
}

.yt-btn {
  background: #ff0000;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
}

.yt-btn:hover {
  background: #cc0000;
}

.yt-btn:disabled {
  background: #666;
  cursor: not-allowed;
}

#status {
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
  color: #aaaaaa;
}
