@font-face {
  font-family: 'CustomFont';
  src: url('./font.OTF') format('opentype');
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'CustomFont', sans-serif;
  background: #0a0a0a;
  color: #ffffff;
  overflow-x: hidden;
  line-height: 1.6;
}

.background {
  position: fixed;
  width: 120%;
  height: 120%;
  top: -10%;
  left: -10%;
  z-index: -1;
  background-image: url('bg.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  filter: blur(1px) brightness(0.3);
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Tag Counter Card */
.tag-counter-card {
  max-width: 300px;
  margin: 0 auto 2rem auto;
  background: linear-gradient(135deg, rgba(248, 44, 71, 0.1), rgba(248, 44, 71, 0.05));
  border: 2px solid rgba(248, 44, 71, 0.3);
  border-radius: 20px;
  padding: 1.2rem 2rem;
  text-align: center;
  backdrop-filter: blur(15px);
  box-shadow: 
    0 8px 32px rgba(248, 44, 71, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.tag-counter-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f82c47, transparent);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.tag-counter-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: #f82c47;
  text-shadow: 0 0 20px rgba(248, 44, 71, 0.4);
  margin-bottom: 0.3rem;
  letter-spacing: 1px;
}

.tag-counter-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(248, 44, 71, 0.2);
  z-index: 1000;
}

.navbar {
  padding: 1rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  font-weight: bold;
  color: #f82c47;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu a:hover {
  color: #f82c47;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #f82c47;
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #f82c47;
  transition: 0.3s;
}

/* Invite Bot Header Button */
.invite-bot-header-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 0 15px rgba(255, 255, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  white-space: nowrap;
}

.invite-bot-header-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 
    0 0 25px rgba(255, 255, 255, 0.5),
    0 4px 15px rgba(255, 255, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.invite-bot-header-btn i {
  font-size: 1.1rem;
  color: #ffffff;
}

.invite-bot-header-btn:active {
  transform: translateY(-1px);
  box-shadow: 
    0 0 20px rgba(255, 255, 255, 0.4),
    0 2px 10px rgba(255, 255, 255, 0.15);
}

/* Main Container */
.container {
  min-height: 100vh;
  padding-top: 100px;
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-section h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: #f82c47;
  font-weight: 700;
  text-shadow: 0 0 20px rgba(248, 44, 71, 0.3);
}

.subtitle {
  font-size: 1.2rem;
  color: #cccccc;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Search Container */
.search-container {
  margin-bottom: 1.5rem;
}

/* Add Tag Container */
.add-tag-container {
  margin-bottom: 3rem;
  text-align: center;
}

.add-tag-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(145deg, #1a1a1a, #000000);
  color: #f82c47;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 4px 15px rgba(248, 44, 71, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 2px 4px rgba(0, 0, 0, 0.5);
  border: 2px solid #f82c47;
  position: relative;
  overflow: hidden;
}

.add-tag-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 
    0 8px 25px rgba(248, 44, 71, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 4px 8px rgba(0, 0, 0, 0.6);
  background: linear-gradient(145deg, #2a2a2a, #0a0a0a);
}

.add-tag-btn:active {
  transform: translateY(-2px) scale(0.98);
  box-shadow: 
    0 4px 15px rgba(248, 44, 71, 0.4),
    inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.search-box {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  filter: drop-shadow(0 10px 20px rgba(248, 44, 71, 0.2));
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search-input-container {
  position: relative;
  flex: 1;
}

.search-icon {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: #f82c47;
  font-size: 1rem;
  z-index: 2;
}

#searchBar {
  width: 100%;
  padding: 1.2rem 2rem 1.2rem 3.5rem;
  font-size: 1.1rem;
  border: 2px solid #f82c47;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  outline: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 
    0 4px 20px rgba(248, 44, 71, 0.1),
    inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

#searchBar:focus {
  box-shadow: 
    0 4px 20px rgba(248, 44, 71, 0.3),
    inset 0 2px 4px rgba(0, 0, 0, 0.2);
  background: rgba(0, 0, 0, 0.8);
  border-color: #ff4d6d;
}

#searchBar::placeholder {
  color: #888888;
  font-style: italic;
}

.search-btn {
  background: #f82c47;
  border: none;
  color: #ffffff;
  padding: 1.2rem 2rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(248, 44, 71, 0.4);
  white-space: nowrap;
}

.search-btn:hover {
  background: #d32f2f;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(248, 44, 71, 0.6);
}

.search-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(248, 44, 71, 0.5);
}

.search-info {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
  padding: 0 1rem;
}

.filters-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(145deg, rgba(248, 44, 71, 0.15), rgba(248, 44, 71, 0.05));
  border: 1px solid rgba(248, 44, 71, 0.3);
  color: #f82c47;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.9rem;
  box-shadow: 
    0 2px 8px rgba(248, 44, 71, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.filters-btn:hover {
  background: linear-gradient(145deg, rgba(248, 44, 71, 0.25), rgba(248, 44, 71, 0.15));
  border-color: #f82c47;
  transform: translateY(-2px);
  box-shadow: 
    0 4px 15px rgba(248, 44, 71, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.view-tag-btn {
  background: #000000;
  color: #f82c47;
  border: 1px solid #f82c47;
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex: 1;
  text-align: center;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(248, 44, 71, 0.4);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.view-tag-btn:hover {
  background: #1a1a1a;
  color: #f82c47;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(248, 44, 71, 0.6);
}

.view-tag-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(248, 44, 71, 0.1), transparent);
  transition: left 0.5s ease;
}

.view-tag-btn:hover::before {
  left: 100%;
}

.view-tag-btn i {
  margin-right: 0.3rem;
  font-size: 0.7rem;
}

.no-results-notice {
  background: rgba(248, 44, 71, 0.1);
  border: 1px solid rgba(248, 44, 71, 0.3);
  border-radius: 10px;
  padding: 1rem;
  margin-top: 1rem;
  text-align: center;
}

.no-results-notice p {
  color: #f82c47;
  margin: 0;
  font-size: 0.9rem;
}

.filters-panel {
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(248, 44, 71, 0.3);
  border-radius: 15px;
  padding: 2rem;
  margin-top: 2rem;
  backdrop-filter: blur(10px);
}

.filters-content h3 {
  color: #f82c47;
  margin-bottom: 1.5rem;
  text-align: center;
}

.filter-section {
  margin-bottom: 2rem;
}

.filter-section h4 {
  color: #f82c47;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-left: 0.5rem;
  border-left: 3px solid #f82c47;
}

.filter-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.language-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.filter-option {
  background: rgba(248, 44, 71, 0.1);
  border: 1px solid rgba(248, 44, 71, 0.3);
  color: #ffffff;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.filter-option:hover {
  background: rgba(248, 44, 71, 0.2);
  border-color: #f82c47;
}

.filter-option.active {
  background: #f82c47;
  color: #000000;
  border-color: #f82c47;
}

.filter-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.clear-filters-btn,
.apply-filters-btn {
  padding: 0.8rem 2rem;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.clear-filters-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.clear-filters-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.apply-filters-btn {
  background: #f82c47;
  color: #ffffff;
}

.apply-filters-btn:hover {
  background: #d32f2f;
  transform: translateY(-2px);
}

.apply-filters-btn:disabled {
  background: #666666;
  color: #999999;
  cursor: not-allowed;
}

.apply-filters-btn:disabled:hover {
  transform: none;
}

.filter-status {
  text-align: center;
  margin: 1rem 0;
  padding: 0.8rem;
  border-radius: 10px;
  background: rgba(248, 44, 71, 0.1);
  border: 1px solid rgba(248, 44, 71, 0.3);
}

.filter-status.no-results {
  background: rgba(255, 87, 34, 0.1);
  border-color: rgba(255, 87, 34, 0.3);
  color: #ff5722;
}

.filter-status.has-results {
  background: rgba(76, 175, 80, 0.1);
  border-color: rgba(76, 175, 80, 0.3);
  color: #4caf50;
}

/* Filtering popup styles */
#filteringPopup {
  animation: slideInFromRight 0.3s ease-out;
  background: #0d0d0d !important;
  border: 2px solid #f82c47 !important;
  color: #f82c47 !important;
}

@keyframes slideInFromRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Mobile responsive popup */
@media (max-width: 768px) {
  #filteringPopup {
    bottom: 10px !important;
    right: 10px !important;
    left: 10px !important;
    max-width: none !important;
    font-size: 12px !important;
  }
}

/* Stats Section */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.stat {
  text-align: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 15px;
  border: 1px solid rgba(248, 44, 71, 0.2);
  backdrop-filter: blur(10px);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  color: #f82c47;
}

.stat-label {
  color: #cccccc;
  font-size: 0.9rem;
}

/* Results Section */
.results-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.results-header h2 {
  color: #f82c47;
  font-size: 2rem;
}

.filter-options {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(248, 44, 71, 0.3);
  color: #ffffff;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: #f82c47;
  color: #000000;
}

.results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.tag-card {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(248, 44, 71, 0.3);
  border-radius: 15px;
  padding: 1.2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.tag-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f82c47, transparent);
  transition: left 0.5s ease;
}

.tag-card:hover::before {
  left: 100%;
}

.tag-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(248, 44, 71, 0.2);
  border-color: #f82c47;
}

.tag-card img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  align-self: flex-start;
}

.tag-card h3 {
  color: #f82c47;
  margin: 0;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
}

.tag-card .tag-info {
  color: #cccccc;
  font-size: 0.85rem;
  line-height: 1.4;
}

.tag-card .tag-info div {
  margin-bottom: 0.3rem;
}

.tag-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: auto;
    align-items: stretch;
}

