/* ================= HERO ================= */
.hero {
  height: 70vh;
  background:
    linear-gradient(to right, rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0)),
    url("../image/hero.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 0 60px;
  background-blend-mode: overlay;
}

.hero-content {
  max-width: 600px;
}

@media (max-width: 768px) {
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 15px;
}

.hero p {
  color: #cbd5f5;
  margin-bottom: 20px;
  font-size: 18px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.btn-primary {
  padding: 12px 20px;
  background: linear-gradient(45deg, #38bdf8, #22c55e);
  border-radius: 8px;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  transform: scale(1.05);
}

.btn-primary:active {
  transform: scale(0.9);
}

.btn-secondary {
  padding: 12px 20px;
  border: 1px solid #38bdf8;
  border-radius: 8px;
  color: #38bdf8;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  transform: scale(1.05);
}

.btn-secondary:active {
  transform: scale(0.9);
}

/* ================= FILTER BAR ================= */
.filters {
  margin-top: -40px;
  padding: 0 40px;
  position: relative;
  z-index: 50;
}

/* main bar */
.filters-bar {
  display: flex;
  align-items: center;
  gap: 20px;

  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  padding: 15px 20px;
  border-radius: 14px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* LEFT: search grows */
.filters-search {
  flex: 0 0 40%; /* fixed 40% width */
  max-width: 40%;
}

.filters-search input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 20px;
  border: none;
  outline: none;
}

/* RIGHT: everything aligned */
.filters-actions {
  flex: 1;
  display: flex;
  justify-content: flex-end; /* push to right */
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .filters-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .filters-search {
    flex: 1;
    max-width: 100%;
  }

  .filters-actions {
    justify-content: flex-start;
  }
}

/* search */
.search-box input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 20px;
  border: none;
  outline: none;
}

/* wrapper */
.search-input-wrapper {
  position: relative;
  width: 100%;
}

/* icon */
.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #94a3b8;
  pointer-events: none; /* click goes to input */
}

/* input */
.search-input-wrapper input {
  width: 100%;
  padding: 10px 14px 10px 36px; /* left padding for icon */
  border-radius: 20px;
  border: none;
  outline: none;
}

/* focus effect */
.search-input-wrapper input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.2);
}

/* buttons */
.filter-btn {
  padding: 8px 14px;
  border-radius: 20px;
  border: none;
  background: #1e293b;
  color: #cbd5f5;
  cursor: pointer;
  transition: 0.25s;
}

.filter-btn:hover {
  background: #38bdf8;
  color: #000;
}

.filter-btn.active {
  background: linear-gradient(45deg, #38bdf8, #22c55e);
  color: #000;
}

.sort-btn {
  padding: 8px 14px;
  border-radius: 20px;
  border: none;
  background: #020617;
  color: #cbd5f5;
  cursor: pointer;
  transition: 0.25s;
}

.sort-btn:hover {
  background: #38bdf8;
  color: #000;
}

.sort-btn.active {
  background: linear-gradient(45deg, #38bdf8, #22c55e);
  color: #000;
}

#sortMenu label {
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  display: block;
}

#sortMenu label:hover {
  background: #1e293b;
}

/* dropdown base */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 120%;
  right: 0;
  min-width: 170px;
  z-index: 999;

  background: rgba(2, 6, 23, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 10px;

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);

  display: none;
  flex-direction: column;
  gap: 8px;
}

/* active state */
.dropdown.active .dropdown-menu {
  display: flex;
}

/* checkbox style */
.dropdown-menu label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 6px;
  cursor: pointer;
  color: #cbd5f5;
  transition: 0.2s;
}

.dropdown-menu label:hover {
  background: #1e293b;
}

/* checkbox accent */
.dropdown-menu input {
  accent-color: #38bdf8;
}

@media (max-width: 768px) {
  .filters {
    padding: 0 20px;
    margin-top: -20px;
  }

  .filters-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }

  /* ✅ Search full width */
  .filters-search {
    flex: 1;
    max-width: 100%;
  }

  /* ✅ Actions become horizontal scroll */
  .filters-actions {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 5px;

    justify-content: flex-start;
  }

  /* smooth scroll */
  .filters-actions::-webkit-scrollbar {
    height: 5px;
  }

  .filters-actions::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
  }

  /* prevent buttons shrinking */
  .filter-btn,
  .sort-btn,
  .dropdown {
    flex: 0 0 auto;
  }
}

