/* Bottom Tab Menu Styles */
.bottom-tab-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: calc(60px + var(--sab));
  padding-bottom: var(--sab);
  background-color: rgba(30, 30, 30, 0.95);
  backdrop-filter: blur(12px);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 2000;
  box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.4);
  border-top: 1px solid rgba(231, 76, 60, 0.3);
}

/* Tab Items */
.bottom-tab-item {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
  position: relative;
  color: rgba(255, 255, 255, 0.6);
}
.bottom-tab-item:hover {
  color: rgba(255, 255, 255, 0.85);
  transform: translateY(-2px);
}
.bottom-tab-item.active {
  color: var(--accent-color);
}

/* Icon Container */
.bottom-tab-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2px;
}

/* Tab Icons */
.tab-icon {
  width: 20px;
  height: 20px;
  filter: brightness(0) saturate(100%) invert(60%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0.8) contrast(1);
  transition: filter 0.2s ease;
}

.bottom-tab-item:hover .tab-icon {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0.85) contrast(1);
}

.bottom-tab-item.active .tab-icon {
  filter: brightness(0) saturate(100%) invert(48%) sepia(79%) saturate(2476%) hue-rotate(346deg) brightness(118%) contrast(119%);
}

/* Labels */
.bottom-tab-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
}

/* Tab Content */
.bottom-tab-content {
  display: none;
  width: 100%;
  animation: fadeIn 0.3s ease;
  margin-bottom: calc(70px + var(--sab));
  height: calc(100vh - 70px - var(--sab));
  padding-top: var(--sat);
  overflow-y: hidden;
}
.bottom-tab-content.active {
  display: block;
}

/* Home Tab Content Specific Styles */
.home-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.home-content-wrapper .menu-container {
  width: 90%;
  margin: 0 auto;
  padding: 25px 20px;
  background-color: rgba(30, 30, 30, 0.8);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  flex-shrink: 0;
}

/* Rankings Tab Content Styles */
.rankings-content.active {
  display: flex;
  flex-direction: column;
}

.rankings-content .leaderboard-container {
  flex: 1;
  min-height: 0;
  height: 100%;
}

/* Placeholder */
.placeholder-message {
  text-align: center;
  padding: 42px 22px;
  background-color: rgba(30, 30, 30, 0.6);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.4;
  margin: 20px 0;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
