:root{
  --bg:#06060a;
  --text:#ffeedd;
  --muted:rgba(255,238,221,0.72);

  --card:rgba(0,0,0,0.58);
  --cardSoft:rgba(0,0,0,0.42);

  --ember:#ff5a00;
  --ember2:#ffb300;
  --ember3:#ff2a00;

  --border:rgba(255,140,0,0.26);
  --borderStrong:rgba(255,179,0,0.36);

  --radius:18px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

/* ✅ Background fix:
   - Desktop keeps fixed background.
   - Mobile uses scroll background AND background fills full page height without gaps.
*/
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:var(--text);

  background-color: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 50% 0%, rgba(255,90,0,0.18), transparent 60%),
    linear-gradient(rgba(0,0,0,0.74), rgba(0,0,0,0.82)),
    url("bg.jpg");
  background-size: cover;
  background-position:center;
  background-repeat:no-repeat;
  background-attachment:fixed;

  /* Helps avoid white gaps with mobile address bar resizing */
  min-height: 100svh;
}

/* Mobile: stable full-height canvas and no cut-off */
@media (max-width: 820px){
  html, body{ height:auto; }
  body{
    background-attachment: scroll;
    min-height: 100svh;
  }
}

.wrap{
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 16px 46px;
}

/* ================= NAV ================= */
.topnav{
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 12px;

  padding: 12px 14px;
  border-radius: 16px;

  background: rgba(0,0,0,0.45);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);

  position: sticky;
  top: 12px;
  z-index: 50;
}

.navlinks{ display:flex; gap: 10px; }

.navlink{
  font-size: 14px;
  font-weight: 1000;
  padding: 12px 18px;
  border-radius: 14px;

  text-decoration:none;
  text-transform: uppercase;
  letter-spacing: 0.5px;

  color: rgba(255,238,221,0.85);
  background: rgba(0,0,0,0.30);
  border: 1px solid rgba(255,140,0,0.22);

  transition: transform 140ms ease, box-shadow 140ms ease, filter 140ms ease, background 140ms ease, border-color 140ms ease;
}

.navlink:hover{
  transform: translateY(-1px);
  border-color: rgba(255,179,0,0.40);
  background: rgba(0,0,0,0.42);
  box-shadow:
    0 0 16px rgba(255,90,0,0.22),
    0 0 30px rgba(255,179,0,0.14);
}

.navlink.active{
  color: #1a0b06;
  background: linear-gradient(135deg, var(--ember3), var(--ember2));
  border:none;
  box-shadow:
    0 0 20px rgba(255,90,0,0.44),
    0 0 42px rgba(255,179,0,0.26);
}

/* ================= HERO FRAME (MOCK STYLE) ================= */
.heroFrame{
  margin-top: 14px;
  position: relative;
  border-radius: 22px;
  overflow: hidden;

  border: 1px solid var(--borderStrong);
  background: linear-gradient(180deg, rgba(0,0,0,0.72), rgba(0,0,0,0.30));
  box-shadow:
    0 0 28px rgba(255,90,0,0.22),
    0 0 70px rgba(255,179,0,0.12);
}

.heroFrame__glow{
  position:absolute;
  inset:-60px;
  pointer-events:none;

  background:
    radial-gradient(600px 260px at 20% 30%, rgba(255,90,0,0.26), transparent 62%),
    radial-gradient(650px 280px at 80% 35%, rgba(255,179,0,0.18), transparent 62%),
    radial-gradient(600px 320px at 50% 110%, rgba(255,42,0,0.16), transparent 60%);
  filter: blur(14px);
  opacity: 0.95;
}

.heroFrame__inner{
  position:relative;
  padding: 18px;
}

/* Outer HUD frame look */
.heroFrame__inner::before{
  content:"";
  position:absolute;
  inset: 12px;
  border-radius: 18px;
  border: 2px solid rgba(255,140,0,0.28);
  pointer-events:none;
}

.heroFrame__inner::after{
  content:"";
  position:absolute;
  inset: 0;
  pointer-events:none;
  opacity: 0.25;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.03),
    rgba(255,255,255,0.03) 1px,
    transparent 1px,
    transparent 5px
  );
}

.heroTop{
  display:flex;
  justify-content:center;
  position:relative;
  z-index:1;
  margin-bottom: 10px;
}

.heroTop__label{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: rgba(255,238,221,0.72);
}

.heroTop__dot{
  width: 10px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ember3), var(--ember2));
  box-shadow: 0 0 12px rgba(255,90,0,0.35);
}

