* { 
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background: linear-gradient(180deg, #e8f4f8 0%, #d4e9f7 100%);
  color: #2c3e50;
  line-height: 1.6;
}

.journal-wrapper {
  min-height: 100vh;
}

/* Header */
.journal-header {
  background: linear-gradient(180deg, #5e9fb8 0%, #3d7a99 100%);
  color: #fff;
  border-bottom: 3px solid #2c5f7a;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.header-inner {
  text-align: center;
  padding: 1rem 1rem 0.6rem;
}

.journal-header h1 {
  font-size: 1.5rem;
  font-weight: normal;
  margin-bottom: 0.2rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.tagline {
  font-size: 0.85rem;
  font-style: italic;
  opacity: 0.95;
}

.journal-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem;
  background: rgba(0, 0, 0, 0.1);
}

.nav-link {
  color: #fff;
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.85rem;
  transition: background 0.2s;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(255, 255, 255, 0.2);
}

/* Container */
.journal-container {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1rem;
  padding: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.profile-card {
  background: #fff;
  border: 2px solid #5e9fb8;
  border-radius: 6px;
  padding: 0.8rem;
  text-align: center;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.profile-avatar {
  font-size: 2.5rem;
  margin-bottom: 0.4rem;
}

.profile-card h3 {
  font-size: 1rem;
  color: #2c5f7a;
  margin-bottom: 0.3rem;
}

.profile-status,
.profile-listening {
  font-size: 0.75rem;
  color: #546e7a;
  margin: 0.2rem 0;
}

.mood-text {
  color: #e91e63;
  font-weight: bold;
}

.sidebar-box {
  background: #fff;
  border: 2px solid #b0d4e1;
  border-radius: 6px;
  padding: 0.7rem;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.sidebar-box h4 {
  font-size: 0.85rem;
  color: #3d7a99;
  margin-bottom: 0.5rem;
  border-bottom: 1px dashed #b0d4e1;
  padding-bottom: 0.3rem;
}

.stats-list {
  list-style: none;
  font-size: 0.8rem;
  color: #546e7a;
}

.stats-list li {
  padding: 0.2rem 0;
}

.stats-list strong {
  color: #2c5f7a;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.tag {
  background: #e3f2fd;
  color: #1976d2;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  font-size: 0.7rem;
  border: 1px solid #90caf9;
}

/* Main Posts */
.journal-main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.post {
  background: #fff;
  border: 2px solid #b0d4e1;
  border-radius: 6px;
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.post-meta {
  display: flex;
  gap: 0.8rem;
  padding: 0.8rem;
  background: #f5f9fc;
  border-bottom: 2px solid #e0eff5;
}

.post-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #5e9fb8;
  color: #fff;
  border-radius: 4px;
  padding: 0.4rem 0.5rem;
  min-width: 50px;
  text-align: center;
  font-family: Arial, sans-serif;
}

.date-day {
  font-size: 1.3rem;
  font-weight: bold;
  line-height: 1;
}

.date-month {
  font-size: 0.75rem;
  text-transform: uppercase;
}

.post-info {
  flex: 1;
}

.post-title {
  font-size: 1.1rem;
  color: #2c5f7a;
  margin-bottom: 0.2rem;
  font-weight: normal;
}

.post-details {
  font-size: 0.75rem;
  color: #78909c;
  font-family: Arial, sans-serif;
}

.post-content {
  padding: 0.8rem;
  font-size: 0.9rem;
}

.post-content p {
  margin-bottom: 0.6rem;
}

.post-content p:last-child {
  margin-bottom: 0;
}

.post-footer {
  display: flex;
  gap: 0.5rem;
  padding: 0.6rem 0.8rem;
  background: #f5f9fc;
  border-top: 1px solid #e0eff5;
  font-size: 0.75rem;
  align-items: center;
}

.post-tag {
  background: #fff3e0;
  color: #e65100;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  border: 1px solid #ffcc80;
}

.post-link {
  color: #1976d2;
  text-decoration: none;
  margin-left: auto;
}

.post-link:hover {
  text-decoration: underline;
}

/* Online Badge */
.online-badge {
  background: #e8f5e9;
  color: #2e7d32;
  border: 2px solid #81c784;
  border-radius: 6px;
  padding: 0.6rem;
  text-align: center;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.blink-dot {
  width: 10px;
  height: 10px;
  background: #4caf50;
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(76, 175, 80, 0.8);
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.9); }
}

/* Responsive */
@media (max-width: 600px) {
  .journal-container {
    grid-template-columns: 1fr;
  }
  
  .sidebar {
    display: none;
  }
}

