@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;800&family=Inter:wght@300;400;500&display=swap');
:root { --primary: #4f46e5; --danger: #ef4444; --danger-dark: #b91c1c; --bg-body: #f8fafc; --text-main: #0f172a; --card-bg: #ffffff; }
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Inter', sans-serif; background-color: var(--bg-body); color: var(--text-main); }
.text-center { text-align: center; }
.mb-20 { margin-bottom: 20px; }
.pb-60 { padding-bottom: 60px; }
.mt-20 { margin-top: 20px; }
.mt-0 { margin-top: 0; }
.w-100 { width: 100%; }
nav { background: transparent; position: absolute; top: 0; width: 100%; padding: 20px 0; z-index: 10; }
nav .container { display: flex; justify-content: space-between; align-items: center; max-width: 1000px; margin: 0 auto; padding: 0 20px; }
nav h2 { color: white; font-family: 'Poppins', sans-serif; font-weight: 800; margin: 0; font-size: 1.5rem; text-shadow: 0 2px 4px rgba(0,0,0,0.1); }
nav a { text-decoration: none; }
.hero { background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%); padding: 120px 20px 80px 20px; text-align: center; color: white; margin-bottom: 40px; border-radius: 0 0 50px 50px; box-shadow: 0 10px 30px rgba(79, 70, 229, 0.2); }
.hero-danger { background: linear-gradient(135deg, var(--danger) 0%, var(--danger-dark) 100%); box-shadow: 0 10px 30px rgba(239, 68, 68, 0.2);}
.hero h1 { font-family: 'Poppins', sans-serif; font-size: 2.5rem; margin: 0 0 10px 0; font-weight: 800; }
.hero p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 30px; }
.search-wrapper { background: white; padding: 10px; border-radius: 50px; display: inline-flex; width: 100%; max-width: 700px; box-shadow: 0 15px 35px rgba(0,0,0,0.2); align-items: center; }
.search-wrapper input { border: none; padding: 15px 20px; font-size: 1rem; outline: none; width: 100%; border-radius: 50px; }
.btn-search { background: var(--primary); color: white; border: none; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; transition: 0.2s; display: flex; align-items: center; justify-content: center; }
.btn-search:hover { transform: scale(1.1); }
.main-container { max-width: 800px; margin: 0 auto; padding: 0 20px 40px 20px; }
.section-title { font-family: 'Poppins', sans-serif; font-weight: 700; margin-bottom: 25px; color: #64748b; border-left: 5px solid var(--primary); padding-left: 15px; }
.card { background: white; border-radius: 20px; padding: 30px; margin-bottom: 30px; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); border: 1px solid #f1f5f9; }
.card-header { display: flex; gap: 15px; align-items: center; margin-bottom: 20px; }
.avatar { width: 50px; height: 50px; background: #e0e7ff; color: var(--primary); font-weight: 700; font-size: 1.2rem; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.user-details h3 { margin: 0; font-family: 'Poppins', sans-serif; font-size: 1.1rem; }
.user-details h3 a { color: #0f172a; text-decoration: none; transition: 0.2s; }
.user-details h3 a:hover { color: var(--primary); }
.meta-tags { font-size: 0.85rem; color: #64748b; display: flex; gap: 10px; margin-top: 5px; }
.badge-loc { background: #fee2e2; color: #ef4444; padding: 2px 8px; border-radius: 6px; font-weight: 600; font-size: 0.75rem; display: flex; align-items: center; gap: 4px; }
.post-content { font-size: 1.05rem; line-height: 1.6; color: #334155; margin-bottom: 20px; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; border-radius: 12px; overflow: hidden; }
.photo-grid img { width: 100%; height: 200px; object-fit: cover; transition: 0.3s; }
.photo-grid img:hover { transform: scale(1.02); opacity: 0.9; cursor: pointer; }
.btn-nav { background: rgba(255,255,255,0.2); color: white; padding: 8px 20px; border-radius: 30px; font-weight: 500; backdrop-filter: blur(5px); transition: 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-nav:hover { background: white; color: var(--primary); }
.btn-solid { background: white; color: var(--primary); font-weight: 700; }
.btn-danger { background: var(--danger); color: white; padding: 15px 40px; border-radius: 50px; font-size: 1.2rem; box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4); display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; transition: 0.2s; }
.btn-danger:hover { background: var(--danger-dark); color: white; transform: translateY(-2px); }
.profile-cover { height: 200px; background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%); border-radius: 0 0 20px 20px; margin-bottom: 60px; position: relative; }
.profile-avatar-container { position: absolute; bottom: -50px; left: 50%; transform: translateX(-50%); text-align: center; }
.profile-avatar-big { width: 120px; height: 120px; background: white; padding: 5px; border-radius: 50%; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.profile-avatar-inner { width: 100%; height: 100%; background: #e0e7ff; color: #4f46e5; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 3rem; font-weight: 800; }
.profile-name { margin-top: 60px; text-align: center; margin-bottom: 30px; }
.profile-name h1 { font-family: 'Poppins', sans-serif; margin: 0; color: #1e293b; font-size: 1.8rem; }
.profile-name p { color: #64748b; margin: 5px 0 0 0; }
.form-card { background: white; border-radius: 24px; padding: 30px; box-shadow: 0 20px 40px rgba(0,0,0,0.08); margin-bottom: 50px; position: relative; border: 1px solid #f1f5f9; }
.form-header { margin-bottom: 25px; border-bottom: 1px solid #f1f5f9; padding-bottom: 15px; }
.form-header h3 { margin: 0; font-family: 'Poppins', sans-serif; color: #4f46e5; font-size: 1.2rem; display: flex; align-items: center; gap: 10px; }
.input-group { margin-bottom: 15px; position: relative; }
.modern-input { width: 100%; padding: 15px 15px 15px 45px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; font-size: 0.95rem; transition: all 0.3s ease; color: #334155; }
.modern-input:focus { background: white; border-color: #4f46e5; box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1); outline: none; }
.input-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #94a3b8; font-size: 1.1rem; }
.modern-textarea { width: 100%; padding: 20px; border: none; background: white; font-family: 'Inter', sans-serif; font-size: 1.1rem; resize: none; min-height: 120px; color: #1e293b; border-radius: 12px; }
.modern-textarea:focus { outline: none; }
.modern-textarea::placeholder { color: #cbd5e1; font-weight: 300; }
.form-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 15px; padding-top: 15px; border-top: 1px solid #f1f5f9; }
.file-upload-btn { cursor: pointer; display: flex; align-items: center; gap: 8px; color: #4f46e5; font-weight: 600; padding: 10px 15px; border-radius: 50px; background: #eef2ff; transition: 0.2s; }
.file-upload-btn:hover { background: #e0e7ff; }
.submit-btn { background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%); color: white; border: none; padding: 12px 30px; border-radius: 50px; font-weight: 700; font-size: 1rem; cursor: pointer; box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4); transition: transform 0.2s; }
.submit-btn:hover { transform: translateY(-2px); }
footer { text-align: center; padding: 40px 20px; color: #64748b; font-size: 0.9rem; margin-top: 50px; border-top: 1px solid #e2e8f0; background: white; }
footer a { color: var(--primary); text-decoration: none; font-weight: 600; margin: 0 10px; }
footer a:hover { text-decoration: underline; }
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(5px); z-index: 9999; display: none; justify-content: center; align-items: center; padding: 20px; animation: fadeIn 0.3s ease-out; }
.modal-content { background: white; padding: 40px; border-radius: 24px; max-width: 500px; width: 100%; text-align: center; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); position: relative; border: 1px solid #e2e8f0; animation: slideUp 0.3s ease-out; }
.modal-icon { font-size: 3rem; margin-bottom: 20px; display: block; }
.modal-title { font-family: 'Poppins', sans-serif; font-size: 1.5rem; color: #1e293b; margin-bottom: 15px; font-weight: 800; }
.modal-text { font-size: 1rem; color: #64748b; line-height: 1.6; margin-bottom: 25px; }
.modal-text strong { color: var(--danger); }
.btn-accept { background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%); color: white; border: none; padding: 15px 40px; font-size: 1rem; border-radius: 50px; font-weight: 700; cursor: pointer; width: 100%; transition: transform 0.2s; box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3); }
.btn-accept:hover { transform: scale(1.02); }
.login-body { min-height: 100vh; display: flex; align-items: center; justify-content: center; flex-direction: column; }
.login-card { width: 100%; max-width: 450px; padding: 40px; }
.title-login { text-align: center; color: var(--primary); margin-top: 0; margin-bottom: 20px; font-family: 'Poppins', sans-serif; }
.toggle-container { display: flex; gap: 10px; margin-bottom: 20px; justify-content: center; background: #f1f5f9; padding: 5px; border-radius: 12px; }
.login-btn-toggle { background: transparent; border: none; color: #64748b; padding: 10px; border-radius: 8px; cursor: pointer; font-weight: 600; flex: 1; transition: 0.2s; }
.login-btn-toggle.active { background: white; color: var(--primary); box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.legal-text { font-size: 0.8rem; color: #64748b; text-align: center; margin-bottom: 20px; line-height: 1.5; background: #f8fafc; padding: 10px; border-radius: 8px; border: 1px solid #e2e8f0; }
.terms-checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 0.8rem; color: #475569; margin-bottom: 20px; text-align: left; background: #fff1f2; padding: 10px; border-radius: 8px; border: 1px solid #fecaca; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.alert-box-login { background: #fee2e2; color: #b91c1c; padding: 10px; border-radius: 8px; border: 1px solid #fecaca; margin-bottom: 15px; text-align: center; font-size: 0.9rem; }
.back-link { margin-top: 20px; color: #64748b; text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.pass-wrapper { position: relative; width: 100%; }
.toggle-icon { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); cursor: pointer; color: #94a3b8; z-index: 10; }
.toggle-icon:hover { color: var(--primary); }
.label-title { display: block; font-size: 0.9rem; color: #64748b; margin-bottom: 8px; font-weight: 600; }
.sex-selector { display: flex; gap: 10px; }
.sex-option { flex: 1; cursor: pointer; }
.sex-option input { display: none; }
.sex-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border: 1px solid #e2e8f0; border-radius: 12px; background: #f8fafc; color: #64748b; font-weight: 600; transition: 0.2s; }
.sex-btn i { font-size: 1.1rem; }
.sex-option input:checked + .sex-btn.male { background: #e0e7ff; color: #4f46e5; border-color: #4f46e5; box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2); }
.sex-option input:checked + .sex-btn.female { background: #fce7f3; color: #db2777; border-color: #db2777; box-shadow: 0 0 0 2px rgba(219, 39, 119, 0.2); }
.sex-btn.other { background: #f8fafc; color: #64748b; }
.sex-option input:checked + .sex-btn.other { background: #ddd6fe; color: #6d28d9; border-color: #7c3aed; box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.3); }
.active-sex {transform: scale(1.05); transition: 0.15s ease-in-out;}
.legal-icon-container { text-align: center; margin-bottom: 20px; }
.legal-icon-circle { font-size: 3rem; color: var(--danger); background: #fee2e2; padding: 20px; border-radius: 50%; }
.legal-title { text-align: center; color: #1e293b; margin-top: 0; }
.legal-desc-center { text-align: center; font-size: 1.1rem; line-height: 1.6; color: #334155; }
.legal-small { text-align: center; font-size: 0.85rem; color: #94a3b8; margin-top: 30px; }
.alert-box { background: #fff1f2; padding: 25px; border-radius: 12px; border-left: 5px solid var(--danger); margin: 30px 0; }
.alert-title { margin-top: 0; color: var(--danger-dark); display: flex; align-items: center; gap: 10px; }
.alert-text { color: #7f1d1d; }
.alert-divider { border: 0; border-top: 1px solid #fecaca; margin: 15px 0; }
.alert-bold { font-weight: 600; margin-bottom: 0; }
.alert-small { font-weight: 400; font-size: 0.9rem; }
.steps-list { max-width: 500px; margin: 0 auto 30px auto; color: #334155; line-height: 1.6; background: #f8fafc; padding: 20px 40px; border-radius: 10px; }
.legal-section { margin-bottom: 40px; border-bottom: 1px solid #eee; padding-bottom: 30px; }
.legal-section:last-child { border-bottom: none; }
.legal-section h3 { color: var(--primary); margin-bottom: 15px; font-size: 1.3rem; }
.legal-section p { color: #475569; line-height: 1.7; text-align: justify; }
.legal-list { padding-left: 20px; color: #475569; }
.legal-list li { margin-bottom: 10px; }
.legal-center-btn { background: #f1f5f9; padding: 15px; border-radius: 10px; text-align: center; }
.link-primary { color: var(--primary); font-weight: bold; text-decoration: underline; }
.link-danger { color: var(--danger); font-weight: bold; }
.zoom-img {width: 130px;height: auto;border-radius: 8px;cursor: pointer;transition: transform 0.2s ease;}
.zoom-img:hover {transform: scale(1.05);}
.lightbox {position: fixed;top: 0;left: 0;width: 100%;height: 100%;background: rgba(0,0,0,0.85);display: none;justify-content: center;align-items: center;z-index: 999999;}
.lightbox img {max-width: 90%;max-height: 90%;border-radius: 12px;box-shadow: 0 0 25px rgba(0,0,0,0.5);}
.photo-grid img,.zoom-img{width:130px!important;height:auto!important;border-radius:8px;cursor:pointer;object-fit:cover;transition:transform .2s ease}.photo-grid img:hover,.zoom-img:hover{transform:scale(1.05)}.lightbox{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.85);display:none;justify-content:center;align-items:center;z-index:999999}.lightbox img{max-width:90%;max-height:90%;border-radius:12px;box-shadow:0 0 25px rgba(0,0,0,.5)}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@media (max-width: 768px) {
    nav { padding: 10px 0; } nav .container { padding: 0 15px; } nav span { display: none !important; }
    .btn-nav { padding: 8px 12px !important; width: auto !important; border-radius: 8px !important; font-size: 0.85rem !important; }
    .btn-nav span { display: inline-block !important; } .btn-nav i { margin-right: 5px !important; margin: 0; }
    .hero { padding: 90px 15px 30px 15px; border-radius: 0 0 20px 20px; }
    .hero h1 { font-size: 1.6rem; } .hero p { font-size: 0.9rem; }
    .modal-content { padding: 30px 20px; }
    .login-card { padding: 25px !important; margin: 20px; width: calc(100% - 40px); }
    .form-grid-2 { grid-template-columns: 1fr !important; }}