@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

body {
  font-family: 'Poppins', Arial, sans-serif;
  background: linear-gradient(135deg, #181c2f 0%, #232946 100%);
  color: #f3f6fa;
  min-height: 100vh;
}

.modal-backdrop.show {
    opacity: .8;
}

.modal-dialog {
    max-width: 800px;
}

.modal-header {
    border-bottom: 2px solid #3e4a7b;
}

.modal-header .btn-close {
    color: #fff !important;
}

.modal-header h2 {
    font-size: 1.5rem;
}

.modal-content {
    background-color: #191d31;
    border: 2px solid #3e4a7b;
    border-radius: 10px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
    max-width: 90vw;
}

.modal-content p {
    color: #fff;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: .8rem;
    text-align: justify;
}

header {
  background: linear-gradient(90deg, #232946 0%, #181c2f 100%) !important;
  color: #fff;
  padding: 2rem 0 1rem 0;
  text-align: center;
  position: relative;
  box-shadow: 0 8px 32px 0 rgba(35, 41, 70, 0.25);
  border-bottom: 2px solid #3e4a7b;
}

header * {
  color: #fff !important;
}

.display-5 {
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 2.5rem;
  color: #ffe066;
}

nav {
  margin: 1rem 0;
}

nav a {
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #fff !important;
  transition: color 0.2s;
}

nav a:hover {
  color: #00cfff !important;
}

.navbar-nav .dropdown-menu {
  background-color: #1a1e33;
  border: 2px solid #3e4a7b;
}

.dropdown-item:focus,
.dropdown-item:hover {
  background-color: #222844;
  padding-left: 20px;
}

.navbar-nav .nav-item { margin-right: 1.5rem; }
.navbar-nav .nav-item:last-child { margin-right: 0; }



.profiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.card {
  border-radius: 12px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.35), 0 1.5px 6px #00cfff33;
  background: linear-gradient(135deg, #232946 60%, #181c2f 100%);
  border: 1.5px solid #2e3652;
  color: #f3f6fa;
  transition: transform 0.18s, box-shadow 0.18s;
}

.card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 40px #00cfff33, 0 3px 12px #ffe06633;
  border-color: #00cfff;
}

.card-img-top {
  border-radius: 12px;
  border: 3px solid #2e3652;
  box-shadow: 0 0 0 3px #3b82f633, 0 2px 12px 0 #2563eb33;
  width: 265px;
  height: 180px;
  object-fit: cover;
  background: #181c2a;
  margin-top: 1.1rem;
  margin-bottom: 0.7rem;
  transition: box-shadow 0.22s;
}

.card:hover .card-img-top {
  box-shadow: 0 0 0 4px #3b82f633, 0 4px 24px 0 #2563eb44;
  border-color: #08a2cb;
}

.card-title {
  font-weight: 700;
  font-size: 1rem;
  color: #ffe066;
}

.btn-primary {
  background: linear-gradient(90deg, #00cfff 0%, #ffe066 100%);
  border: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 2rem;
  color: #232946;
  box-shadow: 0 2px 8px #00cfff33;
  transition: background 0.18s, box-shadow 0.18s, color 0.18s;
}

.btn-primary:hover {
  background: linear-gradient(90deg, #ffe066 0%, #00cfff 100%);
  color: #181c2f;
  box-shadow: 0 4px 16px #00cfff33;
}

.profile-btn {
  border-radius: 12px;
  min-width: 210px;
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  border: 1.5px solid #fff2;
  box-shadow: 0 1px 6px 0 #0002;
  transition: background 0.18s, color 0.18s, border 0.18s;
}

.profile-btn:hover,
.profile-btn:focus {
  background: linear-gradient(90deg, #2563eb 0%, #1e40af 100%);
  color: #fff;
  border: 1.5px solid #60a5fa;
  box-shadow: 0 2px 12px 0 #2563ebcc;
  text-decoration: none;
}

section.row.g-4 .col-12 {
  animation: fadeInUp 0.7s cubic-bezier(.23, 1.01, .32, 1) both;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

section.mb-4,
section.mt-5 {
  background: rgba(35, 41, 70, 0.85);
  border-radius: 1rem;
  box-shadow: 0 2px 12px #00cfff11;
  padding: 1.5rem 1.2rem;
  margin-bottom: 2rem;
  color: #f3f6fa;
}

footer {
  background: linear-gradient(90deg, #232946 0%, #181c2f 100%);
  color: #f3f6fa;
  border-top: 2px solid #3e4a7b;
  padding-top: 1.2rem !important;
  padding-bottom: 1.2rem !important;
  font-size: 0.95rem;
}

footer nav a {
  color: #7a869a !important;
  font-weight: 400;
  font-size: 0.875em;
  margin-right: 1.1rem;
  opacity: 0.8;
  transition: color 0.18s, opacity 0.18s;
  text-decoration: none;
}

footer nav a:last-child {
  margin-right: 0;
}

footer nav a:hover {
  color: #00cfff !important;
  opacity: 1;
}

footer .text-secondary {
  color: #7a869a !important;
  opacity: 0.8;
}

.swiper {
  width: 100%;
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.swiper-slide {
  background: linear-gradient(135deg, #232946 60%, #181c2f 100%);
  border-radius: 1.2rem;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.35), 0 1.5px 6px #00cfff33;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #f3f6fa;
  transition: box-shadow 0.18s, border-color 0.18s;
  border: 1.5px solid #2e3652;
  max-width: 340px;
  margin: 0 auto;
  position: relative;
}

.swiper-slide .card-img-top {
  margin-top: 1.2rem;
  width: 285px;
  height: 190px;
}

.swiper-slide .btn-primary {
  margin-bottom: 1.2rem;
}

.swiper-slide-active {
  box-shadow: 0 8px 40px #00cfff33, 0 3px 12px #ffe06633;
  border-color: #00cfff;
}

.swiper-pagination {
  display: none !important;
}

.swiper-pagination-bullet {
  background: #00cfff;
  opacity: 0.7;
}

.swiper-pagination-bullet-active {
  background: #ffe066;
  opacity: 1;
}

.swiper-slide .card-body {
  padding-bottom: 1.5rem;
}

.swiper-slide .promo-badge {
  position: absolute;
  top: 16px;
  right: -36px;
  z-index: 2;
  display: inline-block;
  padding: 0.4rem 2rem;
  background: linear-gradient(90deg, #ff512f 0%, #dd2476 100%);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 4px;
  transform: rotate(32deg);
  box-shadow: 0 2px 12px 0 #dd2476cc;
  filter: drop-shadow(0 0 6px #ff512f88);
  border: 2px solid #fff2;
  text-shadow: 0 2px 8px #dd2476cc, 0 1px 0 #0008;
  pointer-events: none;
  max-width: 80%;
  transition: none !important;
  will-change: unset !important;
}

.swiper-slide .card {
  position: relative;
  overflow: hidden;
  border-radius: 1.2rem;
  background: rgba(30, 32, 40, 0.98);
  box-shadow: 0 4px 32px 0 #0004;
  transition: transform 0.35s cubic-bezier(.4, 2, .6, 1), box-shadow 0.3s;
}

.swiper-slide .card:hover {
  transform: scale(1.045);
  box-shadow: 0 8px 48px 0 #2563eb55, 0 2px 12px 0 #0006;
}

.swiper-slide .card:hover .promo-badge {
  transform: rotate(32deg) !important;
  will-change: unset !important;
  transition: none !important;
  z-index: 2;
}

.dropdown-menu {
  z-index: 2000 !important;
  box-shadow: 0 6px 24px 0 #23294655, 0 1.5px 6px #00cfff22;
}

#ageModalOverlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

#ageModalBox {
  background: #191d31;
  border: 2px solid #3e4a7b;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
  padding: 2rem 2.5rem;
  max-width: 90vw;
  text-align: center;
}

#ageModalBox h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

#ageModalBox p {
  margin-bottom: 2rem;
}

#ageModalBox button {
  min-width: 100px;
  margin: 0 0.5rem;
}

.blurred-content {
  filter: blur(8px) grayscale(0.5) brightness(0.7);
  pointer-events: none;
  user-select: none;
}


@media (max-width: 600px) {
  .swiper { padding-top: 1.5rem; padding-bottom: 1.5rem; }
  .swiper-slide {
    max-width: 95vw;
  }

  .swiper-slide .promo-ribbon {
    width: 90px;
    font-size: 0.85em;
    right: -28px;
    top: 12px;
  }

  .promo-badge {
    font-size: 0.8rem;
    padding: 0.3rem 1.1rem;
    top: 10px;
    right: -18px;
  }

  .card-img-top { width: 150px; height: 125px; }
  .card-title { font-size: .8rem; }
  .profile-btn { min-width: 150px; }

  .swiper .card-title { font-size: 1rem; }
  .swiper .profile-btn { min-width: 220px; }
}

@media (min-width: 900px) {
    .profile-card:hover { transform: translateY(-5px) rotate(2deg) scale(1.05); z-index: 99; }
}
