.navbar-settings {
    margin-left: 0.5rem;
  }

  .settings-icon {
    padding: 0.5rem;
    font-size: 1.1rem;
  }@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-orange: #ff8c42;
  --primary-orange-dark: #ff6b1a;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --background-light: #fafbfc;
  --background-gradient: linear-gradient(135deg, #fafbfc 0%, #f1f5f9 100%);
  --glass-bg: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(255, 255, 255, 0.2);
  --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--background-gradient);
  margin: 0;
  padding: 0;
  color: var(--text-primary);
  line-height: 1.6;
  transition: all 0.3s ease;
  overflow-x: hidden;
}

.trophy-hall {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 40px auto;
  height: 300px;
  padding: 40px 0;
}

/* Common path line styles */
.path-lines {
  position: absolute;
  left: 0;
  width: 100%;
  height: 6px;
  pointer-events: none;
  z-index: 0;
}

.path-lines.time-line {
  top: 40px;
}

.path-lines.coin-line {
  top: 130px;
}

.path-progress {
  stroke: #27ae60;
  stroke-width: 6;
  stroke-linecap: round;
  fill: none;
  transition: stroke-dashoffset 1s ease-in-out;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}

.path-base {
  stroke: #e74c3c;
  stroke-width: 6;
  stroke-linecap: round;
  fill: none;
}

/* Trophy Card */
.trophy {
  position: absolute;
  width: 80px;
  height: 80px;
  background: #fdf6f0;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  text-align: center;
  padding: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid #eee;
}

.dark-mode .trophy {
  background: rgba(51, 65, 85, 1) !important;
  color: white;
  border: inherit;
}

/* Trophy icon */
.trophy i {
  font-size: 1.8rem;
  margin-bottom: 0.2rem;
  pointer-events: none;
}

/* Top and bottom row placement */
.trophy.coin {
  top: 120px;
  transform: translateY(30%);
}

.trophy.time {
  top: 40px;
  transform: translateY(-50%);
}

/* ✅ Unlocked style */
.trophy.coin.unlocked {
  background: #e6f9ec;
  color: var(--text-primary);
  font-weight: 600;
  transform: translateY(30%);
  box-shadow: none;
  /* ✅ REMOVE THIS LINE ↓ */
  /* position: relative; */
  border: 1px solid #b8eac5;
}

.trophy.time.unlocked {
  background: #e6f9ec;
  color: var(--text-primary);
  font-weight: 600;
  transform: translateY(-50%);
  box-shadow: none;
  /* ✅ REMOVE THIS LINE ↓ */
  /* position: relative; */
  border: 1px solid #b8eac5;
}

/* ✅ Checkmark badge */
.trophy.unlocked::after {
  content: '✔';
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: 1rem;
  color: #2ecc71;
  background: #ffffff;
  border: 2px solid #2ecc71;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* Optional hover effect */
.trophy.coin:hover {
  transform: translateY(30%) scale(1.05);
  box-shadow: var(--shadow-hover);
}

.trophy.time:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow: var(--shadow-hover);
}

