* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
  color: #ffffff;
  display: flex;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Sidebar Styles */
.sidebar {
  width: 280px;
  background: rgba(15, 15, 35, 0.95);
  backdrop-filter: blur(10px);
  border-right: 1px solid #2a2a4a;
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1000;
}

.logo-section {
  padding: 30px 25px 20px;
  border-bottom: 1px solid #2a2a4a;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #00ff99, #00ccff);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  color: #0f0f23;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, #00ff99, #00ccff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid #2a2a4a;
}

.user-avatar {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #ff6b6b, #ffa726);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.user-name {
  font-weight: 500;
  font-size: 0.95rem;
}

/* Navigation Styles */
.main-nav {
  flex: 1;
  padding: 20px 0;
  overflow-y: auto;
}

.nav-section {
  margin-bottom: 25px;
}

.nav-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #6c757d;
  padding: 0 25px 10px;
  letter-spacing: 1px;
}

.main-nav ul {
  list-style: none;
}

.main-nav li {
  margin: 2px 0;
}

.main-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 25px;
  color: #b0b0b0;
  text-decoration: none;
  font-weight: 400;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border-left-color: #00ff99;
}

.main-nav li.active a {
  background: rgba(0, 255, 153, 0.1);
  color: #00ff99;
  border-left-color: #00ff99;
}

.nav-icon {
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
}

/* Navigation Footer */
.nav-footer {
  padding: 20px 25px;
  border-top: 1px solid #2a2a4a;
}

.quick-action {
  margin-bottom: 15px;
}

.action-btn {
  width: 100%;
  padding: 12px 16px;
  background: linear-gradient(135deg, #00ff99, #00ccff);
  border: none;
  border-radius: 8px;
  color: #0f0f23;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 255, 153, 0.3);
}

.current-time {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-size: 0.85rem;
  color: #6c757d;
}

.time-icon {
  font-size: 0.9rem;
}

/* Main Content */
.main-content {
  flex: 1;
  margin-left: 280px;
  padding: 0;
  min-height: 100vh;
}

.top-header {
  background: rgba(15, 15, 35, 0.8);
  backdrop-filter: blur(10px);
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #2a2a4a;
  position: sticky;
  top: 0;
  z-index: 100;
}

.search-bar {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  padding: 8px 20px;
  width: 400px;
  border: 1px solid #2a2a4a;
}

.search-bar input {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 0.95rem;
  flex: 1;
  outline: none;
}

.search-bar input::placeholder {
  color: #6c757d;
}

.search-btn {
  background: none;
  border: none;
  color: #00ff99;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.theme-toggle, .notification-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid #2a2a4a;
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  color: #ffffff;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.theme-toggle:hover, .notification-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.1);
}

.user-avatar-small {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #ff6b6b, #ffa726);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Content Area */
.content-area {
  padding: 40px;
}

.welcome-section {
  margin-bottom: 40px;
}

.welcome-section h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #00ff99, #00ccff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.welcome-section p {
  color: #b0b0b0;
  font-size: 1.1rem;
}

/* Quick Stats */
.quick-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #2a2a4a;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: #00ff99;
  box-shadow: 0 10px 25px rgba(0, 255, 153, 0.1);
}

.stat-icon {
  font-size: 2rem;
  background: rgba(0, 255, 153, 0.1);
  padding: 12px;
  border-radius: 10px;
}

.stat-info h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #00ff99;
  margin-bottom: 4px;
}

.stat-info p {
  color: #b0b0b0;
  font-size: 0.9rem;
}

/* Featured Section */
.featured-section {
  margin-bottom: 40px;
}

.featured-section h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #ffffff;
}

.anime-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.anime-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #2a2a4a;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.anime-card:hover {
  transform: translateY(-5px);
  border-color: #00ff99;
  box-shadow: 0 10px 25px rgba(0, 255, 153, 0.1);
}

