/* ========== Global Styles ========== */
body {
  background: #0f0f0f;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
}

h1 {
  text-align: center;
  margin-top: 50px;
  color: cyan;
  text-shadow: 0 0 10px cyan;
}

/* ========== Channel Header ========== */
.channel-header {
  display: flex;
  align-items: center;
  gap: 2em;
  margin-bottom: 2em;
  padding: 0 2em;
}

.profile-pic img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid #00ffd5;
  object-fit: cover;
  box-shadow: 0 0 10px #00ffd5;
}

.channel-info h2 {
  margin: 0;
  color: #00ffd5;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 700;
  font-size: 2rem;
}

.channel-info p {
  white-space: pre-wrap;
  color: #ccc;
  max-width: 600px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1rem;
  line-height: 1.4;
}

/* ========== Edit Profile Section ========== */
.edit-profile {
  background: #1e1e1e;
  padding: 1.5em 2em;
  margin: 0 auto 3em auto;
  border-radius: 15px;
  box-shadow: 0 0 15px #00ffd5;
  max-width: 600px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.edit-profile h3 {
  margin-top: 0;
  color: #00ffd5;
  font-weight: 700;
  font-size: 1.5rem;
}

.edit-profile label {
  color: #00ffd5;
  font-weight: 600;
  font-size: 1rem;
}

.edit-profile input[type="file"],
.edit-profile textarea {
  width: 100%;
  padding: 0.7em;
  margin-top: 0.3em;
  margin-bottom: 1em;
  border-radius: 8px;
  border: none;
  background: #2a2a2a;
  color: #fff;
  resize: vertical;
  font-size: 1rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.edit-profile button {
  background: #00ffd5;
  color: #000;
  border: none;
  padding: 0.8em 2em;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.edit-profile button:hover {
  background: #00ccaa;
}

.video-meta {
  color: #aaa;
  font-size: 0.85rem;
  padding: 0 0.5em 0.5em 0.5em;
  display: flex;
  justify-content: space-between;
  opacity: 0.9;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ========== Channel Videos Section ========== */
.channel-videos {
  padding: 0 2em 2em 2em;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.channel-videos h3 {
  color: #00ffd5;
  margin-bottom: 1em;
  font-weight: 700;
  font-size: 1.5rem;
}

.video-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
}

.video-card {
  width: 180px;
  background: #222;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 10px #00ffd5;
  transition: transform 0.3s ease;
}

.video-card:hover {
  transform: scale(1.05);
}

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

.video-card h4 {
  color: #00ffd5;
  padding: 0.5em;
  font-size: 1rem;
  margin: 0;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

/* ========== Reusable Card Styling ========== */
.card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
  padding: 20px;
  transition: 0.3s ease;
}

.card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.5);
}

