/* ===================================================== */
/* GLOBAL RESET */
/* ===================================================== */

html, body {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  margin: 0;
  padding: 0;
  background: #f8f8f8;
  overflow-x: hidden;
text-align: center;
   
}

*, *::before, *::after {
  box-sizing: border-box;
}



.main-container {
    max-width: 1200px;
    margin: 0 auto;
}

.heading {
    color: #ff4d6d !important;
  font-size: 2.15em;
  font-weight: 800;
  margin: 20px;
  text-align: center;
  letter-spacing: 1px;
}
/* ===================================================== */
/* TYPOGRAPHY */
/* ===================================================== */

h2 {
  color: #ff4d6d;
  text-align: center;
}

h3 {
  font-size: 1.15em;
}

/* ===================================================== */
/* GLOBAL BUTTON SYSTEM */
/* ===================================================== */

button {
  background: #ff4d6d;
  color: #fff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  font-size: 16px;
  border-radius: 25px;
  margin-top: 5px;
  transition: 0.3s ease;
}

button:hover {
  opacity: 0.9;
}

/* ===================================================== */
/* UNIFIED HEADER – SINGLE SOURCE */
/* ===================================================== */

.main-header-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 66px; /* LOCKED */
  width: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ff4d6d;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  z-index: 9999;
    padding-left: 20px!important;
    padding-right: 20px!important;
}
.main-header-bar a
 {
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
}

.main-header-coin span {
  color: #222 !important;
  font-weight: 700;
}

.notification-dropdown,
.notification-dropdown span,
.notification-dropdown li {
  color: #222 !important;
}

.header-center {
  display: flex;
  gap: 18px;
  align-items: center;
}

.main-header-icons {
  display: flex;
  align-items: center;
  gap: 14px;
}

.coin-display {
  display: flex;
  align-items: center;
  background: #ffd200;
  padding: 5px 14px;
  border-radius: 22px;
  font-weight: 700;
  color: #000;
}

.coin-display span {
  font-weight: 700;
}

/* Welcome text - desktop */
.header-center > span {
    color: #fff !important;
    font-weight: 700;
}

/* If using main-header-welcome class */
.main-header-welcome {
    color: #fff !important;
    font-weight: 700;
}

/* ===================================================== */
/* GLOBAL PAGE GAP (PREVENT HEADER OVERLAP) */
/* ===================================================== */



/* ===================================================== */
/* MOBILE HEADER */
/* ===================================================== */

@media (max-width: 768px) {

  .main-header-bar {
    padding: 0 14px;
  }

  .header-center,
  .main-header-welcome {
    display: none;
  }

  .mobile-burger {
    display: block;
    font-size: 26px;
    color: #fff;
    cursor: pointer;
  }

  .main-header-icons {
    gap: 10px;
  }

}

/* ===================================================== */
/* TABLET SAFE HEADER */
/* ===================================================== */

@media (min-width: 769px) and (max-width: 1100px) {

  .main-header-bar {
    padding: 0 18px;
  }

}

/* ===================================================== */
/* AUTHENTICATION PAGES */
/* ===================================================== 
.auth-container {
  max-width: 370px;
  margin: 50px auto 30px auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 32px 24px 24px;
  text-align: center;
}

.auth-container h2 {
  margin-bottom: 25px;
  font-size: 2rem;
  letter-spacing: 1px;
}

.auth-container form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-container input[type="email"],
.auth-container input[type="password"] {
  padding: 12px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;

  transition: border-color 0.2s;
}

.auth-container input:focus {
  border-color: #ff4d6d;
  outline: none;
}

.auth-container button[type="submit"] {
  background: #ff4d6d;
  border-color: #ff4d6d;
  color: #fff;
  padding: 12px 0;
  border-radius: 8px;
  font-weight: bold;
}

.auth-container button[type="submit"]:hover {
  background: #e63950;
}

.auth-container a {
  color: #ff4d6d;
  text-decoration: none;
}

.auth-container a:hover {
  text-decoration: underline;
}

*/


/* Desktop header spacing only */
@media (min-width: 901px) {
  .main-container {
    margin-top: 80px !important;
  }
}

/* Mobile header spacing smaller */
@media (max-width: 900px) {
  .main-container {
    margin-top: 0px !important; /* matches header height */
  }
}

/* ===================================================== */
/* MOBILE AUTH */
/* ===================================================== */

@media (max-width: 500px) {
  .auth-container {
    max-width: 96vw;
    padding: 22px 8vw 18px;
    border-radius: 0;
    box-shadow: none;
  }
}
/* ===================================================== */
/* ONBOARDING PAGE */
/* ===================================================== */

.onboarding-container {
  width: 600px;
  max-width: 95vw;
  background: #fff;
  padding: 25px;
  margin: 50px auto;
  border-radius: 10px;
  box-shadow: 0 0 10px #ccc;
  text-align: left;
  position: relative;
}

.onboarding-container label {
  font-weight: bold;
  display: block;
  margin-top: 10px;
}

