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


html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-overflow-scrolling: touch;
}

html, body {
  min-height: 100%;
}

body {
  font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #e2e8f0;
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.container-fluid {
  /* border: 1px solid rgba(139, 92, 246, 1); */
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  padding-inline: 1.25rem;
}



/* Premium Header Styles */

.header {
  background: #0f0c23;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.1);
  transition: all 0.3s ease;
}

.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #8b5cf6, transparent);
  opacity: 0.5;
}

.navbar {
  padding: 1rem 1rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;

}

.nav-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 1rem;
  padding: 0 1rem;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.nav-logo h1 {
  color: #a78bfa;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 800;
  white-space: nowrap;
  letter-spacing: -0.025em;
  text-shadow: 0 0 20px rgba(167, 139, 250, 0.3);
  position: relative;

}

.nav-logo img {
  width: 50px;
  height: 50px;
  border-radius: 40%;
  vertical-align: middle;
  margin-right: 0.5rem;
    
}
.nav-logo h1::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #8b5cf6, #ec4899);
  border-radius: 1px;
  opacity: 0.7;
}

.nav-menu {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.nav-link {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 500;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  transition: all 0.3s ease;
  padding: 0.7rem 1.2rem;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
  transition: left 0.5s ease;
}

.nav-link:hover::before {
  left: 100%;
}

.nav-link:hover {
  color: #a78bfa;
  background: rgba(167, 139, 250, 0.1);
  box-shadow: 0 4px 16px rgba(167, 139, 250, 0.2);
}

.nav-link.active {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}


.nav-search{
  display:block;
}

.nav-search-mobile {
  display: none;
  /* align-items: center;
  gap: 0.5rem; */
}
/* Premium Search Component */
.search-container {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  padding: 14px 50px 14px 20px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 2rem;
  background: rgba(30, 41, 59, 0.8);
  color: #e2e8f0;
  font-size: 0.95rem;
  width: 300px;
  transition: all 0.4s ease;
  backdrop-filter: blur(15px);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-input:focus {
  outline: none;
  border-color: #8b5cf6;
  background: rgba(30, 41, 59, 0.95);
  width: 350px;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2), 0 8px 32px rgba(139, 92, 246, 0.1);
  transform: translateY(-1px);
}

.search-input::placeholder {
  color: #94a3b8;
}

.search-button {
  position: absolute;
  right: 2px;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  border: none;
  color: #ffffff;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 10px;
  border-radius: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.search-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(139, 92, 246, 0.4);
}

.search-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #121212;
  border: 1px solid #333;
  z-index: 10;
  display: none;
  max-height: 300px;
  overflow-y: auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  border-radius: 8px;
}

.search-result-item {
  padding: 12px 16px;
  border-bottom: 1px solid #222;
  cursor: pointer;
  transition: all 0.2s;
}

.search-result-item:hover {
  background: #1e1e1e;
}

.search-result-title {
  font-weight: 600;
  color: #fff;
}

.search-result-excerpt {
  font-size: 0.9rem;
  color: #aaa;
}


/* Premium Hero Section with Gaming Animations */
.hero {
  /* border: 1px solid rgba(139, 92, 246, 0.3); */
  background: linear-gradient(135deg, #0f0f23 0%, #1e1b4b 50%, #312e81 100%);
  padding: 140px 0 12px;
  color: #e2e8f0;
  min-height: 98vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Gaming Background Animations */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
  animation: pulseGlow 4s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes pulseGlow {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* Floating Gaming Elements */
.hero::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(2px 2px at 20px 30px, rgba(139, 92, 246, 0.3), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(236, 72, 153, 0.3), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(139, 92, 246, 0.4), transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(236, 72, 153, 0.4), transparent);
  background-repeat: repeat;
  background-size: 200px 100px;
  animation: floatingDots 20s linear infinite;
  pointer-events: none;
  opacity: 0.8;
}

@keyframes floatingDots {
  0% {
    transform: translateY(0px) translateX(0px);
  }
  50% {
    transform: translateY(-10px) translateX(10px);
  }
  100% {
    transform: translateY(0px) translateX(0px);
  }
}

/* Gaming Grid Pattern */
.gaming-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 200vw; /* covers entire screen even after transform */
  height: 200vh;
  overflow-y: hidden;
  background-image: 
    linear-gradient(rgba(138, 92, 246, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 92, 246, 0.2) 1px, transparent 1px);
  background-size: 25px 25px;
  animation: gridMove 10s linear infinite;
  pointer-events: none;
  opacity: 0.4;
  z-index: 1;
   filter: drop-shadow(0 0 4px rgba(138, 92, 246, 0.8)); /* Glow effect */
}

@keyframes gridMove {
  0% {
    transform: translate(0px, 0px);
  }
  100% {
    transform: translate(-50px, -50px);
  }
}

/* Glowing Orbs */
.glowing-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
}

