:root {
  --glass: rgba(255, 255, 255, 0.03);
  --glass-heavy: rgba(255, 255, 255, 0.08);
  --glass-border: #ffffff9e;
  --accent: #3b82f6;
  --text: #ffffff;
  --cyan-sk: #2db8b6;
  --muted: rgba(255, 255, 255, 0.4);
  --radius: 28px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  /*background: #020408;*/
  background: #fbfbfcff;

  /*color: var(--text);*/
  font-family: "Cairo",  sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
  color: black;
}
.intro {
  text-align: center;
  margin: 24px auto 16px;
  max-width: 900px;
}

.intro img {
  max-width: 100%;
  height: auto;
  margin-bottom: 12px;
}

.intro p {
    color: #646464;
    font-size: 0.95rem;
    font-weight: 300;
    margin: 0;
}


.site-description {
    direction: rtl;
    text-align: right;
    font-size: 0.8em;
    float: right;
    color: #222;
}

#bgBackdrop {
  position: fixed;
  inset: -10%;
  z-index: -1;
  background-size: cover;
  background-position: center;
  filter: blur(100px) brightness(0.25);
  transition: background-image 1.5s ease-in-out;
}

.topbar {
  display: flex;
  flex-direction: column;
  padding: 30px 40px 15px;
  gap: 15px;
}

.topbar h1 {
  font-size: 14px;
  margin: 0;
  font-weight: 300;
  /*letter-spacing: 3px;*/
  text-transform: uppercase;
  text-align: center;
  opacity: 0.5;
}

.layout {
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding: 0 40px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.nowPlaying {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 10px;
  align-items: center;
}

.npTitle {
  font-size: 28px;
  display: flex;
  align-items: center;
  letter-spacing: -0.01em;
}

.npTitle span {
  font-size: 3em;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.2);
  margin-right: 20px;
  font-style: italic;
  /*font-family: serif;*/
  line-height: 1;
  color: var(--cyan-sk);
}

.npMeta {
    font-size: 1.1em;
    color: #131313;
  padding: 1em 0 0 0;
}

.playerFrameWrap {
  width: 100%;
  height: 45vh;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.8);
}

.playerFrameWrap iframe, 
#player {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.list {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: solid 1px #ffffff9e;
  border-radius: var(--radius);
  padding: 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  padding-bottom: 10px;
}


.card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  background: transparent;
  border-radius: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.card:hover { background: rgba(255, 255, 255, 0.04); }

.card.active {
  background: rgb(237 237 237 / 84%); 
  background: white;
  border-color: var(--glass-border);
  border-color: #2db8b69e;
  color: black;
  font-size: 1.2em;
}

.card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 12px;
}

.cardTitle {
  font-size: 12px;
  font-weight: 400;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  opacity: 0.7;
}

.cardRank {
  font-size: 1.2em;
  font-weight: 700;
  /*color: #2db8b6;*/
}

.cardRank span {
  /*font-size: 0.7em;*/
  opacity: 0.6;
  margin-left: 4px;
}

.card.active .cardRank,
.card.active .cardRank span {
  color: var(--cyan-sk);
}

.main-footer {
    background: linear-gradient(to top, rgb(162 162 162 / 56%), transparent);
    border-top: 1px solid  var(--glass-border);
    padding: 60px 40px 40px;
    margin-top: 40px;
    color: black;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.footer-section h3 {
  font-size: 12px;
  text-transform: uppercase;
  /*letter-spacing: 2px;*/
  /*color: var(--muted);*/
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text);
  color: #222;
  text-decoration: none;
  font-size: 14px;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.footer-links a:hover { opacity: 1; }

.status-badge {
  display: inline-block;
  padding: 6px 12px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  font-size: 11px;
  color: var(--accent);
}

.footer-bottom {
  max-width: 1400px;
  margin: 60px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 11px;
  /*color: var(--muted);*/
  text-align: center;
}

@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .layout { padding: 0 15px 40px; }
  .npTitle { font-size: 20px; }
  .npTitle span { font-size: 40px; }
  .playerFrameWrap {
    height: 27vh;
    width: 85vw;
    margin: 0 auto;
  }
  .list {
        width: 85vw;
    margin: 0 auto;
  }
  .npMeta {
    font-size: 13px;
    text-align: center;
  }
  .site-description {
    float: none ;
  }
}