.onboarding-container input,
.onboarding-container select {
  width: 100%;
  padding: 10px;
  margin: 5px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* MOBILE ONBOARDING */

@media (max-width: 768px) {
  .onboarding-container {
    width: 90%;
    padding: 15px;
  }
}

/* ===================================================== */
/* PROFILE PHOTO GRID */
/* ===================================================== */

.photo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.photo-box {
  width: 120px;
  height: 160px;
  border: 2px dashed #ff4d6d;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border-radius: 10px;
  font-size: 24px;
  color: #ff4d6d;
  background: #fff;
  position: relative;
  transition: 0.2s;
}

.photo-box:hover {
  background: #ffe6eb;
}

.profile-pic-preview {
  width: 120px;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
}

/* ===================================================== */
/* MOBILE NUMBER INPUT */
/* ===================================================== */

.mobile-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.country-code {
  width: 25%;
  min-width: 80px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background: #fff;
  text-align: center;
}

.mobile-container input {
  width: 70%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* ===================================================== */
/* HOBBIES / LOOKING FOR SELECTOR */
/* ===================================================== */

.looking-for-container,
.hobbies-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.relationship-item,
.hobby-item {
  padding: 8px 12px;
  border: 2px solid #ff4d6d;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.relationship-item.selected,
.hobby-item.selected {
  background: #ff4d6d;
  color: #fff;
}

/* ===================================================== */
/* VERIFIED BADGE */
/* ===================================================== */

.verified-icon {
  background-color: #4caf50;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #fff;
  margin-left: 5px;
  vertical-align: middle;
}

/* ===================================================== */
/* MEMBERSHIP BADGE */
/* ===================================================== */

.membership-badge {
  position: absolute;
  top: 10;
  left: 10;
  
  z-index: 2;
  pointer-events: none;
}



/* ===================================================== */
/* MODAL SYSTEM (SINGLE CLEAN VERSION) */
/* ===================================================== */

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

.modal.show {
  display: flex;
}

.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  position: relative;
  text-align: center;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;
  background: #ff4d6d;
  color: #fff;
  border-radius: 50%;
  padding: 5px 10px;
}

/* ===================================================== */
/* MATCH OVERLAY (SINGLE VERSION – CLEANED) */
/* ===================================================== */

.match-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.match-overlay.active {
  display: flex;
}

.match-card {
  background: #000;
  border-radius: 20px;
  padding: 30px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  animation: fadeIn 0.4s ease-in-out;
}

.match-text {
  font-size: 28px;
  font-weight: bold;
  color: #ff4d6d;
  margin-bottom: 12px;
}

.match-subtext {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 15px;
}

.match-images {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
}

.match-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
}

.match-button {
  background: #ff4d6d;
  color: #fff;
  padding: 12px 20px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin: 8px;
}

.match-button.secondary {
  background: #007bff;
}

.match-button:hover {
  opacity: 0.9;
}

/* ===================================================== */
/* COIN ANIMATION */
/* ===================================================== */

.coin-animation {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  font-weight: bold;
  color: gold;
  background: rgba(0,0,0,0.7);
  padding: 15px;
  border-radius: 10px;
  animation: fade-out 1s forwards;
  z-index: 99999;
}

@keyframes fade-out {
  0% { opacity: 1; transform: translate(-50%, -50%) translateY(0); }
  100% { opacity: 0; transform: translate(-50%, -50%) translateY(-20px); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}


/* ===================================================== */
/* PROFILE HEADER + GALLERY */
/* ===================================================== */

.membership-icon-big {
  width: 80px;
  height: 80px;
  display: block;
  margin: 18px auto 2px;
  object-fit: contain;
}

.profile-header {
  width: 100%;
  height: 340px;
  background: #f2f2f2;
}

.profile-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery {
  display: flex;
  gap: 10px;
  justify-content: center;
  background: #fff;
  padding: 12px 0 5px;
  overflow-x: auto;
}

.gallery img {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.2s;
}

.gallery img.active,
.gallery img:hover {
  border: 2px solid #ff4d6d;
}

/* ===================================================== */
/* PROFILE INFO */
/* ===================================================== */

.profile-info {
  padding: 20px 22px 0;
  background: #fff;
}

.profile-name {
  font-size: 1.7rem;
  font-weight: bold;
  margin-bottom: 0.2em;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5em;
}

.profile-meta {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 4px 0 12px;
}

.meta-pill {
  padding: 3px 14px;
  background: #eee;
  color: #555;
  border-radius: 14px;
  font-size: 1em;
  font-weight: 500;
}

.meta-pill.gender {
  background: #f9e0f1;
  color: #c2185b;
}

.meta-pill.tier {
  background: #e0f7fa;
  color: #00838f;
}

.meta-pill.tier img {
  height: 22px;
  vertical-align: middle;
}

/* ===================================================== */
/* PROFILE SECTIONS */
/* ===================================================== */

.section-card {
  background: #f7f7f7;
  border-radius: 15px;
  padding: 13px 14px 24px;
  margin-bottom: 14px;
  color: #454545;
  text-align: left;
  font-size: 1.05rem;
}

.section-card:last-child {
  margin-bottom: 32px;
}

/* ===================================================== */
/* PROFILE ACTION BUTTONS */
/* ===================================================== */

.profile-action-btns {
  display: flex;
  justify-content: space-around;
  margin: 20px 0 15px;
  padding: 0 22px;
  gap: 16px;
}

.profile-action-btns button,
.profile-action-btns a {
  width: 49px;
  height: 49px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 1.6em;
  box-shadow: 0 2px 12px rgba(31,38,135,0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.15s ease;
}

/* Action colors */

.dislike-btn { color: #e53935; }
.like-btn { color: #00b87c; }
.superlike-btn { color: #1976d2; }
.dm-btn { color: #fbc02d; }

.profile-action-btns button:hover,
.profile-action-btns a:hover {
  transform: scale(1.1);
  color: #fff;
}

/* ===================================================== */
/* EDIT / BLOCK / REPORT LINKS */
/* ===================================================== */

.edit-links,
.block-report {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 1rem 0 1.2rem;
}

.edit-links a,
.block-btn,
.report-btn {
  text-decoration: none;
  font-size: 1.05em;
  font-weight: 500;
  border-radius: 22px;
  padding: 8px 19px;
  border: 1px solid #e4eefe;
  background: #eef3fc;
  transition: 0.13s ease;
}

.block-btn {
  color: #dc3545;
  background: #fff1f1;
  border: 1px solid #f5c2c7;
}

.report-btn {
  color: #ff9800;
  background: #fff7e6;
  border: 1px solid #ffe0b2;
}

.edit-links a:hover,
.block-btn:hover,
.report-btn:hover {
  background: #3363ff;
  color: #fff;
}

/* ===================================================== */
/* PROFILE MOBILE */
/* ===================================================== */

@media (max-width: 500px) {

  .profile-container {
    width: 98vw;
  }

  .membership-icon-big {
    width: 50px;
    height: 50px;
  }

  .profile-header {
    height: 220px;
  }

  .gallery img {
    width: 46px;
    height: 46px;
  }

  .profile-action-btns {
    padding: 0 4vw;
  }
}

/* ===================================================== */
/* SEARCH FILTER SYSTEM */
/* ===================================================== */

.heading {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.7em;
}

.subheading {
  text-align: center;
  color: #666;
  margin-bottom: 20px;
}

.top-name-fieldset,
.filters-row fieldset {
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 6px;
  font-size: 13px;
}

.filters-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.slider-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

#distanceValue {
  font-weight: bold;
  min-width: 40px;
  text-align: center;
}

/* Search Button */

.btn-search {
  background: #ff4d6d;
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 8px 16px;
  cursor: pointer;
  font-weight: bold;
  font-size: 13.5px;
}

.btn-search:hover {
  background: #e63956;
}

/* ===================================================== */
/* SEARCH RESULTS GRID */
/* ===================================================== */

#searchResults {
  margin-top: 20px;
}

.search-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px,1fr));
  gap: 18px;
}

.user-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
  padding: 8px;
  font-size: 13px;
}

.user-card img.profile-pic {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.user-card h3 {
  margin: 10px 0 5px;
  font-size: 14px;
}

.user-card .user-info {
  font-size: 12px;
  color: #555;
  line-height: 1.4em;
}

.mem-icon,
.empty-icon {
  width: 68px;
  height: 68px;
  display: block;
  margin: 0 auto;
}

.profile-link {
  display: inline-block;
  margin-top: 8px;
  background: #ff4d6d;
  color: #fff;
  padding: 5px 10px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  font-size: 12px;
}

.profile-link:hover {
  background: #e63956;
}

/* ===================================================== */
/* PAGING SYSTEM */
/* ===================================================== */

.paging-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 18px 0 5px;
  font-size: 13px;
  flex-wrap: wrap;
}

.paging-bar button,
.paging-bar .page-btn {
  padding: 5px 13px;
  background: #ff4d6d;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  font-size: 13px;
}

.paging-bar .page-btn.current {
  background: #fff;
  color: #ff4d6d;
  border: 1px solid #ff4d6d;
  pointer-events: none;
}

.paging-bar button:disabled {
  background: #f3c2cc;
  cursor: not-allowed;
}
/* ===================================================== */
/* CHAT SYSTEM – STABLE */
/* ===================================================== 

.chat-container {
  width: 400px;
  max-width: 95vw;
  margin: 0 auto;
  border: 1px solid #ccc;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.chat-header {
  background: #ff4d6d;
  color: #fff;
  padding: 14px;
  text-align: center;
  font-weight: 600;
}

.chat-box {
  height: 400px;
  overflow-y: auto;
  padding: 12px;
  background: #f9f9f9;
  display: flex;
  flex-direction: column;
}

.chat-message {
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 10px;
  max-width: 80%;
  word-wrap: break-word;
}

.chat-message.sent {
  background: #ff4d6d;
  color: #fff;
  align-self: flex-end;
}

.chat-message.received {
  background: #e0e0e0;
  align-self: flex-start;
}

.chat-input {
  display: flex;
  padding: 10px;
  border-top: 1px solid #ccc;
  background: #fff;
}

.chat-input textarea {
  flex: 1;
  padding: 8px;
  resize: none;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.chat-input button {
  margin-left: 8px;
  padding: 8px 16px;
  background: #ff4d6d;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}*/

/* ===================================================== */
/* MOBILE NAVIGATION SYSTEM */
/* ===================================================== */

.mobile-header-bar {
  display: none;
}

.mobile-burger {
  display: none;
}

.mobile-nav {
  display: none;
}

@media (max-width: 768px) {

  /* Hide desktop navigation sections */
  .header-center,
  .header-left,
  .header-right {
    display: none !important;
  }

  .mobile-burger {
    display: block !important;
    font-size: 26px;
    color: #fff;
    cursor: pointer;
  }

  .mobile-nav {
    display: none;
    flex-direction: column;
    background: #fff;
    position: fixed;
    top: 66px;
    left: 0;
    width: 100%;
    z-index: 9998;
    border-bottom: 1px solid #ffd3e0;
    box-shadow: 0 3px 18px rgba(0,0,0,0.1);
  }

  .mobile-nav.open {
    display: flex;
  }

  .mobile-nav a {
    padding: 16px 20px;
    color: #ff4d6d;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px solid #ffe0ea;
  }

  .mobile-nav a:hover {
    background: #ffe5ef;
  }

  body.nav-open {
    overflow: hidden;
  }
}

/* ===================================================== */
/* SWIPE CARD SYSTEM – GENERIC BASE */
/* ===================================================== */

.swipe-card {
  position: relative;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(0,0,0,0.16);
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.swipe-left {
  transform: translateX(-350px) rotate(-15deg);
  opacity: 0;
}

.swipe-right {
  transform: translateX(350px) rotate(15deg);
  opacity: 0;
}

/* ===================================================== */
/* MEMBERSHIP BADGE */
/* ===================================================== */


/* ===================================================== */
/* RESPONSIVE CONTAINERS – SAFE */
/* ===================================================== */

@media (max-width: 768px) {

  .main-container,
  .profile-view-container,
  .matches-container,
  .edit-container,
  .settings-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #fafbfc !important;
  }

  .matchmaking-card {
    width: 96vw !important;
    max-width: 390px !important;
    margin: 20px auto !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 18px rgba(0,0,0,0.09) !important;
    background: #fff !important;
  }

  .gallery img,
  .photo-box img,
  .match-img {
    width: 54px !important;
    height: 54px !important;
    border-radius: 10px !important;
    object-fit: cover !important;
  }

}

/* ===================================================== */
/* TABLET SAFETY */
/* ===================================================== */

@media (min-width: 769px) and (max-width: 1100px) {

  .main-container {
    max-width: 500px !important;
    width: 92vw !important;
    background: #fff;
    border-radius: 25px;
    box-shadow: 0 8px 38px rgba(255,77,109,0.15);
    padding: 10px 0 10px 0 !important;
  }

}
/* ===================================================== */
/* HERO SECTION – HOMEPAGE */
/* ===================================================== */

.hero-section {
  width: 100%;
  min-height: 100vh;
  position: relative;
  background: #000;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 1;
}

.hero-content {
  position: absolute;
  left: 50%;
  bottom: 5%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 640px;
  padding: 22px 22px 58px;
  background: linear-gradient(0deg,rgba(16,16,20,0.92) 92%,rgba(0,0,0,0.01) 100%);
  border-bottom-left-radius: 32px;
  border-bottom-right-radius: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 11;
}

.hero-content h1 {
  font-size: 2.9rem;
  font-weight: 900;
  margin-bottom: 10px;
  color: #ff4d6d;
}

.hero-content .hero-sub {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 38px;
  line-height: 1.2;
}

.cta-buttons {
  display: flex;
  gap: 18px;
  width: 100%;
  justify-content: center;
}

.cta-buttons a {
  text-decoration: none;
  font-size: 1.1rem;
  padding: 15px 38px;
  border-radius: 28px;
  font-weight: bold;
  text-align: center;
  min-width: 130px;
  transition: 0.2s ease;
}

.signup-btn {
  background: #ff4d6d;
  color: #fff;
}

.signup-btn:hover {
  background: #e63956;
}

.login-btn {
  background: #fff;
  color: #ff4d6d;
  border: 2px solid #ff4d6d;
}

.login-btn:hover {
  background: #ff4d6d;
  color: #fff;
}

/* Mobile Hero */

@media (max-width: 650px) {

  .hero-content {
    max-width: 98vw;
    padding: 15px 15px 46px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content .hero-sub {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .cta-buttons {
    flex-direction: column;
    width: 90%;
    gap: 20px;
  }

  .cta-buttons a {
    width: 100%;
    padding: 15px 0;
  }
}

/* ===================================================== */
/* FAQ SECTION */
/* ===================================================== */

.faq-section {
  width: 100%;
  background: #18181b;
  padding: 72px 0 100px;
  position: relative;
  overflow: hidden;
}

/* Red ambient glow behind */
.faq-section::before {
  content: "";
  position: absolute;
  bottom: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(255, 77, 109, 0.35) 0%,
    rgba(255, 77, 109, 0.18) 40%,
    transparent 70%
  );
  filter: blur(80px);
  z-index: 0;
}

/* Make content sit above glow */
.faq-section > * {
  position: relative;
  z-index: 2;
}
.faq-title {
  text-align: center;
  font-size: 2.3rem;
  font-weight: 900;
  color: #ff4d6d;
  margin-bottom: 54px;
}

.faq-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto 54px;
}

.faq-feature-card {
  background: rgba(30,30,40,0.68);
  border-radius: 26px;
  padding: 54px 24px 38px;
  text-align: center;
  border: 1.5px solid #ffc76b;
  backdrop-filter: blur(8px);
}

.faq-feature-card h4 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #ffc76b;
}