.join-btn {
  background: #f82c47;
  color: #ffffff;
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  flex: 1;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  box-shadow: 0 4px 15px rgba(248, 44, 71, 0.4);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.join-btn:hover {
  background: #d32f2f;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(248, 44, 71, 0.6);
}

.join-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.join-btn:hover::before {
  left: 100%;
}

.copy-link-btn {
  background: transparent;
  color: #dc3545;
  border: 1px solid #dc3545;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  box-shadow: 0 0 10px rgba(220, 53, 69, 0.2);
}

.copy-link-btn:hover {
  background: #dc3545;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 0 15px rgba(220, 53, 69, 0.4);
}

.tag-card.no-icon {
  padding: 1rem;
}

.tag-card.no-icon h3 {
  font-size: 1.3rem;
}

/* Copy popup styles */
.copy-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(248, 44, 71, 0.95);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  z-index: 10000;
  animation: copyPopup 2s ease-in-out forwards;
  box-shadow: 0 4px 20px rgba(248, 44, 71, 0.3);
}

@keyframes copyPopup {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }
  10%, 90% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }
}

/* Copy link button styles */
.copy-link-btn {
  background: transparent;
  color: #dc3545;
  border: 1px solid #dc3545;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  box-shadow: 0 0 10px rgba(220, 53, 69, 0.2);
}

