
/* ================================================================
   TrustProperties Dating - Modern Dating UI
   Inspired by contemporary dating-app patterns: soft surfaces,
   large profile imagery, rounded cards, gradient CTAs and mobile nav.
   ================================================================ */
:root{
  --tp-primary:#ff3f6c;
  --tp-primary-2:#ff6b8a;
  --tp-purple:#8b5cf6;
  --tp-ink:#171722;
  --tp-muted:#777789;
  --tp-bg:#f8f7fb;
  --tp-card:#ffffff;
  --tp-line:#eceaf1;
  --tp-shadow:0 18px 55px rgba(27,24,46,.10);
  --tp-radius:24px;
}
html{scroll-behavior:smooth}
body{
  background:var(--tp-bg)!important;
  color:var(--tp-ink);
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}
body *{box-sizing:border-box}
a{transition:all .2s ease}

/* Top navigation */
#nav-not-logged-in,#nav-logged-in,
body>nav[role="navigation"]{
  background:rgba(255,255,255,.94)!important;
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(31,30,44,.06);
  box-shadow:0 8px 30px rgba(25,22,40,.06);
  position:relative;
  z-index:100;
}
#nav-not-logged-in .nav-wrapper,#nav-logged-in .nav-wrapper{max-width:1180px;height:72px}
.header_logo img{max-height:42px;width:auto;display:block}
.header_logo a{display:flex!important;align-items:center;height:72px}
#nav-not-logged-in .qdt_hdr_auth_btns{border-radius:999px!important;padding:0 20px!important;font-weight:700!important}
#nav-not-logged-in .btn_primary.qdt_hdr_auth_btns{background:linear-gradient(135deg,var(--tp-primary),var(--tp-primary-2))!important;box-shadow:0 10px 22px rgba(255,63,108,.22)!important}
.header_home_link a{font-weight:700!important;border-radius:999px;padding:0 14px!important}
.header_home_link a:hover{background:#fff0f4!important;color:var(--tp-primary)!important}
#nav-logged-in .btn-flat{border-radius:14px}

/* Language selector */
.dt_foot_langs{display:inline-flex!important;align-items:center;margin-left:12px}
.dt_foot_langs>a{display:flex!important;align-items:center;gap:5px;border:1px solid var(--tp-line);background:#fff;border-radius:999px;padding:7px 12px!important;font-weight:700;color:var(--tp-ink)!important}
.dt_foot_langs svg{width:16px;height:16px}
.dt_foot_langs .dropdown-content{border-radius:16px!important;overflow:hidden!important;min-width:170px!important;padding:6px!important;box-shadow:var(--tp-shadow)!important}
.dt_foot_langs .dropdown-content li>a{border-radius:10px!important;font-weight:600}
.dt_foot_langs .dropdown-content li>a:hover{background:#fff0f4!important;color:var(--tp-primary)!important}

/* Buttons */
.btn_primary,.btn_glossy,.btn_round{
  border-radius:999px!important;
  background:linear-gradient(135deg,var(--tp-primary),var(--tp-primary-2))!important;
  box-shadow:0 12px 28px rgba(255,63,108,.22)!important;
  border:0!important;
  font-weight:800!important;
}
.btn_primary:hover,.btn_glossy:hover{transform:translateY(-2px);box-shadow:0 16px 32px rgba(255,63,108,.28)!important}

/* Public home */
body.index-page #container,body.home-page #container{overflow:hidden}
.modern-home{padding-bottom:70px}
.modern-hero{
  position:relative;overflow:hidden;min-height:650px;
  display:flex;align-items:center;
  background:radial-gradient(circle at 15% 20%,#ffe8ef 0,transparent 34%),radial-gradient(circle at 90% 20%,#eee9ff 0,transparent 30%),#fbfaff;
}
.modern-hero:before,.modern-hero:after{content:"";position:absolute;border-radius:50%;filter:blur(2px);opacity:.7}
.modern-hero:before{width:280px;height:280px;background:#ffd7e3;right:-110px;top:70px}
.modern-hero:after{width:180px;height:180px;background:#ddd3ff;left:-80px;bottom:30px}
.modern-hero-inner{width:min(1180px,92%);margin:auto;display:grid;grid-template-columns:1.05fr .95fr;gap:70px;align-items:center;position:relative;z-index:2}
.modern-hero-copy h1{font-size:clamp(44px,6vw,76px);line-height:.98;margin:0 0 24px;font-weight:900;letter-spacing:-3px;color:#171722}
.modern-hero-copy h1 span{color:var(--tp-primary)}
.modern-hero-copy p{font-size:19px;line-height:1.7;color:var(--tp-muted);max-width:570px;margin:0 0 30px}
.modern-hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.modern-hero-actions a{min-height:52px;display:inline-flex;align-items:center;justify-content:center;padding:0 24px}
.modern-hero-visual{min-height:520px;position:relative;display:flex;align-items:center;justify-content:center}
.modern-profile-card{width:min(330px,75vw);height:480px;background:#fff;border-radius:32px;overflow:hidden;box-shadow:0 30px 70px rgba(34,28,56,.20);transform:rotate(3deg);position:relative}
.modern-profile-card img{width:100%;height:100%;object-fit:cover}
.modern-profile-card:after{content:"";position:absolute;inset:55% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.72))}
.modern-profile-info{position:absolute;left:24px;right:24px;bottom:22px;z-index:2;color:#fff}
.modern-profile-info h3{margin:0;font-size:25px;font-weight:850}.modern-profile-info p{margin:4px 0 0;color:#f5f5f5}
.modern-mini-card{position:absolute;width:150px;height:200px;background:#fff;border-radius:24px;overflow:hidden;box-shadow:0 20px 45px rgba(34,28,56,.16)}
.modern-mini-card img{width:100%;height:100%;object-fit:cover}.modern-mini-card.one{left:0;top:50px;transform:rotate(-10deg)}.modern-mini-card.two{right:0;bottom:35px;transform:rotate(10deg)}
.modern-heart{position:absolute;z-index:5;width:68px;height:68px;display:grid;place-items:center;border-radius:50%;right:24px;bottom:55px;background:linear-gradient(135deg,var(--tp-primary),#ff8ba4);color:#fff;font-size:30px;box-shadow:0 16px 32px rgba(255,63,108,.32)}
.modern-section{width:min(1120px,92%);margin:0 auto;padding:80px 0}
.modern-section-heading{text-align:center;max-width:680px;margin:0 auto 42px}.modern-section-heading .eyebrow{font-size:12px;letter-spacing:3px;text-transform:uppercase;color:var(--tp-primary);font-weight:900}.modern-section-heading h2{font-size:clamp(30px,4vw,48px);line-height:1.05;margin:10px 0 14px;font-weight:900}.modern-section-heading p{color:var(--tp-muted);font-size:17px;line-height:1.7}
.modern-feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.modern-feature{background:#fff;border:1px solid var(--tp-line);border-radius:var(--tp-radius);padding:30px;box-shadow:0 12px 35px rgba(25,22,40,.05)}.modern-feature-icon{width:56px;height:56px;border-radius:18px;display:grid;place-items:center;background:#fff0f4;color:var(--tp-primary);font-size:25px}.modern-feature h3{font-size:20px;margin:18px 0 8px;font-weight:850}.modern-feature p{margin:0;color:var(--tp-muted);line-height:1.7}
.modern-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.modern-step{background:#fff;border-radius:var(--tp-radius);padding:28px;text-align:center;border:1px solid var(--tp-line)}.modern-step img{height:72px;max-width:90px;margin-bottom:12px}.modern-step .number{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#fff0f4;color:var(--tp-primary);font-weight:900;margin-bottom:8px}.modern-step h3{margin:6px 0;font-weight:850}.modern-step p{color:var(--tp-muted);line-height:1.6}
.modern-cta{width:min(1120px,92%);margin:0 auto 30px;padding:55px 30px;border-radius:32px;background:linear-gradient(135deg,#ff3f6c,#9a62ff);color:#fff;text-align:center;box-shadow:0 25px 60px rgba(125,78,181,.20)}.modern-cta h2{font-size:clamp(28px,4vw,44px);margin:0 0 10px;font-weight:900}.modern-cta p{margin:0 auto 24px;max-width:650px;color:rgba(255,255,255,.88);font-size:17px}.modern-cta .btn{background:#fff!important;color:var(--tp-primary)!important;box-shadow:none!important}

/* Auth pages */
.auth_bg_img{min-height:calc(100vh - 72px)!important;background:radial-gradient(circle at 10% 10%,#ffe8ef,transparent 30%),radial-gradient(circle at 90% 90%,#ebe5ff,transparent 32%),#faf9fd!important;padding:55px 0!important}
.dt_login_bg{background:transparent!important}.dt_login_con{max-width:470px!important;margin:0 auto!important}.dt_login{background:#fff!important;border:1px solid var(--tp-line)!important;border-radius:30px!important;padding:38px!important;box-shadow:var(--tp-shadow)!important}.dt_login form{width:100%}.dt_login p{color:var(--tp-muted);font-size:15px;line-height:1.6}.dt_login p .bold{color:var(--tp-ink)}
.dt_login .input-field{margin-bottom:8px}.dt_login .input-field input{height:52px!important;border:1px solid #e5e3eb!important;border-radius:14px!important;padding:0 16px!important;box-shadow:none!important;background:#fbfbfd!important}.dt_login .input-field input:focus{border-color:var(--tp-primary)!important;box-shadow:0 0 0 4px rgba(255,63,108,.10)!important}.dt_login .input-field label{left:16px!important}.dt_login .input-field input:focus+label,.dt_login .input-field input.valid+label{background:#fff;padding:0 5px;color:var(--tp-primary)!important}
.dt_login_footer{gap:14px;flex-wrap:wrap}.dt_login_footer .btn{width:100%;min-height:52px}.dt_login_footer>a{color:var(--tp-primary)!important;font-weight:700}.dt_social_login{display:grid;gap:10px;margin-top:22px}.dt_social_login .btn_social{border:1px solid var(--tp-line)!important;background:#fff!important;color:var(--tp-ink)!important;border-radius:14px!important;min-height:48px;box-shadow:none!important}.dt_social_login .btn_social:hover{background:#faf8fb!important}.usr_circle{display:none!important}

/* Existing matching/profile surfaces */
.find_matches_cont,.page-margin{max-width:1180px!important}.find_matches_cont{padding-top:25px}.dt_home_filters_prnt,.dt_home_filters,.dt_filters{border-radius:22px!important;overflow:hidden;box-shadow:0 12px 34px rgba(25,22,40,.06)}
.dt_home_filters_prnt{background:#fff!important;border:1px solid var(--tp-line)}.dt_home_filters{background:transparent!important}.dt_home_filters_head{padding:16px 20px!important}.dt_home_filters_head p{font-weight:700;color:var(--tp-ink)}
.find_matches_cont .dt_sections,.find_matches_cont .dt_user_card,.find_matches_cont .dt_profile_card{border-radius:22px!important}
.dt_user_card,.dt_profile_card{background:#fff!important;box-shadow:0 12px 35px rgba(25,22,40,.07)!important;border:1px solid var(--tp-line)!important;overflow:hidden}
.dt_user_card img,.dt_profile_card img{object-fit:cover}

/* Footer */
.page_footer{background:#fff!important;border-top:1px solid var(--tp-line)!important;color:var(--tp-muted)!important}.page_footer .footer-copyright{background:transparent!important;min-height:80px}.dt_footer_links a{font-weight:700!important;color:var(--tp-muted)!important}.dt_footer_links a:hover{color:var(--tp-primary)!important}

/* Mobile bottom navigation */
.modern-mobile-nav{display:none}

/* Responsive */
@media (max-width:900px){
  .modern-hero{min-height:auto;padding:55px 0 70px}.modern-hero-inner{grid-template-columns:1fr;gap:30px;text-align:center}.modern-hero-copy p{margin-left:auto;margin-right:auto}.modern-hero-actions{justify-content:center}.modern-hero-visual{min-height:430px}.modern-profile-card{height:430px}.modern-feature-grid,.modern-steps{grid-template-columns:1fr}.modern-section{padding:58px 0}.find_matches_cont{width:94%!important}.find_matches_cont>.row>.col.l3{display:none}.find_matches_cont>.row>.col.l9{width:100%!important}
}
@media (max-width:600px){
  #nav-not-logged-in .nav-wrapper,#nav-logged-in .nav-wrapper,body>nav[role="navigation"] .nav-wrapper{height:62px;padding:0 14px}.header_logo a{height:62px}.header_logo img{max-height:34px}.hide_mobi_login{display:none!important}.show_mobi_login{display:block!important}
  .modern-hero-copy h1{font-size:45px;letter-spacing:-2px}.modern-hero-copy p{font-size:16px}.modern-hero-visual{min-height:370px}.modern-profile-card{width:270px;height:390px}.modern-mini-card{width:115px;height:160px}.modern-mini-card.one{left:0}.modern-mini-card.two{right:0}.modern-heart{width:58px;height:58px;right:12px;bottom:25px}
  .modern-section{width:90%;padding:48px 0}.modern-section-heading{margin-bottom:28px}.modern-section-heading h2{font-size:32px}.modern-cta{width:90%;padding:40px 20px;border-radius:26px}
  .dt_login{padding:25px 20px!important;border-radius:24px!important}.auth_bg_img{padding:25px 12px!important}.dt_login .row .col.s6{width:100%!important}.dt_login_footer{display:block!important}.dt_login_footer>a{display:block;text-align:center;margin-top:14px}
  #footer{padding-bottom:72px}.page_footer .footer-copyright .container{display:block!important;padding:15px!important}.dt_footer_links{flex-wrap:wrap;gap:6px}
  .modern-mobile-nav{display:flex;position:fixed;z-index:9999;left:10px;right:10px;bottom:10px;height:62px;background:rgba(255,255,255,.95);backdrop-filter:blur(18px);border:1px solid var(--tp-line);border-radius:22px;box-shadow:0 16px 45px rgba(25,22,40,.16);align-items:center;justify-content:space-around}.modern-mobile-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-width:55px;height:54px;color:#8a8997!important;font-size:10px;font-weight:800}.modern-mobile-nav a svg{width:22px;height:22px}.modern-mobile-nav a.active,.modern-mobile-nav a:hover{color:var(--tp-primary)!important}.modern-mobile-nav .modern-nav-center{width:48px;height:48px;border-radius:50%;background:linear-gradient(135deg,var(--tp-primary),var(--tp-primary-2));color:#fff!important;box-shadow:0 10px 24px rgba(255,63,108,.28)}.modern-mobile-nav .modern-nav-center svg{fill:#fff}
}

.modern-auth-top{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 max(4%,calc((100vw - 1180px)/2));background:#fff;border-bottom:1px solid var(--tp-line);position:relative;z-index:110}.modern-auth-top img{max-height:42px;width:auto}.modern-auth-top .dt_foot_langs{margin-left:0}
@media (max-width:600px){.modern-auth-top{height:62px;padding:0 14px}.modern-auth-top img{max-height:34px}}
