:root {
  --primary-color: #9412ff;
  --secondary-color: #a29bfe;
  --accent-color: #fd79a8;
  --background-color: #1a1a2e;
  --card-bg: #252a41;
  --card-bg1:rgb(23, 26, 40)1;
  --card-hover-bg: #303650;
  --text-primary: #ffffff;
  --text-secondary: #b8b8d0;
  --mythical-color: #FFBF05;
  --eternal-color: #5D9BFC;
  --secret-color: #ff3131;

  --epic-color: #E454FC;
  --rare-color: #FF7199;
  --uncommon-color: #24F025;
  --legendary-color: #0CE6F2;
  --common-color: #F6F6F6;

  --ultimate-color: linear-gradient(
    to right, 
    #ff4d4d, /* Czerwony/Różowy */
    #ffac4d, /* Pomarańczowy */
    #ffff4d, /* Żółty */
    #4dff4d, /* Zielony */
    #4dffff, /* Cyjan */
    #4d4dff, /* Niebieski */
    #ac4dff  /* Fioletowy/Purpurowy */
  );

  --border-color: #373a57;
  --footer-bg: #16162e;
  --value-coolr: #FDC80F;
  --supreme-color: #ff7875;
  --exc-color: #ec44e8;
  --deska-color: #ffb04b;

  --owner-color: #ffea31;
  --admin-color: #ff2c2c;
  --media-color: #685eff;
  --mod-color: #2eafff;
  --helper-color: #22ff2d;
  --value-helper-color: #ffbb3c;

  --discord-blue: #525ee3;
  --discord-blue-hover: #6976ff;
  

  --Golden: #F7DC17;
  --Toxic: #77F527;
  --Shiny: #FBFFFF;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: var(--background-color);
  color: var(--text-primary);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}


.discord-content {
  max-width: 500px;
}

.discord-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1rem;
  margin-bottom: 3rem;
}

.discord-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.discord-icon {
  font-size: 3rem;
  color: var(--discord-blue);
}

.discord-title {
  font-size: 3rem;
  font-weight: bold;
  color: var(--text-primary);
}

.discord-description {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 36rem;
  font-size: 1.125rem;
}

.discord-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--discord-blue);
  color: white;
  font-weight: bold;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.discord-button:hover {
  background-color: var(--discord-blue-hover);
  transform: scale(1.05);
}


header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.logo h1 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 5px;
  text-shadow: 0 0 10px rgba(138, 112, 255, 0.3);
}

.logo p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.search-container {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

#searchInput {
  padding: 10px 15px;
  border: 1px solid var(--border-color);
  border-radius: 25px;
  outline: none;
  font-size: 1rem;
  width: 250px;
  transition: all 0.3s ease;
  background-color: #1e213a;
  color: var(--text-primary);
}

#searchInput:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(138, 112, 255, 0.2);
}

#searchButton {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 800;
  transition: all 0.3s ease;
}

#searchButton:hover {
  background-color: #7560e0;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(138, 112, 255, 0.3);
}

nav {
  margin-bottom: 30px;
}


.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
}

#categoryTabs {
  display: flex;
  list-style: none;
  gap: 15px;
  overflow-x: auto;
  padding-bottom: 5px;
}

#categoryTabs li {
  padding: 8px 20px;
  cursor: pointer;
  border-radius: 20px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

#categoryTabs li:hover {
  background-color: rgba(138, 112, 255, 0.1);
  transform: translateY(-2px);
}

#categoryTabs li.active {
  background-color: var(--primary-color);
  color: white;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(138, 112, 255, 0.3);
}

.filter-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sort-filter {
  background-color: #1e213a;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 8px 15px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
  min-width: 140px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 10px;
  padding-right: 30px;
}

.sort-filter:hover, .sort-filter:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(138, 112, 255, 0.2);
}

.sort-filter option {
  background-color: #1e213a;
  color: var(--text-primary);
}


.pets-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.pet-card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  transform: translateY(0);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pet-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  background: var(--card-hover-bg);
  border-color: var(--footer-bg);
}

.pet-image {
  width: 100%;
  height: 160px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.pet-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-25deg);
  transition: all 0.7s ease;
}

.pet-card:hover .pet-image::before {
  animation: shine 1.5s;
}

@keyframes shine {
  100% {
    left: 125%;
  }
}

.pet-info {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.pet-name {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--text-primary);
}

.pet-category {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.75rem;
  border-radius: 12px;
  margin-bottom: 8px;
  font-weight: 500;
  align-self: flex-start;
}

.ultimate {
  background-image: linear-gradient(
    to right, 
    #ff4d4d77,
    #ffac4d72,
    #ffff4d78,
    #4dff4d78,
    #4dffff77,
    #4d4dff7b,
    #ac4dff71
  );

  color: white;
  font-weight: 1000; 
  display: inline-block; 
}

