/* =========================================================
   OSBEATS STEP 4 — GLOBAL FOOTER STANDARD
   One consistent footer across all primary public/account pages.
   ========================================================= */

.os-global-footer{
  width:100%;
  margin:48px 0 0;
  background:#07080a;
  border-top:2px solid #73070B;
  color:#fff;
  box-sizing:border-box;
}

.os-global-footer-inner{
  width:min(1240px, calc(100% - 48px));
  margin:0 auto;
  padding:30px 0 18px;
  box-sizing:border-box;
}

.os-global-footer-brand{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding-bottom:20px;
  border-bottom:1px solid #272b32;
}

.os-global-footer-logo{
  display:inline-flex;
  align-items:center;
  gap:10px;
  flex:0 0 auto;
}

.os-global-footer-logo span{
  width:42px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#8b0710 0%,#73070B 42%,#3b0306 76%,#0c0d10 100%);
  color:#fff;
  font-family:Arial,Helvetica,sans-serif;
  font-size:18px;
  line-height:1;
  font-weight:900;
}

.os-global-footer-logo strong{
  color:#fff;
  font-family:Arial,Helvetica,sans-serif;
  font-size:25px;
  line-height:1;
  font-weight:900;
  letter-spacing:.2px;
}

.os-global-footer-brand p{
  margin:0;
  color:#aeb5c0;
  font-size:13px;
  line-height:1.5;
  text-align:right;
}

.os-global-footer-links{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  flex-wrap:wrap;
  padding:18px 0;
  border-bottom:1px solid #272b32;
}

.os-global-footer-links a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:0 12px;
  color:#dfe3e8;
  text-decoration:none;
  font-size:12px;
  font-weight:700;
  border:1px solid transparent;
  box-sizing:border-box;
}

.os-global-footer-links a:hover{
  color:#fff;
  background:linear-gradient(105deg,#69060A 0%,#78070B 32%,#450408 65%,#100F12 100%);
  border-color:#73070B;
}

.os-global-footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding-top:16px;
  color:#7f8793;
  font-size:10px;
  line-height:1.4;
  text-transform:uppercase;
  letter-spacing:.6px;
}

/* Sticky players should sit above the footer rather than cover it. */
body:has(.player:not(.hidden)),
body:has(.sticky-player:not(.hidden)),
body:has(.mini-player:not(.hidden)){
  padding-bottom:72px;
}

@media (max-width:820px){
  .os-global-footer{
    margin-top:32px;
  }

  .os-global-footer-inner{
    width:min(100% - 28px, 760px);
    padding-top:24px;
  }

  .os-global-footer-brand{
    align-items:flex-start;
  }

  .os-global-footer-brand p{
    max-width:320px;
  }

  .os-global-footer-links{
    justify-content:flex-start;
  }
}

@media (max-width:520px){
  .os-global-footer-inner{
    width:calc(100% - 24px);
  }

  .os-global-footer-brand{
    flex-direction:column;
    gap:10px;
  }

  .os-global-footer-brand p{
    text-align:left;
    font-size:12px;
  }

  .os-global-footer-links{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:6px;
  }

  .os-global-footer-links a{
    justify-content:flex-start;
    padding-left:10px;
    border-color:#20242b;
    background:#0e1014;
  }

  .os-global-footer-bottom{
    flex-direction:column;
    align-items:flex-start;
    gap:5px;
  }
}
