.featured-games-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
  margin-top: 3rem;
  height: 100%;
  transition-duration: 300ms;
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.section-title {
  text-align: right;
  font-size: 1.5rem;
  font-weight: bold;
  color: black;
  margin-bottom: 2rem;
}

.section-title.dark {
  color: white;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 1.875rem;
  }
}

.section-underline-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-underline {
  width: 6rem;
  height: 0.25rem;
  background-color: var(--color-primary);
  border-radius: 9999px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  position: relative;
}

.section-dot {
  position: absolute;
  top: 50%;
  left: -7px;
  width: 0.875rem;
  height: 0.875rem;
  transform: translateY(-50%) translateX(87.4665px);
  border-radius: 9999px;
  background: linear-gradient(to bottom right, var(--color-primary), var(--color-primary), rgba(var(--color-primary-rgb), 0.8));
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
}

.games-carousel-container {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  height: 100%;
}

.swiper-slide {
  width: 206.667px !important;
  margin-left: 8px;
}

.game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.game-image {
  width: 12rem;
  height: 12rem;
  background-color: #e5e7eb; /* gray-200 */
  border-radius: 0.75rem;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.game-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-image:hover {
  transform: scale(1.05);
}

.game-title {
    margin-top: 1rem;
    text-align: center;
    font-size: 1.125rem;
    font-weight: 500;
    color: #ffffff;
}

.dark .game-title {
  color: white;
}

@media (min-width: 768px) {
  .game-image {
    width: 8rem;
    height: 8rem;
  }

  .game-title {
    font-size: 0.875rem;
  }
}

@media (min-width: 1024px) {
  .game-image {
    width: 9rem;
    height: 9rem;
  }

  .game-title {
    font-size: 1rem;
  }
}

@media (min-width: 1280px) {
  .game-image {
    width: 12rem;
    height: 12rem;
  }

  .game-title {
    font-size: 1.125rem;
  }
}
























/* === NAVBAR STYLES === */
.custom-navbar {
  position: fixed;
  top: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  padding: 0.5rem 1rem;
  background-color: #1f1f2c;
  border-radius: 0.75rem;
  backdrop-filter: blur(4px);
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 0 7px rgba(255, 255, 255, 0.4);
  transition: all 0.3s cubic-bezier(0.5, 0.52, 0.5, 0.52);
}

/* Logo Section */
.navbar-logo a {
  display: flex;
  align-items: center;
  height: 60px;
}
.logo-light {
  display: block;
  height: 100%;
}
.logo-dark {
  display: none;
  height: 60px;
}

body.dark .logo-light {
  display: none;
}
body.dark .logo-dark {
  display: block;
}

/* Links */
.navbar-links {
  display: none;
}
.navbar-links ul {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.navbar-links li a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  font-weight: 500;
  color: #f9fbff; /* gray-700 */
  text-decoration: none;
  transition: color 0.2s ease;
}
.navbar-links li a:hover {
  color: var(--color-primary, #3b82f6);
}
body.dark .navbar-links li a {
  color: #d1d5db; /* gray-300 */
}
body.dark .navbar-links li a:hover {
  color: var(--color-primary, #3b82f6);
}

/* Actions */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-actions button,
.navbar-actions a {
  background: transparent;
  border: none;
  color: #f9fbff; /* gray-600 */
  cursor: pointer;
  font-size: 1.25rem;
  transition: color 0.2s ease;
}

.navbar-actions button:hover,
.navbar-actions a:hover {
  color: var(--color-primary, #3b82f6);
}

body.dark .navbar-actions button,
body.dark .navbar-actions a {
  color: #9ca3af; /* gray-400 */
}
body.dark .navbar-actions button:hover,
body.dark .navbar-actions a:hover {
  color: var(--color-primary, #3b82f6);
}

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.cart-count {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  background: var(--color-primary, #3b82f6);
  color: white;
  font-size: 0.75rem;
  padding: 0.15rem 0.45rem;
  border-radius: 9999px;
  font-weight: bold;
}

.cart-price {
  font-size: 0.9rem;
}

.user-avatar img {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  object-fit: cover;
  border: 2px solid rgba(59, 130, 246, 0.2); /* primary/20 */
}

/* Show full navbar on large screens */
@media (min-width: 1024px) {
  .navbar-links {
    display: block;
  }
}















/* === Hero Section Styles === */

.hero-section {
  position: relative;
  width: 100%;
  height: 80vh;
  background: var(--bg-primary, #0f172a); /* fallback */
  box-shadow: 00 10px 15px rgb(47 47 101);
  overflow: hidden;
}

.hero-swiper {
  width: 100%;
  height: 100%;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  color: white;
  padding: 1rem;
  max-width: 60rem;
}

.hero-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 2.25rem;
  }
}
@media (min-width: 1024px) {
  .hero-title {
    font-size: 2.5rem;
  }
}

.hero-subtitle {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  background: linear-gradient(to right, #f3f4f6, #d1d5db);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  z-index: 10;
}

.blur-text {
  opacity: 0.5;
  filter: blur(2px);
  position: absolute;
  z-index: 0;
}

.hero-button {
    position: relative;
    display: inline-flex
;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: bold;
    font-size: 1rem;
    background: linear-gradient(to bottom right, #000000, #304595, #051396);
    color: white;
    border-radius: 1rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.hero-button:hover {
  transform: scale(1.05) translateY(-4px);
}

.hero-button-icon {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 2;
  transition: transform 0.3s;
}

.hero-button:hover .hero-button-icon {
  transform: translateX(0.25rem);
}

.hero-pagination {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.hero-bullet {
  width: 12px;
  height: 12px;
  background-color: #ffffff50;
  border-radius: 9999px;
  transition: background-color 0.3s;
}

.hero-bullet-active {
  background-color: #222249;
}



.hero-swiper .swiper-slide {
  width: 100% !important;
}

















/* === Highlighted Games Section === */

.highlighted-games-section {
  background-color: var(--bg-primary);
  padding: 2rem 0;
  margin-top: 2.5rem;
}

.highlighted-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

body.dark .highlighted-title {
  color: white;
}

.highlighted-description {
    font-size: 1.25rem;
    color: #bcd1f9;
    max-width: 48rem;
    margin: 0.5rem auto 0;
}

body.dark .highlighted-description {
  color: #9ca3af; /* gray-400 */
}

.highlighted-underline-wrapper {
  display: flex;
  justify-content: center;
  margin: 1rem 0;
}

.highlighted-underline {
  position: relative;
  width: 6rem;
  height: 0.25rem;
  background-color: var(--color-primary);
  border-radius: 9999px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.highlighted-dot {
  position: absolute;
  top: 50%;
  left: -7px;
  width: 0.875rem;
  height: 0.875rem;
  transform: translateY(-50%) translateX(74px);
  border-radius: 50%;
  background: linear-gradient(to bottom right, var(--color-primary), var(--color-primary), rgba(var(--color-primary-rgb), 0.8));
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
}

.highlighted-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 0 1rem;
}

@media (min-width: 1024px) {
  .highlighted-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.highlighted-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  display: block;
}

.highlighted-card:hover {
  transform: translateY(-0.25rem) scale(1.05);
}

.base-img,
.hover-img {
  width: 100%;
  border-radius: 0.75rem;
  transition: opacity 0.2s ease-in-out;
  display: block;
}

.hover-img {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.highlighted-card:hover .hover-img {
  opacity: 1;
}

.highlighted-card:hover .base-img {
  opacity: 0;
}








.featured-collection-section {
  background-color: var(--bg-primary);
  padding: 3rem 1rem;
  margin-top: 2.5rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-title {
    font-size: 1.75rem;
    font-weight: bold;
    color: #ffffff;
}

.section-underline {
  display: flex;
  justify-content: center;
  margin: 0.5rem 0 1rem;
}

.underline-line {
  width: 6rem;
  height: 4px;
  background-color: var(--color-primary, #10b981);
  border-radius: 9999px;
  position: relative;
}

.underline-dot {
  width: 14px;
  height: 14px;
  border-radius: 9999px;
  background: linear-gradient(to bottom right, var(--color-primary), #10b981cc);
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.section-description {
    font-size: 1.125rem;
    color: #bdd3ff;
    max-width: 640px;
    margin: 0 auto;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
  padding: 0 1rem;
}

.game-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  transition: transform 0.3s ease;
}

.game-card:hover {
  transform: translateY(-0.25rem) scale(1.05);
}

.game-img {
  width: 100%;
  border-radius: 0.75rem;
  transition: opacity 0.3s ease;
  display: block;
}

.game-img.gif {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.game-card:hover .game-img.gif {
  opacity: 1;
}

.game-card:hover .game-img.static {
  opacity: 0;
}
































