:root {
  --bg: #0f0f10;
  --card-bg: #151518;
  --border: #2a2a2f;
  --text: #E0E0E0;
  --muted: #888888;
  --accent: #6dd3ff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Kein weißer Hintergrund: immer dunkel */
html { background: #0f0f10; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg, #0f0f10);
  color: var(--text);
  min-height: 100vh;
}

.dashboard-container {
  display: grid;
  grid-template-columns: 280px 1fr 320px;
  gap: 20px;
  max-width: 1800px;
  margin: 0 auto;
  padding: 20px;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
}

.left-sidebar-profile {
  text-align: center;
}

.profile-avatar-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 15px;
}

.profile-avatar-area-bg {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  position: absolute;
  top: -5px;
  left: -5px;
  z-index: 0;
  transition: all 0.3s;
}

.profile-avatar {
  width: 100px;
  height: 100px;
  margin: 0 auto 15px;
  cursor: pointer;
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 32px;
  transition: all 0.2s;
  visibility: visible;
  opacity: 1;
  position: relative;
  z-index: 1;
}

.profile-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
  display: block;
  visibility: visible;
  opacity: 1;
}

.profile-handle {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
  display: block;
  visibility: visible;
  opacity: 1;
}

.profile-bio {
  text-align: center;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 16px;
  min-height: 40px;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  outline: none;
  cursor: text;
  transition: all 0.2s;
}

.profile-bio:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.03);
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  transition: background 0.2s;
  margin-bottom: 4px;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.theme-box {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.theme-box:hover {
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: 0 12px 30px rgba(102, 126, 234, 0.5) !important;
}

.hashtags-box {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

.places-box {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 50%, #ff6b9d 100%);
}

.new-box {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 50%, #5dade2 100%);
}

.updates-box {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 50%, #52c9a6 100%);
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.theme-box:hover .hashtags-bg-animation,
.theme-box:hover .places-bg-animation,
.theme-box:hover .new-bg-animation,
.theme-box:hover .updates-bg-animation {
  animation: shimmer 1.5s infinite;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.composer-input {
  width: 100%;
  min-height: 100px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  resize: vertical;
  font-family: inherit;
}

.tweet-btn {
  background: var(--accent);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.tweet-btn:hover {
  background: #5bc0e6;
}

.posts-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.post {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}

.post-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.post-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  color: white;
}

.post-content {
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 12px;
}

.post-actions {
  display: flex;
  gap: 24px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.post-action {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s;
}

.post-action:hover {
  color: var(--accent);
}

