/* ----- RESET & BASE ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', sans-serif;
    background: #0b0816;
    color: #f0edf5;
    line-height: 1.6;
    min-height: 100vh;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}

/* ----- SCROLLBAR ----- */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #1a1528; }
::-webkit-scrollbar-thumb { background: #c084fc; border-radius: 10px; }

/* ----- VARIABLES ----- */
:root {
    --bg-primary: #0b0816;
    --bg-secondary: #161021;
    --bg-card: #1e1730;
    --bg-card-hover: #2a1f40;
    --border-glow: rgba(192, 132, 252, 0.2);
    --neon-pink: #f472b6;
    --neon-purple: #a855f7;
    --neon-blue: #60a5fa;
    --neon-gradient: linear-gradient(135deg, #f472b6, #a855f7, #60a5fa);
    --text-primary: #f0edf5;
    --text-secondary: #a89bb8;
    --shadow-glow: 0 8px 32px rgba(168, 85, 247, 0.15);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
}

/* ----- GLASSMORPHISM HELPERS ----- */
.glass {
    background: rgba(30, 23, 48, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(192, 132, 252, 0.15);
}

/* ----- NAVBAR (gradient neon) ----- */
.navbar {
    background: rgba(11, 8, 22, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(192, 132, 252, 0.15);
    padding: 0 2rem;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 900;
    background: var(--neon-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.nav-brand i {
    font-size: 1.8rem;
    -webkit-text-fill-color: initial;
    color: var(--neon-pink);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    flex-wrap: wrap;
}
.nav-links a {
    padding: 0.45rem 1rem;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav-links a i { font-size: 0.95rem; }
.nav-links a:hover {
    color: #fff;
    background: rgba(192, 132, 252, 0.1);
}
.nav-links a.active {
    background: var(--neon-gradient);
    color: #fff;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.3);
}
.nav-links a.active i { color: #fff; }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.btn {
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-outline {
    background: transparent;
    color: var(--neon-purple);
    border: 2px solid var(--neon-purple);
}
.btn-outline:hover {
    background: var(--neon-purple);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.3);
}
.btn-primary {
    background: var(--neon-gradient);
    color: #fff;
    border: none;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(168, 85, 247, 0.4);
}
.btn-sm { padding: 0.35rem 1rem; font-size: 0.8rem; }

.menu-toggle {
    display: none;
    font-size: 1.6rem;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
}

/* ----- PAGE CONTAINER ----- */
.page-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}

/* ----- HERO (Home) ----- */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 1rem 0 2rem;
}
.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.2rem;
}
.hero-content h1 .highlight {
    background: var(--neon-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-content p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: 2rem;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.hero-buttons .btn {
    padding: 0.8rem 2.2rem;
    font-size: 1rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-illustration {
    width: 100%;
    max-width: 440px;
    aspect-ratio: 1/1;
    background: radial-gradient(circle at 30% 30%, rgba(244, 114, 182, 0.2), rgba(168, 85, 247, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: var(--neon-pink);
    box-shadow: 0 0 80px rgba(168, 85, 247, 0.15);
    position: relative;
    border: 1px solid rgba(192, 132, 252, 0.2);
}
.hero-illustration i {
    filter: drop-shadow(0 0 30px rgba(244, 114, 182, 0.3));
}
.hero-illustration::after {
    content: '🔥';
    position: absolute;
    bottom: 10%;
    right: 10%;
    font-size: 3rem;
    animation: floatHeart 3s ease-in-out infinite;
}
@keyframes floatHeart {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-14px) scale(1.1); }
}

/* ----- SECTION TITLE ----- */
.section-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 2.5rem 0 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-title i { color: var(--neon-pink); }
.section-sub {
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 1rem;
    margin-left: 6px;
}

/* ----- FAKE REGISTRATIONS (cards) ----- */
.registrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}
.reg-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 1.5rem 1rem;
    box-shadow: var(--shadow-glow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(192, 132, 252, 0.08);
}
.reg-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: rgba(192, 132, 252, 0.3);
    box-shadow: 0 12px 40px rgba(168, 85, 247, 0.2);
}
.reg-card .avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin: 0 auto 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 600;
    color: #fff;
    background: var(--neon-gradient);
    border: 2px solid rgba(192, 132, 252, 0.3);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
    background-size: cover;
    background-position: center;
}
.reg-card .name {
    font-weight: 700;
    font-size: 1.05rem;
}
.reg-card .age-location {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0.2rem 0 0.4rem;
}
.reg-card .badge {
    display: inline-block;
    background: rgba(192, 132, 252, 0.15);
    padding: 0.2rem 0.9rem;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--neon-purple);
}
.reg-card .join-time {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    opacity: 0.6;
}

/* ----- FEATURES ----- */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0 1rem;
}
.feature-item {
    background: var(--bg-card);
    padding: 1.5rem 1rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-glow);
    text-align: center;
    border: 1px solid rgba(192, 132, 252, 0.08);
    transition: var(--transition);
}
.feature-item:hover {
    transform: translateY(-4px);
    border-color: rgba(192, 132, 252, 0.3);
}
.feature-item i {
    font-size: 2rem;
    background: var(--neon-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}
.feature-item h4 {
    font-weight: 600;
    font-size: 1rem;
}
.feature-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.2rem;
}

/* ----- FORMS (glass) ----- */
.form-container {
    max-width: 520px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 2.5rem 2.8rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-glow);
    border: 1px solid rgba(192, 132, 252, 0.1);
}
.form-container h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    text-align: center;
}
.form-container .form-sub {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 1.8rem;
    font-size: 0.95rem;
}
.form-group {
    margin-bottom: 1.2rem;
}
.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(192, 132, 252, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    background: rgba(11, 8, 22, 0.6);
    transition: var(--transition);
    color: var(--text-primary);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--neon-purple);
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.1);
    background: rgba(11, 8, 22, 0.8);
}
.form-group textarea {
    resize: vertical;
    min-height: 80px;
}
.form-group .input-hint {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.2rem;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.form-btn {
    width: 100%;
    padding: 0.9rem;
    border-radius: var(--radius-sm);
    border: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    background: var(--neon-gradient);
    color: #fff;
    transition: var(--transition);
    margin-top: 0.5rem;
}
.form-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(168, 85, 247, 0.3);
}
.form-footer {
    text-align: center;
    margin-top: 1.2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.form-footer a {
    color: var(--neon-pink);
    font-weight: 600;
}
.form-footer a:hover {
    text-decoration: underline;
}

/* ----- PROFILE ----- */
.profile-header {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    flex-wrap: wrap;
    background: var(--bg-card);
    padding: 2rem 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-glow);
    margin-bottom: 2rem;
    border: 1px solid rgba(192, 132, 252, 0.08);
}
.profile-avatar-large {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: var(--neon-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.8rem;
    font-weight: 700;
    color: #fff;
    border: 3px solid rgba(192, 132, 252, 0.3);
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.15);
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
}
.profile-info h2 {
    font-size: 2rem;
    font-weight: 700;
}
.profile-info .profile-meta {
    color: var(--text-secondary);
    font-size: 1rem;
}
.profile-info .profile-bio {
    margin-top: 0.6rem;
    max-width: 500px;
    color: var(--text-secondary);
}
.profile-info .profile-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.8rem;
}
.profile-info .profile-tags span {
    background: rgba(192, 132, 252, 0.1);
    padding: 0.2rem 1rem;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--neon-purple);
    border: 1px solid rgba(192, 132, 252, 0.1);
}

