/* Header & Title Box */
header {
  text-align: center;
  padding-top: 1%;
}

.title-box {
  display: inline-block;
  background: transparent;
  padding: 30px 5px;
  border-radius: 20px;
  text-align: center;
  margin-bottom: 1%;
  transition: all 0.3s ease;
}

.title-box h1 {
  margin-top: 10%;
  font-size: 3.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #c41e3a 0%, #d4af37 50%, #165b33 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-shadow: 0 0 60px rgba(255, 255, 255, 0.3);
}

.title-box .subtitle {
  margin: 0px 0 0;
  font-size: 1.2rem;
  color: rgba(209, 213, 219, 0.85);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.section-title {
  color: var(--text-light);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 25px;
  text-align: center;
  background: linear-gradient(135deg, #c41e3a 0%, #d4af37 50%, #165b33 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation */
.top-nav {
  position: fixed;
  top: 20px;
  left: 20px;
  display: flex;
  gap: 15px;
  z-index: 998;
}

/* Layout Containers */
.top-section{
  min-height: 100vh;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.search-container {
  width: 100%;
  max-width: 700px;
  margin: 0 auto 40px;
  padding: 0 20px;
  position: relative;
}

.search-container-inline {
  width: 97.5%;
  max-width: 1400px;
  margin: 0% 0% 40px;
  position: relative;
}

.grid {
  gap: 25px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 0px;
}

.regular-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

/* Footer & Contact */
footer {
  margin-top: 60px;
  padding: 40px 20px;
  text-align: center;
}

footer h2 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

footer .faq-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

footer .faq-item {
  margin-bottom: 20px;
}

footer .faq-question {
  color: white;
  font-weight: 500;
  margin-bottom: 5px;
}

footer .faq-answer {
  color: rgb(209, 213, 219);
}

.contact-footer {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.contact-footer p {
  color: var(--text-secondary);
  margin: 10px 0;
  font-size: 0.95rem;
}

.contact-footer a {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-footer a:hover {
  color: #a78bfa;
  text-decoration: underline;
}

.copyright {
  font-size: 0.85rem;
  opacity: 0.7;
}

.no-results {
  text-align: center;
  padding: 30px;
  color: var(--text-secondary);
  grid-column: 1 / -1;
}

/* Discord Button */
.discord-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 5;
  padding: 0;
  transition: transform 0.2s ease;
}

.discord-button img {
  width: 50px;
  height: 50px;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.discord-button:hover img {
  opacity: 1;
  transform: scale(1.1);
}

.mobile-menu-button {
  display: none;
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  background: rgba(241, 233, 255, 0.3);
  border: 2px solid var(--blue-light);
  border-radius: 12px;
  color: var(--blue-light);
  font-size: 1.5rem;
  padding: 5px 10px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.mobile-menu-button:hover {
  background: rgba(242, 235, 255, 0.3);;
  transform: translateY(-2px);
}

.mobile-menu-button:active {
  transform: translateY(0);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -110%;
  width: 100%;
  height: 100vh;
  backdrop-filter: blur(20px);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 5px 0 40px rgba(237, 244, 255, 0.2);
  overflow: hidden;
}

.mobile-menu.active {
  left: 0;
}

.mobile-menu-header {
  text-align: center;
  margin-top: 0;
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease 0.2s;
}

.mobile-menu.active .mobile-menu-header {
  opacity: 1;
  transform: translateX(0);
}

.mobile-menu-title {
  font-size: 2rem;
  font-weight: bold;
  background: linear-gradient(135deg, #c41e3a 0%, #d4af37 50%, #165b33 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.mobile-menu-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease 0.4s;
}

.mobile-menu.active .mobile-menu-nav {
  opacity: 1;
  transform: translateX(0);
}

.mobile-menu-nav li {
  margin: 2rem 0;
}

.mobile-menu a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 0.2rem 0.5rem;
  border-radius: 10px;
  position: relative;
  display: inline-block;
}

.mobile-menu a:hover {
  background: rgba(255, 254, 255, 0.3);
  transform: translateY(-2px);
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  left: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1600;
  padding: 10px;
  border-radius: 50%;
  transition: all 0.3s ease;
  opacity: 0;
  transform: rotate(0deg) scale(0.8);
}

.mobile-menu.active .mobile-menu-close {
  opacity: 1;
  transform: rotate(0deg) scale(1);
  transition-delay: 0.3s;
}

.mobile-menu-footer {
  position: absolute;
  bottom: 20px;
  text-align: center;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease 0.5s;
}

.mobile-menu.active .mobile-menu-footer {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu-footer p {
  color: #9aa6b2;
  font-size: 0.85rem;
  margin: 0;
  opacity: 0.7;
}

