/* Always respect the hidden attribute */
[hidden]{ display:none !important; }

:root{
  --wrap: min(1240px, 92vw);
  --text: #fff;
  --muted: rgba(255,255,255,.78);
  --muted2: rgba(255,255,255,.62);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: 'Montserrat', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:#060b1d;
  overflow-x:hidden;
}


a{ color:inherit; text-decoration:none; }
.wrap{ width:var(--wrap); margin:0 auto; }

/* Helpers */
.m-only{ display:none; }
.d-only{ display:block; }

/* =========================
   HEADER (DESKTOP)
   Logi Tapes-like: logo | full-width menu | actions
   ========================= */
.top{
  position:absolute;
  top:0; left:0; right:0;
  z-index:50;
  padding:24px 0;
}

.top__inner{
  display:flex;
  align-items:center;
  gap:28px;
}

/* Brand (left) */
.brand{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:260px; /* helps center menu visually */
}

.brand__name{
  font-weight:900;
  font-size:34px;
  letter-spacing:-.4px;
  text-transform:lowercase;
}

/* Header logo (NOT 120px — to match Logi Tapes header height) */
.brand__mark{
  height:120px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.brand__mark .logo-img{
  height:120px;
  width:auto;
  display:block;
  object-fit:contain;
}

/* Menu (center full width like Logi Tapes) */
.nav{
  padding:25px 0;
  display:flex;
  justify-content:space-evenly; /* ✅ same as Logi Tapes */
  align-items:center;
  width:100%; /* ✅ same as Logi Tapes */
}

.nav a{
  display:inline-flex;
  align-items:center;
  font-weight:700;
  font-size:16px;
  letter-spacing:2px;
  text-transform:uppercase;
  white-space:nowrap;
  opacity:.95;
  padding:10px 0;
}

.nav a,
.live,
.signin{
  font-family: 'Montserrat', sans-serif;
  font-weight:600;
}

.brand__name{
  font-family: 'Montserrat', sans-serif;
  font-weight:900;
}


/* Actions (right) */
.actions{
  min-width:260px;
  display:flex;
  align-items:center;
  gap:22px;
  justify-content:flex-end;
}

/* LIVE (icon beside text always) */
.live{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:800;
  font-size:12px;
  letter-spacing:2px;
  text-transform:uppercase;
  white-space:nowrap;
  opacity:.95;
}
.live__icon{
  width:25px;
  height:25px;
  display:inline-block;
  flex:0 0 auto;
  vertical-align:middle;
}

/* Sign in */
.signin{
  display:flex;
  align-items:center;
  gap:10px;
  opacity:.95;
  font-weight:600;
}

/* Hamburger (desktop hidden) */
.m-btn{
  width:44px;
  height:40px;
  border:0;
  background:transparent;
  color:rgba(255,255,255,.92);
  padding:0;
  cursor:pointer;
}
.m-bars{
  display:block;
  width:22px;
  height:2px;
  background:rgba(255,255,255,.92);
  border-radius:999px;
  position:relative;
  margin:0 auto;
}
.m-bars:before,
.m-bars:after{
  content:"";
  position:absolute;
  left:0;
  width:22px;
  height:2px;
  background:rgba(255,255,255,.92);
  border-radius:999px;
}
.m-bars:before{ top:-7px; }
.m-bars:after{ top:7px; }

/* =========================
   MOBILE HEADER
   burger left, logo centered, sign in right
   ========================= */
@media (max-width: 980px){
  .m-only{ display:block; }
  .d-only{ display:none; }

  .top{ padding:18px 0; }

  .top__inner{
    display:grid;
    grid-template-columns: 44px 1fr auto;
    align-items:center;
    gap:12px;
  }

  /* Center logo only */
  .brand{
    min-width:0;
    justify-self:center;
    gap:0;
  }

  .brand__mark{
    height:44px;
  }
  .brand__mark .logo-img{
    height:60px;
  }

  /* Hide desktop menu on mobile (drawer will handle) */
  .nav{ display:none; }

  .actions{
    min-width:0;
    justify-self:end;
    gap:12px;
  }
}

/* =========================
   BUTTONS
   ========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:44px;
  padding:0 18px;
  border-radius:8px;
  background:#fff;
  color:#111;
  font-weight:900;
  letter-spacing:2px;
  font-size:12px;
  border:1px solid rgba(255,255,255,.25);
}

/* =========================
   FULLSCREEN MOBILE DRAWER (m-drawer)
   ========================= */
[hidden]{ display:none !important; }

.m-drawer{
  position:fixed;
  inset:0;
  z-index:9999;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
}

.m-drawer__panel{
  position:absolute;
  inset:0;
  background: rgba(35,35,35,.92);
  color:#fff;
  display:flex;
  flex-direction:column;
  padding:22px 18px 16px;
}


/* Drawer top row */
.m-drawer__top{
  display:flex;
  align-items:center;
  gap:14px;
}

.m-close{
  width:42px;
  height:42px;
  border:0;
  background:transparent;
  color:rgba(255,255,255,.92);
  font-size:26px;
  line-height:1;
  cursor:pointer;
}

/* Drawer logo area */
.m-logo{
  display:flex;
  align-items:center;
  gap:12px;
  margin:0 auto;
  transform: translateX(-18px); /* centers despite close button */
}

/* Drawer logo MUST be 120px as requested */
.m-logo__mark{
  height:120px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.m-logo__mark .logo-img{
  height:120px;
  width:auto;
  display:block;
  object-fit:contain;
}

.m-logo__text{
  font-weight:900;
  font-size:40px;
  letter-spacing:-.6px;
  text-transform:lowercase;
}

/* Drawer menu items */
.m-nav{
  margin-top:26px;
  border-top:1px solid rgba(255,255,255,.16);
}

.m-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 2px;
  font-weight:900;
  letter-spacing:3px;
  border-bottom:1px solid rgba(255,255,255,.16);
  font-size:14px;
}

.m-plus{
  font-size:22px;
  opacity:.9;
}

/* Drawer bottom icons */
.m-drawer__bottom{
  margin-top:auto;
  display:flex;
  justify-content:center;
  gap:18px;
  padding:18px 0 6px;
  opacity:.95;
}

.m-ico{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  color:rgba(255,255,255,.92);
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  font-weight:900;
}

/* Increase spacing between nav items (desktop only) */
@media (min-width: 981px){
  .nav{
    padding-left: 120px;   /* ⬅ increase = more gap */
    padding-right: 120px;  /* ⬅ increase = more gap */
  }
}


/* ===== MEGA MENU (DESKTOP) ===== */
.mega-wrapper{
  position:absolute;
  left:0;
  right:0;
  top:110px;
  z-index:40;
  pointer-events:none;
}

.mega-menu{
  display:none;
  background:rgba(35,35,35,.92);
  backdrop-filter:blur(12px);
  border-radius:14px;
  padding:28px;
  box-shadow:0 30px 80px rgba(0,0,0,.45);
  margin:0 auto;
  width:var(--wrap);
}

.mega-menu.active{
  display:block;
  pointer-events:auto;
  animation: megaIn .22s ease-out;
}

@keyframes megaIn{
  from{opacity:0; transform:translateY(-8px)}
  to{opacity:1; transform:translateY(0)}
}

.mega-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.mega-item{
  display:flex;
  align-items:center;
  gap:16px;
  padding:18px 20px;
  border-radius:16px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  transition:.25s ease;
}

.mega-item:hover{
  background:rgba(255,255,255,.12);
  transform:translateY(-2px);
}

.mega-item img{
  width:48px;
  height:48px;
  object-fit:contain;
  flex-shrink:0;
}

.mega-item span{
  font-weight:800;
  font-size:14px;
  letter-spacing:1.4px;
  text-transform:uppercase;
}

/* Hide mega on mobile */
@media(max-width:980px){
  .mega-wrapper{display:none;}
}

/* ===== Mobile drawer accordion submenu ===== */
.m-acc{ width:100%; }

.m-acc__btn{
  width:100%;
  background:transparent;
  border:0;
  color:inherit;
  text-align:left;
  cursor:pointer;
}

.m-acc__btn .m-plus{
  transition: transform .18s ease;
}

.m-acc__btn[aria-expanded="true"] .m-plus{
  transform: rotate(45deg); /* + turns into x-ish */
}

/* Submenu container */
.m-sub{
  padding: 10px 0 14px;
  border-bottom: 1px solid rgba(255,255,255,.16);
}

/* Submenu links */
.m-sub__link{
  display:block;
  padding: 12px 2px 12px 18px;
  font-weight:800;
  letter-spacing:2px;
  text-transform:uppercase;
  font-size:12px;
  opacity:.92;
}

.m-sub__link:hover{
  opacity:1;
}