.copy-link-btn:hover {
  background: #dc3545;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 0 15px rgba(220, 53, 69, 0.4);
}

.copy-link-btn i {
  margin-right: 0.3rem;
  font-size: 0.7rem;
}

/* Adjust tag card layout for no-icon case */
.tag-card.no-icon {
  min-height: auto;
  padding: 1rem;
}

.tag-card.no-icon h3 {
  margin-top: 0;
}

.no-results {
  text-align: center;
  padding: 4rem 2rem;
  color: #cccccc;
}

.no-results i {
  font-size: 4rem;
  margin-bottom: 1rem;
  color: #f82c47;
}

.no-results h3 {
  margin-bottom: 1rem;
  color: #ffffff;
}

/* Footer */
.footer {
  background: rgba(0, 0, 0, 0.9);
  border-top: 1px solid rgba(248, 44, 71, 0.2);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 0 2rem;
}

.footer-section h4 {
  color: #f82c47;
  margin-bottom: 1rem;
}

.footer-section p {
  color: #cccccc;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #f82c47;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: rgba(248, 44, 71, 0.1);
  border: 1px solid rgba(248, 44, 71, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f82c47;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #f82c47;
  color: #000000;
}

.disclaimer {
  color: #888888;
  font-size: 0.8rem;
  margin-top: 1rem;
  line-height: 1.4;
}

.footer-bottom {
  text-align: center;
  padding: 1rem 2rem;
  border-top: 1px solid rgba(248, 44, 71, 0.2);
  margin-top: 2rem;
  color: #cccccc;
}

/* Pagination Styles */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.pagination-btn {
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(248, 44, 71, 0.3);
color: #ffffff;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  min-width: 40px;
}

.pagination-btn:hover {
  background: rgba(248, 44, 71, 0.2);
  border-color: #f82c47;
}

.pagination-btn.active {
  background: #f82c47;
  color: #000000;
  border-color: #f82c47;
}

.pagination-ellipsis {
  color: #cccccc;
  padding: 0.5rem;
}

/* Ripple Effect */
.ripple {
  position: relative;
  overflow: hidden;
}

.ripple::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(248, 44, 71, 0.6) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  pointer-events: none;
  z-index: 0;
}

.ripple:active::before {
  width: 300px;
  height: 300px;
}

.ripple > * {
  position: relative;
  z-index: 1;
}

/* Floating Particles */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #f82c47;
  border-radius: 50%;
  opacity: 0.8;
  box-shadow: 0 0 10px #f82c47;
  animation: float 8s infinite linear;
}

.particle:nth-child(2n) {
  width: 6px;
  height: 6px;
  animation-duration: 12s;
  animation-delay: -2s;
}

.particle:nth-child(3n) {
  width: 3px;
  height: 3px;
  animation-duration: 10s;
  animation-delay: -4s;
}

.particle:nth-child(4n) {
  width: 5px;
  height: 5px;
  animation-duration: 15s;
  animation-delay: -6s;
}

@keyframes float {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

/* Enhanced 3D effects for cards */
.tag-card {
  background: linear-gradient(145deg, rgba(20, 20, 20, 0.8), rgba(0, 0, 0, 0.6));
  border: 1px solid rgba(248, 44, 71, 0.3);
  border-radius: 15px;
  padding: 1.2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.tag-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f82c47, transparent);
  transition: left 0.5s ease;
}

.tag-card:hover::before {
  left: 100%;
}

.tag-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 15px 40px rgba(248, 44, 71, 0.2),
    0 5px 15px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: #f82c47;
  background: linear-gradient(145deg, rgba(30, 30, 30, 0.9), rgba(10, 10, 10, 0.7));
}

