.homepage {
  min-height: calc(100vh - 140px);
}

.hero {
  background: linear-gradient(135deg, #4ECDC4 0%, #FF6B6B 100%);
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 16px;
  font-weight: 700;
}

.hero p {
  font-size: 1.3rem;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto 30px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.hero-buttons .btn {
  padding: 14px 32px;
  font-size: 1.1rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero-buttons .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary {
  background: white;
  color: #4ECDC4;
}

.btn-secondary {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.features {
  padding: 60px 20px;
  background: #f8f9fa;
}

.features h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #333;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #333;
}

.feature-card p {
  color: #666;
  line-height: 1.6;
}

.dashboard-section {
  padding: 40px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.welcome-message {
  text-align: center;
  margin-bottom: 30px;
}

.welcome-message h2 {
  font-size: 1.8rem;
  color: #333;
}

.welcome-message p {
  color: #666;
  margin-top: 8px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 768px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

.quick-log-card {
  background: linear-gradient(135deg, #02b6fd 0%, #0891b2 100%);
  color: white;
  padding: 30px;
  border-radius: 16px;
}

.quick-log-card h3 {
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.quick-log-card .intensity-selector {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.intensity-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
}

.intensity-btn:hover {
  background: rgba(255,255,255,0.25);
  border-color: white;
}

.emotion-selector {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.emotion-btn {
  padding: 8px 16px;
  border-radius: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  color: white;
  cursor: pointer;
  transition: all 0.2s;
}

.emotion-btn:hover {
  background: rgba(255,255,255,0.25);
  border-color: white;
}

.emoji-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  justify-content: center;
}

.emoji-btn {
  font-size: 1.8rem;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  padding: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.emoji-btn:hover {
  transform: scale(1.15);
  background: rgba(255,255,255,0.25);
  border-color: white;
}

.quick-log-form input,
.quick-log-form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: none;
  margin-bottom: 12px;
  font-size: 1rem;
}

.quick-log-form textarea {
  resize: vertical;
  min-height: 80px;
}

.quick-log-form .tag-input {
  display: flex;
  gap: 8px;
}

.quick-log-form .tag-input input {
  flex: 1;
  margin-bottom: 0;
}

.quick-log-form .tag-input button {
  padding: 12px 24px;
  background: white;
  color: #4ECDC4;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.stats-card {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  color: white;
}

.stats-card h3 {
  font-size: 1.2rem;
  color: white;
  margin-bottom: 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.stat-item {
  text-align: center;
  padding: 16px;
  background: rgba(255,255,255,0.2);
  border-radius: 12px;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: white;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  margin-top: 4px;
}

.recent-moods-card {
  grid-column: 1 / -1;
  background: white;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.recent-moods-card h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 16px;
}

.mood-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mood-list-item {
  display: flex;
  align-items: center;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 10px;
  gap: 16px;
}

.mood-intensity-badge {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.75rem;
  color: white;
  flex-shrink: 0;
}

.intensity-low { background: #e74c3c; }
.intensity-medium { background: #f39c12; }
.intensity-high { background: #27ae60; }
.intensity-very_high { background: #9b59b6; }

.mood-details {
  flex: 1;
}

.mood-emotion {
  font-weight: 600;
  color: #333;
}

.mood-meta {
  font-size: 0.85rem;
  color: #888;
}

.mood-notes-preview {
  font-size: 0.9rem;
  color: #666;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 300px;
}

.no-moods-message {
  text-align: center;
  padding: 30px;
  color: #888;
}

.no-moods-message a {
  color: #4ECDC4;
  font-weight: 600;
}

.mood-trend-card {
  grid-column: 1 / -1;
  background: white;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.mood-trend-card h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 16px;
}

.trend-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 100px;
  padding: 10px 0;
}

.trend-bar {
  flex: 1;
  background: linear-gradient(180deg, #02b6fd 0%, #0891b2 100%);
  border-radius: 4px 4px 0 0;
  min-height: 10px;
  position: relative;
}

.trend-bar::after {
  content: attr(data-value);
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: #888;
}

.guest-section {
  padding: 60px 20px;
  text-align: center;
  background: #f8f9fa;
}

.guest-section h2 {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 12px;
}

.guest-section p {
  color: #666;
  max-width: 500px;
  margin: 0 auto 30px;
}

.support-banner {
  background: linear-gradient(135deg, #6B4423 0%, #8B5A2B 100%);
  padding: 24px 20px;
  margin: 40px auto;
  max-width: 700px;
  border-radius: 16px;
}

.support-banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.support-logo {
  width: 50px;
  height: 50px;
}

.support-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.support-text h3 {
  color: #FFF8DC;
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.support-text p {
  color: rgba(255, 248, 220, 0.85);
  font-size: 0.95rem;
  margin: 0;
}

.bmc-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFDD00;
  color: #222;
  padding: 12px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.bmc-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 221, 0, 0.4);
}
