* {
    box-sizing: border-box;
}

:root {
    --bg-black: #010102;
    --bg-deep: #080512;
    --bg-card: #130c24;
    --bg-card-soft: #1d1233;
    --purple: #5b3460;
    --purple-bright: #8e24aa;
    --pink: #ff2d7a;
    --pink-soft: #dd4c7d;
    --pink-light: #ff9bbf;
    --white: #f8f3f5;
    --text-soft: #d7c7d3;
    --border-neon: rgba(255, 45, 122, 0.35);
    --shadow-pink: rgba(255, 45, 122, 0.28);
    --shadow-purple: rgba(142, 36, 170, 0.28);
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(255, 45, 122, 0.18), transparent 34%),
        radial-gradient(circle at top right, rgba(142, 36, 170, 0.22), transparent 36%),
        linear-gradient(135deg, #010102 0%, #080512 45%, #130c24 100%);
    color: var(--white);
}

a {
    color: inherit;
    text-decoration: none;
}

.topbar {
    width: 100%;
    padding: 18px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(1, 1, 2, 0.86);
    backdrop-filter: blur(14px);
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid rgba(255, 45, 122, 0.22);
}

.brand {
    font-size: 30px;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -1px;
}

.brand span {
    color: var(--pink);
}

.nav {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 15px;
}

.nav a {
    color: var(--text-soft);
}

.nav a:hover {
    color: var(--pink-light);
}

.nav-cta {
    padding: 10px 17px;
    background: linear-gradient(135deg, var(--pink), var(--purple-bright));
    color: #fff !important;
    border-radius: 999px;
    box-shadow: 0 0 22px rgba(255, 45, 122, 0.32);
}

.inline-form {
    display: inline;
}

.link-button {
    background: none;
    border: none;
    color: var(--text-soft);
    cursor: pointer;
    font-size: 15px;
}

.link-button:hover {
    color: var(--pink-light);
}

.hero {
    min-height: 82vh;
    padding: 80px 7%;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 45, 122, 0.20), transparent 28%),
        radial-gradient(circle at 85% 35%, rgba(142, 36, 170, 0.28), transparent 30%),
        linear-gradient(135deg, rgba(1,1,2,0.15), rgba(19,12,36,0.65));
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto -120px -180px auto;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 45, 122, 0.22), transparent 65%);
    pointer-events: none;
}

.badge {
    display: inline-block;
    padding: 9px 15px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--pink-light);
    border: 1px solid var(--border-neon);
    border-radius: 999px;
    font-weight: bold;
    margin-bottom: 18px;
    box-shadow: 0 0 25px rgba(255, 45, 122, 0.16);
}

.hero h1 {
    font-size: clamp(38px, 6vw, 66px);
    line-height: 1.03;
    margin: 0 0 20px;
    color: var(--white);
    letter-spacing: -2px;
}

.hero p {
    font-size: 19px;
    line-height: 1.6;
    color: var(--text-soft);
    max-width: 690px;
}

.hero-actions {
    margin-top: 30px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    border: none;
    cursor: pointer;
    padding: 13px 23px;
    border-radius: 999px;
    font-weight: bold;
    font-size: 15px;
    text-align: center;
}

.btn.primary {
    background: linear-gradient(135deg, var(--pink), var(--purple-bright));
    color: #fff;
    box-shadow: 0 0 28px var(--shadow-pink);
}

.btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 35px rgba(255, 45, 122, 0.45);
}

.btn.secondary {
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    border: 1px solid var(--border-neon);
}

.btn.secondary:hover {
    background: rgba(255, 45, 122, 0.12);
}

.btn.light {
    background: var(--white);
    color: var(--pink);
}

.btn.full {
    width: 100%;
    margin-top: 16px;
}

