/* ===============================
   Churchcreed INLINE+ HOME.CSS
   =============================== */

:root{
  --bg:#0f0f0f;
  --card:#121214;
  --glass:rgba(255,255,255,0.035);
  --border:rgba(255,255,255,0.05);
  --muted:#9aa3ad;
  --accent:#ff4757;
  --accent-soft:#ff6b81;
  --yellow:#ffd93d;
}

/* RESET */
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial;
  background:var(--bg);
  color:#eef2f7;
  line-height:1.55;
}

/* LINKS */
a{color:var(--accent);text-decoration:none}
a:hover{opacity:.95;text-decoration:underline}

/* HEADER */
.site-header{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:20px;
  padding:18px 28px;
  position:sticky;
  top:0;
  z-index:1000;
  background:linear-gradient(180deg,#0d0d0d,#0b0b0b);
  border-bottom:1px solid var(--border);
}
.brand{display:flex;gap:12px;align-items:center}
.brand img{height:46px;border-radius:6px}
.brand h1{font-size:18px;color:var(--accent)}
nav.desktop{display:flex;gap:16px}
nav.desktop a{
  padding:8px 10px;
  border-radius:8px;
  color:#d6dbe0;
  font-weight:600;
  font-size:14px;
}
nav.desktop a:hover{
  background:rgba(255,71,87,.08);
  color:#fff;
}

/* MOBILE MENU */
.mobile-nav-toggle{display:none;cursor:pointer;background:transparent;border:none;color:#fff;font-size:24px;}
.mobile-menu{
  display:none;
  flex-direction:column;
  gap:10px;
  background:var(--card);
  padding:12px;
  border-radius:10px;
  text-align:center;
}

/* LAYOUT */
.layout{
  max-width:1200px;
  margin:34px auto;
  padding:0 20px;
  display:grid;
  grid-template-columns:1fr 320px;
  gap:28px;
}

/* HERO */
.hero{
  background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,.01));
  padding:36px;
  border-radius:14px;
  border:1px solid var(--border);
}
.hero-title{
  font-size:28px;
  color:var(--yellow);
}
.hero-sub{
  margin-top:6px;
  color:var(--muted);
  font-weight:600;
}
.hero-type{
  margin-top:10px;
  font-size:16px;
  white-space:nowrap;
  overflow:hidden;
  border-right:3px solid rgba(255,71,87,.3);
}
.hero-cta{
  margin-top:16px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.btn{
  background:var(--accent);
  color:#fff;
  padding:10px 18px;
  border-radius:999px;
  font-weight:700;
}
.btn.secondary{
  background:transparent;
  border:1px solid var(--border);
}

/* SEARCH BAR */
form input[type=text]{
  flex:1;
  padding:8px 12px;
  border-radius:8px;
  border:1px solid #333;
  background:#121214;
  color:#fff;
}
form button{padding:8px 14px; border-radius:8px; cursor:pointer;}

/* POSTS */
.articles{margin-top:22px;display:grid;gap:20px}
.card{
  background:var(--glass);
  padding:18px;
  border-radius:14px;
  border:1px solid var(--border);
  transition:transform .2s ease,box-shadow .2s ease;
}
.card:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 22px rgba(0,0,0,.5);
}
.post-card{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
}
.post-thumb{
  width:180px;
  height:110px;
  border-radius:10px;
  overflow:hidden;
  flex-shrink:0;
}
.post-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.post-title{
  font-size:18px;
  margin-bottom:6px;
}
.post-meta{
  font-size:13px;
  color:var(--muted);
  margin-bottom:6px;
}
.read-more{
  display:inline-block;
  margin-top:6px;
  background:linear-gradient(90deg,var(--accent-soft),var(--accent));
  padding:8px 14px;
  border-radius:8px;
  color:#fff;
  font-size:13px;
  font-weight:700;
}

