/* Banner */

.header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
  text-align: center;
}

.profile-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.profile-pic {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #77c8ff;
}

.username {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

/* Body */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #0a0f1a;
  color: #e6f7ff;
}

/* Navbar */
nav {
  background: #0d1b2a;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav h1 {
  margin: 0;
  color: #77c8ff;
  font-size: 22px;
}

nav .social {
  display: flex;
  gap: 15px;
}

nav .social a {
  color: #77c8ff;
  text-decoration: none;
  font-size: 18px;
  transition: 0.3s;
}

nav .social a:hover {
  color: #b9e8ff;
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: #77c8ff;
}

/* Mobile Dropdown */
#menuLinks {
  transition: max-height 0.4s ease;
}

nav .social.open {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Search */
.search-container {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.search-container input {
  width: 80%;
  max-width: 500px;
  padding: 12px 20px;
  border-radius: 25px;
  background: #14263d;
  border: none;
  outline: none;
  color: #fff;
  font-size: 16px;
}

/* Card Grid */
.card-container {
  display: grid;
  gap: 20px;
  padding: 15px;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

/* Card Styling */
.card {
  background: #101c2b;
  padding: 10px;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 0px 15px rgba(119, 200, 255, 0.5);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: #06101c;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.card:hover img {
  transform: scale(1.05);
}

.card .content p {
  color: #cfe8ff;
  font-size: 14px;
  margin: 10px 0;
  height: 40px;
  overflow: hidden;
}

.button-group {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.card button {
  background: #65c7ff;
  color: #000;
  border: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: background 0.3s;
}

.card button:hover {
  background: #9edfef;
}

/* Pagination */
.pagination {
  text-align: center;
  padding: 20px;
}

.pagination button {
  padding: 10px 15px;
  margin: 5px;
  border-radius: 8px;
  background: #1d9bf0;
  color: white;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.pagination button:hover {
  background: #77c8ff;
  color: #0a0f1a;
}

.seo-text {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  font-size: 16px;
  line-height: 1.7;
  color: #ddd;
}

.seo-text h2, 
.seo-text h3 {
  color: #fff;
  margin-bottom: 10px;
}

.seo-hidden details {
  font-size: 12px;
  color: #666;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
  nav .social {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .card-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .card-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1025px) {
  .card-container {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}
