:root{
  --bg: #0b1020;
  --card: rgba(255,255,255,.08);
  --card2: rgba(255,255,255,.12);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.72);
  --accent1: #ff8c00;
  --accent2: #007bff;
  --accent3: #00e5ff;
  --accent4: #E02E40;
  --accent5: #FF3D27;
  --radius: 18px;
  --max: 1100px;
  --shadow: 0 18px 60px rgba(0,0,0,.35);
}

*{ box-sizing:border-box; }
body{
  margin:0;
  font-family: "Fredoka", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 20% 0%, rgba(0,123,255,.30), transparent 55%),
    radial-gradient(900px 600px at 90% 10%, rgba(255,140,0,.28), transparent 55%),
    radial-gradient(900px 700px at 50% 100%, rgba(0,229,255,.16), transparent 55%),
    var(--bg);
  overflow-x:hidden;
}

a{ color:inherit; text-decoration:none; }
.container{ width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

header{
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: linear-gradient(to right, rgba(255,140,0,.18), rgba(0,123,255,.18));
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  min-height: clamp(72px, 12vw, 110px);
  position: relative;
  z-index: 1;
}
.siteHeader {
  padding: 12px 0;
}

/* The banner itself */
.headerBanner {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background-image: url("/images/channel-banner.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Optional dark overlay for readability */
.headerBanner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25); /* adjust transparency here */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: none;
}

/* Nav content stays above the image */
.headerBanner > .nav {
  position: relative;
  z-index: 1;
}

/* Ensure nav height is consistent */
.container.nav {
  min-height: clamp(72px, 12vw, 110px);
  align-items: center;
  justify-content: space-between;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.logo{
  width:44px; height:44px; border-radius:14px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.35), transparent 45%),
    linear-gradient(135deg, var(--accent1), var(--accent2));
  box-shadow: 0 10px 26px rgba(0,0,0,.25);
  flex:0 0 auto;
}
.brandBanner {
  height: clamp(40px, 6vw, 64px);
  width: auto;
  max-width: 75%;
  object-fit: contain;
}

/* Hide text but keep it for screen readers & SEO */
.visuallyHidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.brand h1{
  margin:0;
  line-height:1;
  font-size: clamp(1.25rem, 1.1rem + 1vw, 1.75rem);
  letter-spacing:.06em;
  text-transform:uppercase;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.navlinks{ display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end; }
.pill{
  padding:10px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.10);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.pill:hover{ transform: translateY(-1px); background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.18); }

.hero{ padding: 26px 0 12px; }
.heroTop{
display:flex;
align-items:center;
gap:18px;
flex-wrap:wrap;
}

.heroTitleBlock{
flex:1;
min-width:200px;
}

.avatar{
  width: 64px;
  height: 64px;
  border-radius: 18px;
}

@media (max-width: 520px){
  .avatar{ width: 64px; height: 64px; border-radius: 20px; }
}

.avatarWrap{
flex-shrink:0;
}

.heroCard{
  position: relative;
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.10);
  min-height: 360px;

  background:
    linear-gradient(
      to bottom,
      rgba(11,16,32,.85),
      rgba(11,16,32,.75)
    ),
    url("/images/avatar.jpg") center / cover no-repeat;
}

.heroOverlay{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.heroContent{
  padding: clamp(18px, 4vw, 36px);
  max-width: 680px;
  margin: 0 16px;
  border-radius: 20px;

  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cameoBox{
margin-top:16px;
margin-bottom:18px;
background:rgba(255,255,255,0.08);
padding:10px 14px;
border-radius:12px;
font-size:14px;
}

.cameoBox a{
display:flex;
align-items:center;
gap:10px;
text-decoration:none;
color:white;
font-weight:600;
}

.cameoText{
display:block;
line-height:1.4;
}

.cameoIcon{
width:22px;
height:22px;
}

.title{
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 1.1rem + 2.2vw, 3rem);
  line-height:1.05;
}

.subtitle{
margin-top:14px;
margin-bottom:10px;
line-height:1.6;
}

.ctaRow{
margin-top:10px;
display:flex;
gap:12px;
flex-wrap:wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  user-select:none;
}
.btn:hover{ transform: translateY(-1px); background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.22); }

.btnPrimary{
  border:none;
  background: linear-gradient(90deg, var(--accent4), var(--accent5));
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}
.btnPrimary:hover{ filter: brightness(1.06); }

main{ padding: 18px 0 48px; }
.card{
  background: var(--card);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0,0,0,.20);
  padding: 18px;
}
h2{ margin:0 0 10px; font-size: 1.35rem; }
p{ margin:0 0 14px; color: var(--muted); line-height:1.5; }

.sectionHead{
  display:flex; align-items:flex-end; justify-content:space-between; gap:12px; flex-wrap:wrap;
  margin-bottom: 10px;
}
.smallMuted{ color: var(--muted); font-size: .95rem; }

.videoGrid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}
.videoCard{
  border-radius: 16px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
  box-shadow: 0 14px 40px rgba(0,0,0,.18);
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.videoCard:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.20);
  background: rgba(255,255,255,.06);
}
.thumb{
  width:100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display:block;
  filter: saturate(1.1) contrast(1.03);
}
.videoMeta{ padding: 12px 12px 14px; }
.videoTitle{
  margin:0;
  font-size: 1.02rem;
  line-height: 1.2;
  display:-webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow:hidden;
}
.watchRow{ margin-top: 10px; display:flex; gap:10px; align-items:center; }
.tinyBtn{
  padding: 9px 11px;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  font-weight: 700;
  font-size: .95rem;
}
.tinyBtn:hover{ background: rgba(255,255,255,.12); }

footer{
  border-top: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  padding: 22px 0;
  color: rgba(255,255,255,.75);
}
.footerRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.footerLinks{ display:flex; gap:14px; flex-wrap:wrap; }
.footerLinks a{
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}
.footerLinks a:hover{ background: rgba(255,255,255,.10); }

@media (max-width: 980px){
  .videoGrid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px){
  .videoGrid{ grid-template-columns: 1fr; }
}

@media (max-width:600px){

  .heroTop{
  flex-direction:column;
  align-items:flex-start;
  }
  
  .avatar{
  width:70px;
  height:70px;
  }
  
  .title{
  font-size:1.6rem;
  }
  
  .subtitle{
  font-size:14px;
  }
  
  .cameoBox{
  font-size:13px;
  }

}

.icon-img {
  width: 20px;
  height: 20px;
}

