:root{
    --bg:#050505;
    --bg-soft:#0b0b0b;
    --card:#111111;
    --card-2:#161616;
    --gold:#d4af37;
    --gold-soft:#f0d77a;
    --text:#ffffff;
    --muted:#aaaaaa;
    --danger:#ff6b6b;
    --success:#7CFC98;
    --border:#333333;
}

*{
    box-sizing:border-box;
}

body{
    margin:0;
    background:var(--bg);
    color:var(--text);
    font-family:Arial, sans-serif;
    min-height:100vh;
}

a{
    color:var(--gold);
    text-decoration:none;
}

.header{
    padding:18px 24px;
    border-bottom:1px solid var(--border);
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:#070707;
    position:sticky;
    top:0;
    z-index:10;
}

.logo{
    color:var(--gold);
    font-size:24px;
    font-weight:800;
    letter-spacing:2px;
}

.nav{
    display:flex;
    gap:16px;
    flex-wrap:wrap;
}

.nav a{
    font-weight:bold;
    font-size:14px;
}

.main{
    width:100%;
    max-width:1100px;
    margin:0 auto;
    padding:30px 20px;
}

.auth-page{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:100vh;
    padding:20px;
}

.box,
.card{
    background:var(--card);
    border:1px solid var(--gold);
    border-radius:22px;
    padding:26px;
}

.box{
    width:100%;
    max-width:430px;
}

h1,h2,h3{
    margin-top:0;
}

h1{
    color:var(--gold);
}

input,
select,
textarea,
button{
    width:100%;
    padding:14px;
    margin:10px 0;
    border-radius:12px;
    border:none;
    font-size:16px;
}

input,
select,
textarea{
    background:#ffffff;
    color:#000000;
}

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

button,
.btn{
    display:inline-block;
    background:var(--gold);
    color:#000000;
    font-weight:800;
    cursor:pointer;
    text-align:center;
    border-radius:12px;
    padding:14px 18px;
}

.btn-secondary{
    background:transparent;
    color:var(--gold);
    border:1px solid var(--gold);
}

.success{
    color:var(--success);
    background:#0b2a14;
    padding:12px;
    border-radius:10px;
}

.error{
    color:var(--danger);
    background:#2a0b0b;
    padding:12px;
    border-radius:10px;
}

.muted{
    color:var(--muted);
}

.grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
    gap:20px;
}

.photo{
    background:var(--card-2);
    border:1px solid var(--border);
    border-radius:18px;
    overflow:hidden;
}

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

.photo-actions{
    padding:12px;
}

.photo-actions a{
    display:block;
    margin:8px 0;
}

.badge{
    display:inline-block;
    background:var(--gold);
    color:#000;
    padding:5px 10px;
    border-radius:20px;
    font-size:12px;
    font-weight:bold;
    margin-bottom:8px;
}

@media(max-width:700px){
    .header{
        align-items:flex-start;
        gap:12px;
        flex-direction:column;
    }

    .nav{
        gap:12px;
    }

    .main{
        padding:22px 14px;
    }

    .box,
    .card{
        padding:20px;
    }
}

.swipe-card{
    max-width:430px;
    margin:0 auto;
    background:var(--card);
    border:1px solid var(--gold);
    border-radius:28px;
    overflow:hidden;
    box-shadow:0 20px 60px rgba(0,0,0,.6);
}

.swipe-photo{
    width:100%;
    height:540px;
    object-fit:cover;
    display:block;
    background:#111;
}

.no-photo{
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--muted);
    font-size:22px;
}

.swipe-info{
    padding:22px;
}

.actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px;
    margin-top:20px;
}

.actions button{
    margin:0;
}

.pass{
    background:#222;
    color:white;
    border:1px solid #555;
}

.like{
    background:var(--gold);
    color:#000;
}

@media(max-width:600px){
    .swipe-photo{
        height:430px;
    }
}

.hero{
    text-align:center;
    padding:60px 20px;
}

.hero h1{
    font-size:52px;
    letter-spacing:5px;
}

.profile-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
    gap:22px;
}

.profile-preview-card{
    background:var(--card);
    border:1px solid var(--border);
    border-radius:22px;
    overflow:hidden;
}

.profile-preview-card img,
.preview-no-photo{
    width:100%;
    height:300px;
    object-fit:cover;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#111;
    color:var(--muted);
}

.profile-preview-info{
    padding:16px;
}

.profile-preview-info h3{
    color:var(--gold);
    margin-bottom:6px;
}