.anime-poster {
  height: 140px;
  background: linear-gradient(135deg, #2a2a4a, #3a3a5a);
  position: relative;
}

.anime-poster::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.7));
}

.anime-info {
  padding: 15px;
}

.anime-info h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: #ffffff;
}

.anime-info p {
  color: #b0b0b0;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.progress-bar {
  background: rgba(255, 255, 255, 0.1);
  height: 4px;
  border-radius: 2px;
  overflow: hidden;
}

.progress {
  height: 100%;
  background: linear-gradient(90deg, #00ff99, #00ccff);
  border-radius: 2px;
}

/* API Sections */
.api-sections {
  display: grid;
  gap: 40px;
  margin-bottom: 40px;
}

.top-airing-section h2,
.most-popular-section h2,
.seasonal-section h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #ffffff;
}

.anime-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.anime-api-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #2a2a4a;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.anime-api-card:hover {
  transform: translateY(-5px);
  border-color: #00ff99;
  box-shadow: 0 10px 25px rgba(0, 255, 153, 0.1);
}

.anime-api-poster {
  height: 280px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.anime-rank {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #ff6b6b, #ffa726);
  color: white;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 0.8rem;
}

.anime-api-info {
  padding: 15px;
}

.anime-api-info h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
  line-height: 1.3;
  height: 2.6em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.anime-stats {
  margin-bottom: 10px;
}

.score-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.score {
  color: #ffa726;
  font-weight: 700;
  font-size: 0.9rem;
}

.members {
  color: #b0b0b0;
  font-size: 0.8rem;
}

.anime-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.75rem;
  color: #888;
}

.episodes, .type {
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.anime-genres {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.genre-tag {
  background: rgba(0, 255, 153, 0.2);
  color: #00ff99;
  padding: 2px 6px;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 500;
}

.loading, .error {
  text-align: center;
  padding: 40px;
  color: #b0b0b0;
  font-size: 1.1rem;
  grid-column: 1 / -1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid #2a2a4a;
}

.error {
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.1);
}

/* Random Anime Section */
.random-anime-section h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #ffffff;
}

.random-anime-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #2a2a4a;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  max-width: 500px;
  transition: all 0.3s ease;
}

.random-anime-card:hover {
  transform: translateY(-5px);
  border-color: #00ff99;
  box-shadow: 0 10px 25px rgba(0, 255, 153, 0.1);
}

.random-poster {
  width: 150px;
  background: linear-gradient(135deg, #2a2a4a, #3a3a5a);
  background-size: cover;
  background-position: center;
  position: relative;
}

.random-poster::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.7));
}

.random-info {
  padding: 20px;
  flex: 1;
}

.random-info h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #ffffff;
}

.random-info p {
  color: #b0b0b0;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.rating {
  color: #ffa726;
  font-weight: 500;
  margin-bottom: 15px;
}

.watch-btn {
  background: linear-gradient(135deg, #00ff99, #00ccff);
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  color: #0f0f23;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.watch-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 255, 153, 0.3);
}

/* Light Theme */
.light-theme {
  background: linear-gradient(135deg, #f0f2f5 0%, #e1e8ed 50%, #d4e1e7 100%);
  color: #333;
}

.light-theme .sidebar {
  background: rgba(255, 255, 255, 0.95);
  border-right-color: #e1e8ed;
}

.light-theme .nav-title {
  color: #666;
}

.light-theme .main-nav a {
  color: #555;
}

.light-theme .main-nav a:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #333;
}

.light-theme .search-bar {
  background: rgba(0, 0, 0, 0.05);
  border-color: #e1e8ed;
}

.light-theme .search-bar input {
  color: #333;
}

.light-theme .search-bar input::placeholder {
  color: #888;
}

.light-theme .anime-card,
.light-theme .anime-api-card,
.light-theme .random-anime-card,
.light-theme .stat-card {
  background: rgba(255, 255, 255, 0.8);
  border-color: #e1e8ed;
  color: #333;
}

.light-theme .anime-info h4,
.light-theme .anime-api-info h4,
.light-theme .random-info h3 {
  color: #333;
}

.light-theme .anime-info p,
.light-theme .anime-api-meta,
.light-theme .random-info p {
  color: #666;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .sidebar {
    width: 250px;
  }
  .main-content {
    margin-left: 250px;
  }
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  .sidebar.active {
    transform: translateX(0);
  }
  .main-content {
    margin-left: 0;
  }
  .content-area {
    padding: 20px;
  }
  .top-header {
    padding: 15px 20px;
  }
  .search-bar {
    width: 200px;
  }
  .anime-list {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  .random-anime-card {
    flex-direction: column;
  }
  .random-poster {
    width: 100%;
    height: 200px;
  }
}
/* Search Modal Styles */
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  z-index: 3000;
  padding: 50px 20px;
  overflow-y: auto;
}