@media (max-width: 768px) {
  .trophy-hall {
    position: static;
    height: auto;
    max-width: 100%;
    padding: 20px 10px;
    margin: 0px !important;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .path-lines {
    display: none;
  }

  .trophy {
    position: relative; /* Needed for checkmark positioning */
    width: 70px;
    height: 70px;
    font-size: 0.8rem;
    padding: 6px;
    border-radius: 12px;
    transform: none !important; /* Remove previous transforms */
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    /* Reset any leftover absolute positioning */
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
  }

  .trophy i {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
  }

  .trophy.unlocked::after {
    content: '✔';
    position: absolute;
    top: 4px;
    right: 4px;
    font-size: 0.9rem;
    color: #2ecc71;
    background: #fff;
    border: 2px solid #2ecc71;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  }
}

.home-container {
  display: flex;
  justify-content: center;
}

.hero-section {
  text-align: center;
  padding: 4rem 2rem 2rem;
  position: relative;
}

.main-title {
  font-size: 4rem;
  font-weight: 800;
  margin: 0 0 1rem;
  background: linear-gradient(135deg, var(--text-primary) 0%, #475569 50%, var(--primary-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.05em;
  line-height: 1.1;
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  font-weight: 400;
  margin: 0;
  animation: fadeInUp 1s ease-out 0.2s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-bar {
  text-align: center;
  margin: 2rem 0;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.search-container {
  position: relative;
  display: inline-block;
  width: 70%;
  max-width: 500px;
}

.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  font-size: 1rem;
  transition: color 0.3s ease;
  z-index: 10;
}

.search-container input {
  padding: 18px 24px 18px 55px;
  font-size: 16px;
  font-weight: 500;
  width: 100%;
  border: 2px solid rgba(255, 140, 66, 0.1);
  border-radius: 20px;
  outline: none;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-soft);
  font-family: inherit;
  color: #334155;
  position: relative;
}

.search-container input:focus {
  border-color: var(--primary-orange);
  background: white;
  box-shadow: 0 0 0 4px rgba(255, 140, 66, 0.1), 0 12px 40px rgba(0, 0, 0, 0.15);
  transform: translateY(-3px);
}

.search-container input:focus + .search-icon {
  color: var(--primary-orange);
}

.search-container input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.filter-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  margin: 2rem auto;
  max-width: 700px;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  animation: fadeInUp 1s ease-out 0.6s both;
}

.filter-container select {
  appearance: none;
  padding: 16px 24px;
  font-size: 1rem;
  font-weight: 500;
  border: 2px solid rgba(255, 140, 66, 0.1);
  border-radius: 16px;
  color: #334155;
  width: 240px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  font-family: inherit;
  cursor: pointer;
}

.filter-container select:focus {
  border-color: var(--primary-orange);
  outline: none;
  background: white;
  box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.1), 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

#filterBtn {
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-dark) 100%);
  color: white;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 20px rgba(255, 140, 66, 0.25);
  font-family: inherit;
  letter-spacing: 0.025em;
  display: flex;
  align-items: center;
  gap: 8px;
}

#filterBtn:hover {
  background: linear-gradient(135deg, var(--primary-orange-dark) 0%, #e55a11 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(255, 140, 66, 0.35);
}

.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  animation: fadeInUp 1s ease-out 0.8s both;
}

.card-container p {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-top: 4rem;
  font-weight: 500;
  animation: fadeInUp 1s ease-out 1s both;
}

.item-card p {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-top: 4rem;
  font-weight: 500;
  animation: fadeInUp 1s ease-out 1s both;
}

.game-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
  animation: cardSlideIn 0.8s ease-out both;
}

@keyframes cardSlideIn {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary-orange) 0%, var(--primary-orange-dark) 100%);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  border-radius: 28px 28px 0 0;
}

.game-card:hover .card-glow {
  transform: scaleX(1);
}

.game-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: var(--shadow-hover), 0 0 40px rgba(255, 140, 66, 0.15);
  border-color: rgba(255, 140, 66, 0.2);
}

.game-image {
  max-width: 100%;
  height: 200px;
  margin-bottom: 2rem;
  border-radius: 20px;
  object-fit: cover;
  transition: all 0.4s ease;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.game-card:hover .game-image {
  transform: scale(1.05) rotateY(5deg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.game-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: inherit;
  letter-spacing: -0.025em;
}

.game-description {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.6;
  flex-grow: 1;
}

.game-link {
  background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-dark) 100%);
  color: white;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 20px rgba(255, 140, 66, 0.3);
  letter-spacing: 0.025em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.game-link:hover {
  background: linear-gradient(135deg, var(--primary-orange-dark) 0%, #e55a11 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 140, 66, 0.4);
}

.game-link i {
  transition: transform 0.3s ease;
}

.game-link:hover i {
  transform: translateX(4px);
}

.coin-balance {
  text-align: center;
  font-size: 1.6rem;
  font-weight: bold;
  color: var(--primary-orange);
  margin-bottom: 2rem;
}

#item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  animation: fadeInUp 1s ease-out 0.8s both;
}

.item-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
  animation: cardSlideIn 0.8s ease-out both;
  max-width: 418.66px;
}

