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

body {
  font-family: 'Inter', sans-serif;
  background: #0a0a0a;
  color: #ffffff;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, #1a1a1a 0%, #0a0a0a 100%);
  z-index: -2;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(1px 1px at 45px 23px, rgba(255,255,255,0.9), transparent),
    radial-gradient(2px 2px at 180px 67px, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 320px 45px, rgba(255,255,255,0.8), transparent),
    radial-gradient(1px 1px at 120px 150px, rgba(255,255,255,0.6), transparent);
  background-repeat: repeat;
  background-size: 400px 200px;
  animation: stars 20s linear infinite;
  z-index: -1;
}

@keyframes stars {
  from { transform: translateY(0px); }
  to { transform: translateY(-200px); }
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

.profile-card {
  background: rgba(20, 20, 20, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  max-width: 400px;
  width: 100%;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.profile-header {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.2);
  object-fit: cover;
}

.profile-info {
  flex: 1;
}

.profile-username {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #ffffff;
}

.profile-badges {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.badge {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.status-badges {
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #747f8d;
}

.status-dot.online { background: #3ba55d; }
.status-dot.idle { background: #faa81a; }
.status-dot.dnd { background: #ed4245; }
.status-dot.offline { background: #747f8d; }

.custom-status {
  font-size: 12px;
  color: #b9bbbe;
}

.profile-description {
  font-size: 14px;
  color: #b9bbbe;
  line-height: 1.4;
  margin-top: 8px;
}

.discord-badges {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
}

.discord-badge {
  width: 18px;
  height: 18px;
  border-radius: 3px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.discord-badge:hover {
  transform: scale(1.1);
  transition: transform 0.2s ease;
}

.tabs-container {
  margin-bottom: 20px;
}

.tabs {
  display: flex;
  width: 100%;
  background: rgba(40, 40, 40, 0.8);
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
  position: relative;
}

.tab-indicator {
  position: absolute;
  background: rgba(60, 60, 60, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 1;
}

.tab {
  background: none;
  border: none;
  color: #888888;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
  border-radius: 8px;
  position: relative;
  z-index: 2;
  flex: 1;
  text-align: center;
}

.tab:hover {
  color: #cccccc;
}

.tab.active {
  color: #ffffff;
}

.tab-content {
  min-height: auto;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.spotify-content {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px;
  transition: background 0.2s ease;
}

.spotify-content:hover {
  background: rgba(255, 255, 255, 0.08);
}

.spotify-track {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.track-artwork {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.track-info {
  flex: 1;
  min-width: 0;
}

.track-info h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-info p {
  font-size: 14px;
  color: #b9bbbe;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.no-activity {
  color: #747f8d;
  font-style: italic;
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.links-content,
.cheetos-content {
  max-height: 300px;
  overflow-y: auto;
  padding-right: 8px;
  /* Firefox scrollbar styling */
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) rgba(255, 255, 255, 0.05);
}

/* Remove all webkit scrollbar elements first */
.links-content::-webkit-scrollbar-button,
.links-content::-webkit-scrollbar-track-piece,
.links-content::-webkit-scrollbar-corner,
.links-content::-webkit-resizer,
.cheetos-content::-webkit-scrollbar-button,
.cheetos-content::-webkit-scrollbar-track-piece,
.cheetos-content::-webkit-scrollbar-corner,
.cheetos-content::-webkit-resizer {
  display: none !important;
}

/* WebKit browsers styling */
.links-content::-webkit-scrollbar,
.cheetos-content::-webkit-scrollbar {
  width: 4px !important;
  background: transparent !important;
}

.links-content::-webkit-scrollbar-track,
.cheetos-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05) !important;
  border-radius: 10px !important;
  margin: 2px 0 !important;
}

.links-content::-webkit-scrollbar-thumb,
.cheetos-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2) !important;
  border-radius: 10px !important;
  transition: background 0.2s ease !important;
  min-height: 20px !important;
  border: none !important;
}

.links-content::-webkit-scrollbar-thumb:hover,
.cheetos-content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.4) !important;
}

/* Additional Firefox specific styling for better appearance */
@-moz-document url-prefix() {
  .links-content,
  .cheetos-content {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) rgba(255, 255, 255, 0.05);
  }
}

.link-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 8px;
  transition: background 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.link-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.link-info {
  flex: 1;
  min-width: 0;
}

.link-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 2px;
}

.link-url {
  font-size: 12px;
  color: #b9bbbe;
  word-break: break-all;
  transition: color 0.2s ease;
}

.link-url:hover {
  color: #ffffff;
}

.projects-content {
  padding: 0;
}

.project-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
  transition: background 0.2s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.project-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.project-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.project-logo {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.project-info {
  flex: 1;
  min-width: 0;
}

.project-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #ffffff;
}

.project-link {
  font-size: 12px;
  color: #b9bbbe;
  transition: color 0.2s ease;
}

.project-link:hover {
  color: #ffffff;
}

.project-item p {
  font-size: 14px;
  color: #b9bbbe;
  line-height: 1.4;
}

@media (max-width: 480px) {
  .container {
    padding: 10px;
  }
  
  .profile-card {
    padding: 20px;
    max-width: 100%;
  }
  
  .profile-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .profile-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .profile-badges {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .tabs {
    width: 100%;
    justify-content: center;
  }
  
  .tab {
    flex: 1;
    min-width: 50px;
    padding: 8px 8px;
    font-size: 12px;
  }
  
  .links-content,
  .cheetos-content {
    max-height: 250px;
  }
}
