/*
 * site.css — global theme shared by every public page
 * Variables, header/nav, hero, pack grid, resources section, footer.
 * Loaded by: index.html, Privacy Policy.html, Packs/*.html
 */

/* Modern CSS Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  /* Modern Color Palette */
  --primary: #8a2be2;
  --primary-light: #b980ff;
  --primary-dark: #6a0dad;
  --secondary: #ff6ec7;
  --accent: #00e5ff;
  --background: #0a0a20;
  --background-light: #1a1a40;
  --background-card: rgba(26, 26, 64, 0.7);
  --text: #ffffff;
  --text-muted: #b3b3cc;
  --border-radius: 12px;
  --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  --transition: all 0.3s ease;
  --glow: 0 0 10px rgba(138, 43, 226, 0.5);
}

body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
    "Helvetica Neue", sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  user-select: none;

  /* Keep the space background */
  background-image: url("../../5446991.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
}

/* Modern Container */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styling */
header {
  background-color: rgba(10, 10, 32, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
}

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

.logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  transition: var(--transition);
  filter: drop-shadow(0 0 8px rgba(138, 43, 226, 0.6));
}

.logo:hover {
  transform: rotate(10deg) scale(1.1);
}

.site-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  background: linear-gradient(90deg, var(--primary-light), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navigation */
nav {
  margin-top: 10px;
  width: 100%;
}

@media (min-width: 768px) {
  nav {
    width: auto;
    margin-top: 0;
  }
}

.nav-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 5px;
  justify-content: center;
  flex-wrap: wrap;
}

.nav-item a {
  display: block;
  padding: 10px 20px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  border-radius: var(--border-radius);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.nav-item a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  opacity: 0;
  z-index: -1;
  transition: var(--transition);
}

.nav-item a:hover::before,
.nav-item a.active::before {
  opacity: 1;
}

.nav-item a.active {
  font-weight: 700;
}

/* Hero Section Styling */
.hero-section {
  padding: 0;
  background: none;
  overflow: visible;
  margin-bottom: 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 60px 0 40px;
}

@media (min-width: 992px) {
  .hero-content {
    flex-direction: row;
    align-items: center;
  }
}

.hero-text-container {
  flex: 1;
  max-width: 600px;
}

.hero-logo-mobile {
  display: none;
  margin-bottom: 30px;
  text-align: center;
}

@media (min-width: 992px) {
  .hero-logo-mobile {
    display: none;
  }
}

.hero-logo-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 0 15px rgba(138, 43, 226, 0.6));
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--primary-light), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  font-weight: 800;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-btn {
  padding: 14px 28px;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
}

.primary-btn {
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 4px 15px rgba(138, 43, 226, 0.3);
}

.primary-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(138, 43, 226, 0.4);
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
}

.secondary-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.hero-stats {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-visual {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

/* Update the hero logo styling and animations */
.hero-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-bottom: 20px;
  width: 100%;
  height: auto;
  perspective: 1000px;
  flex-shrink: 0;
}

.hero-logo {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 0 20px rgba(138, 43, 226, 0.6));
  transition: all 0.5s ease;
  position: relative;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}

/* Mobile responsive adjustments (under 768px) */
@media (max-width: 767px) {
  .hero-logo-container {
    margin: 30px auto;
    width: auto;
    max-width: 100%;
  }

  .hero-logo {
    width: 200px;
    height: 200px;
  }

  .logo-glow {
    width: 220px;
    height: 220px;
  }
}