.item-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary-orange), var(--primary-orange-dark));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  border-radius: 28px 28px 0 0;
}

.item-card:hover .item-glow {
  transform: scaleX(1);
}

.item-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-hover), 0 0 40px rgba(255, 140, 66, 0.15);
  border-color: rgba(255, 140, 66, 0.2);
}

.item-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
}

.item-card:hover .item-image {
  transform: scale(1.05) rotateY(4deg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.item-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.item-desc {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.6;
  flex-grow: 1;
}

.buy-button {
  background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-dark));
  color: white;
  padding: 12px 24px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255, 140, 66, 0.3);
  transition: all 0.3s ease;
}

.buy-button:hover {
  background: linear-gradient(135deg, var(--primary-orange-dark), #e55a11);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 140, 66, 0.4);
}

@keyframes cardSlideIn {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(30, 41, 59, 0.95);
  backdrop-filter: blur(20px);
  color: white;
  padding: 1.5rem 2rem;
  font-family: inherit;
  margin-bottom: 0;
  box-shadow: var(--shadow-soft);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  font-size: 1.8rem;
  color: var(--primary-orange);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.logo-text {
  font-weight: 700;
  font-size: 1.5rem;
  user-select: none;
  color: white;
  letter-spacing: -0.025em;
}

.navbar-links {
  display: flex;
  gap: 0.5rem;
}

.nav-btn {
  background: transparent;
  border: 2px solid transparent;
  color: #cbd5e1;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  border-radius: 14px;
  transition: all 0.3s ease;
  letter-spacing: 0.025em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-btn:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 140, 66, 0.3);
  transform: translateY(-2px);
}

.nav-btn.active {
  color: white;
  background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-dark) 100%);
  border-color: var(--primary-orange);
  box-shadow: 0 6px 20px rgba(255, 140, 66, 0.3);
}

.team-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  padding: 0 2rem 2rem;
  max-width: 1200px;
  margin: auto;
}

.team-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4rem; /* space between each section */
  padding: 2rem;
  margin: auto;
}

.team-section {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.counter-container {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

#visitor-count {
    color: #4CAF50;
    align-items: center;
    margin-left: 5px;
    font-weight: 600;
}

.countertext {
  font-weight: 600;
  margin: 0px !important;
}

.dark-mode .countertext {
  font-weight: 600;
  margin: 0px !important;
  color: var(--text-dark);
}

.team-member {
  width: 260px;
  height: 260px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  padding: 1rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.team-member::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-orange) 0%, var(--primary-orange-dark) 100%);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.team-member:hover::before {
  transform: scaleX(1);
}

.team-member:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-hover);
}

.team-member img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 3px solid rgba(255, 140, 66, 0.2);
  transition: all 0.3s ease;
}

.team-member:hover img {
  border-color: var(--primary-orange);
  transform: scale(1.1);
}

.team-member h3 {
  margin: 0.5rem 0 0.25rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.team-member p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.team-contact {
  margin-top: 3rem;
  padding: 3rem 2rem;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  text-align: center;
  box-shadow: var(--shadow-soft);
  border-radius: 24px;
  border: 1px solid var(--glass-border);
}

.team-contact h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}

.team-contact p {
  font-size: 1.1rem;
  margin: 0.5rem 0;
  color: var(--text-secondary);
  font-weight: 400;
}

.discord-button {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 14px 28px;
  background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.3);
  letter-spacing: 0.025em;
}

.discord-button:hover {
  background: linear-gradient(135deg, #4752c4 0%, #3c449c 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(88, 101, 242, 0.4);
}

.coming-soon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  padding: 2rem;
}

.coming-soon-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 4rem 3rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  max-width: 500px;
  animation: fadeInUp 1s ease-out;
}

.coming-soon-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 2rem;
  color: white;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

.coming-soon-card h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.coming-soon-card p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 140, 66, 0.2);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-orange), var(--primary-orange-dark));
  width: 65%;
  border-radius: 4px;
  animation: progressPulse 2s ease-in-out infinite;
}

