@keyframes animated-gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes fill-bar {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(0%); }
}
@keyframes move-heart {
    0% { left: 0%; }
    100% { left: calc(100% - 22px); } 
}
@keyframes heart-beat {
    0%, 100% { transform: scale(1) translateY(-50%); }
    50% { transform: scale(1.2) translateY(-50%); }
}
@keyframes progress {
  0% { stroke-dasharray: 0 326; }
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
}

#bg-video {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    object-fit: cover;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: -1;
}


body.blur-active > *:not(.popup-overlay):not(#membersBg) {
    filter: blur(8px) saturate(0.8);
    transition: filter 0.3s ease-out;
    pointer-events: none; 
    user-select: none;
}

.members-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    padding: 1rem;
    filter: blur(8px);
    opacity: 0.3;
    overflow: hidden;
    transform: scale(1.1);
}

body:has(#membersGrid) .members-page-content {
    background: transparent;
}
body:has(#membersGrid) main.members-page-content > .glass-box {
    background: rgba(0, 0, 0, 0.4);
}

nav.glass-nav {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  padding: 1rem;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 10;
  border-radius: 50px;
  margin: 10px auto;
  max-width: 600px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

nav.glass-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

nav.glass-nav a::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: -1;
}

nav.glass-nav a.active,
nav.glass-nav a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

nav.glass-nav a:hover::before {
    width: 200px;
    height: 200px;
}

header, .services, .info-box, .login-section {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 2rem;
  text-align: center;
}