/* Tablet responsive adjustments (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .hero-logo-container {
    margin: 25px auto;
    width: auto;
  }

  .hero-logo {
    width: 240px;
    height: 240px;
  }

  .logo-glow {
    width: 260px;
    height: 260px;
  }
}

.interactive-logo {
  cursor: pointer;
}

.interactive-logo:hover {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 0 30px rgba(138, 43, 226, 0.8));
  animation-play-state: paused;
}

.interactive-logo:hover ~ .logo-particles {
  opacity: 1;
}

.logo-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138, 43, 226, 0.3) 0%, rgba(255, 110, 199, 0.2) 50%, rgba(0, 0, 0, 0) 70%);
  z-index: 1;
  animation: pulse 4s ease-in-out infinite alternate;
}

.logo-particles {
  position: absolute;
  width: 400px;
  height: 400px;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  opacity: 0;
}

@keyframes pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

@keyframes float {
  0% {
    transform: translateY(0px) rotateZ(0deg);
  }
  25% {
    transform: translateY(-10px) rotateZ(2deg);
  }
  50% {
    transform: translateY(-15px) rotateZ(0deg);
  }
  75% {
    transform: translateY(-5px) rotateZ(-2deg);
  }
  100% {
    transform: translateY(0px) rotateZ(0deg);
  }
}

@keyframes particle-float {
  0% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0;
  }
  20% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-100px) translateX(var(--x)) scale(0);
    opacity: 0;
  }
}

@keyframes click-pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

/* Adjust responsive styles for the larger logo */
@media (max-width: 992px) {
  .hero-logo {
    width: 220px;
    height: 220px;
  }

  .logo-glow {
    width: 240px;
    height: 240px;
  }

  .logo-particles {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 576px) {
  .hero-logo {
    width: 180px;
    height: 180px;
  }

  .logo-glow {
    width: 200px;
    height: 200px;
  }

  .logo-particles {
    width: 250px;
    height: 250px;
  }
}

/* Remove the hero-showcase styles since we're not using it anymore */
.hero-showcase {
  display: none;
}

/* Update the stat items to remove download references */
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.showcase-item {
  width: 220px;
  height: 140px;
  border-radius: var(--border-radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  transform: perspective(800px) rotateY(5deg);
}

.showcase-item:hover,
.showcase-item.active {
  transform: perspective(800px) rotateY(0) scale(1.05);
  z-index: 2;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.showcase-item:hover .showcase-img {
  transform: scale(1.1);
}

.showcase-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
}

.showcase-overlay h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.showcase-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 10px;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Features Section */
.features-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: 60px 0;
}

.feature-card {
  background-color: rgba(26, 26, 64, 0.5);
  border-radius: var(--border-radius);
  padding: 30px;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: var(--primary-light);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: white;
}

.feature-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--text);
}

.feature-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Community Section */
.community-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 60px 0;
  background-color: rgba(26, 26, 64, 0.5);
  border-radius: var(--border-radius);
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

@media (min-width: 992px) {
  .community-section {
    flex-direction: row;
    align-items: center;
  }
}

.community-text {
  flex: 1;
}

.community-title {
  font-size: 2rem;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--primary-light), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.community-description {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.community-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: #5865f2;
  color: white;
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

.community-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
}

.community-widget {
  flex: 1;
  min-width: 300px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

/* Search Bar */
.search-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 40px;
  position: relative;
  transition: var(--transition);
}

.search-input {
  width: 100%;
  padding: 15px 25px 15px 55px;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(26, 26, 64, 0.7);
  color: var(--text);
  font-size: 1rem;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: var(--transition);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.search-input:focus {
  outline: none;
  background-color: rgba(26, 26, 64, 0.9);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.3);
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  transition: var(--transition);
}

.search-input:focus + .search-icon {
  color: var(--primary);
}

.search-clear {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0;
  transition: var(--transition);
  font-size: 1rem;
}

.search-clear:hover {
  color: var(--secondary);
}

.search-clear.visible {
  opacity: 1;
}

/* Section Styling */
section {
  padding: 60px 0;
}

/* Update the section-title class to fix clipping and improve visual style */
.section-title {
  font-size: 2.2rem;
  text-align: center;
  margin: 0 auto 50px;
  position: relative;
  display: block;
  width: 100%;
  max-width: 800px;
  color: white;
  padding-bottom: 15px;
  font-weight: 700;
  text-shadow: 0 0 15px rgba(138, 43, 226, 0.5);
  background: linear-gradient(90deg, var(--primary-light), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: none;
  left: auto;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

/* Add a subtle animation to section titles */
.section-title {
  animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 5px rgba(138, 43, 226, 0.3);
  }
  to {
    text-shadow: 0 0 15px rgba(138, 43, 226, 0.7), 0 0 20px rgba(255, 110, 199, 0.5);
  }
}

/* Responsive adjustments for section titles */
@media (max-width: 768px) {
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .section-title::after {
    width: 80px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.6rem;
    margin-bottom: 25px;
  }

  .section-title::after {
    width: 60px;
  }
}

/* Update the h2 styling to ensure they don't clip */
h2 {
  margin: 0 auto;
  color: var(--text);
  font-weight: bold;
  text-align: center;
  background-color: transparent;
  padding: 20px 0;
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  margin-bottom: 20px;
  overflow: visible;
}

/* Texture Packs Section Improvements */
.texture-pack-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 20px;
}