.profile-view p{
    line-height:1.6;
}

.explore-main{
    max-width:620px;
}

.viral-card{
    position:relative;
    user-select:none;
    touch-action:none;
}

.viral-actions{
    max-width:360px;
    margin:24px auto 10px;
    display:flex;
    justify-content:center;
    gap:34px;
}

.circle-btn{
    width:78px;
    height:78px;
    border-radius:50%;
    font-size:34px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:2px solid transparent;
    box-shadow:0 12px 35px rgba(0,0,0,.45);
}

.reject-btn{
    background:#170707;
    color:#ff3333;
    border-color:#ff3333;
}

.fire-btn{
    background:linear-gradient(135deg,#d4af37,#ff8c00);
    color:#000;
    border-color:#ffd36a;
}

.swipe-help{
    text-align:center;
    color:var(--muted);
    font-size:14px;
}

.swipe-label{
    position:absolute;
    top:24px;
    left:50%;
    transform:translateX(-50%) rotate(-3deg);
    z-index:4;
    padding:10px 18px;
    border-radius:14px;
    font-weight:900;
    letter-spacing:2px;
    opacity:0;
    transition:.15s ease;
    backdrop-filter:blur(8px);
}

.like-label{
    background:rgba(255,140,0,.9);
    color:#000;
    border:2px solid #ffd36a;
}

.pass-label{
    background:rgba(120,0,0,.9);
    color:#fff;
    border:2px solid #ff3333;
}

.viral-card.show-like .like-label{
    opacity:1;
}

.viral-card.show-pass .pass-label{
    opacity:1;
}

.match-alert{
    background:linear-gradient(135deg,#d4af37,#ff8c00);
    color:#000;
    padding:18px;
    border-radius:18px;
    margin-bottom:22px;
    text-align:center;
    font-weight:800;
    box-shadow:0 15px 45px rgba(212,175,55,.25);
}

.match-alert .btn{
    background:#000;
    color:#d4af37;
}

@media(max-width:600px){
    .circle-btn{
        width:70px;
        height:70px;
        font-size:30px;
    }
}

.chat-main{
    max-width:760px;
}

.chat-header{
    display:flex;
    align-items:center;
    gap:18px;
    margin-bottom:20px;
}

.chat-header img{
    width:76px;
    height:76px;
    object-fit:cover;
    border-radius:50%;
    border:2px solid var(--gold);
}

.chat-box{
    background:#090909;
    border:1px solid var(--border);
    border-radius:22px;
    padding:18px;
    min-height:360px;
    display:flex;
    flex-direction:column;
    gap:12px;
}

.message{
    max-width:78%;
    padding:12px 14px;
    border-radius:16px;
    line-height:1.4;
}

.message span{
    display:block;
    font-size:11px;
    margin-top:6px;
    opacity:.65;
}

.message.me{
    align-self:flex-end;
    background:var(--gold);
    color:#000;
    border-bottom-right-radius:4px;
}

.message.other{
    align-self:flex-start;
    background:#1b1b1b;
    color:#fff;
    border-bottom-left-radius:4px;
}

.chat-form{
    display:grid;
    grid-template-columns:1fr 130px;
    gap:12px;
    margin-top:16px;
}

.chat-form textarea{
    min-height:56px;
    max-height:120px;
    margin:0;
}

.chat-form button{
    margin:0;
}

.center{
    text-align:center;
}

@media(max-width:650px){
    .chat-form{
        grid-template-columns:1fr;
    }
}

.filter-card{
    background:var(--card);
    border:1px solid var(--border);
    border-radius:18px;
    padding:16px;
    margin-bottom:22px;
}

.age-row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
}

.profile-link-card{
    color:inherit;
    text-decoration:none;
    display:block;
}

.profile-link-card:hover{
    border-color:var(--gold);
}

.seo-hero{
    padding:80px 20px;
}

.seo-hero h1{
    max-width:850px;
    margin:0 auto 20px;
    font-size:52px;
    line-height:1.05;
}

.seo-hero p{
    max-width:720px;
    margin:0 auto 25px;
    font-size:18px;
}

.seo-section{
    max-width:850px;
    margin:50px auto;
    text-align:center;
}

.seo-section p{
    color:var(--muted);
    line-height:1.7;
    font-size:18px;
}

.features-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
    gap:20px;
    margin:40px 0;
}

.cta-card{
    text-align:center;
    max-width:700px;
    margin:60px auto;
}

@media(max-width:700px){
    .seo-hero h1{
        font-size:36px;
    }
}