.glowing-orb:nth-child(1) {
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.4), transparent);
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.glowing-orb:nth-child(2) {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.3), transparent);
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.glowing-orb:nth-child(3) {
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.5), transparent);
  bottom: 30%;
  left: 70%;
  animation-delay: 4s;
}

.glowing-orb:nth-child(4) {
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.4), transparent);
  top: 10%;
  right: 20%;
  animation-delay: 1s;
}

.glowing-orb:nth-child(5) {
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.4), transparent);
  bottom: 20%;
  left: 15%;
  animation-delay: 3s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translateY(-20px) scale(1.1);
    opacity: 1;
  }
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  justify-content: space-evenly;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.hero-title {
  /* border: 1px solid rgba(139, 92, 246, 0.3); */
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 900;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  background: linear-gradient(135deg, #a78bfa 0%, #ec4899 50%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-shadow: 0 0 40px rgba(167, 139, 250, 0.3);
  animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  0% {
    filter: drop-shadow(0 0 10px rgba(167, 139, 250, 0.3));
  }
  100% {
    filter: drop-shadow(0 0 20px rgba(167, 139, 250, 0.6));
  }
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: 2rem;
  color: #cbd5e1;
  max-width: 500px;
  line-height: 1.25;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  color: #ffffff;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 2rem;
  font-weight: 700;
  font-size: 1.2rem;
  transition: all 0.4s ease;
  box-shadow: 0 10px 40px rgba(139, 92, 246, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 50px rgba(139, 92, 246, 0.6);
}

.hero-image {
  position: relative;
  z-index: 1;
}

.hero-image video {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s ease;
  border: 1px solid rgba(139, 92, 246, 0.3);
  filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.2));
}

.hero-image:hover video {
  transform: scale(1.02);
  /* border: 1px solid rgba(139, 92, 246, 0.6); */
  filter: brightness(1.1) drop-shadow(0 0 30px rgba(139, 92, 246, 0.4));
}

/* Premium Featured Reviews Section */
.featured-reviews {
  padding: 30px 0;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #1e1b4b 100%);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.featured-reviews::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 70%),
    linear-gradient(45deg, transparent 30%, rgba(236, 72, 153, 0.05) 50%, transparent 70%);
  pointer-events: none;
}

.section-title {
  text-align: center;
  font-size: clamp(2.8rem, 4vw, 4rem);
  margin-bottom: 5rem;
  color: #e2e8f0;
  position: relative;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-shadow: 0 0 30px rgba(167, 139, 250, 0.3);
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
}

/* .reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

.review-card {
  background: rgba(30, 41, 59, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.5s ease;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.review-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.review-card:hover::before {
  opacity: 1;
}

.review-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 60px rgba(139, 92, 246, 0.3);
  border-color: rgba(139, 92, 246, 0.6);
}

.review-image {
  position: relative;
  overflow: hidden;
  height: 260px;
}

.review-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: brightness(0.9);
}

.review-card:hover .review-image img {
  transform: scale(1.1);
  filter: brightness(1);
}

.review-rating {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(15, 15, 35, 0.95);
  backdrop-filter: blur(15px);
  padding: 10px 16px;
  border-radius: 16px;
  color: #e2e8f0;
  font-size: 0.95rem;
  border: 1px solid rgba(139, 92, 246, 0.4);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.stars {
  color: #fbbf24;
  margin-right: 8px;
  font-size: 1rem;
  filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.5));
}

.review-content {
  padding: 2.5rem;
}

.review-title {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  margin-bottom: 1.2rem;
  color: #e2e8f0;
  line-height: 1.3;
  font-weight: 700;
}

.review-excerpt {
  color: #94a3b8;
  margin-bottom: 2rem;
  line-height: 1.7;
  font-size: 1rem;
}

.review-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.review-category {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 16px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.review-actions {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.read-more {
  color: #a78bfa;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  padding: 10px 0;
  position: relative;
}

.read-more::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #a78bfa, #ec4899);
  transition: width 0.3s ease;
}

.read-more:hover::after {
  width: 100%;
}

.read-more:hover {
  color: #8b5cf6;
  text-shadow: 0 0 10px rgba(167, 139, 250, 0.4);
}

.affiliate-link {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: #ffffff;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 16px;
  font-size: 0.95rem;
  font-weight: 700;
  transition: all 0.4s ease;
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.affiliate-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.affiliate-link:hover::before {
  left: 100%;
}

.affiliate-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.6);
} */

