body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #0f0f0f;
  color: white;
}

/* Navbar */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #1a1a1a;
}
.logo {
  font-size: 1.5rem;
  color: #ffc107;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
.nav-links a {
  text-decoration: none;
  color: white;
}
.auth-buttons button {
  margin-left: 10px;
  background: #00bcd4;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 3rem 1rem;
}
.animated-avatar {
  width: 100px;
  height: 100px;
  margin: 1rem auto;
  background: url('https://media.tenor.com/9Ix5bOfhSOgAAAAC/cs2-avatar.gif') center/cover;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Sections */
section {
  padding: 2rem;
}
.missions ul {
  list-style: none;
}
.reward {
  color: #ffc107;
}

/* Chat */
.chat-box {
  background: #1a1a1a;
  padding: 1rem;
  height: 200px;
  overflow-y: auto;
  margin-bottom: 10px;
}
.chat-message {
  margin-bottom: 5px;
}
.username {
  font-weight: bold;
}
.username.silver {
  color: #c0c0c0;
}
.username.golden {
  color: #ffd700;
}
.username.admin {
  color: #ff4d4d;
}

/* Photos */
.photo-grid {
  display: flex;
  gap: 1rem;
}
.photo-grid img {
  border-radius: 5px;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
}
.modal-content {
  background: #1a1a1a;
  margin: 10% auto;
  padding: 20px;
  width: 300px;
  border-radius: 5px;
}
.close {
  float: right;
  cursor: pointer;
  font-size: 1.2rem;
  color: white;
}
.modal-content input, .modal-content button {
  width: 100%;
  margin-top: 10px;
  padding: 8px;
}
