/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #121212;
  color: #ffffff;
  line-height: 1.4;
}

/* Header Styles */
.header {
  background-color: #1a1a1a;
  border-bottom: 1px solid #333;
  padding: 0 20px;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}

.logo-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo-text {
  font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: bold;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: bold;
}

.logo-icon {
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  color: #ccc;
  text-decoration: none;
  font-size: 16px;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  border-bottom-color: #8b5cf6;
  background-color: #8b5cf6;
  border-radius: 6px;
  padding: 8px 12px;
}

.nav-more {
  background: none;
  border: none;
  color: #ccc;
  font-size: 20px;
  cursor: pointer;
  padding: 8px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-upload {
  background-color: #6366f1;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-upload:hover {
  background-color: #5855eb;
}

.btn-create {
  background-color: #8b5cf6;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-create:hover {
  background-color: #7c3aed;
}

.btn-profile,
.btn-login {
  background: none;
  border: 1px solid #444;
  color: #ccc;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-profile:hover,
.btn-login:hover {
  border-color: #666;
  color: #fff;
}

/* Search Section */
.search-section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.search-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.search-bar {
  display: flex;
  width: 100%;
  max-width: none;
  margin: 0;
  background-color: #2a2a2a;
  border-radius: 8px;
  overflow: hidden;
  align-items: stretch;
}

.search-input {
  flex: 1;
  padding: 16px 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 16px;
  outline: none;
  width: 100%;
}

.search-input::placeholder {
  color: #888;
}

.search-btn {
  background-color: #ec4899;
  border: none;
  padding: 16px 20px;
  color: white;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  flex-shrink: 0;
}

.search-btn:hover {
  background-color: #db2777;
}

.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.tag {
  background-color: #2a2a2a;
  color: #ccc;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tag.active {
  color: #ffffff;
  border-bottom-color: #8b5cf6;
  background-color: #8b5cf6;
  border-radius: 6px;
  padding: 8px 12px;
}

.tag:hover {
  background-color: #3a3a3a;
  color: #fff;
}

.channels {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.channels-header {
  color: #888;
  font-size: 14px;
}

.channels-list {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.channel {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
  padding: 12px;
  background-color: #2a2a2a;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.channel:hover {
  background-color: #3a3a3a;
}

.channel-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.channel-avatar.red {
  background-color: #ef4444;
}

.channel-avatar.blue {
  background-color: #3b82f6;
}

.channel-avatar.orange {
  background-color: #f97316;
}

.channel-avatar.brown {
  background-color: #a3a3a3;
}

.channel-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.channel-name {
  font-weight: 600;
  color: #fff;
}

.channel-handle {
  font-size: 12px;
  color: #888;
}

/* Content Section */
.content-section {
  padding: 0 20px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.content-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.content-tabs {
  display: flex;
  gap: 20px;
}

.tab {
  background: none;
  border: none;
  color: #888;
  font-size: 16px;
  padding: 12px 20px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab.active {
  background-color: #8b5cf6;
  color: #fff;
}

.tab:hover:not(.active) {
  color: #fff;
  background-color: #3a3a3a;
}

.content-controls {
  display: flex;
  gap: 12px;
}

.control-btn {
  background: none;
  border: 1px solid #444;
  color: #ccc;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.control-btn:hover {
  border-color: #666;
  color: #fff;
}

/* GIF Grid */
.gif-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.gif-item {
  background-color: #2a2a2a;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
  flex: 0 0 auto;
}

.gif-item:hover {
  transform: scale(1.02);
}

.gif-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Grid item sizes */
.gif-item {
  width: 200px;
  height: 200px;
}

.gif-item.tall {
  height: 300px;
}

.gif-item.wide {
  width: 300px;
  height: 150px;
}

.footer {
  padding: 20px;
  border-top: 1px solid #333;
  margin-top: 40px;
}

.footer-links {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.footer-link {
  color: #888;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #fff;
}

/* Added styles for loading, error, and no-results states */
.loading,
.error,
.no-results {
  text-align: center;
  padding: 40px 20px;
  font-size: 18px;
  color: #888;
}

.loading {
  color: #8b5cf6;
}

.error {
  color: #ef4444;
}

.no-results {
  color: #888;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    height: auto;
    padding: 15px 0;
    gap: 15px;
  }
  .logo-nav {
    flex-direction: column;
    gap: 15px;
  }
  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  .header-actions {
    order: -1;
  }
  .search-section {
    padding: 20px;
  }
  .search-tags {
    justify-content: flex-start;
  }
  .channels-list {
    flex-direction: column;
    gap: 12px;
  }
  .channel {
    min-width: auto;
  }
  .content-header {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  .gif-grid {
    justify-content: center;
  }
  .gif-item,
  .gif-item.tall,
  .gif-item.wide {
    width: 150px;
    height: 150px;
  }
}
@media (max-width: 320px) {
  .header {
    padding: 0 15px;
  }
  .search-section,
  .content-section {
    padding: 15px;
  }
  .search-bar {
    max-width: 100%;
  }
  .gif-item,
  .gif-item.tall,
  .gif-item.wide {
    width: 120px;
    height: 120px;
  }
  .nav {
    gap: 10px;
  }
  .nav-link {
    font-size: 14px;
  }
}

/*# sourceMappingURL=style.css.map */