/* SIDEBAR */
.sidebar{display:flex;flex-direction:column;gap:18px}
.widget{
  background:var(--card);
  padding:14px;
  border-radius:12px;
  border:1px solid var(--border);
}
.widget h3{
  font-size:16px;
  margin-bottom:10px;
  color:var(--yellow);
}
.recent-item{
  display:flex;
  gap:10px;
  margin-bottom:10px;
  align-items:center;
}
.recent-item img{
  width:60px;
  height:40px;
  border-radius:6px;
  object-fit:cover;
}
.recent-item a{color:#fff;font-weight:600;font-size:14px;}

/* ADSENSE */
.adsense-container{margin-top:20px}

/* FOOTER */
.site-footer{
  margin-top:40px;
  padding:24px;
  text-align:center;
  color:var(--muted);
}

/* MOBILE */
@media(max-width:900px){
  .layout{grid-template-columns:1fr}
}
@media(max-width:768px){
  nav.desktop{display:none}
  .mobile-nav-toggle{display:inline-flex;margin:0 auto;}
  .site-header{justify-content:center;flex-wrap:wrap;gap:10px;}
}
@media(max-width:600px){
  .post-thumb{display:none}
  .hero-title{font-size:22px}
}



/* ===============================
   MUSIC PLAYER SECTION
   =============================== */

.music-section{
  margin:30px 0;
}

.music-section h3{
  font-size:20px;
  color: var(--yellow);
  margin-bottom:14px;
}

.music-cards{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  justify-content:center;
}

.music-card{
  background: var(--card);
  padding:12px;
  border-radius:12px;
  border:1px solid var(--border);
  display:flex;
  flex-direction:column;
  align-items:center;
  width:160px;
  transition:transform .2s ease, box-shadow .2s ease;
}

.music-card:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 18px rgba(0,0,0,.4);
}

.music-card img{
  width:140px;
  height:140px;
  object-fit:cover;
  border-radius:10px;
  margin-bottom:8px;
}

.music-info{
  text-align:center;
}

.music-info strong{
  display:block;
  font-size:14px;
  margin-bottom:4px;
  color:#fff;
}

.music-info span{
  font-size:12px;
  color: var(--muted);
}

.play-btn{
  margin-top:6px;
  padding:6px 12px;
  font-size:12px;
  border-radius:8px;
}

/* ===============================
   STICKY PLAYER (BOTTOM MOBILE)
   =============================== */

.sticky-player{
  position:fixed;
  bottom:0;
  left:0;
  right:0;
  background: var(--card);
  border-top:1px solid var(--border);
  display:flex;
  align-items:center;
  padding:6px 12px;
  gap:12px;
  z-index:999;
  flex-wrap:wrap;
}

.sticky-player img{
  width:50px;
  height:50px;
  object-fit:cover;
  border-radius:6px;
}

.player-info{
  flex:1;
  display:flex;
  flex-direction:column;
  min-width:0;
}

.player-info strong{
  font-size:14px;
  color:#fff;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.player-info span{
  font-size:12px;
  color: var(--muted);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

#player-play, #player-pause{
  padding:6px 12px;
  font-size:12px;
  border-radius:8px;
}

/* ===============================
   MOBILE RESPONSIVENESS
   =============================== */

@media(max-width:768px){
  .music-cards{
    flex-direction:column;
    align-items:center;
  }

  .sticky-player{
    padding:8px 10px;
  }

  .music-card{
    width:80%;
  }
}

@media(max-width:480px){
  .sticky-player img{
    width:40px;
    height:40px;
  }

  .player-info strong{
    font-size:13px;
  }

  .player-info span{
    font-size:11px;
  }

  .play-btn{
    font-size:11px;
    padding:4px 8px;
  }
}



/* Music Player */
.sticky-player {
  position: fixed;
  bottom:0;
  left:0;
  right:0;
  background:var(--card);
  border-top:1px solid var(--border);
  display:flex;
  align-items:center;
  padding:8px 12px;
  gap:10px;
  z-index:1000;
}
.player-artwork { width:50px; height:50px; object-fit:cover; border-radius:6px; }
.player-info { flex:1; overflow:hidden; }
.player-title { font-weight:700; font-size:14px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.player-artist { font-size:12px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.sticky-player audio { width:150px; }
@media(max-width:600px){
  .sticky-player { flex-direction:column; align-items:flex-start; padding:8px; }
  .sticky-player audio { width:100%; margin-top:6px; }
}