@media (max-width: 768px) {
  .dropdown-menu {
    position: fixed; /* 🔥 key fix */
    left: 10px;
    right: 10px;
    top: auto;
    bottom: 20px;

    max-height: 50vh;
    overflow-y: auto;
  }
}

@media (max-width: 768px) {
  .filter-btn,
  .sort-btn {
    padding: 10px 16px;
    font-size: 14px;
    white-space: nowrap;
  }
}

@media (max-width: 768px) {
  .search-input-wrapper input {
    padding: 12px 16px 12px 40px;
    font-size: 14px;
  }

  .search-icon {
    left: 14px;
  }
}

/* ================= GRID ================= */
.container {
  padding: 30px 40px;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

@media (max-width: 1200px) {
  .game-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .game-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* ================= CARD ================= */
/* CARD CONTAINER */
.game-card {
  position: relative;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

.card-image {
  position: absolute;
  inset: 0;
  overflow: hidden;

  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.card-image img {
  width: 100%;
  height: auto;
  min-height: 100%;
  display: block;
  object-fit: cover;
  will-change: transform;
}

.card-actions {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;

  opacity: 0;
  transform: translateY(20px);

  transition: all 0.3s ease;
  z-index: 3;
}

/* show on hover */
.game-card:hover .card-actions {
  opacity: 1;
  transform: translateY(0);
}

.btn {
  padding: 10px 18px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;

  background: rgba(0, 0, 0, 0.7);
  color: white;

  backdrop-filter: blur(6px);
  transition: all 0.2s ease;
}

.btn:hover {
  transform: scale(1.08);
  background: rgba(56, 189, 248, 0.9);
}

.preview {
  background-color: #22c55e !important;
}

.detail {
  background-color: #38bdf8 !important;
}

.card-actions::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: 0.3s;
  z-index: -1;
}

.game-card:hover .card-actions::before {
  opacity: 1;
}

.card-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 20px;

  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 1),
    rgba(0, 0, 0, 0.8),
    transparent
  );

  color: white;
  z-index: 2;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  opacity: 0.9;
}

.game-card:hover img {
  transform: scale(1.05);
}

/* ADD TO CART BUTTON */
.add-cart {
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
}

/* icon spacing */
.btn i {
  margin-right: 6px;
}

/* for icon-only button */
.add-cart i {
  margin: 0;
  font-size: 16px;
}

/* hover effect */
.add-cart:hover {
  transform: scale(1.1);
  background: linear-gradient(45deg, #f97316, #ea580c);
}

/* row layout */
.card-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* group rating + cart */
.rating-cart {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* cart icon (small + subtle) */
.cart-status {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 22px;
  height: 22px;

  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);

  font-size: 11px;
  color: #cbd5f5;

  transition: all 0.25s ease;
}

/* added state */
.game-card.in-cart .cart-status {
  background: linear-gradient(45deg, #ff8800, #fd5000);
  color: #fff;
  transform: scale(1.1);
}

/* smooth icon change */
.cart-status i {
  transition: 0.25s ease;
}

.game-card.in-cart .cart-status {
  animation: pop 0.3s ease;
}

@keyframes pop {
  0% {
    transform: scale(0.7);
  }
  100% {
    transform: scale(1.1);
  }
}

@media (max-width: 768px) {
  .card-actions {
    top: auto;
    bottom: 0;
    inset: auto 0 0 0;

    opacity: 1;
    transform: none;

    padding: 10px;
    gap: 8px;

    justify-content: space-around;
    align-items: center;

    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.85),
      rgba(0, 0, 0, 0.6),
      transparent
    );
  }

  .cart-status {
    display: none;
  }

  .card-overlay {
    padding-bottom: 60px;
  }

  /* remove hover dependency */
  .game-card:hover .card-actions {
    opacity: 1;
    transform: none;
  }

  /* make buttons slightly smaller for mobile */
  .btn {
    padding: 8px 12px;
    font-size: 13px;
  }

  /* keep cart button circular */
  .add-cart {
    width: 36px;
    height: 36px;
  }
}

/* =======================================================================
==============================Detail Page==============================
======================================================================= */

/* ================= HERO ADVANCED ================= */
.detail-hero-advanced {
  position: relative;
  height: 70vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(2, 6, 23, 0.95), rgba(2, 6, 23, 0.5)),
    url("../image/image (7).png");
  background-size: cover;
  background-position: center;
  filter: blur(6px) scale(1.1);
}