.epic {
  background-color: color-mix(in srgb, var(--epic-color) 20%, transparent); 
  font-weight: 1000;
  color: var(--epic-color);
}

.rare {
  background-color:  color-mix(in srgb, var(--rare-color) 20%, transparent); 
  font-weight: 1000;
  color: var(--rare-color);
}

.uncommon {
  background-color:  color-mix(in srgb, var(--uncommon-color) 20%, transparent); ;
  font-weight: 1000;
  color: var(--uncommon-color);
}

.legendary {
  background-color:  color-mix(in srgb, var(--legendary-color) 20%, transparent); 
  font-weight: 1000;
  color: var(--legendary-color);
}

.common {
  background-color:  color-mix(in srgb, var(--common-color) 20%, transparent); 
  font-weight: 1000;
  color: var(--common-color);
}

.mythical {
  background-color: rgba(255, 153, 0, 0.15);
  font-weight: 1000;
  color: var(--mythical-color);
}

.eternal {
  background-color: #5d9afc51;
  font-weight: 1000;
  color: var(--eternal-color);
}

.secret {
  background-color: rgba(253, 65, 65, 0.15);
  font-weight: 1000;
  color: var(--secret-color);
}

.supreme {
  background-color: #ff777532;
  font-weight: 1000;
  color: var(--supreme-color);
}

.exclusive {
  background-color: #ec44e942;
  font-weight: 1000;
  color: var(--exc-color);
}

.aura {
  background-color: #b8b8d044;
  font-weight: 1000;
  color: var(--text-secondary);
}

.hoverboard {
  background-color: #ffb14b44;
  font-weight: 1000;
  color: var(--deska-color);
}


.pet-value {
  display: flex;
  align-items: center;
  gap: 4px; 
  font-weight: 900;
  color: var(--value-coolr);
}

.token-icon {
  height: 16px;
  margin-bottom: 2px;
}

.stat-value.value {
  color: var(--value-coolr);
  display: flex;
  align-items: center;
  gap: 4px; 
}

.stat-value.Toxic {
  color: var(--value-coolr);
  display: flex;
  align-items: center;
  gap: 4px; 
}

.stat-value.Golden {
  color: var(--value-coolr);
  display: flex;
  align-items: center;
  gap: 4px;
}

.stat-value.Shiny {
  color: var(--value-coolr);
  display: flex;
  align-items: center;
  gap: 4px; 
}