.heroMain{
  display:grid;
  grid-template-columns: 280px 1fr;
  gap: 18px;
  align-items:center;
  position:relative;
  z-index:1;
  padding: 6px 4px 10px;
}

.heroLogo{
  border-radius: 22px;
  overflow:hidden;
  background: rgba(0,0,0,0.34);
  border: 1px solid rgba(255,179,0,0.35);
  box-shadow:
    0 0 24px rgba(255,90,0,0.22),
    0 0 52px rgba(255,179,0,0.12),
    inset 0 0 0 2px rgba(0,0,0,0.55);
  position:relative;
  aspect-ratio: 1 / 1;
}

.heroLogo::before,
.heroLogo::after{
  content:"";
  position:absolute;
  width: 26px;
  height: 26px;
  border: 2px solid rgba(255,179,0,0.62);
  opacity: 0.95;
}

.heroLogo::before{
  top: 14px; left: 14px;
  border-right:none; border-bottom:none;
}

.heroLogo::after{
  bottom: 14px; right: 14px;
  border-left:none; border-top:none;
}

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

.heroTitle{
  margin: 0 0 8px;
  font-size: 54px;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow:
    0 0 16px rgba(255,90,0,0.26),
    0 0 36px rgba(255,179,0,0.14);
}

.heroSub{
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.5;
  font-size: 14px;
  max-width: 760px;
}

.heroChips{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 16px;
}

.chip{
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  color: rgba(255,238,221,0.90);

  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,140,0,0.22);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.45);
}

/* ================= PANELS ================= */
.grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.panel{
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid rgba(255,140,0,0.26);
  overflow:hidden;
  position: relative;
}

.panel::before{
  content:"";
  position:absolute;
  inset:-2px;
  pointer-events:none;
  background: radial-gradient(520px 220px at 10% 10%, rgba(255,90,0,0.12), transparent 60%);
  filter: blur(10px);
  opacity: 0.75;
}

.panelHead{
  position:relative;
  z-index:1;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,140,0,0.18);
  background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.14));
}

.panelHead--split{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.panelTitle{
  margin: 0;
  font-size: 16px;
  font-weight: 1000;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(255,90,0,0.18);
}

.panelBody{
  position:relative;
  z-index:1;
  padding: 16px;
}

.panelBody p{
  margin: 0 0 10px;
  line-height: 1.65;
  font-size: 14px;
  color: rgba(255,238,221,0.92);
}

/* ================= ABOUT TEXT EMPHASIS ================= */
.aboutBody{
  background: linear-gradient(
    180deg,
    rgba(255,90,0,0.06),
    rgba(0,0,0,0.0)
  );
  border-radius: 14px;
}

.aboutLead{
  font-size: 16px;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 10px;

  color: #ffddb8;

  text-shadow:
    0 0 12px rgba(255,90,0,0.35),
    0 0 26px rgba(255,179,0,0.18);
}

.aboutDivider{
  width: 80px;
  height: 2px;
  margin: 10px 0 14px;

  background: linear-gradient(90deg, var(--ember3), var(--ember2));
  border-radius: 999px;

  box-shadow: 0 0 12px rgba(255,90,0,0.45);
}

/* ================= SOCIAL MEDIA (mock layout) ================= */
/* YouTube full width, TikTok + Instagram half width */
.linksGrid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* First button spans both columns */
.linksGrid a:nth-child(1){
  grid-column: 1 / -1;
}

/* Big primary (YouTube) */
.btnPrimary{
  display:flex;
  align-items:center;
  justify-content:center;

  padding: 16px 18px;
  border-radius: 16px;

  font-weight: 1000;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-decoration:none;

  color: #1a0b06;
  background: linear-gradient(135deg, var(--ember3), var(--ember2));
  border: 1px solid rgba(255, 140, 0, 0.25);

  box-shadow:
    0 0 18px rgba(255, 90, 0, 0.28),
    0 0 42px rgba(255, 179, 0, 0.16);

  transition: transform 140ms ease, filter 140ms ease, box-shadow 140ms ease;
}

.btnPrimary:hover{
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow:
    0 0 24px rgba(255, 90, 0, 0.38),
    0 0 56px rgba(255, 179, 0, 0.22);
}

/* Ghost buttons (TikTok / Instagram) */
.btnGhost{
  display:flex;
  align-items:center;
  justify-content:center;

  padding: 14px 14px;
  border-radius: 16px;

  font-weight: 1000;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration:none;

  color: rgba(255,238,221,0.92);
  background: rgba(0,0,0,0.30);
  border: 1px solid rgba(255, 140, 0, 0.22);

  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,0.45),
    0 0 14px rgba(255, 90, 0, 0.12);

  transition: transform 140ms ease, filter 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.btnGhost:hover{
  transform: translateY(-1px);
  filter: brightness(1.06);
  border-color: rgba(255, 179, 0, 0.40);
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,0.45),
    0 0 18px rgba(255, 90, 0, 0.20),
    0 0 34px rgba(255, 179, 0, 0.12);
}