.faq-feature-card p {
  font-size: 1rem;
  color: #f4ede2;
}

.faq-list {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 32px;
}

.faq-item {
  background: rgba(30,30,40,0.68);
  border-radius: 26px;
  padding: 38px 36px;
  border: 1.5px solid #ffc76b;
}

.faq-item h5 {
  font-size: 1.1rem;
  color: #ffc76b;
  margin-bottom: 12px;
}

.faq-item p {
  color: #eee2d0;
}

/* FAQ Responsive */

@media (max-width: 900px) {
  .faq-feature-grid {
    grid-template-columns: 1fr 1fr;
  }
  .faq-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .faq-feature-grid {
    grid-template-columns: 1fr;
  }
}
/* ===================================================== */
/* FOOTER – FULL WIDTH LEXAMEET STYLE (STABLE) */
/* ===================================================== */

footer.luxy-footer {
  width: 100%;
  background: linear-gradient(180deg,#0b111a 0%,#060a12 100%);
  padding: 90px 0 40px 0;
  color: #cfd3e6;
  position: relative;
  z-index: 1;

  border-top: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 -25px 60px rgba(255, 77, 109, 0.15);
}

/* Prevent global typography from touching footer */
footer.luxy-footer h1,
footer.luxy-footer h2,
footer.luxy-footer h3,
footer.luxy-footer h4,
footer.luxy-footer h5,
footer.luxy-footer h6,
footer.luxy-footer p,
footer.luxy-footer a {
  margin: 0;
  padding: 0;
  text-align: left;
}

/* Inner container */
footer.luxy-footer .footer-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 70px;
}

