/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background: #121212;
  color: #fff;
  line-height: 1.6;
}

/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #1e1e1e;
  border-bottom: 2px solid #6c63ff; /* Purple */
}

.logo {
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
}

.search {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  border: none;
  outline: none;
  background: #2a2a2a;
  color: #fff;
}

/* ===== BANNER ===== */
.banner {
  position: relative;
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, #6c63ff, #3b3b98); /* Purple Gradient */
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('https://images.unsplash.com/photo-1506744038136-46273834b3fb') center/cover no-repeat;
  opacity: 0.15;
  z-index: 0;
}

.profile-info {
  position: relative;
  z-index: 1;
  text-align: center;
}

.avatar-lg {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid #fff;
  margin-bottom: 0.5rem;
}

.username {
  font-size: 1.8rem;
  font-weight: bold;
}

.role {
  font-size: 1rem;
  color: #ccc;
}

/* ===== MAIN LAYOUT ===== */
.container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
}

.left-column {
  display: flex;
  flex-direction: column-reverse;
  gap: 1.5rem;
}

.right-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ===== CARDS ===== */
.card {
  background: #1e1e1e;
  padding: 1.7rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

.card h3 {
  color: #6c63ff;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.card p {
  color: #ccc;
}

/* ===== MEDIA WRAPPER ===== */
.media-wrapper {
  margin-bottom: 1rem;
}

.media-wrapper img,
.media-wrapper video {
  width: 100%;
  border-radius: 10px;
}

/* Layout for tab content: vertical list of cards with spacing */
.tab-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* spacing between cards */
}

.tab-content .card {
  width: 100%;
}

/* ===== SOCIAL LINKS ===== */
.socials {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.socials a {
  text-decoration: none;
  color: #6c63ff;
  font-weight: 500;
  transition: color 0.2s ease;
}

.socials a:hover {
  color: #a39dff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .container {
    grid-template-columns: 1fr;
  }
}

/* ===== ANNOUNCEMENT OVERLAY ===== */
#announcement-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 1rem;
}

.announcement-box {
  background: #1e1e1e;
  padding: 2rem 3rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.6);
  max-width: 600px;
  max-height: 80%;
  overflow-y: auto;
}

.announcement-box h2 {
  color: #6c63ff;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.announcement-box p {
  color: #ccc;
  margin-bottom: 1.5rem;
  white-space: pre-wrap;
}

#understood-btn {
  padding: 0.8rem 2rem;
  font-size: 1rem;
  border: none;
  border-radius: 10px;
  background: #a39dff;
  color: #fff;
  cursor: not-allowed;
  transition: background 0.3s ease;
}

#understood-btn:enabled {
  cursor: pointer;
  background: #6c63ff;
}