.site-title {
    font-size: 2.8rem;
    font-weight: bold;
    background: linear-gradient(90deg, #4B0082, #C71585, #800080);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}


.glass-box {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.box {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.5rem 1rem;
  transition: transform 0.3s;
  text-align: center;
  position: relative;
  z-index: 1; 
}

.box::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: -2px; left: -2px;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    border-radius: 18px; 
    background: linear-gradient(60deg, #4B0082, #800080, #C71585, #800080, #4B0082);
    background-size: 300% 300%;
    animation: animated-gradient 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.box:hover::before {
    opacity: 1;
}

.box:hover {
  transform: translateY(-5px);
}

.video-icon-container,
.image-icon-container {
    width: 60px;
    height: 60px;
    margin: 0 auto 0.8rem auto;
    border-radius: 50%;
    overflow: hidden;
    background-color: #333;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.video-icon-container video,
.image-icon-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.box h3 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.box p {
    font-size: 0.85rem;
    color: #ccc;
    line-height: 1.4;
}

.login-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 150px);
    padding: 1rem;
}

.login-box {
    max-width: 400px;
    width: 100%;
    padding: 2rem;
    box-sizing: border-box;
}

.login-box h2 {
    margin-bottom: 1.5rem;
}

.login-box form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.login-box input[type="email"],
.login-box input[type="password"] {
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.login-box input[type="email"]:focus,
.login-box input[type="password"]:focus {
    border-color: rgba(255, 255, 255, 0.6);
}

.reset-password-link {
    display: block;
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #ccc;
    text-decoration: underline;
    cursor: pointer;
}
.reset-password-link:hover {
    color: #fff;
}

.login-box .fine-print {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #ccc;
}

.login-box .fine-print a {
    color: #fff;
    text-decoration: underline;
}

.members-page-content {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.members-grid-section {
    padding-top: 2rem;
}

#membersGrid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin: 2rem auto;
  max-width: 1200px;
  padding: 0 1rem;
}

.member-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  box-sizing: border-box;
  text-align: center;
  cursor: pointer;
  position: relative; 
}

.inviter-note-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e91e63;
    color: #fff;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
}

.your-profile-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #00c6ff;
    color: #fff;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
}

.member-card img {
  width: 100px; height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.8rem;
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.member-card a {
    text-decoration: none;
    color: inherit;
    display: contents;
}

.member-card.featured-member {
    order: -2;
}
.member-card.current-user-card {
    order: -1;
}

.member-card.featured-member img {
    border-color: #e91e63;
}
.member-card.current-user-card img {
    border-color: #00c6ff;
}

.member-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
}

.un-verified-text {
    color: #ff3b3b;
    font-size: 0.8rem;
    font-weight: bold;
    display: block;
    margin-top: -0.2rem;
    text-align: center;
    width: 100%;
}

.member-card p {
  font-size: 0.9rem;
  margin: 0.1rem 0;
}

.verified-badge svg {
    width: 1rem;
    height: 1rem;
}

.member-card .online-dot {
  display: block;
  width: 10px; height: 10px;
  background-color: #4CAF50;
  border-radius: 50%;
  margin-top: 0.5rem;
  box-shadow: 0 0 5px #4CAF50;
}

.gender-F { color: #FF69B4; font-weight: bold; }
.gender-M { color: #87CEEB; font-weight: bold; }

.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  display: none; 
}

.popup-content {
  position: relative;
  max-width: 450px;
  width: 90%;
  padding: 2.5rem;
  text-align: center;
  box-sizing: border-box;
  z-index: 1001;
}

.inviter-card-small {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.8rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.inviter-card-small img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e91e63;
}

.inviter-details {
    text-align: left;
}

.inviter-prompt {
    margin: 0;
    font-size: 0.8rem;
    color: #ccc;
}

.inviter-card-small h4 {
    margin: 0.2rem 0 0 0;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.popup-content h2 {
  margin-top: 0;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.popup-content p {
  margin-bottom: 1.5rem;
  color: #ccc;
}

.popup-content form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gender-selector {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 0.5rem 0;
}
.gender-selector label {
    color: #ccc;
    font-size: 0.9rem;
}
.gender-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}
.gender-option.selected {
    background: linear-gradient(to right, #4B0082, #800080);
    border-color: transparent;
    color: #fff;
    transform: scale(1.1);
}

.age-slider-container {
    margin: 1.5rem 0;
    text-align: center;
}
.age-slider-container label {
    display: block;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #ccc;
}
.age-slider-wrapper {
    position: relative;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.age-slider-track {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.age-slider-track::-webkit-scrollbar {
    display: none;
}
.age-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: #888;
    scroll-snap-align: center;
    transition: all 0.3s ease;
}
.age-number.is-centered {
    color: #fff;
    font-size: 2.2rem;
    font-weight: bold;
}
.age-slider-highlighter {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: 50px;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.profile-picture-uploader {
    margin-bottom: 1.5rem;
    cursor: pointer;
}

.picture-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.4);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: border-color 0.3s, background-color 0.3s;
    overflow: hidden; 
}

.profile-picture-uploader:hover .picture-circle {
    border-color: #fff;
    background-color: rgba(255, 255, 255, 0.2);
}

.picture-circle svg {
    width: 40%;
    height: 40%;
    color: rgba(255, 255, 255, 0.6);
}

.picture-circle img, .picture-circle span {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #aaa;
}

.popup-content input {
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
  width: 100%;
  box-sizing: border-box;
}

.popup-content input:focus {
  border-color: rgba(255, 255, 255, 0.6);
}

.popup-content .button,
.login-box .button,
.verify-box .button,
.styled-form .button {
  background: linear-gradient(to right, #4B0082, #800080);
  color: #fff;
  padding: 0.8rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  display: inline-block;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.pill-button {
    border-radius: 50px !important;
}

.popup-content .button:hover,
.login-box .button:hover,
.verify-box .button:hover,
.styled-form .button:hover {
  background: linear-gradient(to right, #800080, #4B0082);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.popup-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.button.cancel-button {
    background: #6c757d;
    box-shadow: none;
}

.button.cancel-button:hover {
    background: #5a6268;
    transform: none;
    box-shadow: none;
}

.popup-content .fine-print a {
    color: #fff;
    text-decoration: underline;
}

.close-button {
    position: absolute;
    top: 15px; right: 15px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background 0.3s;
    z-index: 1002;
}

.close-button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.loading-bar-container {
    width: 100%;
    height: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.loading-bar {
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #e91e63, #c2185b);
    border-radius: 10px;
    transform: translateX(-100%);
    animation: fill-bar 4s linear infinite;
}

.heart-indicator {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    animation: move-heart 4s linear infinite, heart-beat 1s infinite;
}

.upgrade-button {
    background: linear-gradient(to right, #00c6ff, #0072ff);
}

.upgrade-button:hover {
    background: linear-gradient(to right, #0072ff, #00c6ff);
}

.highlight-purple {
    font-weight: bold;
    background: linear-gradient(to right, #c372ff, #800080);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight-black-purple {
    font-weight: bold;
    background: linear-gradient(to right, #222, #800080);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}


footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  color: #bbb;
}

/* --- STYLES FOR VERIFICATION & REFUND PAGES --- */

.verification-container, .page-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 1rem;
    min-height: calc(100vh - 200px);
}

.verify-box, .content-box {
    max-width: 550px;
    width: 100%;
}

.content-box {
    max-width: 800px;
}

.fine-print-container {
    text-align: left;
    font-size: 0.8rem;
    color: #ccc;
    line-height: 1.6;
    max-height: 50vh;
    overflow-y: auto;
    padding-right: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1.5rem;
    padding-top: 1.5rem;
}

.fine-print-container p {
    margin-bottom: 1rem;
}

.refund-form-container {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1.5rem;
    padding-top: 1.5rem;
}

.styled-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.styled-form label {
    text-align: left;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #ccc;
}

.styled-form input,
.styled-form textarea {
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

.styled-form textarea {
    resize: vertical;
    min-height: 80px;
}

.verify-box .subtitle {
    margin-top: -1rem;
    margin-bottom: 2rem;
    color: #ccc;
}

#verifyForm {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#verifyForm input {
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
    width: 100%;
    box-sizing: border-box;
}

.submitted-info {
    text-align: left;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.submitted-info img {
    width: 100px;
    height: 100px;
    border-radius: 16px;
    object-fit: cover;
}

.submitted-info p {
    margin: 0.3rem 0;
    color: #ddd;
}

.submitted-info p strong {
    color: #fff;
}

.verifying-message {
    font-size: 1.2rem;
    font-weight: bold;
}

.progress-circles {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
    margin: 2rem 0;
}

.circle-container {
    text-align: center;
    width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.circle-graphic {
    display: grid;
    place-items: center;
    width: 120px;
    height: 120px;
}
.circle-graphic > * {
    grid-column: 1 / 1;
    grid-row: 1 / 1;
}

.progress-ring {
    transform: rotate(-90deg);
    width: 120px;
    height: 120px;
}

.progress-ring-circle {
    stroke: #e91e63;
    stroke-linecap: round;
    transition: stroke-dashoffset 2s ease-out;
}

.circle-container:nth-child(1) .progress-ring-circle { animation: progress 2s 0.5s forwards; stroke-dasharray: 0 326; }
.circle-container:nth-child(2) .progress-ring-circle { animation: progress 2s 1s forwards; stroke-dasharray: 0 326; }

.percentage {
    font-size: 1.5rem;
    font-weight: bold;
}

.check-label {
    background: linear-gradient(to right, #4B0082, #800080);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    color: #fff;
    width: 100%;
    box-sizing: border-box;
}

.hit-record .progress-ring-circle {
    stroke: #ff3b3b;
    stroke-dasharray: 326 326 !important;
    animation: none !important;
}
.hit-text {
    color: #ff3b3b;
    font-size: 2rem !important;
}
.recheck-button {
    background: transparent;
    border: 1px solid #ff3b3b;
    color: #ff3b3b;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    transition: background-color 0.3s, color 0.3s;
}
.recheck-button:hover {
    background-color: #ff3b3b;
    color: #fff;
}


@media (max-width: 768px) {
  nav.glass-nav {
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.8rem;
    margin: 5px auto;
    max-width: 95%;
  }

  nav.glass-nav a {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
  }

  header, .services, .info-box, .login-section, .members-page-content {
    padding: 1rem;
    margin: 1rem auto;
  }

  .site-title {
      font-size: 2rem;
  }

  .glass-box {
    padding: 1.5rem;
  }

  header p {
      font-size: 0.9rem;
  }

  .service-boxes {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
  
  .box { padding: 0.5rem; }
  
  .video-icon-container,
  .image-icon-container {
      width: 40px;
      height: 40px;
  }
  
  .box h3 { font-size: 0.7rem; }
  .box p { font-size: 0.65rem; line-height: 1.2; }

  #membersGrid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    padding: 0 0.5rem;
  }
  
  .member-card.featured-member, .member-card.current-user-card {
      grid-column: span 1; 
      max-width: 100%;
  }

  .member-card img { width: 80px; height: 80px; }
  .member-card h3 { font-size: 1rem; }
  .member-card p { font-size: 0.8rem; }
  
  .login-box, .popup-content { padding: 1.5rem; }
  
  .inviter-card-small { flex-direction: column; text-align: center; }
  .inviter-details { text-align: center; }

  .login-box input, .popup-content input { font-size: 0.9rem; padding: 0.7rem; }
  .login-box .button, .popup-content .button { font-size: 1rem; padding: 0.7rem; }

  .profile-header { flex-direction: column; }
  .profile-header-info { text-align: center; }
  .profile-name { font-size: 1.8rem; }

  .progress-circles { flex-direction: column; align-items: center; gap: 2.5rem; }
  .submitted-info { flex-direction: column; }
}