/* FATweet Stilleri - Twitter Tarzı Sistem */
/* GÜNCELLEME: Resim galeri, BBCode ve Font Awesome desteği eklendi */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css');

/* FATweet Genel Stilleri */
.fatweet-container,
.fatweet-modal-content,
.fatweet-navbar-container {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}

.fatweet-avatar .username,
.fatweet-navbar-avatar .username,
.fatweet-modal-username,
.fatweet-modal-text,
.fatweet-share-btn,
.fatweet-nav-counter {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  word-break: break-word;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Metin Hizalaması */
.fatweet-modal-text {
  text-align: left;
  white-space: pre-wrap;
  word-wrap: break-word;
  padding: 15px 20px;
  color: #333;
  font-size: 14px;
  line-height: 1.6;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
  word-break: break-word;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Emoji Desteği */
.fatweet-modal-text {
  font-feature-settings: "variation-selectors" 1;
  -webkit-text-size-adjust: 100%;
}

/* Emoji Boyutu */
.fatweet-modal-text img[alt*="emoji"],
.fatweet-modal-text img[class*="emoji"] {
  height: 1.2em;
  width: 1.2em;
  margin: 0 0.05em 0 0.1em;
  vertical-align: -0.1em;
}

.fatweet-container {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 5px 0;
  padding: 8px 12px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e1e8ed;
}

.fatweet-logo {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #333;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.fatweet-logo span:first-child {
  color: #1DA1F2;
}

.fatweet-logo span:last-child {
  color: #000;
}

.fatweet-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  max-width: 100%;
  flex: 1;
}

.fatweet-avatars {
  display: flex;
  gap: 8px;
  white-space: nowrap;
  align-items: center;
  transition: transform 0.3s ease-in-out;
}

.fatweet-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 11px;
  color: #333;
  min-width: 55px;
  cursor: pointer;
  transition: transform 0.2s ease;
  position: relative;
}

.fatweet-avatar:hover {
  transform: translateY(-2px);
}

.fatweet-avatar img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid #1DA1F2;
  transition: all 0.3s ease;
  object-fit: cover;
}

.fatweet-avatar img:hover {
  transform: scale(1.1);
  border-color: #1a91da;
}