/* Premium Categories Section */
.categories {
  padding: 140px 0;
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
  position: relative;
  overflow: hidden;
}

.categories::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

.category-card {
  background: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 3rem;
  border-radius: 24px;
  text-align: center;
  transition: all 0.5s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.category-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.15), transparent);
  transition: left 0.6s ease;
}

.category-card:hover::before {
  left: 100%;
}

.category-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 60px rgba(139, 92, 246, 0.25);
  border-color: rgba(139, 92, 246, 0.6);
}

.category-icon {
  font-size: 4rem;
  margin-bottom: 2rem;
  transition: all 0.4s ease;
  filter: grayscale(0.3);
  text-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.category-card:hover .category-icon {
  transform: scale(1.2) rotateY(10deg);
  filter: grayscale(0);
  text-shadow: 0 0 30px rgba(139, 92, 246, 0.6);
}

.category-card h3 {
  color: #e2e8f0;
  margin-bottom: 1.2rem;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 700;
}

.category-card p {
  color: #94a3b8;
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.6;
}

.category-count {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 16px;
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-block;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
}

/* Premium Newsletter Section */
.newsletter {
  background: linear-gradient(135deg, #312e81 0%, #1e1b4b 50%, #312e81 100%);
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.15) 0%, transparent 70%),
    linear-gradient(45deg, transparent 30%, rgba(236, 72, 153, 0.1) 50%, transparent 70%);
  pointer-events: none;
}

.newsletter-content {
  position: relative;
  z-index: 1;
}

.newsletter-content h2 {
  color: #e2e8f0;
  font-size: clamp(2.5rem, 3vw, 3.2rem);
  margin-bottom: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-shadow: 0 0 30px rgba(167, 139, 250, 0.3);
}

.newsletter-content p {
  color: #cbd5e1;
  margin-bottom: 3rem;
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  flex-direction: row;
  max-width: 550px;
  margin: 0 auto;
  gap: 1.5rem;
  align-items: stretch;
}

.newsletter-form input {
  flex: 1;
  padding: 18px 24px;
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 20px;
  background: rgba(30, 41, 59, 0.9);
  backdrop-filter: blur(15px);
  color: #e2e8f0;
  font-size: 1.1rem;
  transition: all 0.4s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.newsletter-form input:focus {
  outline: none;
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2), 0 8px 32px rgba(139, 92, 246, 0.1);
  transform: translateY(-1px);
}

.newsletter-form input::placeholder {
  color: #94a3b8;
}

.newsletter-form button {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  color: #ffffff;
  border: none;
  padding: 18px 32px;
  border-radius: 20px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s ease;
  font-size: 1.1rem;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
  position: relative;
  overflow: hidden;
}

.newsletter-form button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.newsletter-form button:hover::before {
  left: 100%;
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.6);
}

/* Premium Footer */
.footer {
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
  padding: 80px 20px 40px;
  border-top: 1px solid rgba(139, 92, 246, 0.3);
  position: relative;
  width: 100%;
  overflow-x: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #8b5cf6, transparent);
  opacity: 0.7;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-bottom: 4rem;
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
}

.footer-sectionp h3,
.footer-section h4 {
  color: #e2e8f0;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.footer-section h4{

  text-align: center;
}

.footer-sectionp,
.footer-section li {
  color: #94a3b8;
  margin-bottom: 0.75rem;
  line-height: 1.6;
  font-size: 0.95rem;
  /* text-align: left; */
}

