* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Nunito', sans-serif;
}

body {
  background-color: #fbf9ff;
  color: #2d3748;
  min-height: 100vh;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  position: sticky;
  top: 0;
  z-index: 100;
}

.merzipop-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.merzipop-logo-symbol {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #8a2be2, #ff1493);
  color: white;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 22px;
  box-shadow: 0 4px 12px rgba(138, 43, 226, 0.3);
}

.merzipop-logo-text {
  font-size: 24px;
  font-weight: 900;
  color: #1a202c;
}

.merzipop-logo-text .pop {
  color: #ff1493;
}

.nav-actions {
  display: flex;
  gap: 12px;
}

.main-container {
  max-width: 560px;
  margin: 28px auto;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.vote-card, .pop-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.pop-avatar.large {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 14px;
  border: 4px solid #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.pop-title {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 4px;
}

.pop-title-sm {
  font-size: 18px;
  font-weight: 800;
  text-align: left;
  margin-bottom: 16px;
}

.pop-subtitle {
  color: #718096;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
}

.vote-actions {
  display: flex;
  gap: 12px;
}

.empty-emoji {
  font-size: 48px;
  display: block;
  margin-bottom: 12px;
}

.leaderboard-list {
  list-style: none;
  padding: 0;
}

.pop-button, .pop-button-sm {
  border: none;
  font-weight: 800;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pop-button-sm {
  padding: 8px 16px;
  font-size: 14px;
}

.pop-button {
  padding: 14px 20px;
  font-size: 15px;
}

.pop-button.block {
  flex: 1;
  width: 100%;
}

.purple { background: #8a2be2; color: white; }
.pink { background: #ff1493; color: white; }
.green { background: #10b981; color: white; }
.outline { background: #f3f4f6; color: #374151; }

.pop-button:hover, .pop-button-sm:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

/* Sağ Alt Chat Widget Stilleri */
.chat-widget-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}

.chat-fab {
  background: linear-gradient(135deg, #8a2be2, #ff1493);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 900;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(138, 43, 226, 0.4);
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  transition: transform 0.2s;
}

.chat-fab:hover {
  transform: scale(1.05);
}

.chat-badge {
  background: #ff1493;
  color: white;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 50px;
  font-weight: 900;
  border: 2px solid #fff;
  position: absolute;
  top: -6px;
  right: -6px;
}

.chat-widget-box {
  position: absolute;
  bottom: 60px;
  right: 0;
  width: 340px;
  height: 440px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #edf2f7;
}

.chat-widget-header {
  padding: 14px 16px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #edf2f7;
}

.chat-list-view {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  background: #fbf9ff;
}

.chat-conversations {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-conversation-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  background: white;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
  border: 1px solid #edf2f7;
}

.chat-conversation-item:hover {
  background: #f3f4f6;
}

.chat-room-view {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #fbf9ff;
}

.chat-room-top {
  padding: 10px 14px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #edf2f7;
}

.chat-widget-messages {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.message-bubble {
  max-width: 75%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  word-break: break-word;
}

.message-bubble.sent {
  background: #8a2be2;
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.message-bubble.received {
  background: #e2e8f0;
  color: #2d3748;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

/* Tam Ekran Oylama Modu Stilleri */
.fullscreen-voting {
  position: fixed;
  inset: 0;
  background: #fbf9ff;
  z-index: 500;
  display: flex;
  flex-direction: column;
  padding: 20px;
  align-items: center;
  justify-content: center;
}

.voting-top-bar {
  position: absolute;
  top: 20px;
  left: 30px;
  right: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fullscreen-card {
  width: 100%;
  max-width: 440px;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #1a202c;
  color: white;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  z-index: 2000;
  transition: opacity 0.3s ease;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}

.modal-card {
  background: white;
  border-radius: 24px;
  padding: 24px;
  width: 90%;
  max-width: 380px;
  position: relative;
}

.close-btn {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

.tab-buttons {
  display: flex;
  margin-bottom: 20px;
  background: #f3f4f6;
  padding: 4px;
  border-radius: 12px;
}

.tab-btn {
  flex: 1;
  padding: 8px;
  border: none;
  background: none;
  font-weight: 800;
  border-radius: 8px;
  cursor: pointer;
}

.tab-btn.active {
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.pop-input {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 12px;
  border: 2px solid #edf2f7;
  border-radius: 12px;
  font-size: 14px;
  outline: none;
}

.pop-input:focus {
  border-color: #8a2be2;
}

.file-label {
  display: block;
  padding: 10px;
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
  cursor: pointer;
}

.hidden { display: none !important; }