* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  position: relative;
  overflow-x: hidden;
  background: linear-gradient(180deg, #1a2a6c 0%, #000 100%);
  color: white;
  padding: 20px;
}

/* main container */
.container {
  max-width: 700px;
  padding: 40px 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.bot-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bot-profile img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
  display: block;
  margin-bottom: 20px;
  object-fit: cover;
}

.bot-title {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
}

.subtitle {
  color: #ddd;
  font-size: 1rem;
  margin-bottom: 30px;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 25px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 25px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px) scale(1.05);
  background: rgba(255, 255, 255, 0.25);
}

/* Audio Player */
/* Enhanced audio player styles */
.audio-player {
    position: fixed;
    top: 25px;
    right: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.6);
    padding: 8px 15px;
    border-radius: 25px;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.audio-player.waiting {
    background: rgba(74, 144, 226, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.audio-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.audio-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.audio-text {
    font-size: 0.8rem;
    color: #ddd;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Pulse animation for waiting state */
@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes gentle-pulse {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

.audio-player.waiting .audio-text {
    animation: gentle-pulse 2s infinite;
    color: #4a90e2;
}

/* home and angels buttons */
.home-btn, .angels-btn {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  z-index: 100;
}

.home-btn {
  top: 25px;
  left: 25px;
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.3);
}

.home-btn:hover {
  transform: scale(1.1);
  background: rgba(0, 0, 0, 0.45);
}

.angels-btn {
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: transparent;
  box-shadow: none;
}

.angels-btn img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
}

.angels-btn:hover {
  transform: scale(1.08);
}

/* cmds container */
.cmds-container {
  width: 90%;
  max-width: 1200px;
  margin: 50px auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* category scroll wrapper */
.category-scroll-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
  width: 100%;
}

.category-scroll {
  display: flex;
  overflow-x: auto;
  gap: 15px;
  scroll-behavior: smooth;
  padding: 5px 0;
  max-width: 70%;
}

.category-scroll::-webkit-scrollbar {
  display: none;
}

/* Category buttons - matching command style but without hover scaling */
.category-btn {
  padding: 12px 25px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 25px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.category-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  /* No scale transform to prevent growing */
}

.scroll-btn {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.3s ease;
  color: #fff;
}

.scroll-btn:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.35);
}

/* commands grid */
.commands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 15px;
  width: 100%;
}

.command {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

.command:hover {
  transform: scale(1.08);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.1));
}

.command h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.command p {
  font-size: 0.9rem;
  color: #eee;
}

/* sidebar */
.sidebar {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 15px;
  padding: 20px;
  height: fit-content;
  backdrop-filter: blur(8px);
  color: #fff;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

#toggle-announcements {
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: none;
  cursor: pointer;
  width: 100%;
}

#toggle-announcements:hover {
  background: rgba(255, 255, 255, 0.25);
}

#announcements-wrapper {
  display: none;
  margin-top: 10px;
}

#announcements {
  list-style: none;
}

#announcements li {
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 15px;
  border-radius: 15px;
  font-size: 0.95rem;
  color: #fff;
  transition: all 0.3s ease;
  margin-bottom: 10px;
}

#announcements li:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.2);
}

/* Responsive design */
@media (max-width: 768px) {
  .cmds-container {
    width: 95%;
    margin: 30px auto;
  }
  
  .commands-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  
  .category-scroll {
    max-width: 85%;
  }
  
  .bot-title {
    font-size: 2rem;
  }
  
  .audio-player {
    top: 15px;
    right: 15px;
  }
  
  .home-btn {
    top: 15px;
    left: 15px;
  }
}

html, body {
  background-color: #000; /* keep it solid just in case the gradient fails */
  overflow-x: hidden;
  overscroll-behavior: none;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: inherit;
  z-index: -1;
}

* {
  background-clip: padding-box;
}

::-webkit-scrollbar {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #222;
}
.secondary-subtitle {
  opacity: 0.7;
  font-size: 0.9em;
  margin-top: -0.5em; /* negative moves it up closer */
}
/* Premium Button */
.premium-btn {
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  color: #000 !important;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.premium-btn:hover {
  background: linear-gradient(135deg, #ffdf33, #ff9e33);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: linear-gradient(180deg, #1a2a6c 0%, #000 100%);
  margin: 5% auto;
  padding: 30px;
  border-radius: 20px;
  width: 90%;
  max-width: 800px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
  from {opacity: 0; transform: translateY(-50px);}
  to {opacity: 1; transform: translateY(0);}
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 15px;
  right: 20px;
  cursor: pointer;
  transition: color 0.3s;
}

.close:hover,
.close:focus {
  color: #fff;
  text-decoration: none;
}

.modal-content h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Plans Container */
.plans-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.plan {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.plan:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.plan.featured {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 140, 0, 0.2));
  border: 1px solid rgba(255, 215, 0, 0.3);
  transform: scale(1.05);
}

.plan.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.plan h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #fff;
}

.plan .price {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffd700;
}

.plan.featured .price {
  color: #ff8c00;
}

.plan ul {
  list-style: none;
  margin-bottom: 25px;
  text-align: left;
}

.plan li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  padding-left: 25px;
}

.plan li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4CAF50;
  font-weight: bold;
}

.plan-btn {
  display: inline-block;
  padding: 12px 25px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.plan-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.featured-btn {
  background: linear-gradient(135deg, #ffd700, #ff8c00);
  color: #000;
  font-weight: 700;
}

.featured-btn:hover {
  background: linear-gradient(135deg, #ffdf33, #ff9e33);
}

/* Responsive design for modal */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    margin: 10% auto;
    padding: 20px;
  }
  
  .plans-container {
    grid-template-columns: 1fr;
  }
  
  .plan.featured {
    transform: none;
  }
  
  .plan.featured:hover {
    transform: translateY(-5px);
  }
}