.hero-content-advanced {
  position: relative;
  z-index: 2;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 60px;
}

.hero-left {
  max-width: 500px;
}

@media (max-width: 768px) {
  .hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.hero-left h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.game-tags {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.game-tags span {
  background: rgba(56, 189, 248, 0.2);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
}

.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.hero-right img {
  width: 320px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

/* ================= LAYOUT ================= */
.detail-wrapper {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 30px;
  padding: 40px;
  align-items: stretch;
}

.detail-block {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(12px);
  padding: 20px;
  border-radius: 14px;
  margin-bottom: 20px;
}

.preview-block .video-placeholder {
  height: 250px;
  background: #020617;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 30px;
}

/* ================= SIDEBAR ================= */
.detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
  padding: 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.price-card {
  text-align: center;
}

.buy-btn {
  margin-top: 10px;
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(45deg, #38bdf8, #22c55e);
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
}

.buy-btn:hover {
  transform: scale(1.05);
}

.buy-btn:active {
  transform: scale(0.9);
}

/* ================= INFO ================= */
.info-item {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
}

/* ================= SCREENSHOTS ================= */
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.screenshot-grid img {
  width: 100%;
  border-radius: 8px;
  transition: 0.3s;
}

.screenshot-grid img:hover {
  transform: scale(1.05);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .detail-wrapper {
    grid-template-columns: 1fr;
  }

  .hero-content-advanced {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    margin-top: 100px;
  }
}

/* feature list */
.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  margin: 10px 0;
  color: #cbd5f5;
}

/* improve readability */
.detail-block p {
  color: #94a3b8;
  line-height: 1.7;
}

/* spacing improvements */
.detail-block h2 {
  margin-bottom: 10px;
}

/* better sidebar separation */
.detail-sidebar {
  position: sticky;
  top: 90px;
}

.rating-summary {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.rating-score {
  font-size: 32px;
  font-weight: bold;
}

.stars {
  color: gold;
}

.review-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* ================= LEFT ================= */
.portfolio-section {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  min-width: 0;
}

.portfolio-main {
  height: 684px;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
}

@media (max-width: 768px) {
  .portfolio-main {
    height: 540px;
  }
}

.portfolio-main img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  transition: transform 0.3s ease;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  will-change: transform;
  backface-visibility: hidden;
}

/* thumbnails */
.portfolio-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  scroll-snap-type: x mandatory;
  overflow-x: scroll !important;
  overflow-y: hidden !important;
  width: 100%;
  max-width: 100%;
}

.portfolio-thumbs::-webkit-scrollbar {
  height: 6px;
}

.portfolio-thumbs::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}

.portfolio-thumbs img {
  flex: 0 0 auto;
  width: 90px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.6;
  transition: 0.3s;
  scroll-snap-align: center;
}

.portfolio-thumbs img:hover {
  opacity: 1;
  transform: scale(1.05);
}

.portfolio-thumbs img.active {
  border: 2px solid #38bdf8;
  opacity: 1;
}

.portfolio-section,
.portfolio-main,
.portfolio-thumbs {
  width: 100%;
  overflow: hidden;
}

.detail-wrapper > * {
  min-width: 0;
}

.portfolio-section {
  min-width: 0;
}

.portfolio-thumbs {
  width: 100%;
  padding-bottom: 10px;
}

.portfolio-main img {
  max-width: 100%;
}

/* ================= RIGHT ================= */
.detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;

  position: sticky;
  top: 90px;
}

/* cards */
.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
  padding: 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* price */
.price-card h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.buy-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(45deg, #38bdf8, #22c55e);
  font-weight: bold;
  cursor: pointer;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .detail-wrapper {
    grid-template-columns: 1fr;
  }
}

/* ================= MODAL ================= */
.image-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.image-modal.active {
  display: flex;
}

.modal-content {
  width: 90%;
  height: 90%;

  display: flex;
  flex-direction: column;

  gap: 15px;
  overflow: hidden;
}

.modal-main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;

  overflow: hidden;
}

.modal-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: zoom-in;
  transition: transform 0.4s ease;
  transform-origin: center center;
  transform: scale(1);
  will-change: transform;
}

/* zoomed state */
.modal-main img.zoomed {
  cursor: zoom-out;
  transform: scale(2);
}