.footer-section ul {
  /* border: 1px solid rgba(139, 92, 246, 0.2); */
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.footer-section p {
  /* border: 1px solid rgba(139, 92, 246, 0.2); */
  /* text-align: justify; */
    color: #94a3b8;
  margin-bottom: 0.75rem;
  line-height: 1.6;
  font-size: 0.8rem;
  text-justify: inter-word;
  word-break: break-word;
  hyphens: auto;
  line-height: 1.7;
}

.footer-sectionp h3 {
  /* border: 1px solid rgb(255, 255, 255); */
  position: relative; /* ✅ Needed for ::after to be positioned absolutely */
  color: #a78bfa;
  display: inline-block;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 800;
  /* white-space: nowrap; */
  letter-spacing: -0.025em;
  text-shadow: 0 0 20px rgba(167, 139, 250, 0.3);
  padding-bottom: 6px; /* ✅ Space for the underline */
}

.footer-sectionp h3::after {
  /* border: 1px solid rgba(139, 92, 246, 0.2); */
  content: "";
  position: absolute;
  bottom: 0; /* ✅ Aligned with padding-bottom */
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #8b5cf6, #ec4899);
  border-radius: 1px;
  opacity: 0.7;
}


.footer-section a {
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 6px 0;
  display: inline-block;
  position: relative;
  font-size: 0.95rem;
}

.footer-section a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #a78bfa, #ec4899);
  transition: width 0.3s ease;
}

.footer-section a:hover::after {
  width: 100%;
}

.footer-section a:hover {
  color: #a78bfa;
  transform: translateX(6px);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.social-links a {
  font-size: 1.6rem;
  transition: all 0.4s ease;
  padding: 12px;
  border-radius: 14px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
}

.social-links a:hover {
  transform: translateY(-4px) scale(1.08);
  background: rgba(139, 92, 246, 0.2);
  box-shadow: 0 6px 18px rgba(139, 92, 246, 0.3);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(139, 92, 246, 0.2);
  color: #64748b;
  font-size: 0.9rem;
}


/* Responsive Design */

/* ===== Responsive Header (Mobile) ===== */
@media (max-width: 768px) {

  .nav-container {
    display: flex;
    flex-direction: row-reverse;
    /* position: relative; */
    align-items: center;
    
    flex-wrap: wrap;
    /* flex-direction: row; */
    /* justify-items: space-between; */
    padding: 0 2rem;
    /* margin: 0 2rem; */
    gap: 1rem;
    min-width:100vw;
  }

  .nav-search {
    display: none; /* Hide search on mobile */
  }

  .nav-search-mobile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .nav-menu {
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 15, 35, 0.98);
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 999;
  }

  .nav-menu.active {
    min-width: 100%;
    min-height: 100vh; /* Enough height to show links */
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
  }

  .nav-toggle span {
    height: 3px;
    width: 25px;
    background: #cbd5e1;
    border-radius: 2px;
    transition: 0.3s;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* ===== Responsive Hero-Section (Mobile) ===== */
@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr; /* switch to 1 column */
    text-align: center; /* optional: center text and button */
    padding: 0 1rem;
    gap: 2rem;
  }

  .hero-title {
    font-size: clamp(2.9rem, 5vw, 5.5rem);
    margin-bottom: 0.5rem;
  }
  .hero-subtitle {
    font-size: clamp(1.3rem, 5vw, 1rem);
    margin-inline: auto;
    text-align: center;
  }

  .cta-button {
    margin: 1.8rem auto;
  }

  .hero-image {
    margin-top: 2rem;
  }
}

/* ===== Responsive Footer (Mobile) ===== */
@media (max-width: 768px) {
  .footer-content {
    /* border: 1px solid rgba(139, 92, 246, 0.2); */
    display: grid;
    grid-template-columns: repeat(1, auto-fit); /* 3 columns */
    grid-auto-rows: auto; /* Let height adjust naturally */
    gap: 1.5rem;
   

    margin: 0px;
  /* Center content */
  }

  .footer-section {
    min-width: 0; /* Prevent overflow */
    /* overflow-wrap: break-word; */
  }

  .footer-sectionp h3 {
    /* border: 1px solid rgba(139, 92, 246, 0.2); */
color: #a78bfa;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  display:inline-block;
  /* white-space: nowrap; */
  letter-spacing: -0.025em;
  text-shadow: 0 0 20px rgba(167, 139, 250, 0.3);
    margin-bottom: 0.5rem;
    position:relative;

  }

  .footer-sectionp p{
    text-align: left;
  }

  .footer-sectionp h3::after {

    width: 100%;

  }

  .footer-section h4 {
    /* border: 1px solid rgba(139, 92, 246, 0.2); */
    font-size: 1rem;
    margin-bottom: 0.2rem;
    text-align: left;
    /* justify-content: center; */
  }
  .footer-section ul {
    /* border: 1px solid rgba(139, 92, 246, 0.2); */
    font-size: 0.9rem;
    margin-bottom: 0.1rem;
    max-width: fit-content;
    text-align:left;

  }

.social-links {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap; /* ✅ Prevent wrapping */
  gap: 1rem;
  justify-content: start;
  /* border: 1px solid rgba(139, 92, 246, 0.2); */
  overflow-x: auto; /* ✅ Enables horizontal scroll if needed on small screens */
  padding: 10px;
  -webkit-overflow-scrolling: touch; /* ✅ Smooth scroll on iOS */
}

}