.hero-card {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.phone-card {
    width: min(370px, 100%);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
        var(--bg-card);
    border-radius: 36px;
    padding: 28px;
    box-shadow:
        0 0 40px rgba(255, 45, 122, 0.18),
        0 35px 90px rgba(0, 0, 0, 0.55);
    border: 1px solid var(--border-neon);
}

.mini-profile {
    display: flex;
    gap: 14px;
    align-items: center;
}

.photo-circle {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%, #ff9bbf, transparent 28%),
        linear-gradient(135deg, var(--pink), var(--purple-bright));
    color: white;
    display: grid;
    place-items: center;
    font-size: 30px;
    box-shadow: 0 0 30px rgba(255, 45, 122, 0.50);
}

.mini-profile strong {
    color: var(--white);
}

.mini-profile p {
    margin: 4px 0 0;
    font-size: 14px;
    color: var(--text-soft);
}

.match-box {
    margin-top: 26px;
    padding: 20px;
    background:
        radial-gradient(circle at top right, rgba(255, 45, 122, 0.20), transparent 42%),
        rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    border: 1px solid rgba(255, 45, 122, 0.22);
}

.match-box p {
    color: var(--text-soft);
}

.match-box button {
    width: 100%;
    margin-top: 14px;
    padding: 12px;
    border: none;
    border-radius: 999px;
    color: #fff;
    font-weight: bold;
    background: linear-gradient(135deg, var(--pink), var(--purple-bright));
    box-shadow: 0 0 22px rgba(255, 45, 122, 0.35);
}

.section {
    padding: 75px 7%;
}

.section h2 {
    font-size: 36px;
    text-align: center;
    margin: 0 0 38px;
    color: var(--white);
}

.section.soft {
    background:
        radial-gradient(circle at center, rgba(91, 52, 96, 0.25), transparent 42%),
        rgba(255, 255, 255, 0.02);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.feature,
.mode-card,
.dash-card {
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
        var(--bg-card);
    padding: 27px;
    border-radius: 26px;
    border: 1px solid rgba(255, 45, 122, 0.20);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.feature:hover,
.mode-card:hover,
.dash-card:hover {
    border-color: rgba(255, 45, 122, 0.48);
    box-shadow: 0 0 34px rgba(255, 45, 122, 0.14);
}

.feature span {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-weight: bold;
    background: linear-gradient(135deg, var(--pink), var(--purple-bright));
    box-shadow: 0 0 24px rgba(255, 45, 122, 0.38);
}

.feature h3,
.mode-card h3,
.dash-card h3 {
    color: var(--white);
}

.feature p,
.mode-card p,
.dash-card p {
    color: var(--text-soft);
    line-height: 1.6;
}

.mode-card.crazy {
    background:
        radial-gradient(circle at top right, rgba(255, 45, 122, 0.20), transparent 40%),
        linear-gradient(160deg, rgba(142, 36, 170, 0.22), rgba(255, 255, 255, 0.03)),
        var(--bg-card);
}

.security-list {
    max-width: 760px;
    margin: auto;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
        var(--bg-card);
    padding: 30px;
    border-radius: 26px;
    border: 1px solid rgba(255, 45, 122, 0.24);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

.security-list p {
    font-size: 18px;
    color: var(--text-soft);
}

.cta-band {
    padding: 65px 7%;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.16), transparent 32%),
        linear-gradient(135deg, var(--pink), var(--purple-bright));
    color: #fff;
    text-align: center;
}

.cta-band h2 {
    font-size: 40px;
    margin: 0 0 10px;
}

.cta-band p {
    color: rgba(255, 255, 255, 0.88);
}

.auth-wrapper {
    min-height: 78vh;
    padding: 55px 7%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at top right, rgba(255, 45, 122, 0.28), transparent 34%),
        radial-gradient(circle at bottom left, rgba(142, 36, 170, 0.30), transparent 34%),
        linear-gradient(135deg, #010102, #130c24);
}

.auth-card {
    width: min(470px, 100%);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
        var(--bg-card);
    padding: 36px;
    border-radius: 30px;
    box-shadow:
        0 0 45px rgba(255, 45, 122, 0.16),
        0 30px 90px rgba(0, 0, 0, 0.55);
    border: 1px solid var(--border-neon);
}

.auth-card.wide {
    width: min(640px, 100%);
}

.auth-card h1,
.form-panel h1,
.legal-page h1 {
    margin-top: 0;
    font-size: 34px;
    color: var(--white);
}

.auth-card p,
.form-panel p,
.legal-page p {
    color: var(--text-soft);
    line-height: 1.7;
}

label {
    display: block;
    margin: 16px 0 7px;
    font-weight: bold;
    color: var(--white);
}

input,
textarea,
select {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid rgba(255, 45, 122, 0.32);
    border-radius: 15px;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    outline: none;
}

select option {
    background: #130c24;
    color: var(--white);
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(255, 45, 122, 0.16);
}

input::placeholder,
textarea::placeholder {
    color: rgba(248, 243, 245, 0.52);
}

textarea {
    resize: vertical;
}

.check-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-weight: normal;
    color: var(--text-soft);
}

.check-row input {
    width: auto;
    margin-top: 3px;
}

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

.auth-footer a {
    color: var(--pink-light);
    font-weight: bold;
}

.form-errors {
    padding: 14px;
    background: rgba(255, 45, 122, 0.12);
    color: #ffc4d9;
    border: 1px solid rgba(255, 45, 122, 0.35);
    border-radius: 16px;
    margin-bottom: 18px;
}

.form-errors p {
    margin: 6px 0;
}

.alert {
    margin: 18px 7%;
    padding: 14px 18px;
    border-radius: 14px;
}

.alert.success {
    background: rgba(40, 210, 120, 0.14);
    color: #b7ffd3;
    border: 1px solid rgba(40, 210, 120, 0.35);
}

.dashboard,
.form-page,
.legal-page {
    padding: 62px 7%;
    min-height: 70vh;
}

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

.dash-header h1 {
    color: var(--white);
    margin-bottom: 6px;
}

.dash-header p {
    color: var(--text-soft);
}

.admin-banner {
    padding: 23px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(255, 45, 122, 0.18), transparent 42%),
        var(--bg-card);
    color: #fff;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 45, 122, 0.28);
}

.margin-top {
    margin-top: 22px;
}

.form-panel {
    max-width: 880px;
    margin: auto;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
        var(--bg-card);
    padding: 36px;
    border-radius: 30px;
    border: 1px solid var(--border-neon);
    box-shadow:
        0 0 45px rgba(255, 45, 122, 0.13),
        0 28px 80px rgba(0, 0, 0, 0.42);
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 18px 0;
}

.preview-img {
    width: 100%;
    height: 175px;
    object-fit: cover;
    border-radius: 20px;
    display: block;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 45, 122, 0.28);
}

.legal-page {
    max-width: 920px;
    margin: auto;
    line-height: 1.7;
}

.legal-page a {
    color: var(--pink-light);
}

.footer {
    padding: 30px 7%;
    background: #010102;
    color: var(--text-soft);
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 45, 122, 0.22);
}

.footer a {
    margin-left: 14px;
    color: var(--pink-light);
}

@media (max-width: 850px) {
    .hero {
        grid-template-columns: 1fr;
        padding-top: 56px;
    }

    .grid-3,
    .grid-2,
    .photo-grid {
        grid-template-columns: 1fr;
    }

    .topbar,
    .dash-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav {
        flex-wrap: wrap;
    }

    .hero h1 {
        font-size: 42px;
    }

    .footer a {
        display: inline-block;
        margin: 8px 12px 0 0;
    }
}
