body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: linear-gradient(135deg, #e0e7ff 0%, #f0fdfa 100%);
  color: #222;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 75vh;
  padding: 24px 8px 0 8px;
}
.logo-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 32px;
  animation: fadeInDown 1s;
}
.logo-title img {
  width: 80px;
  height: 80px;
  margin-bottom: 12px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}
.logo-title img:hover {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.logo-title h1 {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: 2px;
  margin: 0;
  color: #6f55ff;
  transition: transform 0.3s ease, text-shadow 0.3s ease;
  cursor: pointer;
  user-select: none;
}
.logo-title h1:hover {
  transform: scale(1.05);
  text-shadow: 0 2px 10px rgba(111, 85, 255, 0.3);
}
.logo-title h1 .pro-badge {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.5em;
  font-weight: 700;
  line-height: 1.5;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #4f8cff);
  border-radius: 8px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(124, 58, 237, 0.2);
  transition: all 0.3s ease;
  margin-left: 4px;
}
.search-box {
  position: relative;
  width: 100%;
  max-width: 600px;
  display: flex;
  align-items: center;
  margin-bottom: 28px;
  border-radius: 50px;
  padding: 2px;
  background: linear-gradient(-12deg, #6f55ff, #47fcff);
  box-shadow: 0 4px 20px rgba(111, 85, 255, 0.25);
  animation: fadeIn 1.2s;
}
.search-box-inner {
  display: flex;
  align-items: center;
  width: 100%;
  background-color: #fff;
  border-radius: 48px;
  padding: 4px;
}
.search-box input {
  flex: 1;
  padding: 12px 20px;
  font-size: 1.1rem;
  border: none;
  border-radius: 48px;
  outline: none;
  background: transparent;
  color: #000000;
}
.search-box input::placeholder {
  color: #9ca3af;
}
.search-box input:focus {
}
.search-buttons {
  display: flex;
  align-items: center;
}
.search-btn {
  padding: 10px 16px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s, transform 0.2s;
  gap: 6px;
  font-size: 1rem;
  font-weight: 600;
}
.doc-btn {
  color: #3b82f6; /* Blue */
}
.pan-btn {
  color: #8b5cf6; /* Violet */
}
.music-btn {
  color: #ff4c01; /* Violet */
}
.pdf-btn {
  color: #08192d; /* Violet */
}
.search-btn:hover {
  /* opacity: 0.7; */
  transform: scale(1.05);
}
.separator {
  color: #d1d5db; /* Gray */
  margin: 0 4px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 900px;
  margin: 0 auto 18px auto;
  animation: fadeInUp 1.4s;
  text-decoration: none;
}
.tag {
    background: #fff;
    color: #6f55ff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.88rem;
    margin: 0;
    box-shadow: 0 1px 4px rgba(124, 58, 237, 0.06);
    cursor: pointer;
    transition: box-shadow 0.18s, transform 0.18s, background 0.18s;
    user-select: none;
    white-space: nowrap;
    text-decoration: none;
}

.tag:hover {
  background: linear-gradient(90deg, #4f8cff 0%, #7c3aed 100%);
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(124,58,237,0.13);
  transform: translateY(-2px) scale(1.08);
}


.tag_a {
  background: #fff;
  color: #6f55ff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.88rem;
  margin: 0;
  box-shadow: 0 1px 4px rgba(124, 58, 237, 0.06);
  cursor: pointer;
  transition: box-shadow 0.18s, transform 0.18s, background 0.18s;
  user-select: none;
  white-space: nowrap;
}

.tag_a:hover {
  background: linear-gradient(90deg, #4f8cff 0%, #7c3aed 100%);
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(124,58,237,0.13);
  transform: translateY(-2px) scale(1.08);
}

.tag-secondary {
  color: #6b7280;
  background: #f3f4f6;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}
.tag-secondary:hover {
  color: #1f2937;
  background: #e5e7eb;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.friend-links {
  text-align: center;
  padding: 10px 0 5px 0;
  color: #8a76ff;
  font-size: 0.95rem;
}

.friend-links span {
  margin-right: 5px;
}

.friend-links a {
  color: #8a76ff;
  text-decoration: none;
  margin: 0 5px;
}

.friend-links a:hover {
  text-decoration: none;
}

.footer {
  text-align: center;
  color: #8a76ff8a;
  font-size: 0.95rem;
  padding: 6px 0 16px 0;
  letter-spacing: 1px;
  background: none;
}
@media (max-width: 600px) {
  .container {
    justify-content: flex-start;
    padding-top: 15vh;
  }
  .logo-title {
    margin-top: 0;
  }
  .logo-title img {
    width: 60px;
    height: 60px;
    user-select: none;
  }
  .logo-title h1 {
    font-size: 1.2rem;
  }
  .logo-title h1 .pro-badge {
  margin-left: 2px;
  border-radius: 4px;
  }
  .search-box {
    max-width: 95%;
  }
  .search-box-inner {
    padding: 2px;
  }
  .search-box input {
    font-size: 1rem;
    padding: 10px 15px;
  }
  .search-box button {
    padding: 8px;
    font-size: 0.8rem;
    font-weight: 500;
  }
  .tags {
    gap: 8px;
    max-width: 95%;
    flex-wrap: wrap;
    overflow-y: auto;
    justify-content: center;
    max-height: 45vh;
    padding: 5px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .tags::-webkit-scrollbar {
    display: none;
  }
  .tag {
    font-size: 0.88rem;
    padding: 4px 10px;
    border-radius: 16px;
  }
  .footer {
    font-size: 0.85rem;
    padding: 0px 0 8px 0;
    max-width: 90%;
        margin-left: 5%;
  }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
} 