/* ===== Responsive Newsletter (Mobile) ===== */

  @media (max-width: 768px) {
  .newsletter {
    padding: 80px 1rem;
  }

  .newsletter-content h2 {
    font-size: clamp(2rem, 6vw, 2.8rem);
  }

  .newsletter-content p {
    font-size: clamp(1rem, 4vw, 1.2rem);
    padding: 0 1rem;
  }

  .newsletter-form {
    flex-direction: column;
    width: 100%;
    padding: 0 1rem;
  }

  .newsletter-form input
  {
    font-size: 0.95rem;
    padding: 14px 18px;
  }

    .newsletter-form button {
    width:80%;/* slightly less than input */
    align-self: center;
    padding: 14px 18px;
    font-size: 1rem;
    margin-top: 0;
  }
}

@media (max-width: 480px) {
  .newsletter-content h2 {
    font-size: 1.8rem;
  }

  .newsletter-content p {
    font-size: 1rem;
  }

  .newsletter-form input
  {
    font-size: 0.95rem;
    padding: 14px 18px;
  }

    .newsletter-form button {
    width:80%;/* slightly less than input */
    align-self: center;
    padding: 14px 18px;
    font-size: 1rem;
    margin-top: 0;
  }

  .newsletter-form {
    gap: 1rem;
  }
}



/* Extra Small Devices (phones, 320px and up) */
/* @media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .nav-container {
    padding: 0 16px;
  }

  .search-container {
    display: none;
  }

  .hero {
    padding: 120px 0 80px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .review-content {
    padding: 2rem;
  }

  .review-actions {
    flex-direction: column;
    gap: 1rem;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 1.5rem;
  }

  .categories-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .category-card {
    padding: 2.5rem;
  }
} */

/* Small Devices (landscape phones, 576px and up) */
/* @media (min-width: 576px) and (max-width: 767px) {
  .search-container {
    display: flex;
  }

  .search-input {
    width: 220px;
  }

  .search-input:focus {
    width: 260px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
} */

/* Medium Devices (tablets, 768px and up) */
/* @media (min-width: 768px) and (max-width: 991px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 90px;
    flex-direction: column;
    background: rgba(15, 15, 35, 0.98);
    backdrop-filter: blur(20px);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    padding: 3rem 0;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 4rem;
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
} */

/* Large Devices (desktops, 992px and up) */
/* @media (min-width: 992px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
} */

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .reviews-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Loading States */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(139, 92, 246, 0.3);
  border-top: 2px solid #8b5cf6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
.nav-link:focus,
.search-input:focus {
  outline: 2px solid #8b5cf6;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.2);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: rgb(46, 13, 98);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #7c3aed, #db2777);
}

/* Selection styles */
::selection {
  background: rgba(139, 92, 246, 0.3);
  color: #ffffff;
}

::-moz-selection {
  background: rgba(139, 92, 246, 0.3);
  color: #ffffff;
}

/* Skip to content link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #8b5cf6;
  color: #ffffff;
  padding: 8px 12px;
  text-decoration: none;
  border-radius: 8px;
  z-index: 10000;
  font-weight: 600;
}

.skip-link:focus {
  top: 6px;
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-image img,
  .review-image img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Print Styles */
@media print {
  .header,
  .newsletter,
  .footer {
    display: none;
  }

  .hero {
    padding: 20px 0;
  }

  .review-card {
    break-inside: avoid;
    margin-bottom: 10px;
  }
}