.miniLink{
  display:inline-block;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  text-decoration:none;

  color: #1a0b06;
  background: linear-gradient(135deg, var(--ember3), var(--ember2));
  box-shadow: 0 0 14px rgba(255,90,0,0.26);
  transition: transform 140ms ease, filter 140ms ease;
}

.miniLink:hover{
  transform: translateY(-1px);
  filter: brightness(1.05);
}

/* ================= UPDATES (classes used in updates.html) ================= */
.update{ padding: 12px 0; }

.updateTop{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.updateMeta{
  font-size: 12px;
  font-weight: 1000;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,238,221,0.72);
}

.newBadge{
  font-size: 11px;
  font-weight: 1000;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #1a0b06;
  background: linear-gradient(135deg, var(--ember3), var(--ember2));
  padding: 6px 10px;
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(255,90,0,0.28);
}

.updateTitle{
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 1000;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.updateBody{
  margin: 10px 0 0;
  color: rgba(255,238,221,0.90);
  line-height: 1.6;
}

.thumbLink{
  display:block;
  position: relative;
  border-radius: 16px;
  overflow:hidden;
  border: 1px solid rgba(255,140,0,0.22);
  background: rgba(0,0,0,0.30);
  box-shadow: 0 0 18px rgba(255,90,0,0.10);
  margin: 8px 0;
}

.thumbImg{ width:100%; height:auto; display:block; }

.thumbPlay{
  position:absolute;
  left: 12px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ember3), var(--ember2));
  color: #1a0b06;
  font-weight: 1000;
  box-shadow:
    0 0 16px rgba(255,90,0,0.26),
    0 0 34px rgba(255,179,0,0.16);
}

/* ================= AUTO-HIGHLIGHT NEWEST UPDATE ================= */
/* Highlights the FIRST update inside the LATEST panel automatically */
.panel .panelBody .update:first-of-type{
  position: relative;
  padding: 16px;
  border-radius: 16px;

  background: linear-gradient(
    180deg,
    rgba(255,90,0,0.12),
    rgba(0,0,0,0.55)
  );

  border: 1px solid rgba(255,179,0,0.45);

  box-shadow:
    0 0 22px rgba(255,90,0,0.35),
    0 0 48px rgba(255,179,0,0.18);
}

.panel .panelBody .update:first-of-type::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius: 18px;
  pointer-events:none;

  background: radial-gradient(
    420px 160px at 30% 0%,
    rgba(255,90,0,0.35),
    transparent 65%
  );

  filter: blur(10px);
  opacity: 0.9;
}

.panel .panelBody .update:first-of-type .updateTitle{
  text-shadow:
    0 0 14px rgba(255,90,0,0.35),
    0 0 28px rgba(255,179,0,0.20);
}

/* ================= FOOTER ================= */
.footer{
  text-align:center;
  margin-top: 22px;
  font-size: 12px;
  color: rgba(255,238,221,0.55);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 980px){
  .heroMain{ grid-template-columns: 240px 1fr; }
  .heroTitle{ font-size: 46px; }
}

/* Keep desktop feel on many phones/tablets */
@media (max-width: 720px){
  .grid2{ grid-template-columns: 1fr 1fr; }
  .heroMain{
    grid-template-columns: 240px 1fr;
    text-align: left;
  }
  .heroTitle{ font-size: 42px; }
}

/* Only stack at very small phones */
@media (max-width: 520px){
  .grid2{ grid-template-columns: 1fr; }

  .heroMain{
    grid-template-columns: 1fr;
    text-align: center;
  }

  .heroTitle{ font-size: 34px; }
  .heroChips{ justify-content: center; }

  /* Stack TikTok/Instagram under YouTube on tiny screens */
  .linksGrid{ grid-template-columns: 1fr; }
  .linksGrid a:nth-child(1){ grid-column: auto; }
}