/* 3D Pagination buttons */
.pagination-btn {
  padding: 0.5rem 1rem;
  background: linear-gradient(145deg, rgba(20, 20, 20, 0.8), rgba(0, 0, 0, 0.6));
  border: 1px solid rgba(248, 44, 71, 0.3);
  color: #ffffff;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.9rem;
  min-width: 40px;
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.pagination-btn:hover {
  background: linear-gradient(145deg, rgba(248, 44, 71, 0.2), rgba(248, 44, 71, 0.1));
  border-color: #f82c47;
  transform: translateY(-2px);
  box-shadow: 
    0 4px 15px rgba(248, 44, 71, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.pagination-btn.active {
  background: linear-gradient(145deg, #f82c47, #d32f2f);
  color: #000000;
  border-color: #f82c47;
  box-shadow: 
    0 4px 15px rgba(248, 44, 71, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Enhanced filter buttons */
.filter-option {
  background: linear-gradient(145deg, rgba(248, 44, 71, 0.15), rgba(248, 44, 71, 0.05));
  border: 1px solid rgba(248, 44, 71, 0.3);
  color: #ffffff;
  padding: 0.8rem 1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.9rem;
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.filter-option:hover {
  background: linear-gradient(145deg, rgba(248, 44, 71, 0.25), rgba(248, 44, 71, 0.15));
  border-color: #f82c47;
  transform: translateY(-2px);
  box-shadow: 
    0 4px 15px rgba(248, 44, 71, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.filter-option.active {
  background: linear-gradient(145deg, #f82c47, #d32f2f);
  color: #000000;
  border-color: #f82c47;
  box-shadow: 
    0 4px 15px rgba(248, 44, 71, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .invite-bot-header-btn {
    display: none;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(248, 44, 71, 0.2);
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }

  .nav-menu.show {
    display: flex;
  }

  .nav-menu li {
    margin: 0;
    padding: 0.5rem 2rem;
    border-bottom: 1px solid rgba(248, 44, 71, 0.1);
  }

  .nav-menu li:last-child {
    border-bottom: none;
  }

  .nav-menu a {
    display: block;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
  }

  .nav-menu a:hover {
    color: #f82c47;
    transform: translateX(5px);
  }

  .nav-menu.show::after {
    content: '';
    display: block;
    margin: 1rem 2rem 0.5rem;
    border-top: 1px solid rgba(248, 44, 71, 0.2);
  }

  .nav-menu.show::before {
    content: '';
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0.5rem 2rem 0;
    padding: 0.8rem 1rem;
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 
      0 0 15px rgba(255, 255, 255, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    gap: 0.5rem;
    order: -1;
    position: relative;
  }

  .nav-menu.show::before {
    content: '🤖 INVITE BOT';
  }

  .nav-container {
    position: relative;
  }

  .hero-section h1 {
    font-size: 2.5rem;
  }

  .search-box {
    flex-direction: column;
    gap: 1rem;
  }

  .search-btn {
    width: 100%;
    padding: 1rem 2rem;
  }

  .search-btn:hover {
    transform: none;
    box-shadow: 
      0 4px 15px rgba(248, 44, 71, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }

  .search-btn:active {
    transform: none;
    box-shadow: 
      0 2px 10px rgba(248, 44, 71, 0.5),
      inset 0 2px 4px rgba(0, 0, 0, 0.2);
  }

  .search-info {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .filter-options-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .language-filter-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .filter-actions {
    flex-direction: column;
  }

  .filters-panel {
    margin-top: 1rem;
    padding: 1.5rem;
  }

  .filter-section h4 {
    font-size: 1rem;
  }

  .filter-option {
    padding: 0.6rem 0.8rem;
    font-size: 0.8rem;
  }

  .results-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .results {
    grid-template-columns: 1fr;
  }

  .pagination {
    gap: 0.25rem;
  }

  .pagination-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    min-width: 35px;
  }

  /* Mobile particle adjustments */
  .particle {
    width: 3px;
    height: 3px;
    animation-duration: 6s;
  }

  .particle:nth-child(2n) {
    width: 4px;
    height: 4px;
    animation-duration: 8s;
  }

  .particle:nth-child(3n) {
    width: 2px;
    height: 2px;
    animation-duration: 7s;
  }

  /* Enhanced mobile button effects */
  .tag-card:hover {
    transform: translateY(-4px) scale(1.01);
  }

  .add-tag-btn:hover {
    transform: translateY(-2px) scale(1.01);
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 2rem 1rem;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .container {
    padding-top: 80px;
  }
}

/* Typing Animation */
@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.typing-cursor::after {
  content: '|';
  animation: blink 1s infinite;
  color: #f82c47;
}

/* Tag Detail Page Styles */
.tag-detail-page {
  padding-top: 120px;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a {
  color: #f82c47;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: #ffffff;
}

.breadcrumb i {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
}

.tag-detail-hero {
  margin-bottom: 3rem;
}

.tag-detail-card {
  background: linear-gradient(145deg, rgba(20, 20, 20, 0.9), rgba(0, 0, 0, 0.7));
  border: 1px solid rgba(248, 44, 71, 0.3);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(15px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.tag-detail-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #f82c47, transparent);
  animation: shimmer 3s ease-in-out infinite;
}

.tag-visual-section {
  position: relative;
}

.server-icon-wrapper {
  position: relative;
  width: 280px;
  height: 280px;
  flex-shrink: 0;
}

/* Override inline styles and make responsive */
.tag-detail-card .server-icon-wrapper {
  width: 280px !important;
  height: 280px !important;
}

.server-icon {
  width: 100%;
  height: 100%;
  border-radius: 25px;
  object-fit: cover;
  object-position: center;
  border: 4px solid #f82c47;
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(248, 44, 71, 0.3);
}

/* Golden border only for featured server section */
.featured-server-section .server-icon {
  border: 2px solid #ffd700;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

/* Tag detail page server icon - normal red border */
.tag-detail-card .server-icon {
  border: 4px solid #f82c47;
  box-shadow: 
    0 8px 25px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(248, 44, 71, 0.3);
}

.tag-overlay {
  position: absolute;
  bottom: -10px;
  right: -10px;
  background: linear-gradient(135deg, #f82c47, #d32f2f);
  padding: 0.5rem 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(248, 44, 71, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.tag-text {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.tag-info-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.tag-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tag-name {
  font-size: 3rem;
  font-weight: 800;
  color: #f82c47;
  margin: 0;
  text-shadow: 0 0 20px rgba(248, 44, 71, 0.4);
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.tag-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(248, 44, 71, 0.3));
}

.tag-type-badge {
  background: linear-gradient(135deg, rgba(248, 44, 71, 0.2), rgba(248, 44, 71, 0.05));
  color: #f82c47;
  padding: 0.3rem 0.8rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border: 1px solid rgba(248, 44, 71, 0.3);
  display: inline-block;
  box-shadow: 
    0 2px 8px rgba(248, 44, 71, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}



.server-info {
  margin-bottom: 1rem;
}

.server-name {
  font-size: 1.5rem;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
  font-weight: 600;
  background: linear-gradient(135deg, rgba(248, 44, 71, 0.2), rgba(248, 44, 71, 0.05));
  border: 1px solid rgba(248, 44, 71, 0.3);
  border-radius: 12px;
  padding: 0.5rem 1rem;
  text-shadow: 0 0 15px rgba(248, 44, 71, 0.4);
  box-shadow: 
    0 4px 15px rgba(248, 44, 71, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.server-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.stat-item i {
  color: #f82c47;
  font-size: 1rem;
}

.tag-actions-main {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.primary-join-btn {
  background: linear-gradient(135deg, #f82c47, #d32f2f);
  color: #ffffff;
  padding: 1rem 2rem;
  border-radius: 15px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 6px 20px rgba(248, 44, 71, 0.4);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.primary-join-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(248, 44, 71, 0.6);
}

.primary-join-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.primary-join-btn:hover::before {
  left: 100%;
}

.copy-tag-btn,
.copy-link-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 1rem 1.5rem;
  border: 1px solid rgba(248, 44, 71, 0.3);
  border-radius: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s ease;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.copy-tag-btn:hover,
.copy-link-btn:hover {
  background: rgba(248, 44, 71, 0.2);
  border-color: #f82c47;
  transform: translateY(-2px);
}

.usage-instructions {
  margin-bottom: 3rem;
}

.instruction-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(248, 44, 71, 0.2);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.instruction-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.instruction-header i {
  color: #f82c47;
  font-size: 1.5rem;
}

.instructionheader h3 {
  color: #ffffff;
  font-size: 1.5rem;
  margin: 0;
}

.instruction-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-number {
  background: linear-gradient(135deg, #f82c47, #d32f2f);
  color: #ffffff;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(248, 44, 71, 0.3);
}

.step-content h4 {
  color: #ffffff;
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
}

.step-content p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.5;
}

.related-tags {
  margin-bottom: 3rem;
}

.related-tags h3 {
  color: #f82c47;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.related-tags-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.mini-tag-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(248, 44, 71, 0.2);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.mini-tag-card:hover {
  transform: translateY(-3px);
  border-color: #f82c47;
  box-shadow: 0 5px 15px rgba(248, 44, 71, 0.2);
}

.mini-tag {
  color: #f82c47;
  font-weight: 700;
  font-size: 1.2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.mini-tag-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.mini-tag-link:hover {
  color: #f82c47;
}

.back-to-browse {
  text-align: center;
  margin-bottom: 3rem;
}

.back-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 1rem 2rem;
  border: 1px solid rgba(248, 44, 71, 0.3);
  border-radius: 15px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.back-btn:hover {
  background: rgba(248, 44, 71, 0.2);
  border-color: #f82c47;
  transform: translateY(-2px);
}

/* Copy popup for tag pages */
.copy-popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, rgba(248, 44, 71, 0.95), rgba(211, 47, 47, 0.95));
  color: #ffffff;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 10000;
  box-shadow: 
    0 8px 25px rgba(248, 44, 71, 0.4),
    0 0 20px rgba(248, 44, 71, 0.2);
  border: 1px solid rgba(248, 44, 71, 0.6);
  backdrop-filter: blur(10px);
  animation: notification-slide-in 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 140px;
  text-align: center;
}

@keyframes notification-slide-in {
  0% {
    opacity: 0;
    transform: translateX(100%) scale(0.8);
  }
  20% {
    opacity: 1;
    transform: translateX(0) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Mobile responsive for tag detail pages */
@media (max-width: 768px) {
  .tag-detail-page {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 100px;
  }

  .tag-detail-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    padding: 2rem;
  }

  .server-icon-wrapper,
  .tag-detail-card .server-icon-wrapper {
    width: 200px !important;
    height: 200px !important;
    margin: 0 auto;
  }

  .tag-name {
    font-size: 2.5rem;
    justify-content: center;
  }

  .tag-icon {
    width: 36px;
    height: 36px;
  }

  .tag-type-badge {
    font-size: 0.5rem;
    padding: 0.15rem 0.4rem;
  }

  .tag-header {
    align-items: center;
  }

  .server-stats {
    justify-content: center;
  }

  .tag-actions-main {
    justify-content: center;
  }

  .instruction-steps {
    gap: 1rem;
  }

  .step {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }

  .related-tags-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }

  .primary-join-btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  .copy-tag-btn,
  .copy-link-btn {
    padding: 0.8rem 1.2rem;
    flex: 1;
  }
}

@media (max-width: 480px) {
  .tag-detail-card .server-icon-wrapper {
    width: 150px !important;
    height: 150px !important;
  }
}

/* Add Tag Page Styles */
.add-tag-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.add-tag-content {
  max-width: 800px;
  text-align: center;
  background: rgba(0, 0, 0, 0.8);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid rgba(248, 44, 71, 0.3);
  backdrop-filter: blur(10px);
}

.add-tag-content h1 {
  font-size: 3rem;
  color: #f82c47;
  margin-bottom: 1rem;
  text-shadow: 0 0 20px rgba(248, 44, 71, 0.3);
}

.add-tag-description {
  font-size: 1.2rem;
  color: #cccccc;
  margin-bottom: 3rem;
}

.bot-invitation {
  margin-bottom: 3rem;
}

.bot-invitation h2 {
  color: #ffffff;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.invite-bot-btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: #000000;
  color: #f82c47;
  padding: 1rem 2.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  border: 2px solid #f82c47;
}

.invite-bot-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(248, 44, 71, 0.4);
  background: rgba(0, 0, 0, 0.8);
}

.bot-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.features-section {
  margin-bottom: 3rem;
}

.features-section h3 {
  color: #f82c47;
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(248, 44, 71, 0.1);
  padding: 1rem;
  border-radius: 15px;
  border: 1px solid rgba(248, 44, 71, 0.2);
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(248, 44, 71, 0.2);
  transform: translateY(-2px);
}

.feature-item i {
  color: #f82c47;
  font-size: 1.5rem;
  min-width: 24px;
}

.feature-item span {
  color: #ffffff;
  font-weight: 500;
}

.support-section {
  padding-top: 2rem;
  border-top: 1px solid rgba(248, 44, 71, 0.2);
}

.support-btn {
    background: #0e0d0d;
    color: #f82c47;
    border: 2px solid #f82c47;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    box-shadow: 0 0 10px rgba(248, 44, 71, 0.3);
}

.support-btn:hover {
    background: #f82c47;
    color: #0e0d0d;
    box-shadow: 0 0 20px rgba(248, 44, 71, 0.6);
}

@media (max-width: 768px) {
  .add-tag-content {
    padding: 2rem;
  }

  .add-tag-content h1 {
    font-size: 2.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .invite-bot-btn {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
  }
}

.tag-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    /* Updated the tag actions to organize buttons */
    justify-content: space-between;
}

.copy-link-btn {
  background: transparent;
  color: #dc3545;
  border: 1px solid #dc3545;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  box-shadow: 0 0 10px rgba(220, 53, 69, 0.2);
}

.copy-link-btn:hover {
  background: #dc3545;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 0 15px rgba(220, 53, 69, 0.4);
}

.copy-link-btn i {
  margin-right: 0.3rem;
  font-size: 0.7rem;
}

.copy-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #43b581;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    z-index: 1000;
    animation: fadeInOut 2s ease-in-out;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    20% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    80% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
}

.tag-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.2s, background-color 0.2s;
}

.tag-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
}

.tag-card.no-icon {
    padding: 12px 16px;
}

.tag-card.no-icon .tag-info {
    gap: 0;
}

/* Additions and adjustments for particles, spacing, and filter button */

/* Increase background particles and add glow */
.particle {
  position: absolute;
  width: 5px; /* Slightly larger particles */
  height: 5px;
  background: #f82c47;
  border-radius: 50%;
  opacity: 0.9; /* Increased opacity */
  box-shadow: 0 0 15px #f82c47; /* Stronger glow effect */
  animation: float 8s infinite linear;
}

/* Increase particle density */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 150%; /* Extend particles below the visible area */
  pointer-events: none;
  z-index: -1;
}

/* Reduce spacing in hero section */
.hero-section {
  text-align: center;
  padding: 3rem 2rem; /* Reduced padding */
  max-width: 1200px;
  margin: 0 auto;
}

.subtitle {
  font-size: 1.2rem;
  color: #cccccc;
  margin-bottom: 2rem; /* Reduced margin */
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Center filters button and reduce top margin */
.search-info {
  display: flex;
  justify-content: center; /* Center the content horizontally */
  align-items: center;
  margin-top: 0.5rem; /* Reduced top margin */
  padding: 0 1rem;
}

/* Increase the number of particles */
.particle:nth-child(5n) {
  width: 4px;
  height: 4px;
  animation-duration: 11s;
  animation-delay: -5s;
}

.particle:nth-child(6n) {
  width: 7px;
  height: 7px;
  animation-duration: 14s;
  animation-delay: -7s;
}

.particle:nth-child(7n) {
  width: 2px;
  height: 2px;
  animation-duration: 9s;
  animation-delay: -3s;
}

.particle:nth-child(8n) {
  width: 6px;
  height: 6px;
  animation-duration: 13s;
  animation-delay: -8s;
}

/* Performance optimizations */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Featured Support Server Section */
.featured-server-section {
  max-width: 1200px;
  margin: 0 auto 3rem auto;
  padding: 0 2rem;
}

.featured-server-card {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.05));
  border: 2px solid rgba(255, 215, 0, 0.4);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(15px);
  box-shadow: 
    0 10px 40px rgba(255, 215, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.featured-server-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ffd700, transparent);
  animation: shimmer 4s ease-in-out infinite;
}

.featured-server-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.server-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
}

.server-icon-wrapper {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 15px;
  background: transparent;
  padding: 0;
  box-shadow: 
    0 4px 15px rgba(248, 44, 71, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.server-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  filter: none;
  border: 2px solid #ffd700;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.golden-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  border-radius: 20px;
}

.golden-particles::before,
.golden-particles::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background: #ffd700;
  border-radius: 50%;
  box-shadow: 0 0 10px #ffd700;
  animation: goldenFloat 3s infinite ease-in-out;
}

.golden-particles::before {
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}

.golden-particles::after {
  top: 60%;
  right: 20%;
  animation-delay: 1.5s;
}

@keyframes goldenFloat {
  0%, 100% {
    transform: translateY(0px) scale(0.8);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-15px) scale(1.2);
    opacity: 1;
  }
}

.server-details h3 {
  font-size: 1.8rem;
  color: #ffd700;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
  font-weight: 700;
}

.server-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.4;
  max-width: 400px;
}

.server-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-width: 160px;
}

.join-server-btn,
.add-bot-btn,
.feature-server-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.join-server-btn {
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  color: #000000;
  border: 2px solid #ffd700;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.join-server-btn:hover {
  background: linear-gradient(135deg, #ffed4e, #ffd700);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.add-bot-btn {
  background: rgba(255, 215, 0, 0.1);
  color: #ffd700;
  border: 2px solid rgba(255, 215, 0, 0.4);
}

.add-bot-btn:hover {
  background: rgba(255, 215, 0, 0.2);
  border-color: #ffd700;
  transform: translateY(-2px);
}

.feature-server-btn {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.feature-server-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

/* Mobile responsive for featured server */
@media (max-width: 768px) {
  .featured-server-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .server-info {
    flex-direction: column;
    text-align: center;
  }

  .server-icon-wrapper {
    width: 45px;
    height: 45px;
    padding: 0;
  }

  .server-details h3 {
    font-size: 1.4rem;
  }

  .server-description {
    font-size: 0.85rem;
    max-width: 100%;
  }

  .server-actions {
    width: 100%;
    flex-direction: column;
    gap: 0.6rem;
  }

  .join-server-btn,
  .add-bot-btn,
  .feature-server-btn {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    border-radius: 8px;
  }

  .featured-server-card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .featured-server-card {
    padding: 1rem;
    margin: 0 1rem 2rem 1rem;
  }

  .server-details h3 {
    font-size: 1.2rem;
  }

  .server-description {
    font-size: 0.8rem;
  }

  .join-server-btn,
  .add-bot-btn,
  .feature-server-btn {
    padding: 0.5rem 0.8rem;
    font-size: 0.75rem;
  }

  .server-icon-wrapper {
    width: 40px;
    height: 40px;
    padding: 0;
  }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .particle {
    display: none;
  }

  .golden-particles::before,
  .golden-particles::after {
    animation: none;
  }
}

/* GPU acceleration for key elements */
.search-btn,
.tag-card,
.pagination-btn,
.filter-option {
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Enhanced Add Tag Page Styles */
.add-tag-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.add-tag-content {
    width: 100%;
    max-width: 1000px;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 25px;
    border: 1px solid rgba(248, 44, 71, 0.3);
    backdrop-filter: blur(15px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(248, 44, 71, 0.1);
    overflow: hidden;
    position: relative;
}

.add-tag-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #f82c47, transparent);
    animation: shimmer 3s ease-in-out infinite;
}

.page-header {
    text-align: center;
    padding: 3rem 2rem 2rem;
    background: linear-gradient(135deg, rgba(248, 44, 71, 0.1), rgba(248, 44, 71, 0.05));
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: #f82c47;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(248, 44, 71, 0.4);
    font-weight: 700;
}

.add-tag-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.main-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.bot-invitation-card,
.features-section-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(248, 44, 71, 0.2);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.bot-invitation-card:hover,
.features-section-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(248, 44, 71, 0.2);
    border-color: rgba(248, 44, 71, 0.4);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}
.card-header<i> {
    color: #f82c47;
    font-size: 1.5rem;
}

.card-header h2,
.card-header h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin: 0;
}

.card-description {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.invite-bot-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #f82c47, #d32f2f);
    color: #ffffff;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(248, 44, 71, 0.3);
}

.invite-bot-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(248, 44, 71, 0.4);
    background: linear-gradient(135deg, #d32f2f, #f82c47);
}

.bot-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.features-grid {
    display: grid;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(248, 44, 71, 0.05);
    border: 1px solid rgba(248, 44, 71, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(248, 44, 71, 0.1);
    border-color: rgba(248, 44, 71, 0.3);
    transform: translateX(5px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f82c47, #d32f2f);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    color: #ffffff;
    font-size: 1.2rem;
}

.feature-content h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.feature-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.4;
}

.bottom-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2rem;
    border-top: 1px solid rgba(248, 44, 71, 0.2);
    background: rgba(0, 0, 0, 0.3);
}

.support-section {
    text-align: center;
}

.support-section h3 {
    color: #f82c47;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.support-section p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.quick-stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #f82c47;
    text-shadow: 0 0 10px rgba(248, 44, 71, 0.3);
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile responsive for add-tag page */
@media (max-width: 768px) {
    .add-tag-page {
        padding: 1rem;
        min-height: auto;
    }

    .add-tag-content {
        max-width: 100%;
        margin: 0;
    }

    .main-content-grid,
    .bottom-actions {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .page-header {
        padding: 2rem 1rem 1.5rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .add-tag-description {
        font-size: 1rem;
    }

    .bot-invitation-card,
    .features-section-card {
        padding: 1.5rem;
    }

    .card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .card-header h2,
    .card-header h3 {
        font-size: 1.3rem;
    }

    .invite-bot-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .features-grid {
        gap: 1rem;
    }

    .feature-item {
        padding: 0.8rem;
    }

    .feature-icon {
        width: 35px;
        height: 35px;
    }

    .feature-content h4 {
        font-size: 1rem;
    }

    .feature-content p {
        font-size: 0.85rem;
    }

    .quick-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .bottom-actions {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .add-tag-page {
        padding: 0.5rem;
    }

    .page-header {
        padding: 1.5rem 1rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .main-content-grid,
    .bottom-actions {
        padding: 1rem;
    }

    .bot-invitation-card,
    .features-section-card {
        padding: 1rem;
    }
}

.support-btn {
    background: #0e0d0d;
    color: #f82c47;
    border: 2px solid #f82c47;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    box-shadow: 0 0 10px rgba(248, 44, 71, 0.3);
}

.support-btn:hover {
    background: #f82c47;
    color: #0e0d0d;
    box-shadow: 0 0 20px rgba(248, 44, 71, 0.6);
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.pagination-button {
    padding: 8px 16px;
    margin: 0 5px;
    border: 1px solid #f82c47;
    background: transparent;
    color: #f82c47;
    cursor: pointer;
    transition: all 0.3s;
}

.pagination-button:hover {
    background: #f82c47;
    color: #0e0d0d;
}

.pagination-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Fixed the image issue */
.add-tag-content img {
    max-width: 100%; /* Make images responsive */
    height: auto;
}

/* Added some new css to make image better */
.bot-invitation img {
        max-width: 100%;
        height: auto;
}

/* Styles for the new "View Tag" button */
.view-tag-button {
  border: #f82c47;
  color: #f82c47;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  font-size: 12px;
  transition: background-color 0.3s;
  background: black;
}

.view-tag-button:hover {
  background-color: #367C39; /* Darker green on hover */
}

/* Style adjustments for tag actions */
.tag-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between; /* Keep existing spacing */
}

/* Add some spacing around buttons */
.join-btn,
.view-tag-button,
.copy-link-btn {
    margin: 4px;
}

/* Tag actions need flex grow so it uses all available space */
.tag-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1; /* Add flex-grow */
}
/* Restyling tag actions */
.tag-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-start; /* Align items to the start */
}

/* Style adjustments for tag actions to fit buttons */
.tag-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between; /* Distribute space evenly */
    flex-wrap: wrap;          /* Allow buttons to wrap */
}

.join-btn,
.view-tag-button,
.copy-link-btn {
    flex: 1 1 auto;          /* Allow buttons to grow and shrink */
    text-align: center;      /* Center text */
    margin: 2px;           /* Add small margin */
}

/* Restyling tag actions */
.tag-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-start; /* Align items to the start */
}

/* Style adjustments for tag actions to fit buttons */
.tag-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between; /* Distribute space evenly */
    flex-wrap: wrap;          /* Allow buttons to wrap */
}

.join-btn,
.view-tag-button,
.copy-link-btn {
    flex: 1 1 auto;          /* Allow buttons to grow and shrink */
    text-align: center;      /* Center text */
    margin: 2px;           /* Add small margin */
}

.tag-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-start; /* Align items to the start */
}

/* Style adjustments for tag actions to fit buttons */
.tag-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between; /* Distribute space evenly */
    flex-wrap: wrap;          /* Allow buttons to wrap */
}

.join-btn,
.view-tag-button,
.copy-link-btn {
    flex: 1 1 auto;          /* Allow buttons to grow and shrink */
    text-align: center;      /* Center text */
    margin: 2px;           /* Add small margin */
}

/* New CSS for the view tag button */
.view-tag-btn {
  background: #4CAF50;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  font-size: 12px;
  transition: background-color 0.3s;
}

.view-tag-btn:hover {
  background-color: #367C39;
}

.tag-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Add CSS for the View Tag button */
.view-tag-btn {
  background: #4CAF50;
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  font-size: 12px;
  transition: background-color 0.3s;
}

.view-tag-btn:hover {
  background-color: #367C39;
}

/* New CSS for the view tag button */
.view-tag-button {
    background: #4CAF50; /* Green color */
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-size: 12px;
    transition: background-color 0.3s;
}

.view-tag-button:hover {
    background-color: #367C39; /* Darker green on hover */
}

/* Style adjustments for tag actions */
.tag-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between; /* Keep existing spacing */
}

/* Add some spacing around buttons */
.join-btn,
.view-tag-button,
.copy-link-btn {
    margin: 4px;
}

.view-tag-button {
    background: #4CAF50;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-size: 12px;
    transition: background-color 0.3s;
}

.view-tag-button:hover {
    background-color: #367C39;
}

/* Added style for view tag */
.view-tag-button {
    background: #4CAF50;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-size: 12px;
    transition: background-color 0.3s;
}

.view-tag-button:hover {
    background-color: #367C39;
}

/* Styles for the new "View Tag" button */
.view-tag-button {
    background: #4CAF50; /* Green color */
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    font-size: 12px;
    transition: background-color 0.3s;
}

.view-tag-button:hover {
    background-color: #367C39; /* Darker green on hover */
}

/* Style adjustments for tag actions */
.tag-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between; /* Keep existing spacing */
}

/* Add some spacing around buttons */
.join-btn,
.view-tag-button,
.copy-link-btn {
    margin: 4px;
}

/* Update tag actions layout for 2-button setup */
.tag-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: space-between;
}

/* Style for the Tag Info button */
.tag-info-btn {
  background: linear-gradient(145deg, rgba(20, 20, 20, 0.8), rgba(0, 0, 0, 0.6));
  color: #f82c47;
  border: 2px solid #f82c47;
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex: 1;
  text-align: center;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 
    0 4px 15px rgba(248, 44, 71, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.tag-info-btn:hover {
  background: linear-gradient(145deg, rgba(30, 30, 30, 0.9), rgba(10, 10, 10, 0.7));
  color: #f82c47;
  transform: translateY(-3px);
  box-shadow: 
    0 8px 25px rgba(248, 44, 71, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: #ff4d6d;
}

.tag-info-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(248, 44, 71, 0.2), transparent);
  transition: left 0.5s ease;
}

.tag-info-btn:hover::before {
  left: 100%;
}

.tag-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Ensure buttons take up the full width */
.join-btn,
.tag-info-btn,
.copy-link-btn {
    width: 100%;
    text-align: center;
}