.filter-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-group label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Update dropdown styling for better readability */
.filter-select,
.sort-select {
  padding: 10px 15px;
  border-radius: var(--border-radius);
  background-color: rgba(26, 26, 64, 0.9);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  min-width: 150px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-select:hover,
.sort-select:hover {
  background-color: rgba(40, 40, 100, 0.9);
  border-color: var(--primary-light);
}

.filter-select:focus,
.sort-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(138, 43, 226, 0.3);
}

/* Ensure dropdown options are readable */
.filter-select option,
.sort-select option {
  background-color: rgba(26, 26, 64, 0.9);
  color: white;
  padding: 10px;
}

/* Elegant bubble expand animation for pack cards */
@keyframes bubbleExpandIn {
  0% {
    opacity: 0;
    transform: scale(0.2) translateY(30px);
    filter: blur(4px);
  }
  60% {
    opacity: 0.95;
    transform: scale(1.08);
    filter: blur(0px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0px);
  }
}

@keyframes typeWriterMirror {
  0% {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
}

/* Apply animation to pack cards when displayed */
.pack-card {
  animation: bubbleExpandIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Stagger animation for multiple cards */
.packs-grid .pack-card:nth-child(1) { animation-delay: 0ms; }
.packs-grid .pack-card:nth-child(2) { animation-delay: 50ms; }
.packs-grid .pack-card:nth-child(3) { animation-delay: 100ms; }
.packs-grid .pack-card:nth-child(4) { animation-delay: 150ms; }
.packs-grid .pack-card:nth-child(5) { animation-delay: 200ms; }
.packs-grid .pack-card:nth-child(6) { animation-delay: 250ms; }
.packs-grid .pack-card:nth-child(7) { animation-delay: 300ms; }
.packs-grid .pack-card:nth-child(8) { animation-delay: 350ms; }
.packs-grid .pack-card:nth-child(9) { animation-delay: 400ms; }
.packs-grid .pack-card:nth-child(10) { animation-delay: 450ms; }
.packs-grid .pack-card:nth-child(11) { animation-delay: 500ms; }
.packs-grid .pack-card:nth-child(12) { animation-delay: 550ms; }

.view-options {
  display: flex;
  gap: 10px;
}

.view-btn {
  padding: 8px 15px;
  border-radius: var(--border-radius);
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.view-btn:hover,
.view-btn.active {
  background-color: var(--primary);
  color: white;
}

/* Featured Packs Section */
.featured-packs {
  margin-bottom: 40px;
}

.featured-title {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--text);
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.featured-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

/* Featured Packs Carousel */
.featured-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  margin-bottom: 30px;
}

.featured-carousel {
  display: flex;
  transition: transform 0.5s ease;
}

.featured-pack {
  flex: 0 0 100%;
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.2), rgba(255, 110, 199, 0.2));
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: rgba(26, 26, 64, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel-nav:hover {
  background-color: var(--primary);
  color: white;
}

.carousel-prev {
  left: 15px;
}

.carousel-next {
  right: 15px;
}

.carousel-indicators {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  background-color: var(--primary);
  transform: scale(1.2);
}

.featured-content {
  display: flex;
  flex-direction: column;
  padding: 30px;
}

@media (min-width: 768px) {
  .featured-content {
    flex-direction: row;
    align-items: center;
  }
}

.featured-text {
  flex: 1;
  padding-right: 20px;
}

.featured-text h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--text);
  background: linear-gradient(90deg, var(--text), var(--primary-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.featured-text p {
  color: var(--text);
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.featured-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.featured-version,
.featured-downloads,
.featured-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Remove or comment out all star rating related styles */
.pack-rating,
.featured-rating {
  display: none;
}

.featured-btn {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: white;
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 500;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.featured-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.featured-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

@media (min-width: 768px) {
  .featured-image {
    margin-top: 0;
  }
}

.featured-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
  transform: perspective(800px) rotateY(-5deg);
}

.featured-pack:hover .featured-image img {
  transform: perspective(800px) rotateY(0deg) translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Pack Categories */
.pack-categories {
  margin-bottom: 30px;
}

.category-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 10px;
  flex-wrap: wrap;
}

.category-tab {
  padding: 10px 20px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text);
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.category-tab:hover,
.category-tab.active {
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: white;
}

/* Packs Header */
.packs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 15px;
}

.packs-count {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.packs-count span {
  color: var(--text);
  font-weight: 600;
}

.packs-sort {
  display: flex;
  align-items: center;
  gap: 10px;
}

.packs-sort label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Enhanced Pack Cards */
.packs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  padding: 0 20px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.pack-card {
  background-color: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1), 0 4px 16px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pack-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15), 0 8px 20px rgba(138, 43, 226, 0.15);
  border-color: rgba(255, 255, 255, 0.12);
  background-color: rgba(255, 255, 255, 0.04);
}

.pack-ribbon {
  position: absolute;
  top: 15px;
  right: -30px;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: white;
  padding: 5px 30px;
  transform: rotate(45deg);
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.pack-image-container {
  position: relative;
  overflow: hidden;
}

.pack-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pack-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 10, 32, 0.3), rgba(138, 43, 226, 0.1));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pack-image-container:hover .pack-overlay {
  opacity: 1;
}

.pack-image-container:hover .pack-image {
  transform: scale(1.08);
}

.overlay-btn {
  padding: 12px 28px;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: #ffffff;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform: translateY(16px) scale(0.92);
  opacity: 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(138, 43, 226, 0.4);
}

.pack-image-container:hover .overlay-btn {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.overlay-btn:hover {
  background: linear-gradient(45deg, var(--primary-dark), var(--primary));
  box-shadow: 0 8px 20px rgba(138, 43, 226, 0.5);
  transform: translateY(-2px) scale(1);
}

.pack-content {
  padding: 18px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pack-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.pack-tag {
  padding: 4px 10px;
  background-color: rgba(138, 43, 226, 0.2);
  color: var(--primary-light);
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
}

.pack-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text);
  font-weight: 600;
}

.pack-description {
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Adjust the pack-meta layout since we're removing the rating */
.pack-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: auto;
}

.pack-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 100%;
}