.profile-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.detail-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-glow);
    border: 1px solid rgba(192, 132, 252, 0.08);
}
.detail-card h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--neon-pink);
}
.detail-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ----- MATCHES ----- */
.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}
.match-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 1.5rem 1rem;
    box-shadow: var(--shadow-glow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(192, 132, 252, 0.08);
    position: relative;
    overflow: hidden;
}
.match-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--neon-gradient);
    opacity: 0;
    transition: var(--transition);
}
.match-card:hover::before {
    opacity: 1;
}
.match-card:hover {
    transform: translateY(-6px);
    border-color: rgba(192, 132, 252, 0.3);
    box-shadow: 0 12px 40px rgba(168, 85, 247, 0.2);
}
.match-card .avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 0.8rem;
    background: var(--neon-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    font-weight: 600;
    color: #fff;
    border: 2px solid rgba(192, 132, 252, 0.3);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.15);
    background-size: cover;
    background-position: center;
}
.match-card .name {
    font-weight: 700;
}
.match-card .age-location {
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.match-card .match-badge {
    display: inline-block;
    background: rgba(244, 114, 182, 0.15);
    color: var(--neon-pink);
    padding: 0.15rem 1rem;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-top: 0.4rem;
}

/* ----- MESSAGES (chat style) ----- */
.messages-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.msg-item {
    background: var(--bg-card);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-glow);
    display: flex;
    align-items: center;
    gap: 1.2rem;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid rgba(192, 132, 252, 0.08);
}
.msg-item:hover {
    transform: translateX(6px);
    border-color: rgba(192, 132, 252, 0.2);
    background: var(--bg-card-hover);
}
.msg-item .avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--neon-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
}
.msg-item .msg-content {
    flex: 1;
}
.msg-item .msg-content .msg-name {
    font-weight: 600;
}
.msg-item .msg-content .msg-preview {
    font-size: 0.9rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}
