html {
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
}

.background {
    background-image: linear-gradient(to top, black, rgb(42, 40, 40));
    background-size: cover;
    background-attachment: fixed;
}
.text1 {
    color:rgba(137, 43, 226, 0.47);
    font-size: 24px;
}
.text2 {
      background-image: linear-gradient(rgba(137, 43, 226, 0.47), blue);
    background-clip: text;
}
.text3 {
    color:gray;
}
.font1 {
    font-family:'Courier New', Courier, monospace;
}
body {
  margin: 0;
}

nav {
  position: sticky;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: #141418;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 0;
  padding: 10px 10px 10px 20px;
  width: 100%;
  max-width: none;
  margin: 0;
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 8px 32px rgba(0,0,0,0.5);
  text-align: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 28px;
  height: 28px;
  color: #fff;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-links a {
  padding: 7px 14px;
  border-radius: 100px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: rgba(255,255,255,0.95);
  background: rgba(255,255,255,0.07);
}

.nav-links a.active {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

.page-layout {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 24px;
  gap: 24px;
  overflow-x: auto;
}

.sidebar {
  width: 300px;
}

.feed {
  flex: 0 0 720px;
  min-width: 720px;
}

.feed-header {
  margin-bottom: 18px;
}

.feed-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.feed-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
}

.feed-avatar {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.35), rgba(255,255,255,0.08));
}

.feed-user {
  min-width: 0;
}

.feed-user-name,
.feed-user-room {
  display: block;
}

.feed-user-name {
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.feed-user-room {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

.feed-time {
  margin-left: auto;
  font-size: 12px;
  color: rgba(255,255,255,0.65);
}

.feed-card-image {
  height: 340px;
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.02));
}

.feed-card-footer {
  padding: 14px 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.75);
  font-size: 13px;
}

.sidebar h2 {
  margin: 0 0 18px;
  font-size: 18px;
}

.sidebar-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
}

.sidebar-card.border {
  position: relative;
  border-radius: 24px;
  background: rgba(255,255,255,0.04);
  overflow: hidden;
}

.sidebar-card.border::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: inherit;
  background: linear-gradient(to top, rgba(137, 43, 226, 0.47), blue);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.sidebar-card-preview {
  width: 100%;
  min-height: 120px;
  display: block;
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.03));
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.sidebar-card-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sidebar-card-text {
  padding: 14px 16px;
}

.sidebar-card-title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.sidebar-card-subtitle {
  display: block;
  font-size: 13px;
}
