* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: #0a0a0a;
  color: #ffffff;
  line-height: 1.5;
}

.app-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #2a2a2a;
  position: sticky;
  top: 0;
  background-color: #0a0a0a;
  z-index: 100;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

.logo span {
  color: #e50914;
}

.search-wrapper {
  position: relative;
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  font-size: 14px;
}

#searchInput {
  padding: 8px 12px 8px 36px;
  border-radius: 20px;
  border: 1px solid #333;
  background-color: #1a1a1a;
  color: white;
  width: 250px;
  font-size: 14px;
  transition: all 0.3s;
}

#searchInput:focus {
  outline: none;
  border-color: #e50914;
  width: 300px;
}

@media (max-width: 768px) {
  #searchInput {
    width: 180px;
  }
  #searchInput:focus {
    width: 200px;
  }
}

/* Navigation Tabs */
.tabs-nav {
  display: flex;
  gap: 8px;
  padding: 12px 0;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: thin;
}

.tabs-nav::-webkit-scrollbar {
  height: 4px;
}

.tab-btn {
  padding: 8px 16px;
  border-radius: 30px;
  border: none;
  background-color: #1f1f1f;
  color: #ccc;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-btn:hover {
  background-color: #2f2f2f;
  color: white;
}

.tab-btn.active {
  background-color: #e50914;
  color: white;
}

/* Feed Container */
.feed-container {
  margin-top: 20px;
  min-height: 60vh;
}

/* Loading Indicator */
.loading-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 40px;
  color: #888;
}

.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid #333;
  border-top-color: #e50914;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Load More Button */
.load-more-btn {
  display: block;
  width: 200px;
  margin: 30px auto;
  padding: 12px 24px;
  background-color: #2a2a2a;
  border: none;
  border-radius: 30px;
  color: white;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.load-more-btn:hover {
  background-color: #3a3a3a;
}

/* Search Results Info */
.search-info {
  text-align: center;
  padding: 20px;
  color: #888;
}