/* .review-slider-container {
  position: relative;
  overflow: hidden;
  padding: 0 30px;
  max-width: 100%;
  gap:2px;
  
}

.review-slider-wrapper {
  overflow: hidden;
  border-radius: 2%;
}

.review-slider-track {
  display: flex;
  transition: transform 0.5s ease;
  touch-action: pan-y;
  gap: 2px;
}

.review-card {
  flex: 0 0 100%;
  box-sizing: border-box;
  padding: 0 10px;
}

@media (min-width: 768px) {
  .review-card { flex: 0 0 50%; }
}

@media (min-width: 1024px) {
  .review-card { flex: 0 0 33.3333%; }
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 10px 15px;
  cursor: pointer;
}

.slider-btn.prev { left: 0; }
.slider-btn.next { right: 0; }

.slider-dots {
  text-align: center;
  margin-top: 15px;
}

.slider-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 6px;
  background-color: #ccc;
  border: none;
  cursor: pointer;
}

.slider-dots button.active {
  background-color: #00d4ff;
} */


/* New Slider Logic */

/* .reviews-slider-container {
  position: relative;
  width: 100%;
  margin: 2rem 0;
}

.review-slider-wrapper {
  overflow: hidden;
  width: 100%;
}

.review-slider-track {
  display: flex;
  transition: transform 0.4s ease;
}

.review-card {
  flex: 0 0 100%;
  padding: 1rem;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .review-card {
    flex: 0 0 50%;
  }
}

@media (min-width: 1024px) {
  .review-card {
    flex: 0 0 33.333%;
  }
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  background: #111;
  color: #fff;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  opacity: 0.7;
}

.slider-btn.prev {
  left: 10px;
}

.slider-btn.next {
  right: 10px;
}

.slider-dots {
  text-align: center;
  margin-top: 1rem;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  background: #ccc;
  border: none;
  border-radius: 50%;
  margin: 0 4px;
  cursor: pointer;
}

.slider-dots button.active {
  background: #333;
} */


/* Container Setup */
.reviews-slider-container {
  /* border: 1px solid rgba(204, 255, 0, 1); */
  position: relative;
  width: max-content;
  overflow: hidden;
  /* padding: 1rem 0; */
}

/* Wrapper to hide overflow */
/* .review-slider-wrapper {
    border: 1px solid rgba(0, 242, 255, 1);
  overflow: hidden;
  width: 100%;
} */

/* Track that scrolls horizontally */
/* .review-slider-track {
    
  display: flex;
  border: 1px solid rgb(255, 255, 255,1);
  gap: 1rem;
  padding: 0 0.5rem;
  transition: transform 0.4s ease-in-out;
  will-change: transform;
  width:max-content;
} */

/* Individual review cards */
/* .review-card {
  position: relative;
  overflow: hidden; 
  z-index: 1;
  flex: 0 0 auto;
  width: 100%;
 
  padding: 1rem;

  background: rgba(30, 41, 59, 0.9);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 24px;
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 4px rgba(144, 0, 255, 0.4);
  transition: all 0.5s ease;
} */

.review-slider-wrapper {
  overflow: hidden;
  /* min-width: max-content; */
  width: 100%;
}

.review-slider-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.3s ease;
  will-change: transform;
  min-width: 100%; /* ✅ Ensures track takes full width */
  width: max-content; /* ✅ Ensures track expands to fit all cards */
}

.review-card {
 
  flex-shrink:0; /* ✅ Prevent cards from shrinking */
  flex: 0 0 auto;         /* ✅ Prevent cards from stretching */
  width: 100%;            /* This is okay as long as max-width is set */
  max-width: 325px;       /* ✅ Prevent oversized card */
  box-sizing: border-box;
  background: rgba(30, 41, 59, 0.9);
  border-radius: 24px;
  padding: 1rem;
  position: relative;
  z-index: 1;
}


/* Shine layer */
/* .review-card::before {
  border:1px solid rgba(255, 255, 255, 0.2);
  content: "";
  position: absolute;
  top: 0;
  left: 0%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(138, 92, 246, 0),
    transparent
  );
  transition: left 0.6s ease;
  pointer-events: none;
  z-index: 0; 
} */

/* Bring the shine forward on hover */
.review-card:hover::before {
  left: 100%;
}

/* Card hover effect */
.review-card:hover {
   border: 1px solid rgb(200, 0, 255);
  z-index: 0; /* Bring hovered card visually above others */
  box-shadow: 0 6px 20px rgba(255, 0, 255, 0.4);
}

/* Optional: Keep content above ::before */
.review-card > * {
  position: relative;
  z-index: 0;
}


/* Responsive widths */




