/* Reset and base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #1e1f31, #2d2f4a);
  color: #fff;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* Header */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  background-color: #1b1c2e;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
}

.logo span {
  color: #9b9bff;
}

.nav-links a {
  margin-left: 20px;
  color: #bbb;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #fff;
}

/* Hero Section */
.hero {
  padding: 100px 5%;
  background: linear-gradient(135deg, #2f2f5f, #3b3f6b);
  text-align: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero-content h1 span {
  color: #9f9fff;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.cta {
  background: #9c9cff;
  padding: 12px 25px;
  border-radius: 25px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 0 10px #9c9cff80;
  transition: 0.3s ease;
}

.cta:hover {
  background: #7f7fff;
}

/* Rooms Section */
.rooms, .board, .chat-section, .members {
  padding: 70px 5%;
  text-align: center;
}

.rooms h2, .board h2, .chat-section h2, .members h2 {
  font-size: 2.4rem;
  margin-bottom: 40px;
}

.room-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
}

.room-card {
  background: #292a48;
  padding: 30px 40px;
  border-radius: 15px;
  font-size: 1.2rem;
  color: #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.4);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.room-card:hover {
  transform: scale(1.05);
}

/* Kanban Board */
.kanban {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.column {
  flex: 1;
  background: #232446;
  border-radius: 15px;
  padding: 20px;
  min-width: 250px;
}

.column h3 {
  margin-bottom: 15px;
  color: #9c9cff;
}

.card {
  background: #3a3b5c;
  padding: 15px;
  margin-bottom: 10px;
  border-radius: 10px;
  color: #eee;
  font-size: 0.95rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Chat Section */
.chat-box {
  background: #292a48;
  padding: 25px;
  border-radius: 15px;
  max-width: 700px;
  margin: auto;
  box-shadow: 0 8px 15px rgba(0,0,0,0.3);
}

.messages {
  text-align: left;
  margin-bottom: 15px;
  max-height: 200px;
  overflow-y: auto;
}

.message {
  padding: 10px 15px;
  margin-bottom: 10px;
  border-radius: 10px;
  max-width: 80%;
}

.user {
  background: #3e3f6a;
  margin-left: auto;
  color: #cfcfff;
}

.other {
  background: #4d4e7a;
  color: #fff;
}

.chat-box input {
  width: 100%;
  padding: 12px 15px;
  border-radius: 10px;
  border: none;
  background: #3e3f6a;
  color: #fff;
  font-size: 1rem;
}

/* Members Section */
.member-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.member-card {
  background: #232446;
  padding: 20px;
  border-radius: 15px;
  width: 150px;
  text-align: center;
  box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

.member-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.member-card p {
  color: #ddd;
  font-weight: 500;
}

/* Footer */
footer {
  padding: 20px 5%;
  text-align: center;
  background: #1b1c2e;
  color: #aaa;
  font-size: 0.9rem;
  margin-top: 50px;
}