.pack-version {
  display: inline-block;
  padding: 5px 12px;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: white;
}

.pack-downloads {
  font-size: 0.8rem;
  color: var(--text-muted);
  position: relative;
  cursor: help;
}

/* Remove download count hover effect */
.pack-downloads::after {
  display: none;
}

/* Pagination */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 60px;
  gap: 12px;
  padding: 28px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.pagination-btn {
  padding: 10px 18px;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.pagination-btn:hover:not([disabled]) {
  background: rgba(138, 43, 226, 0.15);
  color: white;
  border-color: rgba(138, 43, 226, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(138, 43, 226, 0.25);
}

.pagination-btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

.pagination-numbers {
  display: flex;
  gap: 8px;
}

.page-number {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-weight: 500;
  font-size: 0.95rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.page-number:hover {
  background: rgba(138, 43, 226, 0.12);
  border-color: rgba(138, 43, 226, 0.4);
  transform: translateY(-2px);
}

.page-number.active {
  background: rgba(138, 43, 226, 0.25);
  border-color: rgba(138, 43, 226, 0.6);
  color: white;
  box-shadow: 0 0 12px rgba(138, 43, 226, 0.2);
}

.page-number.active {
  position: relative;
}

.page-number.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  background-color: var(--primary);
  border-radius: 50%;
}

/* Jump-to-page input styling */
.pagination-jump {
  margin: 0 10px;
}

.jump-page-input {
  width: 80px;
  padding: 8px 12px;
  background-color: rgba(26, 26, 64, 0.7);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  font-size: 0.95rem;
  transition: var(--transition);
}

.jump-page-input:focus {
  outline: none;
  border-color: var(--primary);
  background-color: rgba(26, 26, 64, 0.9);
  box-shadow: 0 0 10px rgba(138, 43, 226, 0.3);
}

.jump-page-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* List View Styles (for JavaScript implementation) */
.packs-grid.list-view {
  grid-template-columns: 1fr;
}

.packs-grid.list-view .pack-card {
  flex-direction: row;
  height: auto;
}

.packs-grid.list-view .pack-image-container {
  width: 30%;
  min-width: 250px;
}

.packs-grid.list-view .pack-content {
  width: 70%;
  display: flex;
  flex-direction: column;
}

.packs-grid.list-view .pack-title {
  font-size: 1.4rem;
}

.packs-grid.list-view .pack-description {
  margin-bottom: 15px;
}

/* Discord Widget */
.discord-widget {
  background-color: var(--background-card);
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.discord-widget:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  border-color: var(--primary-light);
}

.discord-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.discord-logo {
  width: 30px;
  height: 30px;
}

.discord-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #5865f2;
  margin: 0;
}

/* Footer */
footer {
  background-color: rgba(10, 10, 32, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 40px 0;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.footer-logo-text {
  font-size: 1.2rem;
  font-weight: 600;
  background: linear-gradient(90deg, var(--primary-light), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--primary-light);
}

.footer-social {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--primary);
  transform: translateY(-5px);
}

.social-icon img {
  width: 20px;
  height: 20px;
}

.copyright {
  text-align: center;
  color: var(--text-muted);
  margin-top: 30px;
  font-size: 0.9rem;
}

/* Resources Container Styling */
.resources-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

.resources-intro {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.1rem;
  color: var(--text);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.resources-section {
  margin-bottom: 60px;
  background-color: rgba(26, 26, 64, 0.5);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.resources-subtitle {
  font-size: 1.6rem;
  margin-bottom: 25px;
  color: var(--text);
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.resources-subtitle::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

/* Support Options */
.support-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.support-card {
  background-color: rgba(26, 26, 64, 0.7);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.support-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: var(--primary-light);
}

.support-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 25px;
  text-decoration: none;
  height: 100%;
}

.support-img {
  width: 120px;
  height: auto;
  margin-bottom: 20px;
  transition: var(--transition);
  filter: drop-shadow(0 0 8px rgba(138, 43, 226, 0.3));
  border-radius: 8px;
}

.support-card:hover .support-img {
  transform: scale(1.1);
  filter: drop-shadow(0 0 12px rgba(138, 43, 226, 0.6));
}

.support-link h4 {
  font-size: 1.2rem;
  margin: 0 0 10px;
  color: var(--text);
  text-align: center;
}

.support-link p {
  color: var(--text-muted);
  text-align: center;
  margin: 0;
  font-size: 0.95rem;
}

/* Installation Guide */
.guide-container {
  margin-top: 20px;
}

.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.guide-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background-color: rgba(26, 26, 64, 0.5);
  padding: 20px;
  border-radius: var(--border-radius);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.guide-step:hover {
  background-color: rgba(26, 26, 64, 0.7);
  transform: translateX(5px);
  border-color: var(--primary-light);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: white;
  border-radius: 50%;
  font-weight: bold;
  \
  font-size: 1 var(--secondary);
  );
  color: white;
  border-radius: 50%;
  font-weight: bold;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.step-content {
  flex-grow: 1;
}

.step-content h4 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 1.1rem;
}

.step-content p {
  margin: 0;
  color: var(--text-muted);
}

/* FAQ Section */
.faq-container {
  margin-top: 20px;
}

.faq-item {
  margin-bottom: 20px;
  background-color: rgba(26, 26, 64, 0.5);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-item:hover {
  background-color: rgba(26, 26, 64, 0.7);
  border-color: var(--primary-light);
}

.faq-question {
  padding: 15px 20px;
  cursor: pointer;
}

.faq-question h4 {
  margin: 0;
  color: var(--text);
  font-size: 1.1rem;
  position: relative;
  padding-right: 30px;
}

.faq-answer {
  padding: 0 20px 15px;
}

.faq-answer p {
  margin: 0;
  color: var(--text-muted);
}

/* Request a Pack */
.request-container {
  text-align: center;
  padding: 20px;
  background-color: rgba(26, 26, 64, 0.5);
  border-radius: var(--border-radius);
  margin-top: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.request-container p {
  margin-bottom: 20px;
  color: var(--text);
}

.request-btn {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: white;
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 500;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.request-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 25px;
  background-color: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 500;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--glow);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: white;
}

/* Modal Styling */
.modal {
  display: none;
  position: fixed;
  z-index: 1100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  background-color: var(--background-light);
  margin: 10% auto;
  padding: 30px;
  border-radius: var(--border-radius);
  max-width: 800px;
  box-shadow: var(--card-shadow);
  animation: modalFadeIn 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.close-modal:hover {
  color: var(--secondary);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 767px) {
  .mobile-menu-toggle {
    display: block;
  }

  .nav-list {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--background);
    flex-direction: column;
    padding: 20px;
    gap: 10px;
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    z-index: 999;
  }

  .nav-list.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-item a {
    padding: 15px;
    text-align: center;
  }

  /* Responsive adjustments for resources section */
  .support-options {
    grid-template-columns: 1fr;
  }

  .guide-step {
    flex-direction: column;
    align-items: flex-start;
  }

  .step-number {
    margin-bottom: 10px;
  }
}

/* Responsive Adjustments */
/* Tablet devices - 2 columns */
@media (min-width: 768px) and (max-width: 1199px) {
  .packs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 16px;
  }
}

/* Mobile devices - 1 column */
@media (max-width: 767px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .packs-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 12px;
    margin-top: 24px;
  }

  .pack-card {
    max-width: 100%;
  }

  .resources-subtitle {
    font-size: 1.4rem;
  }

  .resources-section {
    padding: 20px;
  }
}

/* Extra small screens */
@media (max-width: 576px) {
  .packs-grid {
    gap: 12px;
    padding: 0 8px;
  }

  .pack-image {
    aspect-ratio: 16 / 10;
  }

  .pack-content {
    padding: 16px;
  }
}

/* Adblock Message */
#adblock-message {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
}

.adblock-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--background-light);
  padding: 30px;
  border-radius: var(--border-radius);
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.adblock-container h2 {
  color: var(--secondary);
  margin-bottom: 20px;
}