/* Navigation buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn.prev {
  left: 10px;
}

.slider-btn.next {
  right: 10px;
}

/* Dots */
/* .slider-dots {
  text-align: center;
  margin-top: 1rem;
} */

/* .slider-dots button {
  width: 10px;
  height: 10px;
  margin: 0 4px;
  border-radius: 50%;
  border: none;
  background: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dots {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #bbb;
  border-radius: 50%;
  margin: 0 4px;
  cursor: pointer;
}

.slider-dots.active {
  background: #555;
} */


.slider-dots button.active {
  background: #333;
}


.review-image {
  /* border:1px solid rgba(139, 92, 246, 0.2); */
  position: relative;
  overflow: hidden;
  height: 250px;
  border-radius: 10px;
}

.review-image img {
  /* border:1px solid rgba(139, 92, 246, 0.2); */
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: brightness(0.9);
}

.review-image:hover img {
  transform: scale(1.05);
  filter: brightness(1);
}

.review-rating {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(15, 15, 35, 0.95);
  backdrop-filter: blur(15px);
  padding: 10px 16px;
  border-radius: 16px;
  color: #e2e8f0;
  font-size: 0.95rem;
  border: 1px solid rgba(139, 92, 246, 0.4);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.stars {
  color: #fbbf24;
  margin-right: 8px;
  font-size: 0.875rem;
  filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.5));
}

.review-content {
  /* border:1px solid rgba(139, 92, 246, 0.2); */
  padding: 1.5rem;
}

.review-title {
  /* border:1px solid rgba(139, 92, 246, 0.2); */
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  margin-bottom: 1rem;
  color: #e2e8f0;
  line-height: 1.3;
  font-weight: 700;
}

.review-excerpt {
  /* border:1px solid rgba(139, 92, 246, 0.2); */
  color: #94a3b8;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  font-size: 0.8rem;
}

.review-meta {
  /* border:1px solid rgba(139, 92, 246, 0.2); */
  display: flex;
  flex-direction: row;
  flex:0 0 auto;
  justify-content: space-between;
  width:fit-content;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.review-category {
  /* border:1px solid rgba(139, 92, 246, 0.2); */
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 16px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.review-actions {
  /* border:1px solid rgba(139, 92, 246, 0.2); */
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.read-more {
  /* border:1px solid rgba(139, 92, 246, 0.2); */
  color: #a78bfa;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  padding: 10px 0;
  position: relative;
}

.read-more::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #a78bfa, #ec4899);
  transition: width 0.3s ease;
}

.read-more:hover::after {
  width: 100%;
}

.read-more:hover {
  color: #8b5cf6;
  text-shadow: 0 0 10px rgba(167, 139, 250, 0.4);
}

.affiliate-link {
  /* border:1px solid rgba(139, 92, 246, 0.2); */
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: #ffffff;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 16px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: all 0.4s ease;
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.affiliate-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.affiliate-link:hover::before {
  left: 100%;
}

.affiliate-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.6);
} 


/* @media (max-width: 768px) {
  .review-card {
    width: 85%;
    max-width: auto;
    margin: 0 auto;
  }

  .review-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .review-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .affiliate-link {
    width: 100%;
    text-align: center;
  }

} */

@media (max-width: 768px) {
  .review-card {
    width: 72vw;           /* Use 90% of the viewport width */
    max-width: 72vw;       /* Prevent it from exceeding viewport */
    flex: 0 0 auto;        /* Ensures fixed width in flex row */
    margin: 0;             /* No auto margins inside horizontal slider */
    box-sizing: border-box;
    padding:1rem;
  }

  .review-slider-track {
    padding: 0 1rem;       /* Prevents edge clipping on sides */
    gap: 1rem;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.9);
  }
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.notification-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  margin-left: auto;
}

.category-card.active {
  border-color: #00d4ff;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.dim-image {
  filter: brightness(2%); /* 100% is normal, lower dims more */
}

/* .star-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: sans-serif;
} */

.stars-outer {
  display: inline-block;
  position: relative;
  font-family: Arial, sans-serif;
  color: #ccc; /* Empty stars color */
}

.stars-inner {
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  overflow: hidden;
  color: #ffc107; /* Filled stars color */
  width: 0; /* Will be set dynamically via JS */
}

.stars-outer::before,
.stars-inner::before {
  content: "★★★★★";
  font-size: 1.2rem;
}



/* .rating-text {
  color: #fff;
  font-size: 1rem;
} */