.modal-track {
  display: flex;
  height: 100%;
  width: fit-content;
  transition: transform 0.4s ease;
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.modal-track img {
  min-width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
  flex-shrink: 0;
  transform-origin: center center;
}

#modalImage {
  transition: all 0.2s ease;
  transform-origin: center;
  will-change: transform;
}

.modal-thumbs {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  max-width: 100%;
  padding-bottom: 5px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.modal-thumbs img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.5;
  transition: 0.2s;
  scroll-snap-align: center;
  z-index: 4;
}

.modal-thumbs img:hover {
  opacity: 1;
  transform: scale(1.05);
}

.modal-thumbs img.active {
  border: 2px solid #38bdf8;
  opacity: 1;
}

.modal-thumbs::-webkit-scrollbar {
  height: 0;
}

/* close */
.close-modal {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  cursor: pointer;
  z-index: 999;
}

/* nav buttons */
.modal-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: white;
  font-size: 28px;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 10px;
}

.modal-btn.prev {
  left: 10px;
}
.modal-btn.next {
  right: 10px;
}

.modal-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* clickable preview */
.portfolio-main img {
  cursor: pointer;
}

.modal-slider {
  width: fit-content;
  height: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* both images stacked */
.modal-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;

  opacity: 1;
  transform: scale(1);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

/* default states */
.modal-img.current {
  transform: translateX(0);
  opacity: 1;
  z-index: 2;
}

.modal-img.next {
  transform: translateX(100%);
  opacity: 0;
  z-index: 1;
}

/* fade states */
.fade-out {
  opacity: 0;
  transition: all 0.2s ease;
}

.fade-in {
  opacity: 1;
  transition: all 0.2s ease;
}

/* animation classes */
.slide-left .current {
  transform: translateX(-100%);
}
.slide-left .next {
  transform: translateX(0);
}

.slide-right .current {
  transform: translateX(100%);
}
.slide-right .next {
  transform: translateX(0);
}

/* zoom states */
.modal-main img {
  transition: transform 0.25s ease;
  transform-origin: center;
  cursor: zoom-in;
}

/* when zoomed */
.modal-main img.zoomed {
  cursor: zoom-out;
}

/* dragging (mobile) */
.modal-main img.dragging {
  cursor: grabbing;
}

/* prevent scroll conflict */
.modal-main {
  touch-action: none;
}

/* =================================================================
============================Auth Modal===========================
================================================================= */
/* ================= MODAL ================= */
.auth-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.auth-modal.active {
  display: flex;
}

/* BOX */
.auth-box {
  width: 380px;
  padding: 30px;
  border-radius: 16px;

  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);

  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;

  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* CLOSE */
.auth-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 22px;
  cursor: pointer;
}

/* TABS */
.auth-tabs {
  display: flex;
  margin-bottom: 20px;
}

.tab {
  flex: 1;
  padding: 10px;
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}

.tab.active {
  color: #38bdf8;
  border-color: #38bdf8;
}

/* FORM */
.auth-form {
  display: none;
  flex-direction: column;
  gap: 12px;
}

.auth-form.active {
  display: flex;
}

.auth-form h2 {
  margin-bottom: 10px;
}

/* INPUTS */
.auth-form input {
  padding: 12px;
  border-radius: 8px;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: white;
  width: 100%;
}

.auth-form input:focus {
  outline: #38bdf8 3px solid;
}

/* PASSWORD */
.password-field {
  position: relative;
}

.password-field i {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #94a3b8;
}

/* BUTTON */
.btn-primary {
  background: linear-gradient(45deg, #38bdf8, #22c55e);
  border: none;
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
}

/* SWITCH TEXT */
.switch-text {
  font-size: 14px;
  text-align: center;
}

.switch-text span {
  color: #38bdf8;
  cursor: pointer;
}

/* MOBILE */
@media (max-width: 500px) {
  .auth-box {
    width: 90%;
  }
}

.price-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.crossed {
    text-decoration: line-through;
    color: #999;
    gap: 10px;
    font-size: 0.85rem;
}

.load-more-wrapper {
    display: flex;
    justify-content: center;
    margin: 40px 0 80px;
}

.load-more-btn {
    padding: 14px 30px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #22c55e, #38bdf8);
    color: #000;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 10px 30px rgba(37,99,235,.25);
}

    .load-more-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 35px rgba(37,99,235,.35);
    }

    .load-more-btn.hidden {
        display: none;
    }