.search-modal-content {
  background: #1a1a2e;
  border-radius: 15px;
  width: 90%;
  max-width: 1200px;
  max-height: 80vh;
  overflow-y: auto;
  border: 2px solid #00ff99;
}

.search-modal-header {
  padding: 20px;
  background: linear-gradient(135deg, #00ff99, #00ccff);
  color: #0f0f23;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1;
}

.search-modal-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.close-search {
  font-size: 2rem;
  cursor: pointer;
  color: #0f0f23;
  transition: transform 0.3s ease;
}

.close-search:hover {
  transform: scale(1.2);
}

.search-results {
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  max-height: 60vh;
  overflow-y: auto;
}

.search-result-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #2a2a4a;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.search-result-item:hover {
  transform: translateY(-5px);
  border-color: #00ff99;
  box-shadow: 0 10px 25px rgba(0, 255, 153, 0.1);
}

.search-result-poster {
  height: 300px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.search-result-info {
  padding: 15px;
}

.search-result-info h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #ffffff;
  line-height: 1.3;
}

.search-result-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #b0b0b0;
  margin-bottom: 8px;
}

.search-result-score {
  background: rgba(255, 165, 0, 0.2);
  padding: 2px 8px;
  border-radius: 10px;
  color: #ffa726;
  font-weight: 600;
}

.search-result-genres {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.search-genre-tag {
  background: rgba(0, 255, 153, 0.2);
  color: #00ff99;
  padding: 2px 6px;
  border-radius: 8px;
  font-size: 0.7rem;
  font-weight: 500;
}

.no-results {
  text-align: center;
  padding: 40px;
  color: #b0b0b0;
  font-size: 1.1rem;
  grid-column: 1 / -1;
}

/* Light theme support */
.light-theme .search-modal-content {
  background: #ffffff;
  border-color: #00a86b;
}

.light-theme .search-result-item {
  background: rgba(0, 0, 0, 0.05);
  border-color: #e1e8ed;
}

.light-theme .search-result-item:hover {
  border-color: #00a86b;
}

.light-theme .search-result-info h4 {
  color: #333;
}
/* Trailer Modal Styles */
.trailer-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 4000;
  padding: 20px;
}

.trailer-modal-content {
  background: #1a1a2e;
  border-radius: 15px;
  width: 90%;
  max-width: 900px;
  border: 2px solid #00ff99;
  overflow: hidden;
}

.trailer-modal-header {
  padding: 20px;
  background: linear-gradient(135deg, #00ff99, #00ccff);
  color: #0f0f23;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.trailer-modal-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.close-trailer {
  font-size: 2rem;
  cursor: pointer;
  color: #0f0f23;
  transition: transform 0.3s ease;
}

.close-trailer:hover {
  transform: scale(1.2);
}

.trailer-container {
  padding: 20px;
  background: #000;
}

/* Light theme support */
.light-theme .trailer-modal-content {
  background: #ffffff;
  border-color: #00a86b;
}

.light-theme .trailer-modal-header {
  background: linear-gradient(135deg, #00ff99, #00ccff);
}
/* Community Section Styles */
.community-section {
  margin-bottom: 40px;
}

.community-section h2 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #ffffff;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
}

.community-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #2a2a4a;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.community-card:hover {
  transform: translateY(-5px);
  border-color: #00ff99;
  box-shadow: 0 10px 25px rgba(0, 255, 153, 0.1);
}