.msg-item .msg-time {
    font-size: 0.75rem;
    color: var(--text-secondary);
    flex-shrink: 0;
}
.msg-item .unread {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--neon-pink);
    flex-shrink: 0;
    box-shadow: 0 0 12px rgba(244, 114, 182, 0.4);
}

/* ----- SETTINGS ----- */
.settings-group {
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    padding: 1.5rem 2rem;
    box-shadow: var(--shadow-glow);
    margin-bottom: 1.2rem;
    border: 1px solid rgba(192, 132, 252, 0.08);
}
.settings-group h4 {
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--neon-pink);
}
.settings-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(192, 132, 252, 0.05);
}
.settings-row:last-child {
    border-bottom: none;
}
.settings-row .label {
    font-weight: 500;
}
.settings-row .desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.toggle {
    width: 44px;
    height: 24px;
    background: #2a1f40;
    border-radius: 40px;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    flex-shrink: 0;
    border: 1px solid rgba(192, 132, 252, 0.1);
}
.toggle.on {
    background: var(--neon-gradient);
}
.toggle::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: var(--transition);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.toggle.on::after {
    left: 22px;
}

/* ----- TOAST ----- */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    color: var(--text-primary);
    padding: 1rem 1.8rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
    font-weight: 500;
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(20px) scale(0.96);
    transition: var(--transition);
    pointer-events: none;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(192, 132, 252, 0.1);
}
.toast.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.toast i { font-size: 1.2rem; }
.toast.success i { color: #34d399; }
.toast.error i { color: #f87171; }

/* ----- FOOTER & AD COMPLIANCE ----- */
.footer {
    text-align: center;
    padding: 2rem 1rem;
    border-top: 1px solid rgba(192, 132, 252, 0.05);
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 2rem;
}
.footer a {
    color: var(--neon-pink);
    font-weight: 500;
}
.ad-compliance {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 1.5rem;
    padding: 0.5rem 0;
    border-top: 1px solid rgba(192, 132, 252, 0.05);
}
.ad-compliance a {
    color: var(--text-secondary);
    transition: var(--transition);
}
.ad-compliance a:hover {
    color: var(--neon-pink);
}
.ad-compliance i { margin-right: 4px; }

/* ----- RESPONSIVE ----- */
@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-buttons { justify-content: center; }
    .hero-illustration { max-width: 300px; font-size: 5rem; }
    .profile-header { flex-direction: column; text-align: center; }
    .profile-info .profile-tags { justify-content: center; }
    .profile-details-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .navbar { padding: 0 1rem; height: 64px; }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(11, 8, 22, 0.98);
        backdrop-filter: blur(16px);
        padding: 1rem 1.5rem;
        gap: 0.25rem;
        border-bottom: 1px solid rgba(192, 132, 252, 0.1);
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 0.6rem 1rem; width: 100%; border-radius: var(--radius-sm); }
    .nav-actions .btn { display: none; }
    .menu-toggle { display: block; }
    .form-container { padding: 1.8rem 1.2rem; }
    .page-container { padding: 1.2rem 1rem 3rem; }
    .hero-content h1 { font-size: 2.2rem; }
    .registrations-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
    .matches-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
    .msg-item .msg-content .msg-preview { max-width: 120px; }
    .settings-group { padding: 1.2rem 1rem; }
    .profile-header { padding: 1.5rem 1.2rem; }
}
@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.8rem; }
    .registrations-grid { grid-template-columns: 1fr 1fr; }
    .matches-grid { grid-template-columns: 1fr 1fr; }
}