/* Logo */
footer.luxy-footer .footer-logo {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 18px;
  display: inline-block;

  background: linear-gradient(
    120deg,
    #ff4d6d 0%,
    #ff8aa5 25%,
    #ffffff 50%,
    #ff8aa5 75%,
    #ff4d6d 100%
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  text-shadow:
    0 0 10px rgba(255,77,109,0.35),
    0 0 25px rgba(255,77,109,0.25);
}

/* Description */
footer.luxy-footer .footer-desc {
  color: #9aa3b8;
  line-height: 1.7;
  font-size: 14px;
  max-width: 340px;
  margin-bottom: 28px;
}

/* Column Headings */
footer.luxy-footer h6 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

/* Links */
footer.luxy-footer ul {
  list-style: none;
  padding: 0;
}

footer.luxy-footer li {
  margin-bottom: 14px;
}

footer.luxy-footer a {
  color: #ff4d6d;
  text-decoration: none;
  font-size: 14px;
  transition: 0.2s ease;
}

footer.luxy-footer a:hover {
  color: #ffffff;
}

/* Social Icons */
footer.luxy-footer .footer-social {
  margin-top: 10px;
}

footer.luxy-footer .footer-social a {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #111827;
  color: #ff4d6d;
  margin-right: 12px;
  font-size: 15px;
}

footer.luxy-footer .footer-social a:hover {
  background: #ff4d6d;
  color: #fff;
}

/* Divider */
footer.luxy-footer .footer-divider {
  margin: 70px auto 25px;
  max-width: 1200px;
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* Bottom */
footer.luxy-footer .footer-bottom {
  text-align: center;
  font-size: 13px;
  color: #7c859b;
}

/* SEO */
footer.luxy-footer .footer-seo {
  text-align: center;
  margin-top: 12px;
}

footer.luxy-footer .footer-seo a {
  font-size: 13px;
}

/* Responsive */
@media (max-width: 900px) {
  footer.luxy-footer .footer-wrapper {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {

  footer.luxy-footer .footer-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  footer.luxy-footer .footer-desc {
    margin-left: auto;
    margin-right: auto;
  }

  footer.luxy-footer .footer-social {
    display: flex;
    justify-content: center;
  }

  /* Center headings */
  footer.luxy-footer h6 {
    text-align: center;
  }

  /* Center UL */
  footer.luxy-footer ul {
    text-align: center;
  }

  /* Remove left margin spacing */
  footer.luxy-footer li {
    margin-bottom: 12px;
  }

  footer.luxy-footer a {
    display: inline-block;
  }
}



/* ========================================= */
/* FOOTER COLUMN ALIGNMENT FIX – SAFE */
/* ========================================= */

/* Force first column to stack cleanly */
footer.luxy-footer .footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Ensure logo behaves like block */
footer.luxy-footer .footer-logo {
  display: block;
}

/* Fix description spacing alignment */
footer.luxy-footer .footer-desc {
  text-align: left;
}

/* Fix social icons alignment */
footer.luxy-footer .footer-social {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  align-items: center;
}

footer.luxy-footer .footer-social a {
  margin-right: 0; /* remove inline spacing */
}


/* ========================================= */
/* FOOTER GRID ALIGNMENT FIX */
/* ========================================= */

/* Make all footer columns align from top */
footer.luxy-footer .footer-wrapper {
  align-items: start;
}

/* Ensure each column behaves consistently */
footer.luxy-footer .footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Remove any inherited centering */
footer.luxy-footer .footer-col ul {
  margin: 0;
  padding: 0;
}

/* Make sure headings sit flush */
footer.luxy-footer .footer-col h6 {
  margin-top: 0;
}

/* ========================================= */
/* MOBILE FOOTER CENTER ALIGN FIX */
/* ========================================= */

@media (max-width: 600px) {

  /* Center entire footer content */
  footer.luxy-footer .footer-wrapper {
    text-align: center;
  }

  /* Center each column */
  footer.luxy-footer .footer-col {
    align-items: center;
  }

  /* Center headings */
  footer.luxy-footer h6 {
    text-align: center !important;
  }

  /* Center list */
  footer.luxy-footer ul {
    text-align: center !important;
  }

  /* Remove left alignment from brand column */
  footer.luxy-footer .footer-brand {
    align-items: center;
  }

  /* Center description text */
  footer.luxy-footer .footer-desc {
    text-align: center;
  }

  /* Center social icons */
  footer.luxy-footer .footer-social {
    justify-content: center;
  }

}
/* ===================================================== */
/* FINAL MATCH OVERLAY SYSTEM – CLEAN + LOCKED */
/* ===================================================== */

.match-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000; /* Above header */
  padding: 20px;
}

.match-overlay.active {
  display: flex;
}

/* Match Card (Single Definition Only) */
.match-card {
  width: 100%;
  max-width: 420px;
  background: #000;
  border-radius: 22px;
  padding: 35px 25px;
  text-align: center;
  animation: matchPop 0.35s ease-out;
  box-shadow: 0 0 40px rgba(255, 77, 109, 0.6);
}

@keyframes matchPop {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Match Text */
.match-text {
  font-size: 30px;
  font-weight: 700;
  color: #ff4d6d;
  margin-bottom: 8px;
}

.match-subtext {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 18px;
}

/* Match Images */
.match-images {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 20px;
}

.match-img {
  width: 95px;
  height: 95px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ff4d6d;
}

/* Match Buttons */
.match-button {
  display: inline-block;
  width: 100%;
  padding: 12px 0;
  border-radius: 12px;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  margin-bottom: 10px;
}

.match-button.primary {
  background: #ff4d6d;
  color: #fff;
}

.match-button.secondary {
  background: #fff;
  color: #ff4d6d;
}

.match-button:hover {
  transform: translateY(-2px);
}



/* ===================================================== */
/* COIN ANIMATION SYSTEM – LOCKED */
/* ===================================================== */

.coin-animation {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.85);
  color: #ffd700;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 18px;
  z-index: 10001; /* Above match overlay */
  animation: coinFade 0.9s ease forwards;
}

@keyframes coinFade {
  0% { opacity: 1; transform: translate(-50%, -50%); }
  100% { opacity: 0; transform: translate(-50%, -60%); }
}



/* ===================================================== */
/* SWIPE SAFETY FIXES */
/* ===================================================== */

.swipe-left {
  transform: translateX(-400px) rotate(-18deg);
  opacity: 0;
  transition: 0.35s ease;
}

.swipe-right {
  transform: translateX(400px) rotate(18deg);
  opacity: 0;
  transition: 0.35s ease;
}

/* Prevent card stacking glitch */
.swipe-card {
  position: absolute;
  width: 100%;
  transition: transform 0.35s ease, opacity 0.35s ease;
}



/* ===================================================== */
/* BODY LOCK WHEN OVERLAY ACTIVE */
/* ===================================================== */

body.overlay-open {
  overflow: hidden;
}



/* ===================================================== */
/* GLOBAL UTILITY CLASSES – SAFE */
/* ===================================================== */

.hidden {
  display: none !important;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-center {
  text-align: center;
}

.full-width {
  width: 100%;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.shadow-soft {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.rounded-lg {
  border-radius: 18px;
}



/* ===================================================== */
/* Z-INDEX SAFETY MAP (FINALIZED) */
/* ===================================================== */

/*
Header:           9999
Match Overlay:    10000
Coin Animation:   10001
Modal:            10002 (from previous parts)
Never exceed 11000
*/



/* ===================================================== */
/* FINAL PRODUCTION SAFETY FIXES */
/* ===================================================== */

/* Prevent horizontal scroll anywhere */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Prevent image overflow */
img {
  max-width: 100%;
  height: auto;
}

/* Ensure containers respect header height */
/* Safe page height handling */
.main-container {
  min-height: auto;
}

/* Remove accidental duplicate animation bounce */
.bounce {
  animation: none;
}
/* ===================================================== */
/* MISSING CLASSES FROM ORIGINAL STYLE.CSS */
/* ===================================================== */

/* ---------------------------------- */
/* BUTTON COLOR CLASSES */
/* ---------------------------------- */

.rewind-btn { color: white; }
.boost-btn { color: white; }

/* ---------------------------------- */
/* CENTER BUTTON */
/* ---------------------------------- */

.center-button {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    font-size: 18px;
    border-radius: 25px;
    background: #ff4d6d;
    color: white;
    border: none;
    cursor: pointer;
}

/* ---------------------------------- */
/* CARD INFO */
/* ---------------------------------- */

.card-info {
    padding: 10px;
    text-align: center;
}

.card-info h3 {
    margin: 5px 0;
    font-size: 18px;
    font-weight: 600;
}

.card-info p {
    margin: 4px 0;
    font-size: 14px;
    color: #666;
}

/* ---------------------------------- */
/* ACTION POPUP */
/* ---------------------------------- */

.action-popup {
    animation: pop-in 0.2s cubic-bezier(.36,.07,.19,.97);
}

@keyframes pop-in {
    0% { transform: translate(-50%, -50%) scale(0.8); }
    80% { transform: translate(-50%, -54%) scale(1.1); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

/* ---------------------------------- */
/* HOMEPAGE CONTENT */
/* ---------------------------------- */

.homepage-content {
    max-width: 96vw;
    margin-top: 68px;
    padding: 18px 6vw 22px 6vw;
    border-radius: 16px;
}

.homepage-content h1 {
    font-size: 1.28rem;
    margin-bottom: 10px;
}

.homepage-content p {
    font-size: 1rem;
    margin-bottom: 18px;
}

/* ---------------------------------- */
/* LOGO */
/* ---------------------------------- */

.logo {
    width: 112px;
    max-width: 90vw;
}

/* ---------------------------------- */
/* PROFILE CARD (MOBILE SUPPORT) */
/* ---------------------------------- */

/*.match-card,*/
.profile-card {
    width: 96vw !important;
    max-width: 420px !important;
    min-width: 94vw !important;
    margin: 15px auto 20px auto !important;
    left: 0 !important;
    right: 0 !important;
    border-radius: 18px !important;
    box-shadow: 0 2px 14px #e63a5a10;
    position: static !important;
}

/* ---------------------------------- */
/* PROFILE PHOTOS GRID */
/* ---------------------------------- */

.profile-photos-grid {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 10px !important;
    margin-bottom: 15px !important;
    justify-content: flex-start !important;
}

/* ---------------------------------- */
/* FOOTER BASE */
/* ---------------------------------- */










/* from header.php*/




 .header-left { display: flex; align-items: center; }
        .header-left .logo img { max-height: 80px; }
        .header-center { display: flex; gap: 20px; align-items: center; }
        .header-center a {
            text-decoration: none; color: white; font-size:14px;
            transition:0.3s;
        }
        .header-center a:hover { text-decoration: underline; }
        .header-right { display: flex; align-items: center; }
       
    /* DESKTOP HEADER */
   
    .main-header-logo img { max-height: 80px; }
    .main-header-welcome { font-weight: bold; font-size: 20px; display: flex; align-items: center; gap: 12px; margin-right: 24px; color: #fff; }
    .main-header-badge { vertical-align: middle; margin-left: 2px; height: 60x; }
    .main-header-nav { display: flex; gap: 18px; align-items: center; }
    .main-header-nav a { color: #fff !important; font-weight: bold; text-decoration: none; font-size: 16px; transition: color 0.2s; }
    .main-header-nav a:hover { color: #ffd700 !important; text-decoration: underline; }
    .main-header-icons { display: flex; align-items: center; gap: 14px; }
    .main-header-icon { position: relative; cursor: pointer; display: flex; align-items: center; margin-right: 3px; }
    .main-header-icon img { width: 28px; height: 28px; }
    .notif-badge, .chat-notif-badge { position: absolute; top: -8px; right: -7px; background: red; color: #fff; font-size: 13px; padding: 2px 7px; border-radius: 50%; font-weight: bold; min-width: 22px; text-align: center; line-height: 1; }
    .main-header-coin { display: flex; align-items: center; font-size: 14px; background: linear-gradient(45deg, #FFD700, #FFA500); color: #222; padding: 6px 17px; border-radius: 23px;  margin-right: 3px; box-shadow: 0 2px 8px rgba(0,0,0,0.09); }
    .main-header-coin img { width: 28px; height: 28px; margin-right: 6px; }
    .notification-dropdown, 
    .chat-notification-dropdown {
        display: none; position: absolute; right: 0; top: 37px;
        background: #fff; color: #222; min-width: 310px; max-height: 320px;
        overflow-y: auto; box-shadow: 0 2px 18px rgba(0,0,0,0.17);
        border-radius: 9px; z-index: 9999;
    }
    .chat-notification-dropdown { right: 56px; }
    .notification-dropdown ul,
    .chat-notification-dropdown ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .notification-dropdown li,
    .chat-notification-dropdown li {
        padding: 11px;
        border-bottom: 1px solid #eee;
        font-size: 15px;
        display: flex;
        align-items: center;
        gap: 12px;
        cursor: pointer;
        transition: background 0.12s;
    }
    .notification-dropdown li img,
    .chat-notification-dropdown li img {
        width: 40px; height: 40px; border-radius: 50%; object-fit: cover;
    }
    .notification-dropdown li:hover,
    .chat-notification-dropdown li:hover { background: #faf5ff; }



.notification-dropdown a
{color: #000000 !important; 
text-decoration: underline;}






    /* MOBILE HEADER BAR */
    .mobile-header-bar {
        display: none; width: 100%; background: #ff4d6d; min-height: 65px;
        align-items: center; justify-content: space-between;
        box-shadow: 0 2px 9px rgba(0,0,0,0.06);
        position: relative; z-index: 1001;
    }
    .mobile-header-logo img { height: 55px; }
    .mobile-header-burger {
        background: none; border: none; font-size: 33px; color: #fff;
        margin-right: 0; cursor: pointer;
    }

    
    .mobile-header-icons { display: flex; gap: 10px; align-items: center; padding-right:10px; }
    .mobile-header-icon { position: relative; } .mobile-header-icon img { width: 27px; height: 27px; }
    .mobile-header-coin { background: linear-gradient(45deg, #FFD700, #FFA500); color: #222; border-radius: 18px; padding: 4px 12px 4px 10px; font-weight: bold; font-size: 17px; display: flex; align-items: center; }
    .mobile-header-coin img { width: 25px; height: 25px; margin-right: 4px; }
    .notif-badge, .chat-notif-badge { font-size: 14px; padding: 2px 7px; min-width: 18px; }
    /* Side mobile menu */
    #mobile-side-nav {
        position: fixed; top: 0; left: -260px; width: 260px; height: 100vh;
        background: #fff; color: #222; box-shadow: 2px 0 16px rgba(0,0,0,0.09);
        z-index: 15000; transition: left 0.22s; padding: 0; overflow-y: auto;
    }
    #mobile-side-nav .side-nav-header {
        padding: 17px 18px 12px 18px; background: #ff4d6d; color: #fff;
        font-weight: bold; font-size: 18px; border-bottom: 1px solid #f9c9d6;
        display: flex; align-items: center; gap: 11px;
    }
    #mobile-side-nav nav { padding: 23px 15px; display: flex; flex-direction: column; gap: 16px; }
    #mobile-side-nav nav a {
        color: #ff4d6d; font-weight: bold; font-size: 17px; text-decoration: none;
        transition: color 0.16s;
    }
    #mobile-side-nav nav a:hover { color: #222; }
    #mobile-side-nav .close-nav-btn {
        position: absolute; right: 14px; top: 12px; background: none; border: none;
        font-size: 30px; color: #fff; cursor: pointer;
    }
    @media (max-width: 900px) {
        .main-header-bar { display: none; }
        .mobile-header-bar { display: flex; }
    }
    @media (min-width: 901px) {
        .main-header-bar { display: flex !important; }
        .mobile-header-bar { display: none !important; }
        #mobile-side-nav { display: none !important; }
    }
   @media (max-width: 768px) {
  .chat-notification-dropdown {
    position: fixed !important;
    left: 10px !important;
    right: 10px !important;
    width: auto !important;
    max-width: calc(100% - 20px) !important;
    box-sizing: border-box !important;
    border-radius: 12px !important;
    top: 60px !important;
    z-index: 9999 !important;
    background: white;
    box-shadow: 0 2px 18px rgba(0,0,0,0.17);
  }

  .chat-notification-dropdown ul {
    max-height: 300px;
    overflow-y: auto;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .chat-notification-dropdown li {
    padding: 12px 10px;
    font-size: 14px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    background: #fff;
    transition: background 0.2s;
  }

  .chat-notification-dropdown li:hover {
    background: #f9f9f9;
  }

  .chat-notification-dropdown img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
  }
}


#verifymodal {
            z-index: 99999 !important;
            position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
            background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center;
            animation: fadeIn .4s;
        }
        @keyframes fadeIn { from {opacity:0;} to {opacity:1;} }
        #verifymodal .modal-content {
            background: #fff; border-radius: 20px; max-width: 380px; box-shadow: 0 4px 30px #0002;
            padding: 32px 28px 28px 28px; text-align: center; position: relative;
        }
        #verifymodal h3 { margin-top: 0; font-size: 1.6em; color: #d7216d;}
        #verifymodal .close-btn {
                         position: absolute;
                         top: -4px;
                         right: 2px;
                        font-size: 1.3em;
                        color: #bbb;
                         cursor: pointer;
                        background: #fff;
                        border: none;
                         border-radius: 50%;
                        width: 40px;
                        height: 40px;
                        line-height: 0px;
                        transition: background .2s, color .2s;
                            }
        #verifymodal .close-btn:hover { background: #ffdbef; color: #d7216d;}
        #verifymodal .bonus-badge {
            display: inline-block; background: #ffe084; color: #ba8803; border-radius: 15px;
            padding: 2px 14px; font-weight: bold; font-size: 1.05em; margin-top: 8px; margin-bottom: 10px;
        }
        #verifymodal .action-btn {
            margin-top: 20px; font-size: 1.1em; background: #d7216d; color: #fff;
            padding: 10px 30px; border-radius: 24px; border: none; cursor: pointer; font-weight: bold;
            transition: background .2s;text-decoration: none ;
        }
        #verifymodal .action-btn a {text-decoration: none;}
        #verifymodal .action-btn:hover { background: #a80041;}
       



        body {
    background: #f6f7fb;
     margin: 0;
    padding: 0;
}



/*from login.php


.auth-container {max-width: 410px; margin: 40px auto; background: #fff; padding: 36px 28px 26px 28px; border-radius: 18px; box-shadow: 0 8px 40px #0001; text-align: center;}
.auth-container h2 {color: #ff4d6d; font-weight: 600; font-size: 2rem; margin-bottom: 22px; letter-spacing: 1px;}*/
.form-control {border-radius: 8px; font-size: 1.04rem; padding: 11px 12px;}
.btn-primary {background: #ff4d6d; border: none; font-weight: 600; font-size: 1.09rem; border-radius: 9px; margin-bottom: 18px; margin-top: 6px; padding: 11px 0; height:50px ; letter-spacing: 1px; transition: background 0.18s;}
.btn-primary:hover {background: #ff254d;}
.social-row {display: flex; gap: 13px; margin-bottom: 10px; margin-top: 10px; justify-content: center;}
.social-btn {flex: 1; border: 1.2px solid #eee; background: #fff; color: #333; display: flex; align-items: center; justify-content: center; font-weight: 500; height: 44px; border-radius: 7px; cursor: pointer; font-size: 1.07rem; padding: 0 6px 0 0; transition: border 0.13s, box-shadow 0.13s; box-shadow: 0 1px 3px #0000;}
.social-btn img {width: 26px; height: 26px; margin-right: 8px;}
.social-btn:hover {border: 1.5px solid #ff4d6d; box-shadow: 0 2px 12px #0001;}
.tc-row {font-size: 0.95rem; color: #888; margin: 10px 0 6px 0; text-align: center;}
.tc-row a {color: #ff4d6d; text-decoration: underline;}
.already {margin-top: 22px; font-size: 1.03rem; color: #222;}
.already a {color: #ff4d6d; text-decoration: underline;}
@media (max-width: 500px) {.auth-container { padding: 20px 3vw; } .social-btn span { font-size:0.97rem; }}
.gift-note { font-size: 1.0rem; color: #ff4d6d; background: #fff4f7; border-radius: 8px; padding: 10px 0; margin: 0 0 18px 0; font-weight: 700;}







/*from signup.php 


.auth-container {
        max-width: 400px;
        margin: 40px auto;
        background: #fff;
        padding: 32px 24px 28px 24px;
        border-radius: 18px;
        box-shadow: 0 8px 40px #0002;
        text-align: center;
    }
    .auth-container h2 {
        color: #ff4d6d;
        font-weight: 600;
        font-size: 2rem;
        margin-bottom: 22px;
        letter-spacing: 1px;
    }*/
    .form-control {
        border-radius: 8px;
        font-size: 1rem;
        margin-bottom: 16px;
    }
    .btn-primary {
        background: #ff4d6d;
        border: none;
        font-weight: 600;
        font-size: 1.09rem;
        border-radius: 9px;
        margin-bottom: 14px;
        margin-top: 4px;
        padding: 10px 0;
        letter-spacing: 1px;
        width: 100%;
    }
    .remember-row {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        margin-bottom: 10px;
    }
    .remember-row input[type="checkbox"] {
        margin-right: 6px;
    }
    .login-divider {
        font-size: 1.03rem;
        color: #888;
        margin: 10px 0 8px 0;
        text-align: center;
    }
    .social-row {
        display: flex;
        gap: 13px;
        margin-bottom: 10px;
        margin-top: 6px;
        justify-content: center;
    }
    .social-btn {
        flex: 1;
        border: 1.2px solid #eee;
        background: #fff;
        color: #333;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 500;
        height: 44px;
        border-radius: 7px;
        cursor: pointer;
        font-size: 1.07rem;
        padding: 0 6px 0 0;
        transition: border 0.13s, box-shadow 0.13s;
        box-shadow: 0 1px 3px #0000;
    }
    .social-btn img {
        width: 26px;
        height: 26px;
        margin-right: 8px;
    }
    .social-btn:hover {
        border: 1.5px solid #ff4d6d;
        box-shadow: 0 2px 12px #0001;
    }
    .login-links {
        margin-top: 8px;
        margin-bottom: 2px;
        font-size: 1.02rem;
        color: #444;
    }
    .login-links a {
        color: #ff4d6d;
        text-decoration: underline;
    }














    /* ===================================================== */
/* FINAL GLOBAL LOCK – PRODUCTION SAFE */
/* ===================================================== */

html, body {
  font-family: 'Segoe UI', Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #f8f8f8 !important;
  overflow-x: hidden !important;
}

/* ===================================================== */
/* AUTH SYSTEM – UNIFIED VERSION (LOGIN + SIGNUP SAFE) */
/* ===================================================== */

.auth-container {
  max-width: 400px;
  margin: 45px auto;
  background: #fff;
  padding: 32px 24px 28px 24px;
  border-radius: 18px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
  text-align: center;
}

.auth-container h2 {
  color: #ff4d6d;
  font-weight: 600;
  font-size: 2rem;
  margin-bottom: 22px;
  letter-spacing: 1px;
}

.auth-container button[type="submit"]:hover {
  background: #e63950;
}

.auth-container input[type="email"],
.auth-container input[type="password"] {
  padding: 12px 14px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;

  transition: border-color 0.2s;
}

.auth-container input:focus {
  border-color: #ff4d6d;
  outline: none;
}

.auth-container button[type="submit"] {
  background: #ff4d6d;
  border-color: #ff4d6d;
  color: #fff;
  padding: 12px 0;
  border-radius: 8px;
  font-weight: bold;
}

.auth-container button[type="submit"]:hover {
  background: #e63950;
}

.form-control {
  border-radius: 8px;
  font-size: 1rem;
  padding: 11px 12px;
  margin-bottom: 16px;
}

.btn-primary {
  background: #ff4d6d;
  border: none;
  font-weight: 600;
  font-size: 1.09rem;
  border-radius: 9px;
  padding: 11px 0;
  width: 100%;
  transition: background 0.18s;
}

.btn-primary:hover {
  background: #ff254d;
}

.social-row {
  display: flex;
  gap: 13px;
  margin: 12px 0;
  justify-content: center;
}

.social-btn {
  flex: 1;
  border: 1.2px solid #eee;
  background: #fff;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  height: 44px;
  border-radius: 7px;
  cursor: pointer;
  font-size: 1.07rem;
  transition: border 0.13s, box-shadow 0.13s;
}

.social-btn img {
  width: 26px;
  height: 26px;
  margin-right: 8px;
}

.social-btn:hover {
  border: 1.5px solid #ff4d6d;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

/* ===================================================== */
/* HEADER HEIGHT LOCK */
/* ===================================================== */

.main-header-bar {
  height: 66px !important;
  min-height: 66px !important;
}

/* Prevent content overlap */



/* ===================================================== */
/* OVERLAY + Z-INDEX SAFETY */
/* ===================================================== */

.match-overlay { z-index: 10000; }
.coin-animation { z-index: 10001; }
.modal { z-index: 10002; }

/* ===================================================== */
/* FINAL SAFETY */
/* ===================================================== */

img {
  max-width: 100%;
  height: auto;
}

.hidden { display: none !important; }


.legal-page {
    max-width: 900px;
    margin: 120px auto 60px;
    background: #ffffff;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 6px 30px rgba(0,0,0,0.05);
}

.legal-page h1,
.legal-page h2,
.legal-page h3 {
    text-align: left;
    color: #111;
}

.legal-page p {
    color: #444;
    line-height: 1.7;
    margin-bottom: 16px;
}


/* ====================================== */
/* LEGAL PAGES – NORMAL TEXT SIZE FIX */
/* ====================================== */

.legal-main-container {
    font-size: 15px !important;
    line-height: 1.6;
}

.legal-main-container h1 {
    font-size: 28px !important;
    margin-bottom: 20px !important;
}

.legal-main-container h2 {
    font-size: 20px !important;
    margin-top: 25px !important;
}

.legal-main-container h3 {
    font-size: 18px !important;
}

.legal-main-container p {
    font-size: 15px !important;
}

.legal-main-container li {
    font-size: 15px !important;
}


/* ===================================== */
/* LEGAL PAGE PROPER DOCUMENT STYLE */
/* ===================================== */

.legal-main-container {
    text-align: left !important;
    font-size: 14px !important;
    line-height: 1.6;
}

.legal-main-container h1 {
    font-size: 24px !important;
    margin-bottom: 18px;
}

.legal-main-container h2 {
    font-size: 18px !important;
    margin-top: 24px;
}

.legal-main-container h3 {
    font-size: 16px !important;
}

.legal-main-container p,
.legal-main-container li {
    font-size: 14px !important;
}

/* ===================================================== */
/* AUTH PAGE FOOTER ADJUSTMENT – GLOBAL SAFE */
/* ===================================================== */



/* Auth pages background smoothing */
body .auth-container {
    position: relative;
    z-index: 2;
}

body .auth-container::after {
    content: "";
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 200px;
    background: radial-gradient(
        circle,
        rgba(255,77,109,0.15) 0%,
        transparent 70%
    );
    filter: blur(60px);
    z-index: -1;
}

/* ===================================================== */
/* AUTH PAGE FOOTER FIX – CORRECT STRUCTURE */
/* ===================================================== */

/* Target footer only when auth-container exists on page */
body:has(.auth-container) footer.luxy-footer {
    margin-top: 70px;
    box-shadow: 0 -15px 40px rgba(255,77,109,0.12);
}