.community-header {
  padding: 20px;
  background: rgba(0, 255, 153, 0.1);
  border-bottom: 1px solid #2a2a4a;
  display: flex;
  align-items: center;
  gap: 12px;
}

.community-icon {
  font-size: 1.5rem;
}

.community-header h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #00ff99;
  margin: 0;
}

.community-content {
  padding: 20px;
  flex: 1;
}

/* Forums Styles */
.forum-thread {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.2s ease;
}

.forum-thread:last-child {
  border-bottom: none;
}

.forum-thread:hover {
  background: rgba(255, 255, 255, 0.05);
  margin: 0 -10px;
  padding: 12px 10px;
  border-radius: 8px;
}

.thread-title {
  font-weight: 500;
  margin-bottom: 5px;
  color: #ffffff;
  font-size: 0.95rem;
}

.thread-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #b0b0b0;
}

/* Rankings Styles */
.ranking-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ranking-item:last-child {
  border-bottom: none;
}

.rank-number {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #ff6b6b, #ffa726);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #0f0f23;
}

.rank-info {
  flex: 1;
}

.rank-title {
  font-weight: 500;
  font-size: 0.9rem;
  color: #ffffff;
  margin-bottom: 2px;
}

.rank-score {
  font-size: 0.8rem;
  color: #ffa726;
  font-weight: 600;
}

/* News Styles */
.news-item {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.2s ease;
}

.news-item:last-child {
  border-bottom: none;
}

.news-item:hover {
  background: rgba(255, 255, 255, 0.05);
  margin: 0 -10px;
  padding: 12px 10px;
  border-radius: 8px;
}

.news-title {
  font-weight: 500;
  margin-bottom: 6px;
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.3;
}

.news-excerpt {
  font-size: 0.85rem;
  color: #b0b0b0;
  margin-bottom: 6px;
  line-height: 1.4;
}

.news-meta {
  font-size: 0.75rem;
  color: #6c757d;
}

/* Community Buttons */
.community-btn {
  width: 100%;
  padding: 12px;
  background: rgba(0, 255, 153, 0.1);
  border: 1px solid #00ff99;
  border-radius: 0 0 12px 12px;
  color: #00ff99;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: auto;
}

.community-btn:hover {
  background: rgba(0, 255, 153, 0.2);
  transform: none;
}

/* Light Theme Support */
.light-theme .community-card {
  background: rgba(255, 255, 255, 0.8);
  border-color: #e1e8ed;
}

.light-theme .community-header {
  background: rgba(0, 255, 153, 0.1);
  border-bottom-color: #e1e8ed;
}

.light-theme .thread-title,
.light-theme .rank-title,
.light-theme .news-title {
  color: #333;
}

.light-theme .thread-meta,
.light-theme .news-excerpt {
  color: #666;
}

.light-theme .forum-thread:hover,
.light-theme .news-item:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* Responsive Design */
@media (max-width: 768px) {
  .community-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .community-card {
    min-height: 300px;
  }
}
/* Enhanced Loading States */
.loading {
    text-align: center;
    padding: 40px;
    color: #b0b0b0;
    font-size: 1.1rem;
    grid-column: 1 / -1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid #2a2a4a;
}

.error {
    text-align: center;
    padding: 40px;
    color: #ff6b6b;
    font-size: 1.1rem;
    grid-column: 1 / -1;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 12px;
    border: 1px solid #ff6b6b;
}

/* Retry Button */
.retry-btn {
    background: linear-gradient(135deg, #00ff99, #00ccff);
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    color: #0f0f23;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
}

.retry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 153, 0.3);
}