.stat-value.rarity {
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.stat-label.Shiny {
  font-weight: 600;
  color: var(--Shiny);
}

.stat-label.Toxic {
  font-weight: 600;
  color: var(--Toxic);
}

.stat-label.Golden {
  font-weight: 600;
  color: var(--Golden);
}

.stat-label.Value {
  font-weight: 600;
  color: var(--value-coolr);
}

.stat-label.rarity {
  font-weight: 600;
  color: var(--text-secondary);
}


.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 25px;
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  animation: scaleIn 0.3s ease-out;

  /* Ukrycie scrollbara */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE and Edge */
}
.modal-content::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.close-button {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-button:hover {
  color: var(--text-primary);
}

.pet-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pet-detail-image {
  width: 100%;
  max-width: 250px;
  height: 250px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.pet-detail-info h2 {
  text-align: center;
  margin-bottom: 15px;
  color: var(--text-primary);
  font-weight: 700;
}

.pet-detail-stats {
  width: 100%;
  margin-top: 20px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
}

.stat-label {
  font-weight: 500;
  color: var(--text-secondary);
}

.stat-value {
  font-weight: 600;
  color: var(--text-primary);
}

.media-section {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  margin: 40px 0;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.media-section h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
  font-size: 1.8rem;
}

.media-section p {
  color: var(--text-secondary);
  margin-bottom: 30px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.videos-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.video-card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.video-thumbnail {
  position: relative;
  height: 180px;
  background-color: #000;
  overflow: hidden;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.video-card:hover .video-thumbnail img {
  opacity: 0.7;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.play-button:hover {
  background-color: var(--primary-color);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
  padding: 15px;
}

.video-info h3 {
  color: var(--text-primary);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.video-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
  text-align: left;
}

.video-thumbnail.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.05);
}

.coming-soon {
  background-color: var(--primary-color);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 500;
}

.video-modal-content {
  max-width: 800px;
  padding: 0;
  background-color: #000;
  overflow: hidden;
}

#videoPlayer {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

#videoPlayer iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}


.about-section {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  margin: 40px 0;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.about-section h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
  font-size: 1.8rem;
}

.about-section p {
  color: var(--text-secondary);
  margin-bottom: 30px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.feature {
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.feature h3 {
  color: var(--text-primary);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.feature p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0;
}

footer {
  background-color: var(--footer-bg);
  padding: 40px 20px 20px;
  margin-top: 40px;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-about h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.footer-about p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(138, 112, 255, 0.3);
}

.footer-links h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer-links ul li a:hover {
  color: var(--primary-color);
}

.footer-links ul li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.footer-links ul li a:hover::after {
  width: 100%;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.footer-bottom p {
  color: var(--text-secondary);
  font-size: 0.8rem;
  margin-bottom: 5px;
}

.loading {
  width: 100%;
  text-align: center;
  padding: 30px;
  grid-column: 1 / -1;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.loading::after {
  content: '';
  width: 50px;
  height: 50px;
  border: 3px solid var(--border-color);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s linear infinite;
}

.credits-section {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 30px;
  margin: 40px 0;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.credits-section h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
  font-size: 1.8rem;
}

.credits-section p {
  color: var(--text-secondary);
  margin-bottom: 30px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.team-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
}

.team-category {
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  padding: 20px;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.team-category h3 {
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 15px;
  font-size: 1.3rem;
  position: relative;
  padding-bottom: 10px;
}

.team-category h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

.team-members {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.team-member {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
  position: relative;
}

.team-member::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  border-radius: 1px;
  transition: width 0.3s ease;
}

.team-member:hover {
  transform: translateY(-2px);
}

.team-member:hover::after {
  width: 100%;
}

.avatar-container {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.1);
  position: relative;
  border: 2px solid rgba(255, 255, 255, 0.1);
}
.avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.05);
}

.avatar-placeholder::after {
  content: '';
  width: 16px;
  height: 16px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.avatar-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member.owner .avatar-container {
  border-color: var(--owner-color);
  box-shadow: 0 0 5px rgba(255, 153, 0, 0.5);
}

.team-member.admin .avatar-container {
  border-color: var(--admin-color);
  box-shadow: 0 0 5px rgba(255, 49, 49, 0.5);
}

.team-member.mediacreators .avatar-container {
  border-color: var(--media-color);
  box-shadow: 0 0 5px #695eff86;
}

.team-member.mod .avatar-container {
  border-color: var(--mod-color);
  box-shadow: 0 0 5px rgba(93, 155, 252, 0.5);
}

.team-member.helper .avatar-container {
  border-color: var(--helper-color);
  box-shadow: 0 0 5px rgba(119, 245, 39, 0.5);
}

.team-member.value-helper .avatar-container {
  border-color: var(--value-helper-color);
  box-shadow: 0 0 5px #ffbb3c82;
}

.team-member.owner {
  color: var(--owner-color);
}

.team-member.owner::after {
  background-color: var(--owner-color);
}

.team-member.admin {
  color: var(--admin-color);
}

.team-member.admin::after {
  background-color: var(--admin-color);
}

.team-member.mediacreators {
  color: var(--media-color);
}

.team-member.mediacreators::after {
  background-color: var(--media-color);
}

.team-member.mod {
  color: var(--mod-color);
}

.team-member.mod::after {
  background-color: var(--mod-color);
}

.team-member.helper {
  color: var(--helper-color);
}

.team-member.helper::after {
  background-color: var(--helper-color);
}

.team-member.value-helper {
  color: var(--value-helper-color);
}

.team-member.value-helper::after {
  background-color: var(--value-helper-color);
}

.avatar-loading {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .search-container {
    width: 100%;
    margin-top: 20px;
  }
  
  #searchInput {
    width: 100%;
  }
  
  .pets-container {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
  }

  .pet-name {
    font-size: 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .team-categories {
    grid-template-columns: 1fr;
  }
}

  
.nav-container {
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

#categoryTabs {
  width: 100%;
}

.filter-container {
  width: 100%;
}

.sort-filter {
  width: 100%;
  background-position: right 10px center;
}


@media (max-width: 480px) {
  .pets-container {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
  }
  
  .pet-card {
    width: 100%;
    margin: 0;
  }
  
  .pet-image {
    height: 140px;
  }
  
  .pet-info {
    padding: 10px;
  }
  
  .pet-name {
    font-size: 0.9rem;
  }
  
  .pet-category {
    font-size: 0.7rem;
    padding: 3px 8px;
  }
  
  .search-container {
    flex-direction: column;
  }
  
  #searchButton {
    width: 100%;
    margin-top: 10px;
  }

  .about-section {
    padding: 20px 15px;
  }

  .features {
    gap: 20px;
  }
  
  .sort-filter {
    font-size: 0.8rem;
    padding: 6px 12px;
    background-position: right 8px center;
  }
}

.team-category {
  padding: 15px 10px;
}

.team-member {
  font-size: 0.9rem;
  padding: 4px 8px;
}

.avatar-container {
  width: 24px;
  height: 24px;
}