.refresh-button {
  margin-top: 20px;
}

.adsbox {
  height: 1px;
  width: 1px;
  position: absolute;
  left: -9999px;
  visibility: hidden;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.mt-4 {
  margin-top: 40px;
}

.mb-4 {
  margin-bottom: 40px;
}

/* Responsive adjustments for texture packs section */
@media (max-width: 992px) {
  .packs-grid.list-view .pack-card {
    flex-direction: column;
  }

  .packs-grid.list-view .pack-image-container {
    width: 100%;
  }

  .packs-grid.list-view .pack-content {
    width: 100%;
  }

  .featured-content {
    flex-direction: column;
  }

  .featured-text {
    padding-right: 0;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .texture-pack-controls {
    flex-direction: column;
    align-items: flex-start;
  }

  .filter-container {
    width: 100%;
  }

  .view-options {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
  }

  .packs-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .category-tabs {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 576px) {
  .filter-container {
    flex-direction: column;
    gap: 15px;
  }

  .filter-group {
    width: 100%;
  }

  .filter-select,
  .sort-select {
    width: 100%;
  }

  .pagination-container {
    flex-wrap: wrap;
  }
}

/* Add loading indicator styles */
.fa-spinner {
  animation: spin 1s infinite linear;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Add styles for API error states */
.api-error {
  display: none;
}

/* Add a subtle highlight for updated stats */
.stats-updated {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-stats {
    justify-content: center;
  }

  .community-section {
    padding: 30px;
  }

  .community-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .hero-btn {
    width: 100%;
  }

  .showcase-item {
    width: 100%;
    max-width: 280px;
  }
}

/* Logo click effect */
.logo-click {
  animation: click-pulse 0.5s ease-out;
}

@keyframes click-pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

/* Update the pagination container styling to prevent clipping */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  gap: 15px;
  flex-wrap: wrap;
  padding: 10px 0;
}

.pagination-numbers {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
}

.page-number {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(26, 26, 64, 0.7);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
  margin: 2px;
}

/* Responsive adjustments for pagination */
@media (max-width: 768px) {
  .pagination-container {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .pagination-numbers {
    gap: 5px;
    order: 2;
    width: 100%;
    justify-content: center;
    margin-top: 10px;
  }

  .page-number {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .pagination-btn {
    padding: 8px 12px;
    font-size: 0.85rem;
    order: 1;
  }

  #prev-page {
    order: 1;
  }

  #next-page {
    order: 3;
  }

  .pagination-jump {
    order: 2;
    width: 100%;
    text-align: center;
    margin: 10px 0 0 0;
  }

  .jump-page-input {
    width: 100%;
    max-width: 150px;
  }
}

/* Remove any star-specific styling */

/* Adjust the pack-meta styling to account for removed ratings */
.pack-meta {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-top: auto;
}
