*{box-sizing:border-box}
:root{
    --bg:#0f172a;
    --bg-soft:#111827;
    --surface:rgba(255,255,255,.88);
    --surface-strong:#ffffff;
    --line:rgba(148,163,184,.22);
    --text:#0f172a;
    --text-soft:#64748b;
    --primary:#ff375f;
    --primary-2:#ff5f7d;
    --gold:#f59e0b;
    --success:#059669;
    --danger:#dc2626;
    --shadow:0 20px 60px rgba(2,6,23,.20);
    --radius-xl:32px;
    --radius-lg:24px;
    --radius-md:18px;
    --radius-sm:14px;
}
html,body{min-height:100%}
body{
    margin:0;
    color:var(--text);
    font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
    background:
        radial-gradient(circle at top left, rgba(255,55,95,.14), transparent 28%),
        radial-gradient(circle at top right, rgba(245,158,11,.16), transparent 24%),
        linear-gradient(180deg,#fff7fb 0%,#f8fafc 38%,#eef2ff 100%);
}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
.app-shell{min-height:100vh;padding-bottom:96px}
.topbar{
    position:sticky;top:0;z-index:50;
    padding:14px 16px;
    backdrop-filter:blur(18px);
    background:rgba(255,255,255,.62);
    border-bottom:1px solid rgba(255,255,255,.4)
}
.topbar-inner{
    max-width:1180px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:18px
}
.brand{
    display:inline-flex;align-items:center;gap:10px;font-weight:900;font-size:1.08rem;letter-spacing:.02em
}
.brand-mark{
    width:36px;height:36px;border-radius:14px;display:grid;place-items:center;
    color:#fff;background:linear-gradient(135deg,var(--primary),var(--primary-2));box-shadow:0 10px 24px rgba(255,55,95,.28)
}
.desktop-nav{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.desktop-nav a{
    padding:11px 14px;border-radius:999px;color:#334155;font-weight:700;font-size:.95rem;transition:.22s ease
}
.desktop-nav a:hover,.desktop-nav a.active{
    color:#fff;background:linear-gradient(135deg,var(--primary),var(--primary-2));box-shadow:0 10px 20px rgba(255,55,95,.2)
}
.page{max-width:1180px;margin:0 auto;padding:24px 16px}
.page-index .page{padding-top:36px}
.card{
    background:var(--surface);
    border:1px solid rgba(255,255,255,.65);
    backdrop-filter:blur(22px);
    box-shadow:var(--shadow);
    border-radius:var(--radius-xl);
    padding:26px;
    margin-bottom:18px;
}
.center{text-align:center}
h1,h2,h3,h4,p{margin-top:0}
h1{font-size:clamp(2.4rem,5vw,4.6rem);line-height:.95;letter-spacing:-.04em}
h2{font-size:clamp(1.55rem,3vw,2.25rem);line-height:1.05;letter-spacing:-.03em}
h3{font-size:1.15rem}
.subtitle,.muted,.small-text{color:var(--text-soft)}
label{display:block;margin:10px 0 8px;font-weight:800;color:#334155}
input,select,textarea{
    width:100%;padding:15px 16px;border-radius:18px;border:1px solid #d9e2ec;background:rgba(255,255,255,.88);
    font:inherit;color:#0f172a;outline:none;transition:border-color .18s, box-shadow .18s, transform .18s
}
input:focus,select:focus,textarea:focus{
    border-color:rgba(255,55,95,.46);box-shadow:0 0 0 4px rgba(255,55,95,.12)
}
textarea{resize:vertical;min-height:120px}
.btn{
    width:100%;display:inline-flex;align-items:center;justify-content:center;gap:8px;
    border:none;border-radius:18px;padding:14px 18px;font-weight:900;font-size:.98rem;cursor:pointer;
    color:#fff;background:linear-gradient(135deg,var(--primary),var(--primary-2));
    box-shadow:0 14px 28px rgba(255,55,95,.26);transition:transform .18s ease, box-shadow .18s ease, opacity .18s ease
}
.btn:hover{transform:translateY(-1px);box-shadow:0 18px 32px rgba(255,55,95,.32)}
.btn:active{transform:translateY(0)}
.btn-muted{background:linear-gradient(135deg,#64748b,#475569);box-shadow:0 14px 28px rgba(71,85,105,.22)}
.btn-gold{background:linear-gradient(135deg,#f59e0b,#d97706);box-shadow:0 14px 28px rgba(217,119,6,.26)}
.btn-small{width:auto;padding:11px 14px;border-radius:14px;font-size:.9rem}
.full{width:100%}
.hero{
    position:relative;overflow:hidden;padding:44px 28px;background:
        radial-gradient(circle at 20% 0%, rgba(255,255,255,.35), transparent 40%),
        linear-gradient(135deg,#111827 0%,#1e293b 45%,#be123c 100%);
    color:#fff
}
.hero::after{
    content:"";position:absolute;inset:auto -40px -60px auto;width:240px;height:240px;border-radius:999px;background:rgba(255,255,255,.08);filter:blur(10px)
}
.hero p{max-width:760px;margin:0 auto 20px;color:rgba(255,255,255,.82)}
.hero .grid-2.compact{max-width:440px;margin:22px auto 0}
.hero-features{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-top:18px}
.hero-features span,.badge{
    display:inline-flex;align-items:center;justify-content:center;
    border-radius:999px;padding:9px 13px;font-size:.82rem;font-weight:900;
    background:rgba(255,255,255,.16);color:#fff;border:1px solid rgba(255,255,255,.18)
}
.badge{background:#ffe4ec;color:#be123c;border:none}
.badge-gold{background:#fff1cc;color:#9a6700}
.grid-2,.grid-3,.stats-grid,.pricing-grid{display:grid;gap:16px}
.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:18px}
.compact{max-width:480px;margin:0 auto}
.stat{
    min-height:142px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;
    position:relative;overflow:hidden
}
.stat::after{
    content:"";position:absolute;right:-24px;bottom:-24px;width:96px;height:96px;border-radius:999px;background:rgba(255,55,95,.08)
}
.stat strong{font-size:2.35rem;letter-spacing:-.04em}
.stat span{color:var(--text-soft);font-weight:700}
.action-link{display:block;transition:transform .18s ease, box-shadow .18s ease}
.action-link:hover{transform:translateY(-2px)}
.action-link h3,.action-link h4{margin-bottom:6px}
.action-link p{margin-bottom:0;color:var(--text-soft)}
.form-card{max-width:760px;margin:0 auto}
.alert{
    border-radius:18px;padding:13px 16px;margin-bottom:16px;font-weight:700
}
.alert.success{background:#ecfdf5;color:#047857;border:1px solid #bbf7d0}
.alert.error{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}
.profile-head{display:flex;align-items:center;justify-content:space-between;gap:22px}
.avatar-lg,.profile-photo-preview,.match-avatar,.dating-placeholder{
    background:linear-gradient(135deg,#f8fafc,#e2e8f0)
}
.avatar-lg{
    width:150px;height:150px;border-radius:28px;object-fit:cover;display:grid;place-items:center;color:#64748b;font-weight:700
}
.profile-photo-preview{
    width:190px;height:190px;border-radius:28px;object-fit:cover;margin:0 auto 18px;box-shadow:0 20px 40px rgba(15,23,42,.14)
}
.swipe-card-wrap{max-width:860px;margin:0 auto}
.section-head{display:flex;align-items:center;gap:16px;margin-bottom:14px}
.between{justify-content:space-between}
.filter-card h3{margin-bottom:10px}
.dating-card{
    overflow:hidden;border-radius:34px;background:#fff;border:1px solid rgba(226,232,240,.85);
    box-shadow:0 26px 50px rgba(15,23,42,.12)
}
.dating-card img,.dating-placeholder{
    width:100%;height:min(62vh,580px);object-fit:cover;display:grid;place-items:center;color:#64748b;font-size:1.1rem;font-weight:800
}
.dating-body{padding:24px}
.dating-body h3{font-size:2rem;margin-bottom:8px}
.swipe-actions,.swipe-actions-3{display:grid;gap:12px;padding:0 24px 24px}
.swipe-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
.swipe-actions-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.match-list{display:flex;flex-direction:column;gap:14px}
.match-row{
    display:flex;align-items:center;gap:14px;padding:16px;border-radius:24px;border:1px solid rgba(226,232,240,.9);
    background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(248,250,252,.94));transition:transform .18s ease, box-shadow .18s ease
}
.match-row:hover{transform:translateY(-2px);box-shadow:0 18px 28px rgba(15,23,42,.09)}
.match-avatar{
    width:78px;height:78px;border-radius:24px;object-fit:cover;display:grid;place-items:center;color:#64748b;flex-shrink:0
}
.match-copy{flex:1;min-width:0}
.match-copy p{margin:6px 0 0;color:#475569;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.match-topline{display:flex;justify-content:space-between;align-items:center;gap:10px}
.match-topline-actions{display:flex;align-items:center;gap:8px}
.chat-card{padding:0;overflow:hidden}
.chat-header{
    display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 20px;
    background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(255,255,255,.82));border-bottom:1px solid rgba(226,232,240,.85)
}
.chat-user{display:flex;align-items:center;gap:14px}
.chat-user h2{margin-bottom:3px}
.chat-messages{
    min-height:58vh;max-height:64vh;overflow:auto;padding:20px;background:
        radial-gradient(circle at top right, rgba(255,55,95,.05), transparent 18%),
        linear-gradient(180deg,#fff 0%,#f8fafc 100%);
    display:flex;flex-direction:column;gap:12px
}
.bubble{
    max-width:min(78%,440px);padding:13px 14px;border-radius:22px;display:flex;flex-direction:column;gap:6px;
    box-shadow:0 14px 24px rgba(15,23,42,.06)
}
.bubble p{margin:0;white-space:pre-wrap;word-break:break-word}
.bubble span{font-size:.75rem;opacity:.78}
.bubble.me{
    margin-left:auto;color:#fff;background:linear-gradient(135deg,var(--primary),#d81b60);border-bottom-right-radius:8px
}
.bubble.them{
    margin-right:auto;color:#0f172a;background:#fff;border:1px solid rgba(226,232,240,.85);border-bottom-left-radius:8px
}
.chat-form{padding:18px 20px;border-top:1px solid rgba(226,232,240,.85);background:#fff}
.chat-form textarea{margin-bottom:12px}
.empty-chat{color:var(--text-soft);text-align:center;padding:24px 0}
.premium-hero{
    display:flex;justify-content:space-between;align-items:center;gap:16px;
    background:
      radial-gradient(circle at top left, rgba(245,158,11,.18), transparent 20%),
      linear-gradient(135deg,#111827 0%,#1f2937 55%,#92400e 100%);
    color:#fff
}
.premium-hero p{color:rgba(255,255,255,.84)}
.premium-status-box{
    min-width:260px;border-radius:24px;padding:18px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18)
}
.pricing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.pricing-card .price{font-size:2.5rem;font-weight:900;letter-spacing:-.04em;margin:8px 0 16px}
.pricing-card .price span{font-size:1rem;color:var(--text-soft);font-weight:800}
.pricing-card.featured{
    position:relative;overflow:hidden;border:1px solid rgba(245,158,11,.25);background:
      radial-gradient(circle at top right, rgba(245,158,11,.16), transparent 26%),
      rgba(255,255,255,.94)
}
.feature-list{padding-left:20px;color:#475569;line-height:1.9}
.feature-list li{margin-bottom:4px}
.spaced-form{margin-top:10px}
.mini-card{margin-bottom:0}
.placeholder{color:#64748b}
.mobile-tabbar{
    position:fixed;left:12px;right:12px;bottom:12px;z-index:60;display:none;gap:8px;
    background:rgba(15,23,42,.88);backdrop-filter:blur(18px);border:1px solid rgba(255,255,255,.08);
    box-shadow:0 24px 40px rgba(2,6,23,.34);border-radius:24px;padding:10px
}
.mobile-tabbar a{
    flex:1;min-width:0;border-radius:18px;padding:10px 6px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;
    color:rgba(255,255,255,.74);font-weight:800;font-size:.72rem
}
.mobile-tabbar a span{font-size:1.2rem;line-height:1}
.mobile-tabbar a.active{
    color:#fff;background:linear-gradient(135deg,var(--primary),var(--primary-2))
}
@media (max-width:980px){
    .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .grid-3{grid-template-columns:1fr}
    .profile-head,.premium-hero{flex-direction:column;align-items:flex-start}
    .premium-status-box{width:100%}
}
@media (max-width:760px){
    .app-shell{padding-bottom:104px}
    .page{padding:16px 12px}
    .topbar{padding:12px}
    .desktop-nav{display:none}
    .mobile-tabbar{display:flex}
    .card{padding:20px;border-radius:28px}
    .grid-2,.stats-grid,.pricing-grid,.swipe-actions,.swipe-actions-3{grid-template-columns:1fr}
    .section-head,.match-topline{align-items:flex-start;flex-direction:column}
    .match-topline-actions{width:100%;justify-content:flex-start}
    .dating-card img,.dating-placeholder{height:52vh}
    .dating-body h3{font-size:1.7rem}
    .chat-header{align-items:flex-start;flex-direction:column}
    .chat-messages{min-height:50vh;max-height:none}
    .bubble{max-width:90%}
}
@media (max-width:420px){
    h1{font-size:2.2rem}
    .brand{font-size:1rem}
    .brand-mark{width:32px;height:32px;border-radius:12px}
    .mobile-tabbar a small{font-size:.66rem}
}

.profile-gallery-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
    margin-bottom:16px;
}
.profile-photo-card{
    position:relative;
    overflow:hidden;
    border-radius:22px;
    border:1px solid rgba(226,232,240,.95);
    background:#fff;
    box-shadow:0 12px 24px rgba(15,23,42,.08);
}
.profile-photo-card.is-primary{box-shadow:0 18px 32px rgba(217,119,6,.18);border-color:rgba(245,158,11,.35)}
.profile-photo-card img{width:100%;height:220px;object-fit:cover;display:block}
.profile-photo-actions{
    position:absolute;left:10px;right:10px;bottom:10px;display:flex;flex-wrap:wrap;gap:8px;align-items:center
}
.profile-photo-actions form{margin:0}
.gallery-hint{margin:0 0 18px}
.swipe-gallery,.profile-viewer{position:relative}
.swipe-gallery-photo,.profile-viewer-photo{
    width:100%;display:none;object-fit:cover
}
.swipe-gallery-photo.is-active,.profile-viewer-photo.is-active{display:block}
.swipe-gallery-photo{height:min(62vh,580px)}
.profile-viewer-stage{
    border-radius:28px;overflow:hidden;background:linear-gradient(135deg,#f8fafc,#e2e8f0)
}
.profile-viewer-photo{height:min(68vh,640px)}
.gallery-dots{display:flex;gap:8px;justify-content:center;align-items:center;padding:12px 0}
.gallery-dots.top-overlay{position:absolute;top:14px;left:14px;right:14px;justify-content:flex-start;padding:0}
.gallery-dot{
    width:10px;height:10px;border-radius:999px;border:none;background:rgba(255,255,255,.56);cursor:pointer;box-shadow:0 2px 8px rgba(15,23,42,.16)
}
.gallery-dot.is-active{background:#fff;width:24px}
.public-profile-card{max-width:900px;margin:0 auto}
.public-profile-body{margin-top:18px}
.info-pills{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:14px}
.info-pill{
    display:inline-flex;align-items:center;border-radius:999px;padding:8px 12px;background:#f8fafc;border:1px solid #e2e8f0;font-weight:800;color:#475569
}
.profile-view-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
.split-row{display:flex;align-items:center;justify-content:space-between;gap:14px}
.match-row-main{display:flex;align-items:center;gap:14px;flex:1;min-width:0}
.chat-header-actions{display:flex;gap:10px;flex-wrap:wrap}
@media (max-width:760px){
    .profile-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .profile-photo-card img{height:180px}
    .profile-viewer-photo,.swipe-gallery-photo{height:52vh}
    .split-row{flex-direction:column;align-items:stretch}
    .match-row-main{width:100%}
    .profile-view-actions,.chat-header-actions{width:100%}
}
@media (max-width:460px){
    .profile-gallery-grid{grid-template-columns:1fr}
    .profile-photo-card img{height:220px}
}

.auth-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px 40px;
    background:
        radial-gradient(circle at top, rgba(255, 77, 109, 0.14), transparent 30%),
        linear-gradient(180deg, #fff7f8 0%, #f6f8fc 100%);
}

.auth-card {
    width: 100%;
    max-width: 560px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.75);
    border-radius: 28px;
    box-shadow: 0 18px 50px rgba(18, 18, 18, 0.10);
    padding: 24px;
}

.auth-card-register {
    max-width: 620px;
}

.auth-top {
    text-align: center;
    margin-bottom: 18px;
}

.auth-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 77, 109, 0.10);
    color: #ff4d6d;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 14px;
}

.auth-title {
    font-size: 32px;
    line-height: 1.05;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.auth-subtitle {
    color: #6b7280;
    margin: 0 auto;
    max-width: 420px;
    line-height: 1.5;
    font-size: 15px;
}

.auth-form {
    margin-top: 16px;
}

.photo-register-box {
    margin-bottom: 18px;
}

.photo-upload-label {
    display: block;
    cursor: pointer;
}

.photo-preview-wrap {
    width: 100%;
    min-height: 260px;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(180deg, #f8f8f8 0%, #efefef 100%);
    border: 1px dashed #d6d6d6;
    position: relative;
}

.photo-placeholder {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    padding: 24px;
}

.photo-placeholder-icon {
    width: 68px;
    height: 68px;
    border-radius: 999px;
    background: #ff4d6d;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: bold;
    box-shadow: 0 10px 25px rgba(255, 77, 109, 0.28);
}

.photo-placeholder-text strong {
    display: block;
    font-size: 17px;
    margin-bottom: 4px;
}

.photo-placeholder-text span {
    color: #6b7280;
    font-size: 14px;
}

.photo-preview {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.hidden {
    display: none !important;
}

.photo-change-btn {
    margin-top: 12px;
    width: 100%;
}

.form-grid-single {
    display: grid;
    gap: 14px;
}

.form-grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.input-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 7px;
    color: #111827;
}

.input-group input,
.input-group textarea {
    width: 100%;
    border-radius: 16px;
    border: 1px solid #e4e4e7;
    background: #fff;
    padding: 14px 16px;
    font-size: 15px;
    transition: 0.2s ease;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: rgba(255, 77, 109, 0.45);
    box-shadow: 0 0 0 4px rgba(255, 77, 109, 0.10);
}

.input-group textarea {
    min-height: 110px;
    resize: vertical;
}

.field-help {
    display: block;
    margin-top: 6px;
    color: #6b7280;
    font-size: 12px;
}

.auth-submit-btn {
    margin-top: 8px;
    min-height: 52px;
    border-radius: 18px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 12px 26px rgba(255, 77, 109, 0.22);
}

.auth-bottom-text {
    margin-top: 14px;
}

@media (max-width: 640px) {
    .auth-shell {
        padding: 10px 10px 24px;
        align-items: flex-start;
    }

    .auth-card {
        border-radius: 22px;
        padding: 18px;
        max-width: 100%;
    }

    .auth-title {
        font-size: 26px;
    }

    .photo-preview-wrap,
    .photo-placeholder {
        min-height: 220px;
    }

    .photo-preview {
        height: 260px;
    }

    .form-grid-two {
        grid-template-columns: 1fr;
    }
}

.admin-shell {
    max-width: 1100px;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.admin-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: #f2f4f7;
    color: #374151;
    text-decoration: none;
    font-weight: 700;
}

.chip.active {
    background: #ff4d6d;
    color: #fff;
}

.admin-list {
    display: grid;
    gap: 18px;
}

.admin-card {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 18px;
    padding: 18px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #ececec;
    box-shadow: 0 8px 24px rgba(0,0,0,.05);
}

.admin-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.admin-label {
    display: block;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 6px;
    font-weight: 700;
}

.admin-photo,
.admin-empty {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 16px;
    background: #f3f4f6;
}

.admin-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
}

.admin-meta-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.badge-pending { background: #fff7ed; color: #c2410c; }
.badge-verified { background: #ecfdf3; color: #15803d; }
.badge-rejected { background: #fef2f2; color: #b91c1c; }

.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.btn-danger {
    background: #dc2626;
    color: #fff;
}

.discover-filters {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
}

@media (min-width: 700px) {
    .discover-filters {
        grid-template-columns: 1fr 1fr 1.5fr 1fr;
        align-items: end;
    }
}

@media (max-width: 900px) {
    .admin-card {
        grid-template-columns: 1fr;
    }
}

.auth-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px 40px;
    background:
        radial-gradient(circle at top, rgba(255, 77, 109, 0.14), transparent 30%),
        linear-gradient(180deg, #fff7f8 0%, #f6f8fc 100%);
}

.auth-card {
    width: 100%;
    max-width: 1180px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.75);
    border-radius: 30px;
    box-shadow: 0 18px 50px rgba(18, 18, 18, 0.10);
    padding: 24px;
}

.auth-top {
    text-align: center;
    margin-bottom: 22px;
}

.auth-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 77, 109, 0.10);
    color: #ff4d6d;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 14px;
}

.auth-title {
    font-size: 34px;
    line-height: 1.05;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.auth-subtitle {
    color: #6b7280;
    margin: 0 auto;
    max-width: 560px;
    line-height: 1.5;
    font-size: 15px;
}

.register-premium-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    align-items: start;
}

.register-left,
.register-right {
    display: grid;
    gap: 18px;
}

.section-label {
    display: block;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #111827;
}

.photo-upload-label {
    display: block;
    cursor: pointer;
}

.photo-preview-wrap {
    width: 100%;
    min-height: 300px;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(180deg, #f8f8f8 0%, #efefef 100%);
    border: 1px dashed #d6d6d6;
    position: relative;
}

.photo-placeholder {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    padding: 24px;
}

.photo-placeholder-icon {
    width: 68px;
    height: 68px;
    border-radius: 999px;
    background: #ff4d6d;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: bold;
    box-shadow: 0 10px 25px rgba(255, 77, 109, 0.28);
}

.photo-placeholder-text strong {
    display: block;
    font-size: 17px;
    margin-bottom: 4px;
}

.photo-placeholder-text span {
    color: #6b7280;
    font-size: 14px;
}

.photo-preview {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
}

.hidden {
    display: none !important;
}

.photo-change-btn {
    margin-top: 12px;
    width: 100%;
}

.verify-box {
    display: grid;
    gap: 12px;
    padding: 18px;
    border-radius: 24px;
    background: #fafafa;
    border: 1px solid #ececec;
}

.verify-text {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.45;
}

.verify-video,
.verify-preview {
    width: 100%;
    min-height: 280px;
    max-height: 380px;
    border-radius: 20px;
    background: #111;
    object-fit: cover;
}

.selfie-empty {
    min-height: 220px;
    border-radius: 20px;
    background: linear-gradient(180deg, #f7f7f7 0%, #efefef 100%);
    border: 1px dashed #d7d7d7;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    padding: 20px;
    color: #555;
}

.selfie-empty-icon {
    font-size: 34px;
}

.selfie-empty strong {
    display: block;
    margin-bottom: 4px;
}

.selfie-empty span {
    font-size: 14px;
    color: #6b7280;
}

.verify-actions {
    display: grid;
    gap: 10px;
}

.form-grid-single {
    display: grid;
    gap: 14px;
}

.form-grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.input-group label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 7px;
    color: #111827;
}

.input-group input,
.input-group textarea,
.input-group select {
    width: 100%;
    border-radius: 16px;
    border: 1px solid #e4e4e7;
    background: #fff;
    padding: 14px 16px;
    font-size: 15px;
    transition: 0.2s ease;
}

.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
    outline: none;
    border-color: rgba(255, 77, 109, 0.45);
    box-shadow: 0 0 0 4px rgba(255, 77, 109, 0.10);
}

.input-group textarea {
    min-height: 120px;
    resize: vertical;
}

.field-help {
    display: block;
    margin-top: 6px;
    color: #6b7280;
    font-size: 12px;
}

.auth-submit-btn {
    margin-top: 8px;
    min-height: 54px;
    border-radius: 18px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 12px 26px rgba(255, 77, 109, 0.22);
}

.auth-bottom-text {
    margin-top: 14px;
    text-align: center;
}

@media (max-width: 900px) {
    .register-premium-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .auth-shell {
        padding: 10px 10px 24px;
        align-items: flex-start;
    }

    .auth-card {
        border-radius: 22px;
        padding: 18px;
    }

    .auth-title {
        font-size: 27px;
    }

    .form-grid-two {
        grid-template-columns: 1fr;
    }

    .photo-preview-wrap,
    .photo-placeholder {
        min-height: 220px;
    }

    .photo-preview {
        height: 260px;
    }

    .verify-video,
    .verify-preview {
        min-height: 220px;
    }
}
.admin-container {
    max-width: 1240px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.admin-header-actions {
    display: flex;
    gap: 10px;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

.admin-stat-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 20px;
    padding: 16px 18px;
    text-decoration: none;
    color: #111827;
    box-shadow: 0 8px 18px rgba(0,0,0,0.04);
    transition: 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-stat-card:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.admin-stat-card.active {
    border-color: rgba(255, 77, 109, 0.35);
    box-shadow: 0 10px 22px rgba(255, 77, 109, 0.10);
}

.admin-stat-label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 700;
}

.admin-stat-card strong {
    font-size: 28px;
    line-height: 1;
}

.admin-user-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.admin-user-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 24px;
    padding: 18px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.05);
    display: grid;
    gap: 16px;
}

.admin-user-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.admin-user-top h3 {
    margin: 0 0 5px 0;
}

.admin-user-email {
    margin: 0;
    color: #6b7280;
    word-break: break-word;
}

.status-badge {
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: capitalize;
    white-space: nowrap;
}

.status-pending {
    background: #fff7db;
    color: #8a6d00;
}

.status-verified {
    background: #e9f9ee;
    color: #1f7a39;
}

.admin-photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.admin-photo-box label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #111827;
}

.admin-photo {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 18px;
    border: 1px solid #ececec;
    background: #f3f4f6;
}

.admin-photo-empty {
    width: 100%;
    height: 280px;
    border-radius: 18px;
    border: 1px dashed #d1d5db;
    background: #f9fafb;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-user-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.admin-user-actions form {
    margin: 0;
}

.admin-user-meta {
    color: #6b7280;
}

@media (max-width: 980px) {
    .admin-user-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .admin-stats {
        grid-template-columns: 1fr;
    }

    .admin-photo-grid,
    .admin-user-actions {
        grid-template-columns: 1fr;
    }

    .admin-photo,
    .admin-photo-empty {
        height: 220px;
    }
}
.admin-table-wrap {
    width: 100%;
    overflow-x: auto;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.05);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 980px;
}

.admin-table thead th {
    background: #f8f9fb;
    color: #111827;
    font-size: 13px;
    font-weight: 800;
    text-align: left;
    padding: 14px 12px;
    border-bottom: 1px solid #e5e7eb;
    border-right: 1px solid #eceff3;
    white-space: nowrap;
}

.admin-table thead th:last-child {
    border-right: none;
}

.admin-table tbody td {
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    border-right: 1px solid #f1f3f6;
    vertical-align: middle;
    font-size: 14px;
}

.admin-table tbody td:last-child {
    border-right: none;
}

.admin-thumb {
    width: 200px;
    height: 200px;
    min-width: 200px;
    min-height: 200px;
    max-width: 200px;
    max-height: 200px;
    border-radius: 12px;
    object-fit: cover;
    object-position: center;
    border: 1px solid #e5e7eb;
    display: block;
    background: #f3f4f6;
}

.admin-no-image {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #6b7280;
    background: #f3f4f6;
    border: 1px dashed #d7dbe2;
    border-radius: 12px;
    text-align: center;
    line-height: 1.2;
}


.admin-table-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-small {
    padding: 8px 12px;
    font-size: 12px;
    border-radius: 10px;
}

.status-badge {
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: capitalize;
    white-space: nowrap;
}

.status-pending {
    background: #fff7db;
    color: #8a6d00;
}

.status-verified {
    background: #e9f9ee;
    color: #1f7a39;
}

@media (max-width: 768px) {
    .admin-thumb {
        width: 52px;
        height: 52px;
    }
}

.admin-thumb {
    cursor: zoom-in;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.admin-thumb:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.no-scroll {
    overflow: hidden;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.image-lightbox.is-open {
    display: block;
}

.image-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.72);
    backdrop-filter: blur(4px);
}

.image-lightbox-dialog {
    position: relative;
    z-index: 2;
    width: min(92vw, 900px);
    max-height: 90vh;
    margin: 4vh auto;
    background: #fff;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.28);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.image-lightbox-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    padding-right: 36px;
}

.image-lightbox-img {
    width: 100%;
    max-height: 74vh;
    object-fit: contain;
    border-radius: 16px;
    background: #f3f4f6;
}

.image-lightbox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.image-lightbox-close:hover {
    opacity: 0.9;
}

@media (max-width: 640px) {
    .image-lightbox-dialog {
        width: 94vw;
        margin: 3vh auto;
        padding: 14px;
        border-radius: 16px;
    }

    .image-lightbox-img {
        max-height: 70vh;
    }
}
.swipe-gallery {
    position: relative;
    width: 100%;
    min-height: 460px;
    border-radius: 28px;
    overflow: hidden;
    background: #f3f4f6;
}

.swipe-gallery-track {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 460px;
}

.swipe-gallery-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 460px;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

.swipe-gallery-photo.is-active {
    opacity: 1;
    pointer-events: auto;
}

.swipe-gallery-topbar {
    position: absolute;
    top: 14px;
    left: 14px;
    right: 14px;
    z-index: 4;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.swipe-verified-badge,
.swipe-photo-counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    backdrop-filter: blur(6px);
}

.swipe-verified-badge {
    background: rgba(16, 185, 129, 0.88);
    color: #fff;
}

.swipe-photo-counter {
    background: rgba(17, 24, 39, 0.50);
    color: #fff;
}

.swipe-gallery-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    padding: 80px 20px 22px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.48) 35%,
        rgba(0, 0, 0, 0.12) 70%,
        rgba(0, 0, 0, 0) 100%
    );
}

.swipe-gallery-meta {
    color: #fff;
    text-align: left;
}

.swipe-gallery-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.swipe-gallery-title-row h3 {
    margin: 0;
    font-size: 32px;
    line-height: 1.05;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.20);
}

.swipe-gallery-subtitle {
    margin: 8px 0 0;
    font-size: 15px;
    color: rgba(255,255,255,0.92);
    text-shadow: 0 2px 10px rgba(0,0,0,0.18);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.55);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.gallery-nav:hover {
    background: rgba(17, 24, 39, 0.72);
}

.gallery-prev {
    left: 12px;
}

.gallery-next {
    right: 12px;
}

.gallery-dots {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.28);
    backdrop-filter: blur(4px);
}

.gallery-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 0;
}

.gallery-dot.is-active {
    background: #fff;
    transform: scale(1.15);
}

.dating-placeholder {
    min-height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-weight: 600;
}

@media (max-width: 768px) {
    .swipe-gallery,
    .swipe-gallery-track,
    .swipe-gallery-photo,
    .dating-placeholder {
        min-height: 360px;
    }

    .swipe-gallery-title-row h3 {
        font-size: 24px;
    }

    .swipe-gallery-subtitle {
        font-size: 14px;
    }

    .gallery-nav {
        width: 38px;
        height: 38px;
        font-size: 24px;
    }

    .swipe-gallery-overlay {
        padding: 70px 16px 20px;
    }
}
.no-scroll {
    overflow: hidden;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.image-lightbox.is-open {
    display: block;
}

.image-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.72);
    backdrop-filter: blur(4px);
}

.image-lightbox-dialog {
    position: relative;
    z-index: 2;
    width: min(92vw, 900px);
    max-height: 90vh;
    margin: 4vh auto;
    background: #fff;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.28);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.image-lightbox-title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    padding-right: 36px;
}

.image-lightbox-img {
    width: 100%;
    max-height: 74vh;
    object-fit: contain;
    border-radius: 16px;
    background: #f3f4f6;
}

.image-lightbox-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
.premium-page {
    display: grid;
    gap: 18px;
}

.premium-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.premium-plan-card {
    position: relative;
    display: block;
    cursor: pointer;
}

.premium-plan-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.premium-plan-content {
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 22px 18px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(0,0,0,0.05);
    transition: 0.2s ease;
    display: grid;
    gap: 10px;
    text-align: center;
    min-height: 100%;
}

.premium-plan-card input:checked + .premium-plan-content {
    border-color: rgba(255, 77, 109, 0.55);
    box-shadow: 0 14px 28px rgba(255, 77, 109, 0.14);
    transform: translateY(-2px);
}

.premium-plan-featured .premium-plan-content {
    border-color: rgba(255, 196, 0, 0.45);
    background: linear-gradient(180deg, #fffdf7 0%, #ffffff 100%);
}

.premium-plan-badge,
.premium-plan-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    min-height: 30px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.premium-plan-badge {
    background: #ff4d6d;
    color: #fff;
}

.premium-plan-tag {
    background: #f3f4f6;
    color: #374151;
}

.premium-plan-name {
    font-size: 17px;
    font-weight: 800;
    color: #111827;
}

.premium-plan-price {
    font-size: 34px;
    line-height: 1;
    color: #ff4d6d;
}

.premium-plan-days {
    font-size: 14px;
    color: #6b7280;
}

.premium-plan-benefits {
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
    color: #374151;
    font-size: 14px;
}

.premium-plan-benefits li {
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 9px 10px;
}

.premium-bank-box,
.premium-last-request {
    display: grid;
    gap: 8px;
}

.premium-proof-preview {
    width: 100%;
    max-width: 320px;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    display: block;
    margin-top: 10px;
}

@media (max-width: 900px) {
    .premium-plan-grid {
        grid-template-columns: 1fr;
    }
}
.superlikes-info-box {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    padding: 10px 14px;
    border-radius: 14px;
    background: #fff7db;
    color: #8a6d00;
    border: 1px solid #f3df9a;
    font-size: 14px;
    font-weight: 600;
}

.profile-logout-box {
    margin-top: 20px;
    padding-top: 12px;
    border-top: 1px solid #ececec;
}

.profile-logout-box .btn {
    width: 100%;
}

.profile-save-btn {
    width: 100%;
    margin-top: 18px;
}

.profile-logout-box {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid #ececec;
}

.profile-logout-btn {
    width: 100%;
    margin-top: 10px;
    background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    border: none;
    border-radius: 16px;
    min-height: 54px;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-align: center;
    box-shadow: 0 14px 28px rgba(220, 38, 38, 0.28);
    transition: 0.2s ease;
}

.profile-logout-btn:hover {
    background: linear-gradient(180deg, #dc2626 0%, #b91c1c 100%);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.profile-logout-btn:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .profile-save-btn {
        margin-top: 20px;
    }

    .profile-logout-box {
        margin-top: 40px;
        padding-top: 22px;
    }

    .profile-logout-btn {
        min-height: 56px;
        font-size: 17px;
        border-radius: 18px;
    }
}