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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: radial-gradient(circle at top, #1a0505, #0f0f0f);
  color: #e5e5e5;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ==== HEADER ==== */
header {
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid #dc2626;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

nav {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 2rem;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links a {
  color: #d1d5db;
  font-weight: 500;
  padding: 1.2rem 1.5rem;
  transition: 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
  background: rgba(220, 38, 38, 0.1);
}

/* ==== MAIN ==== */
main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 120px 2rem 4rem;
}

.hero {
  text-align: center;
  margin-bottom: 3rem;
}

.hero h1 {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.hero p {
  font-size: 1.2rem;
  color: #9ca3af;
}

/* ==== TEAM CONTAINER ==== */
.team-container {
  background: rgba(15, 15, 15, 0.95);
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 0 25px rgba(220, 38, 38, 0.05);
}

.role-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #dc2626;
  margin: 1rem 0 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ==== PROFILE CARD ==== */
.profile-card {
  background: #0f0f0f;
  border: 1px solid rgba(220, 38, 38, 0.25);
  border-radius: 10px;
  width: 100%;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #e5e5e5;
  transition: 0.25s ease;
}

.profile-card:hover {
    border-color: rgba(220, 38, 38, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.profile-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 1px solid #550f0f;
  object-fit: cover;
}

.profile-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.profile-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

.profile-handle {
  color: #f87171;
  font-size: 0.9rem;
}

.visit-button:hover {
  background: #b91c1c;
}


/* ==== JOIN SECTION ==== */
.join-section {
  background: rgba(20, 20, 20, 0.85);
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 0 25px rgba(220, 38, 38, 0.05);
  margin-top: 3rem;
}

.join-section h2 {
  color: #dc2626;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.join-section p {
  color: #9ca3af;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.apply-btn {
  background: #dc2626;
  color: #fff;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

/* ==== RESPONSIVE ==== */
@media (max-width: 768px) {
  .profile-card {
    flex-direction: column;
    text-align: center;
  }
  .profile-img {
    width: 80px;
    height: 80px;
  }
  .profile-card .profile-info {
    align-items: center;
  }
}

/* == Indicator */

.profile-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

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

.profile-status {
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 500;
  margin-top: 0.2rem;
  color: #9ca3af; 
}

.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 0.5rem;
}

.status-dot.online {
  background-color: #10b981; 
  box-shadow: 0 0 5px #10b981;
}

.status-dot.offline {
  background-color: #ef4444; 
}


@media (max-width: 768px) {
  .profile-info {
    align-items: center; 
  }
}