.king-login-header {
    text-align: center;
    margin-bottom: 24px;
    position: relative;
}

.king-login-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    margin: 0 auto 12px;
}

.king-login-tagline {
    font-size: 14px;
    color: #aaa;
    margin: 0;
}
.modal-input {height: 50px!important;}
 /*head widget muzica*/
 /* CSS */
.king-sidebar-navbar {
 
  border-bottom: 1px solid rgba(79, 172, 254, 0.2);
  display: flex;
  gap: 10px;
  justify-content: center;
}

.king-sidebar-btn {
  flex: 1;
  padding: 10px 0;
  background: rgba(30, 30, 50, 0.8);
  border: none;
  border-radius: 8px;
  color: #c0c0ff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.king-sidebar-btn:hover {
  background: rgba(79, 172, 254, 0.25);
  color: #fff;
  transform: translateY(-2px);
}

.king-sidebar-btn:active {
  transform: translateY(0);
}
 .telegram-section {
  margin: 20px 0;
  text-align: center;
}

.telegram-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #0088cc; /* Albastru Telegram oficial */
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 136, 204, 0.25);
}

.telegram-button:hover {
  background-color: #0077b5;
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(0, 136, 204, 0.35);
}

.telegram-button svg {
  stroke-width: 1.8;
}
 .trending-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background:linear-gradient(135deg, #009688, #E91E63);
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.trending-badge svg {
  stroke-width: 2.5;
}
 .music-header {
     top: -5px;
      background: linear-gradient(135deg, #1f1c2c, #928DAB);
      color: white;
      border-radius: 16px;
      box-shadow: 0 8px 20px rgba(0,0,0,0.5);
      padding: 20px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .music-header h2 {
      font-size: 1.8rem;
      margin: 0;
      letter-spacing: 2px;
      font-weight: 600;
      text-transform: uppercase;
      position: relative;
      z-index: 2;
    }

    .underline {
      margin: 12px auto 0;
      width: 80px;
      height: 4px;
      background: #ff4d4d;
      border-radius: 4px;
      position: relative;
      z-index: 2;
    }
.king-widget-wb {padding: 4px!important;}
  /* Logo ZeRg */
 .powered-by {
      display: flex;
      align-items: center;
      height: 50px;
      font-size: 13px;
      font-weight: bold;
      letter-spacing: 1px;
      gap: 6px;
    }

    .prefix {
      opacity: 0.8;
    }

    .zerg-logo {
      position: relative;
      font-family: 'Courier New', monospace;
      font-size: 16px;
      font-weight: bold;
      color: #0f0;
      text-transform: uppercase;
      letter-spacing: 1.5px;
      background: #000;
      padding: 4px 8px;
      border: 1px solid #0a0;
      box-shadow: 0 0 6px rgba(0, 255, 0, 0.4);
      animation: flicker 1.5s infinite alternate;
    }

    .zerg-logo::before {
      content: "</";
      color: #0a0;
      opacity: 0.7;
    }
    .zerg-logo::after {
      content: ">";
      color: #0a0;
      opacity: 0.7;
    }

    /* Efect flicker (ca un monitor vechi) */
    @keyframes flicker {
      0%, 100% { opacity: 1; text-shadow: 0 0 5px #0f0; }
      92% { opacity: 1; }
      93% { opacity: 0.8; }
      94% { opacity: 1; }
      95% { opacity: 0.9; }
      96% { opacity: 1; }
      97% { opacity: 0.7; }
      98% { opacity: 1; }
      99% { opacity: 0.6; }
    }
    .zerg-logo::after {
      
    } 
/*custom footer button*/
.view-all-categories {
    text-align: center;
    margin-top: 16px;
}

.btn-view-all {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #009688, #00796b);
    color: white;
    text-decoration: none;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 150, 136, 0.3);
}

.btn-view-all:hover {
    background: linear-gradient(135deg, #00796b, #00695c);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 150, 136, 0.4);
}
/*custom*/
.custom-home-panel {
    margin-bottom: 20px;
    background: #fff;
    border-radius: 14px;
    padding: 20px;
}
.custom-home-content ul {
    list-style: none;
    padding-left: 0;
}
.custom-home-content li {
    margin-bottom: 8px;
}
.custom-home-content a {
    color: #5890ff;
    text-decoration: none;
}
.custom-home-content a:hover {
    text-decoration: underline;
}
/* Layout pentru containerul principal */
.container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Postările ocupă ~75% */
.posts-column {
    flex: 3;
    min-width: 0;
}

/* Panoul homepage ocupă ~25% */
.homepage-sidebar {
    flex: 2;
    min-width: 300px;
}

/* Pe mobil: panoul coboară sub postări */
@media (max-width: 991px) {
    .container {
        flex-direction: column;
    }

    .posts-column,
    .homepage-sidebar {
        width: 100%;
        min-width: auto;
    }
}
.king-attribution{
text-align: center;
}
.king-nav-footer-list {
    list-style: none;
    padding-left: 0; /* opțional: elimină spațiul implicit din stânga */
}
.extern {
    background:#009688;
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 7px;
    border-radius: 8px;
    margin-left: 6px;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.mp3 {
    background:#673AB7;
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 7px;
    border-radius: 8px;
    margin-left: 6px;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/*counter views*/
  .fb-share-counter {
      width: 75px;
      /*border: 1px solid #ccd0d5;*/
      border-radius: 3px;
      overflow: hidden;
      font-size: 12px;
      text-align: center;
    }

    .fb-count {
      background:#ffffff00;
      padding: 0px 0;
      color: #a0a0a0;
      font-weight: bold;
    }

.fb-share {
    background: #2b2b2b05;
    padding: 0px 0;
    color: #009688;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    gap: 2px;
    font-weight: 600;
}

    .fb-icon {
      font-size: 10px;
    }

/* ===== PAGINATION MODERNĂ — COMPATIBILĂ CU HTML-UL TĂU ===== */
.king-page-links {
  text-align: center;
  display: block;
  clear: both;
  position: relative;
  margin: 30px 0 40px;
}
.king-page-selected {
  background-color: #009688;    
  border-radius: 10px !important;
}
.king-page-links-list {
  list-style: none;
  display: inline-flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.king-page-links-item {
  display: inline-flex; /* important! */
}

/* Stil comun pentru toate link-urile și pagina selectată */
.king-page-selected a,
.king-page-links-item a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #fff;
  color: #555;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  padding: 0 8px; /* pentru Previous/Next */
}

/* Hover */
.king-page-links-item a:hover {
  background: #007bff;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,123,255,0.25);
}

/* Active */
.king-page-selected a {
  background: #007bff;
  color: white;
  font-weight: 600;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,123,255,0.2);
}

/* Focus pentru accesibilitate */
.king-page-links-item a:focus {
  outline: 2px solid #0056b3;
  outline-offset: 2px;
}

/* Ripple effect la click */
.king-page-links-item a:active {
  transform: scale(0.96);
  box-shadow: 0 2px 8px rgba(0,123,255,0.15);
}

/* Stil pentru "..." (ellipsis) — trebuie să fie <span>, nu <a> */
.king-page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  color: #ccc;
  font-size: 18px;
  pointer-events: none;
  user-select: none;
  border-radius: 10px;
  background: #f8f9fa;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

/* Previous / Next — păstrăm clasa, dar le dăm padding lateral */
.king-page-prev a,
.king-page-next a {
  padding: 0 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
}

.king-page-prev a:hover,
.king-page-next a:hover {
  background: #007bff;
  color: white;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

 

/* === FOOTER === */
footer {
  background: #121212;
  padding: 40px 5%;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 30px;
  border-top:1px solid #009688;
}

/* Brand & Links */
.footer-brand { 
  flex-direction: column;
}

.footer-logo {
  font-size: 24px;
  font-weight: 800;
  color: #1db954;
  text-decoration: none;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
}

.footer-logo i {
  margin-right: 8px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #bbb;
  text-decoration: none;
  font-size: 20px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #1db954;
}

/* === CATEGORII – RESPONSIVE ȘI BINE AFISATE === */
.footer-categories h3 {
  font-size: 16px;
  margin-bottom: 20px;
  color: #eee;
  text-align: center;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 16px;
  justify-items: center; /* centrează fiecare item în celulă */
}

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s;
  width: 100%;
  max-width: 100px; /* limitează lățimea totală */
}

.category-item:hover {
  transform: translateY(-3px);
}

.category-cover {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.category-title {
  font-size: 12px;
  margin-top: 8px;
  color: #ddd;
  text-align: center;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  max-width: 100px;
}
 

/* Utils: Căutare + Social */
.footer-utils {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-utils h3 {
  font-size: 16px;
  color: #eee;
}

.search-container {
  display: flex;
  background: #222;
  border-radius: 24px;
  padding: 8px 14px;
}

.search-container input {
  background: transparent;
  border: none;
  color: white;
  font-size: 14px;
  width: 100%;
  outline: none;
}

.search-container input::placeholder {
  color: #777;
}

.search-container button {
  background: none;
  border: none;
  color: #bbb;
  cursor: pointer;
  font-size: 16px;
}

.social-icons {
  display: flex;
  gap: 18px;
}

.social-icons a {
  color: #bbb;
  font-size: 20px;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #1db954;
}

/* Responsive */
@media (max-width: 1050px) {
 .categories-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }

  .category-cover {
    font-size: 14px;
  }

  .category-title {
    font-size: 10px;
  }
}

@media (max-width: 850px) {
  footer {
    grid-template-columns: 2fr;
    text-align: center;
  }

 .categories-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }

  .category-cover {
    font-size: 14px;
  }

  .category-title {
    font-size: 10px;
  }

  .search-container {
    justify-content: center;
  }
}

@media (max-width: 480px) {
 .categories-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .category-cover {
    font-size: 14px;
  }

  .category-title {
    font-size: 10px;
  }
}