.fatweet-avatar .username {
  margin-top: 3px;
  font-weight: 500;
  max-width: 55px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fatweet-avatar .remaining-time {
  font-size: 9px;
  color: #666;
  font-weight: bold;
  margin-top: 1px;
}

.fatweet-avatar .remaining-time i {
  margin-right: 2px;
}

.fatweet-avatar .tweet-count {
  font-size: 8px;
  color: #999;
  font-weight: bold;
  margin-top: 1px;
}

.fatweet-avatar .tweet-count i {
  margin-right: 2px;
}

.fatweet-avatar.fatweet-expiring-soon img {
  border-color: #ff4444;
  animation: pulse-red 2s infinite;
}

.fatweet-avatar.fatweet-expiring-soon .remaining-time {
  color: #ff4444;
  animation: blink 1s infinite;
}

@keyframes pulse-red {
  0% { border-color: #ff4444; }
  50% { border-color: #ff8888; }
  100% { border-color: #ff4444; }
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0.5; }
}

.fatweet-plus {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1DA1F2 0%, #1a91da 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  margin-left: 5px;
  border: none;
  box-shadow: 0 2px 6px rgba(29, 161, 242, 0.3);
}

.fatweet-plus:hover {
  background: linear-gradient(135deg, #1a91da 0%, #1DA1F2 100%);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(29, 161, 242, 0.4);
}

.fatweet-next {
  width: 28px;
  height: 28px;
  background: rgba(29, 161, 242, 0.3);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  color: #1DA1F2;
  margin-left: 5px;
  transition: all 0.3s ease;
  border: none;
}

.fatweet-next:hover {
  background: rgba(29, 161, 242, 0.5);
  transform: scale(1.1);
}

/* Navbar Stilleri */
.fatweet-navbar-container {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 10px;
  background: transparent;
}

.fatweet-navbar-logo {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #333;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.fatweet-navbar-logo span:first-child {
  color: #1DA1F2;
}

.fatweet-navbar-logo span:last-child {
  color: #000;
}

.fatweet-navbar-wrapper {
  display: flex;
  align-items: center;
  flex: 1;
  overflow: hidden;
}

.fatweet-navbar-avatars {
  display: flex;
  gap: 8px;
  align-items: center;
}

.fatweet-navbar-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 12px;
  color: #333;
  min-width: 55px;
  cursor: pointer;
  transition: transform 0.2s ease;
  position: relative;
}

.fatweet-navbar-avatar:hover {
  transform: translateY(-2px);
}

.fatweet-navbar-avatar img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid #1DA1F2;
  transition: all 0.3s ease;
  object-fit: cover;
}

.fatweet-navbar-avatar img:hover {
  transform: scale(1.1);
  border-color: #1a91da;
}

.fatweet-navbar-avatar .username {
  margin-top: 4px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fatweet-navbar-avatar .time-info {
  font-size: 8px;
  color: #666;
  font-weight: bold;
  margin-top: 1px;
}

.fatweet-navbar-avatar .time-info i {
  margin-right: 2px;
}

.fatweet-navbar-avatar.fatweet-expiring-soon img {
  border-color: #ff4444;
  animation: pulse-red 2s infinite;
}

.fatweet-navbar-avatar.fatweet-expiring-soon .time-info {
  color: #ff4444;
  animation: blink 1s infinite;
}

.fatweet-navbar-next {
  width: 25px;
  height: 25px;
  background: rgba(29, 161, 242, 0.3);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  color: #1DA1F2;
  margin-left: 5px;
  transition: all 0.3s ease;
  border: none;
}

.fatweet-navbar-next:hover {
  background: rgba(29, 161, 242, 0.5);
  transform: scale(1.1);
}

.fatweet-navbar-plus {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1DA1F2 0%, #1a91da 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(29, 161, 242, 0.3);
  border: none;
}

.fatweet-navbar-plus:hover {
  background: linear-gradient(135deg, #1a91da 0%, #1DA1F2 100%);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(29, 161, 242, 0.4);
}

/* Modal Stilleri */
.fatweet-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
}

.fatweet-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
}

.fatweet-modal-content {
  position: relative;
  background: white;
  border-radius: 12px;
  max-width: 600px;
  max-height: 85vh;
  margin: 5% auto;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.fatweet-modal-header {
  display: flex;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  background: white;
  z-index: 100;
  align-items: center;
  flex-direction: row-reverse;
}

.fatweet-modal-user-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.fatweet-modal-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
  border: 2px solid #1DA1F2;
}

.fatweet-modal-username {
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.fatweet-modal-time {
  color: #666;
  font-size: 12px;
}

.fatweet-modal-time i {
  margin-right: 3px;
  color: #999;
}

.fatweet-modal-expires {
  color: #666;
  font-size: 12px;
  font-weight: bold;
  margin-top: 2px;
}

.fatweet-modal-expires i {
  margin-right: 3px;
}

.fatweet-modal-close {
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: #df0c0c;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  position: absolute;
  top: 10px;
  right: 15px;
  justify-content: flex-end;
  transition: all 0.2s ease;
}

.fatweet-modal-close:hover {
  color: #333;
  transform: scale(1.1);
}

.fatweet-modal-close i {
  font-size: 20px;
}

/* YENİ: Resim Galeri Stilleri */
.fatweet-modal-media {
  padding: 10px 20px;
  background: #f9f9f9;
  position: relative;
}

.fatweet-media-gallery {
  position: relative;
  min-height: 200px;
}

.fatweet-media-item {
  margin-bottom: 10px;
  border-radius: 8px;
  overflow: hidden;
  transition: opacity 0.3s ease;
}

/* ✅ DÜZELTME: Sadece resimler için sabit boyut */
.fatweet-media-item img {
  width: 100% !important;
  height: auto !important;
  display: block;
  border-radius: 8px;
  cursor: pointer;
  object-fit: cover;
  max-width: 550px;
  margin: 0 auto;
}

/* ✅ DÜZELTME: Video için responsive */
.fatweet-media-item video {
  width: 100% !important;
  height: auto !important;
  display: block;
  border-radius: 8px;
  cursor: pointer;
  background: #000;
  max-height: 500px;
  object-fit: contain;
}

/* ✅ DÜZELTME: YouTube iframe için responsive container */
.fatweet-youtube-player-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
  margin: 10px 0;
}

.fatweet-youtube-iframe {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  border-radius: 8px !important;
}

/* ✅ DÜZELTME: Diğer iframe'ler için (YouTube değil) */
.fatweet-media-item iframe:not(.fatweet-youtube-iframe) {
  width: 100% !important;
  height: auto !important;
  display: block;
  border-radius: 8px;
  cursor: pointer;
  max-height: 400px;
}

/* YENİ: Galeri Navigasyon Butonları */
.fatweet-media-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 10px 0;
  margin-top: 10px;
}

.fatweet-media-prev,
.fatweet-media-next {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #1DA1F2;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(29, 161, 242, 0.3);
}

.fatweet-media-prev:hover,
.fatweet-media-next:hover {
  background: #1a8cd8;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(29, 161, 242, 0.4);
}

.fatweet-media-counter {
  font-size: 12px;
  color: #666;
  font-weight: 600;
  min-width: 50px;
  text-align: center;
  background: white;
  padding: 5px 10px;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.fatweet-youtube {
  position: relative;
  cursor: pointer;
}

.fatweet-youtube .youtube-thumb {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.fatweet-youtube .youtube-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.3s ease;
}

.fatweet-youtube .youtube-play i {
  margin-left: 2px;
}

.fatweet-youtube:hover .youtube-play {
  background: rgba(255, 0, 0, 0.8);
  transform: translate(-50%, -50%) scale(1.1);
}

.fatweet-media-item img:hover {
  opacity: 0.9;
  cursor: pointer;
}

/* Smilie Gösterimi - Modal İçinde */
.fatweet-modal-text img.fatweet-smilie {
  height: 20px !important;
  width: auto !important;
  vertical-align: middle !important;
  margin: 0 2px !important;
  display: inline-block !important;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
}

/* YENİ: BBCode Stilleri */
.fatweet-modal-text strong {
  font-weight: 700;
  color: #222;
}

.fatweet-modal-text em {
  font-style: italic;
}

.fatweet-modal-text u {
  text-decoration: underline;
}

.fatweet-modal-text s {
  text-decoration: line-through;
}

.fatweet-quote {
  background: #f0f0f0;
  border-left: 4px solid #1DA1F2;
  padding: 10px 15px;
  margin: 10px 0;
  border-radius: 4px;
  font-style: italic;
  color: #555;
}

.fatweet-quote strong {
  color: #1DA1F2;
  font-style: normal;
  display: block;
  margin-bottom: 5px;
}

.fatweet-code,
.fatweet-php,
.fatweet-html {
  background: #2d2d2d;
  color: #f8f8f2;
  padding: 12px 15px;
  margin: 10px 0;
  border-radius: 6px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 13px;
  overflow-x: auto;
  white-space: pre;
  line-height: 1.5;
}

.fatweet-php {
  border-left: 4px solid #8892be;
}

.fatweet-html {
  border-left: 4px solid #e34c26;
}

.fatweet-list {
  margin: 10px 0;
  padding-left: 25px;
}

.fatweet-list li {
  margin: 5px 0;
  line-height: 1.5;
}

.fatweet-hr {
  border: none;
  border-top: 2px solid #e0e0e0;
  margin: 15px 0;
}

.fatweet-modal-text a {
  color: #1DA1F2;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.fatweet-modal-text a:hover {
  color: #1a8cd8;
  text-decoration: underline;
}

/* Sosyal Medya Paylaşım Butonları */
.fatweet-modal-share {
  display: flex;
  gap: 8px;
  padding: 15px 20px;
  border-top: 1px solid #eee;
  background: #f9f9f9;
  flex-wrap: wrap;
  justify-content: center;
}

.fatweet-share-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
  color: white;
  text-decoration: none;
  white-space: nowrap;
}

.fatweet-share-btn i {
  font-size: 14px;
}

.fatweet-share-facebook {
  background: #1877F2;
}

.fatweet-share-facebook:hover {
  background: #0a66c2;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}

.fatweet-share-twitter {
  background: #1DA1F2;
}

.fatweet-share-twitter:hover {
  background: #1a8cd8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(29, 161, 242, 0.4);
}

.fatweet-share-whatsapp {
  background: #25D366;
}

.fatweet-share-whatsapp:hover {
  background: #1fb954;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.fatweet-share-telegram {
  background: #0088cc;
}

.fatweet-share-telegram:hover {
  background: #006ba3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 136, 204, 0.4);
}

.fatweet-share-copy {
  background: #666;
}

.fatweet-share-copy:hover {
  background: #444;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 102, 102, 0.4);
}

/* Modal Navigasyon Butonları */
.fatweet-modal-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 12px 20px;
  border-top: 1px solid #eee;
  background: #f9f9f9;
}

.fatweet-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e0e0e0;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 16px;
  transition: all 0.3s ease;
}

