:root {
    --bg-color: #000000;
    --card-color: #1e1e1e;
    --text-color: #ffffff;
    --secondary-text: #bbbbbb;
    --accent-color: #d00169;
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }

  body {
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    align-items: center;
    text-align: center;
  }

  header {
    /* background-color: #1f1f1f; */
    background: linear-gradient(180deg, #000000, #2b2a2b, #000000);
    color: var(--text-color);
    padding: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  header img {
    height: 40px;
    margin-right: 10px;
    
  }


  main {
  height: 100%;
  width: 100%;
  display: grid;
  justify-content: center;
  position: relative;
  padding : 5px;
  margin-top: 20px;
  background-color: #00000018;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  overflow-x: hidden;
}

.main_div {
  max-width: 400px;
  margin: 3px;
  text-wrap: nowrap;
  width: 100%;
  height: 100%;
  position: relative;
  color: var(--text_color);
  /* overflow-y: scroll; */
  /* padding: 12px 8px; */
  gap: 12px;
  display: flex;
  /* justify-content: center;
  align-items: center; */
  flex-direction: column;
}

  .category-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
  }

  .category-bar h2 {
    font-size: 1.6rem;
    color: var(--text-color);
  }

  .category-bar button {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
  }

  .header-container {
    display: flex;
   align-content: center;
    gap: 10px;
    line-height: 40px;
  }

  .backimg{

    width: 40px;
    height: auto;
   
    padding: 5px;
  }
  .back-arrow {
    text-decoration: none;
    font-size: 24px;
    color: #ffffff; /* Change color as needed */
  }
  .back-arrow:hover {
    color: #555; /* Hover effect */
  }

  .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  a {
    text-decoration: none;
    
  }

  .audio-card {
    border: 1px solid #000000;
    border-radius: 8px;
    overflow: hidden;
    background: var(--card-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  }

  .audio-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }

  .audio-content {
    padding: 0.75rem;
  }

  .audio-content h3 {
  
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
  }

  .marquee-text {
    display: inline-block;
    animation: marquee 10s linear infinite;
  }

  @keyframes marquee {
    0%   { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
  }

  .audio-meta {
    font-size: 0.85rem;
    color: var(--secondary-text);
    display: flex;
    justify-content: space-between;
  }

  footer {
    
    background-color: #1f1f1f;
    color: var(--text-color);
    padding: 1rem;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  footer a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
  }

  footer a:hover {
    text-decoration: underline;
  }


  .popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    opacity: 0;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    z-index: 1000;
    pointer-events: none;
}

.popup-data {
    position: relative;
    height: auto;
    border: 1px solid var(--coin-bg);
    color: #fff;
    border-radius: 5px;
    margin: 0 auto 20px;
    width: 100%;
    max-width: 600px;
    padding: 10px;
    position: absolute;
    pointer-events: auto;
    z-index: 1001;

}

.close-popup {
    outline: none;
    background-color: #ffffff;
    border: 1px solid #000;
    border-radius: 20%;
    color: #000;
    cursor: pointer;
    font-family: arial;
    font-size: 25px;
    font-weight: 700;
    min-height: 30px;
    line-height: 25px;
    margin-bottom: 10px;
    position: relative;
    text-align: center;
    min-width: 30px;
    z-index: 1003;
}

h1 {
        
  margin: 1rem 0;
  font-size: 1.8rem;
  text-align: center;
  
}

.app-image {
  width: 100%;
  max-width: 300px;
  margin-left: 13%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.language-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-left: 13%;
  width: 100%;
  max-width: 300px;
}

.language-card {
  background-color: #d00169;
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 1rem;
  text-align: center;

  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.language-card:hover {
  border-color: var(--accent-color);
  background-color: var(--hover-color);
}

.language-card a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
  display: block;
}

.ad-space {
  margin-top: 2rem;
  width: 100%;
  max-width: 300px;
  height: 100px;
  background-color: #2a2a2a;
  border: 2px dashed #444;
  color: #aaa;
  display: flex;
  margin-left: 13%;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  text-align: center;
  border-radius: 8px;
}

@media (min-width: 600px) {
  .language-options {
      flex-direction: row;
      justify-content: center;
  }
}