@keyframes progressPulse {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

.progress-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.settings-container {
  position: absolute;
  top: 140px;
  right: 20px;
  z-index: 1000;
}

.settings-icon {
  font-size: 24px;
  cursor: pointer;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  color: var(--text-secondary);
}

.settings-icon:hover {
  background: rgba(255, 140, 66, 0.1);
  color: var(--primary-orange);
  transform: rotate(90deg);
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  opacity: 1;
  transition: all 0.3s ease;
}

.modal2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  opacity: 1;
  transition: all 0.3s ease;
}

.modal.hidden {
  display: none;
  opacity: 0;
}

.modal2.hidden {
  display: none;
  opacity: 0;
}

.modal-content {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  color: var(--text-primary);
  margin: 15px;
  padding: 2rem;
  border-radius: 20px;
  width: 90%;
  max-width: 420px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.6;
  border: 1px solid var(--glass-border);
}

.modal-content-2 {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  color: var(--text-primary);
  margin: 15px;
  padding: 2rem;
  border-radius: 20px;
  width: 90%;
  max-width: 420px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.6;
  border: 1px solid var(--glass-border);
}

.close-button {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  font-weight: 600;
  color: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.close-button-2 {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  font-weight: 600;
  color: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.close-button:hover {
  opacity: 1;
  transform: scale(1.1);
}

.close-button-2:hover {
  opacity: 1;
  transform: scale(1.1);
}

.switch-container {
  margin: 15px 0;
  line-height: 1.5;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 32px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #cbd5e1;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 32px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 24px;
  width: 24px;
  left: 4px;
  bottom: 4px;
  background: white;
  border-radius: 50%;
  transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.switch input:checked + .slider {
  background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-dark) 100%);
}

.switch input:checked + .slider:before {
  transform: translateX(28px);
}

.social-button-container {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}

.social-button {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 22px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-button:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.social-button.discord {
  background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
}

.social-button.android {
  background: linear-gradient(135deg, #3ddc84 0%, #2bb96f 100%);
}

.copyright-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 3rem 0 1rem;
  flex-wrap: wrap;
}

h5 {
  text-align: center;
  margin: 15px;
  font-weight: 400;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

body.dark-mode {
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --background-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  --glass-bg: rgba(51, 65, 85, 0.9);
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.2);
  --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.dark-mode .main-title {
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 50%, var(--primary-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dark-mode .search-container input {
  background: rgba(71, 85, 105, 0.8);
  color: #e2e8f0;
  border-color: rgba(255, 140, 66, 0.2);
}

.dark-mode .search-container input:focus {
  background: rgba(71, 85, 105, 0.95);
  border-color: var(--primary-orange);
}

.dark-mode .filter-container {
  background: rgba(51, 65, 85, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-mode .filter-container select {
  background: rgba(71, 85, 105, 0.8);
  color: #e2e8f0;
  border-color: rgba(255, 140, 66, 0.2);
}

.dark-mode .filter-container select:focus {
  background: rgba(71, 85, 105, 0.95);
  border-color: var(--primary-orange);
}

.dark-mode .settings-icon {
  background: rgba(51, 65, 85, 0.95);
}

.dark-mode .modal-content {
  background: rgba(51, 65, 85, 0.95);
  color: #e2e8f0;
  border-color: rgba(255, 255, 255, 0.1);
}

.confirm-buttons {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  justify-content: center;
}

.confirm-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

.alert-buttons {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.alert-btn.ok {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  background-color: #4CAF50;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

#custom-confirm-message {
  text-align: center;
}

#custom-alert-message {
  text-align: center;
}

.confirm-btn.yes {
  background-color: #4CAF50;
  color: white;
}

.confirm-btn.no {
  background-color: #f44336;
  color: white;
}

@media (max-width: 768px) {
  .main-title {
    font-size: 2.5rem;
  }

  .bot-container {
    padding: 1rem;
  }

  .bot-main {
    padding: 2rem 1.5rem;
  }

  .bot-main h2 {
    font-size: 2rem;
  }

  .feature-item {
    flex-direction: column;
    text-align: center;
  }

  .feature-icon {
    margin-bottom: 1rem;
  }

  .hero-section {
    padding: 2rem 1rem;
  }

  .search-container {
    width: 90%;
  }

  #item-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 1rem;
  width: 100%;
}

  .filter-container {
    flex-direction: column;
    align-items: stretch;
    margin: 2rem 1rem;
    padding: 1.5rem;
  }

  .filter-container select,
  #filterBtn {
    width: 100%;
  }

  .card-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1rem;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .navbar-links {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .nav-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .nav-btn span {
    display: none;
  }



  .team-container {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 0 1rem 2rem;
  }

  .team-contact {
    margin: 2rem 1rem;
    padding: 2rem 1.5rem;
  }

  .coming-soon-card {
    padding: 3rem 2rem;
    margin: 0 1rem;
  }

  .coming-soon-card h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .main-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .team-member {
    padding: 1.5rem;
  }

  .modal-content {
    padding: 1.5rem;
    margin: 10px;
  }
}

* {
  will-change: auto;
}

.game-card,
.team-member {
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.bot-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

.bot-main {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 3rem 2rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-soft);
}

.bot-avatar {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 3rem;
  color: white;
  box-shadow: 0 12px 40px rgba(255, 140, 66, 0.3);
}

.bot-main h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.bot-main p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.invite-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
  color: white;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 16px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.3);
}

.invite-button:hover {
  background: linear-gradient(135deg, #4752c4 0%, #3c449c 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(88, 101, 242, 0.4);
}

.features-list {
  display: grid;
  gap: 1.5rem;
}

.feature-item {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  text-align: left;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-orange-dark) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  flex-shrink: 0;
}

.feature-text h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.feature-text p {
  color: var(--text-secondary);
  margin: 0;
}

.click-hint {
  position: absolute;
  bottom: 15px;
  right: 15px;
  left: 15px;
  color: var(--primary-orange);
  font-size: 0.8rem;
  opacity: 0.7;
  font-weight: 500;
  animation: pulse 2s infinite;
  cursor: pointer;
}

@keyframes pulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.team-modal-content {
  max-width: 600px;
  width: 95%;
  animation: modalSlideIn 0.4s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.team-profile-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid rgba(255, 140, 66, 0.1);
}

.team-profile-header img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid var(--primary-orange);
  object-fit: cover;
}

.team-profile-info h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: var(--text-primary);
}

.team-profile-info p {
  font-size: 1.1rem;
  color: var(--primary-orange);
  font-weight: 600;
  margin: 0;
}

.profile-section {
  margin-bottom: 2rem;
  animation: sectionFadeIn 0.6s ease forwards;
  opacity: 0;
}

@keyframes sectionFadeIn {
  to { opacity: 1; }
}

.profile-section:nth-child(1) { animation-delay: 0.1s; }
.profile-section:nth-child(2) { animation-delay: 0.2s; }
.profile-section:nth-child(3) { animation-delay: 0.3s; }

.profile-section h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.profile-section h3 i {
  color: var(--primary-orange);
  width: 20px;
}

.profile-section p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.social-link.discord {
  background: linear-gradient(135deg, #5865f2, #4752c4);
  color: white;
}

.social-link.github {
  background: linear-gradient(135deg, #333, #24292e);
  color: white;
}

.social-link.project {
  background: linear-gradient(135deg, #52c57e, #3e9643);
  color: white;
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.project-tag {
  background: linear-gradient(135deg, var(--primary-orange), var(--primary-orange-dark));
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  animation: tagSlideIn 0.5s ease forwards;
  opacity: 0;
  transform: translateX(-20px);
}

@keyframes tagSlideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .bot-container {
    padding: 1rem;
  }

  .bot-main {
    padding: 2rem 1.5rem;
  }

  .bot-main h2 {
    font-size: 2rem;
  }

  .feature-item {
    flex-direction: column;
    text-align: center;
  }

  .feature-icon {
    margin-bottom: 1rem;
  }

  .team-profile-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .social-links {
    justify-content: center;
  }
}