.fatweet-nav-btn:hover {
  background: #1DA1F2;
  color: white;
  transform: scale(1.1);
}

.fatweet-nav-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.fatweet-nav-counter {
  font-size: 13px;
  color: #666;
  font-weight: 600;
  min-width: 50px;
  text-align: center;
}

/* Bildirim */
.fatweet-notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #1DA1F2;
  color: white;
  padding: 12px 20px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(29, 161, 242, 0.4);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  z-index: 100000;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.fatweet-notification.show {
  opacity: 1;
  transform: translateY(0);
}

.fatweet-notification i {
  font-size: 16px;
}

/* Trending Stilleri */
.fatweet-trends {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 10px 0;
  margin-top: 10px;
}

.fatweet-trend-item {
  padding: 10px 15px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: background 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fatweet-trend-item:hover {
  background: #f0f0f0;
}

.fatweet-trend-item:last-child {
  border-bottom: none;
}

.trend-number {
  font-weight: 700;
  color: #1DA1F2;
  font-size: 12px;
}

.fatweet-trend-item a {
  color: #333;
  text-decoration: none;
  font-weight: 600;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fatweet-trend-item a:hover {
  color: #1DA1F2;
}

.trend-posts {
  color: #999;
  font-size: 11px;
  white-space: nowrap;
}

/* Navbar Trending */
.fatweet-navbar-trends {
  background: #f9f9f9;
  border-radius: 6px;
  padding: 5px 0;
  margin-top: 5px;
}

.fatweet-navbar-trend-item {
  padding: 6px 10px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: background 0.2s ease;
  font-size: 11px;
}

.fatweet-navbar-trend-item:hover {
  background: #f0f0f0;
}

.fatweet-navbar-trend-item:last-child {
  border-bottom: none;
}

.trend-rank {
  font-weight: 700;
  color: #1DA1F2;
  font-size: 10px;
  margin-right: 4px;
}

.fatweet-navbar-trend-item a {
  color: #333;
  text-decoration: none;
  font-weight: 600;
}

.fatweet-navbar-trend-item a:hover {
  color: #1DA1F2;
}

/* Geri Sayım Animasyonu */
.fatweet-modal-expires {
  animation: countdown-pulse 1s ease-in-out;
}

@keyframes countdown-pulse {
  0% { opacity: 1; }
  50% { opacity: 0.7; }
  100% { opacity: 1; }
}

.fatweet-modal-expires[style*="color: #ff0000"],
.fatweet-modal-expires[style*="color: #ff4444"] {
  animation: urgent-pulse 0.5s ease-in-out infinite;
}

@keyframes urgent-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Modal Scroll Düzeltmesi */
.fatweet-modal-content {
  scrollbar-width: thin;
  scrollbar-color: #1DA1F2 #f0f0f0;
}

.fatweet-modal-content::-webkit-scrollbar {
  width: 8px;
}

.fatweet-modal-content::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 4px;
}

.fatweet-modal-content::-webkit-scrollbar-thumb {
  background: #1DA1F2;
  border-radius: 4px;
}

.fatweet-modal-content::-webkit-scrollbar-thumb:hover {
  background: #1a8cd8;
}

/* Mobil uyumluluk */
@media screen and (max-width: 768px) {
  .fatweet-container {
      padding: 5px 8px;
      gap: 10px;
  }
  
  .fatweet-logo {
      font-size: 16px;
  }
  
  .fatweet-avatar img {
      width: 35px;
      height: 35px;
  }
  
  .fatweet-avatar {
      min-width: 45px;
      font-size: 10px;
  }
  
  .fatweet-avatar .remaining-time {
      font-size: 8px;
  }
  
  .fatweet-plus {
      width: 35px;
      height: 35px;
      font-size: 16px;
  }
  
  .fatweet-avatars {
      max-width: 250px;
  }
  
  .fatweet-modal-content {
      margin: 2% 10px;
      max-height: 90vh;
  }
  
  .fatweet-modal-media {
      padding: 8px 15px;
  }
  
  .fatweet-media-item {
      margin-bottom: 8px;
  }
  
  .fatweet-media-item video {
      max-height: 300px;
  }
  
  .fatweet-media-item img {
      max-width: 100%;
  }
  
  .fatweet-youtube-player-wrapper {
      max-width: 100%;
  }
  
  .fatweet-media-prev,
  .fatweet-media-next {
      width: 28px;
      height: 28px;
      font-size: 12px;
  }
  
  .fatweet-navbar-container {
      gap: 8px;
      padding: 3px 8px;
  }
  
  .fatweet-navbar-logo {
      font-size: 16px;
  }
  
  .fatweet-navbar-avatar img {
      width: 35px;
      height: 35px;
  }
  
  .fatweet-navbar-avatar {
      min-width: 40px;
      font-size: 9px;
  }
  
  .fatweet-navbar-avatar .time-info {
      font-size: 7px;
  }
  
  .fatweet-navbar-plus {
      width: 30px;
      height: 30px;
      font-size: 14px;
  }
  
  .fatweet-modal-header {
      padding: 10px 15px;
  }
  
  .fatweet-modal-text {
      padding: 10px 15px;
      font-size: 13px;
  }
  
  .fatweet-modal-expires {
      font-size: 11px;
  }
  
  .fatweet-modal-share {
      gap: 6px;
      padding: 12px 15px;
  }
  
  .fatweet-share-btn {
      padding: 6px 10px;
      font-size: 11px;
  }
  
  .fatweet-share-btn i {
      font-size: 12px;
  }
  
  .fatweet-modal-navigation {
      gap: 10px;
      padding: 10px 15px;
  }
  
  .fatweet-nav-btn {
      width: 32px;
      height: 32px;
      font-size: 14px;
  }
  
  .fatweet-nav-counter {
      font-size: 12px;
  }
}

/* Çok küçük ekranlar */
@media screen and (max-width: 480px) {
  .fatweet-container {
      padding: 3px 5px;
      gap: 8px;
  }
  
  .fatweet-logo {
      font-size: 14px;
  }
  
  .fatweet-avatar img {
      width: 30px;
      height: 30px;
  }
  
  .fatweet-avatar {
      min-width: 35px;
      font-size: 9px;
  }
  
  .fatweet-avatar .remaining-time {
      font-size: 7px;
  }
  
  .fatweet-plus {
      width: 30px;
      height: 30px;
      font-size: 14px;
  }
  
  .fatweet-next {
      width: 24px;
      height: 24px;
      font-size: 12px;
  }
  
  .fatweet-navbar-avatar img {
      width: 30px;
      height: 30px;
  }
  
  .fatweet-navbar-avatar {
      min-width: 35px;
      font-size: 8px;
  }
  
  .fatweet-navbar-avatar .time-info {
      font-size: 6px;
  }
  
  .fatweet-modal-share {
      flex-direction: column;
      gap: 6px;
  }
  
  .fatweet-share-btn {
      width: 100%;
      justify-content: center;
  }
  
  .fatweet-modal-navigation {
      flex-wrap: wrap;
  }
  
  .fatweet-media-item video {
      max-height: 250px;
  }
  
  .fatweet-media-item img {
      max-width: 100%;
  }
  
  .fatweet-media-prev,
  .fatweet-media-next {
      width: 24px;
      height: 24px;
      font-size: 10px;
  }
  
  .fatweet-media-counter {
      font-size: 10px;
      padding: 4px 8px;
  }
}

/* Animasyonlar için performans optimizasyonu */
@media (prefers-reduced-motion: reduce) {
  .fatweet-avatar,
  .fatweet-navbar-avatar,
  .fatweet-plus,
  .fatweet-navbar-plus,
  .fatweet-next,
  .fatweet-navbar-next,
  .fatweet-share-btn,
  .fatweet-nav-btn,
  .fatweet-media-prev,
  .fatweet-media-next {
      transition: none;
  }
  
  .fatweet-avatar.fatweet-expiring-soon img,
  .fatweet-navbar-avatar.fatweet-expiring-soon img {
      animation: none;
      border-color: #ff4444;
  }
  
  .fatweet-avatar.fatweet-expiring-soon .remaining-time,
  .fatweet-navbar-avatar.fatweet-expiring-soon .time-info {
      animation: none;
      color: #ff4444;
  }
}

/* Dark mode desteği */
@media (prefers-color-scheme: dark) {
  .fatweet-container {
      background: #2c2c2c;
      border-color: #444;
      color: #fff;
  }
  
  .fatweet-logo {
      color: #fff;
  }
  
  .fatweet-avatar,
  .fatweet-navbar-avatar {
      color: #fff;
  }
  
  .fatweet-modal-content {
      background: #2c2c2c;
      color: #fff;
  }
  
  .fatweet-modal-header {
      border-bottom-color: #444;
      background: #2c2c2c;
  }
  
  .fatweet-modal-username {
      color: #fff;
  }
  
  .fatweet-modal-time,
  .fatweet-modal-expires {
      color: #ccc;
  }
  
  .fatweet-modal-close {
      color: #ff6b6b;
  }
  
  .fatweet-modal-close:hover {
      color: #fff;
  }
  
  .fatweet-modal-text {
      color: #ccc;
  }
  
  .fatweet-modal-media {
      background: #333;
  }
  
  .fatweet-modal-share {
      background: #333;
      border-top-color: #444;
  }
  
  .fatweet-modal-navigation {
      background: #333;
      border-top-color: #444;
  }
  
  .fatweet-nav-btn {
      background: #444;
      color: #fff;
  }
  
  .fatweet-nav-btn:hover {
      background: #1DA1F2;
  }
  
  .fatweet-nav-counter {
      color: #ccc;
  }
  
  .fatweet-media-prev,
  .fatweet-media-next {
      background: #1DA1F2;
  }
  
  .fatweet-media-prev:hover,
  .fatweet-media-next:hover {
      background: #1a8cd8;
  }
  
  .fatweet-media-counter {
      background: #333;
      color: #ccc;
      box-shadow: 0 1px 3px rgba(0,0,0,0.5);
  }
  
  /* BBCODE Dark Mode */
  .fatweet-quote {
      background: #333;
      border-left-color: #1DA1F2;
      color: #ccc;
  }
  
  .fatweet-quote strong {
      color: #1DA1F2;
  }
  
  .fatweet-code,
  .fatweet-php,
  .fatweet-html {
      background: #1a1a1a;
      color: #e8e8e8;
      border-left-color: #1DA1F2;
  }
  
  .fatweet-modal-text strong {
      color: #fff;
  }
  
  .fatweet-modal-text em {
      color: #ddd;
  }
  
  .fatweet-modal-text a {
      color: #1DA1F2;
  }
  
  .fatweet-modal-text a:hover {
      color: #1a8cd8;
  }
  
  .fatweet-youtube .youtube-play {
      background: rgba(0, 0, 0, 0.9);
  }
  
  .fatweet-youtube:hover .youtube-play {
      background: rgba(255, 0, 0, 0.9);
  }
  
  .fatweet-trends {
      background: #333;
  }
  
  .fatweet-trend-item {
      border-bottom-color: #444;
  }
  
  .fatweet-trend-item:hover {
      background: #2c2c2c;
  }
  
  .fatweet-navbar-trends {
      background: #333;
  }
  
  .fatweet-navbar-trend-item {
      border-bottom-color: #444;
  }
  
  .fatweet-navbar-trend-item:hover {
      background: #2c2c2c;
  }
}

/* Türkçe karakter desteği */
.fatweet-avatar .username,
.fatweet-navbar-avatar .username,
.fatweet-modal-username,
.fatweet-modal-text {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-break: break-word;
  overflow-wrap: break-word;
}

html, body, .fatweet-container, .fatweet-modal-content {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}

/* Responsive Media */
@media (max-width: 768px) {
  .fatweet-modal-media {
    padding: 8px 15px;
  }
  
  .fatweet-media-item {
    margin-bottom: 8px;
  }
  
  .fatweet-media-item img {
    width: 100% !important;
    height: auto !important;
    max-width: 550px;
    object-fit: cover;
  }
}

@media (max-width: 480px) {
  .fatweet-modal-media {
    padding: 6px 12px;
  }
  
  .fatweet-media-item img {
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
    object-fit: cover;
  }
}

/* Responsive Navbar Bölme */
@media (max-width: 1200px) {
  .fatweet-navbar-container {
    flex: 1 !important;
    min-width: 280px !important;
  }
}

@media (max-width: 992px) {
  .fatweet-navbar-container {
    flex: 1 !important;
    min-width: 250px !important;
  }
  
  .fatweet-navbar-logo {
    font-size: 16px !important;
  }
}

@media (max-width: 768px) {
  div[style*="display: flex"][style*="gap: 20px"] {
    flex-direction: column !important;
    gap: 10px !important;
  }
  
  .fatweet-navbar-container {
    flex: 1 !important;
    min-width: 100% !important;
    border-right: none !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    border-bottom: 2px solid #333 !important;
    padding-bottom: 10px !important;
    margin-bottom: 10px !important;
  }
  
  .fatweet-navbar-container:last-child {
    border-bottom: none !important;
  }
}

@media (max-width: 480px) {
  .fatweet-navbar-logo {
    font-size: 14px !important;
  }
  
  .fatweet-navbar-container {
    gap: 8px !important;
  }
  
  .fatweet-navbar-avatars {
    gap: 6px !important;
  }
}

/* Video Kontrolleri */
.fatweet-modal-media video::-webkit-media-controls {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Inline Code Stili */
.fatweet-inline-code {
  background: #f0f0f0;
  color: #d63384;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}

/* Dark mode için inline code */
@media (prefers-color-scheme: dark) {
  .fatweet-inline-code {
      background: #333;
      color: #ff79c6;
  }
}

/* Loading Animation */
@keyframes fatweet-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.fatweet-loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #1DA1F2;
  border-radius: 50%;
  animation: fatweet-spin 1s linear infinite;
}

/* Fade Animation */
@keyframes fatweet-fade-in {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

.fatweet-fade-in {
  animation: fatweet-fade-in 0.3s ease-in;
}

/* Slide Animation */
@keyframes fatweet-slide-in-left {
  from {
      transform: translateX(-20px);
      opacity: 0;
  }
  to {
      transform: translateX(0);
      opacity: 1;
  }
}

.fatweet-slide-in-left {
  animation: fatweet-slide-in-left 0.3s ease-out;
}

/* Pulse Animation */
@keyframes fatweet-pulse {
  0%, 100% {
      opacity: 1;
  }
  50% {
      opacity: 0.5;
  }
}

.fatweet-pulse {
  animation: fatweet-pulse 2s ease-in-out infinite;
}

/* Hover Lift Effect */
.fatweet-hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fatweet-hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

/* Focus Ring */
.fatweet-focus-ring:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(29, 161, 242, 0.1);
  border-color: #1DA1F2;
}

/* Accessibility - High Contrast Mode */
@media (prefers-contrast: more) {
  .fatweet-modal-content {
      border: 2px solid #000;
  }
  
  .fatweet-share-btn {
      border: 2px solid currentColor;
  }
  
  .fatweet-nav-btn {
      border: 2px solid #333;
  }
  
  .fatweet-media-prev,
  .fatweet-media-next {
      border: 2px solid white;
  }
}

/* Print Styles */
@media print {
  .fatweet-modal-close,
  .fatweet-modal-share,
  .fatweet-modal-navigation,
  .fatweet-media-navigation {
      display: none !important;
  }
  
  .fatweet-modal-content {
      box-shadow: none;
      border: 1px solid #ccc;
  }
  
  .fatweet-modal-text {
      color: #000;
  }
}
