/* ================================================
   SexDark.com — Auth Styles (Landing, Login, Register)
   Baseado nas imagens de referência 1, 2, 3
   ================================================ */

/* ============================
   LANDING PAGE
   (Baseado em 1-index-sem-estar-logado-responsiva.html)
   ============================ */
.landing-body {
    background-color: #1a1c20;
    color: #ffffff;
    overflow-x: hidden;
    font-family: var(--font-landing);
}

.landing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #1a1c20;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.landing-logo {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -1px;
    color: #ffffff;
}

.landing-logo span {
    color: #f7235e;
}

.landing-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.landing-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.btn-entrar-landing {
    background-color: #ffffff;
    color: #1a1c20 !important;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: opacity 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-entrar-landing:hover {
    opacity: 0.9;
    color: #1a1c20 !important;
}

/* Hero */
.landing-hero {
    text-align: center;
    padding: 50px 20px 30px 20px;
}

.landing-hero-icon {
    margin-bottom: 15px;
}

.landing-hero h1 {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 15px;
}

.landing-hero h1 span {
    color: #f7235e;
}

.landing-hero p {
    font-size: 18px;
    font-weight: 500;
    color: #f3f4f6;
    max-width: 600px;
    margin: 0 auto;
}

/* Grid de perfis */
.landing-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 40px 60px 40px;
}

.landing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

/* Card de perfil */
.landing-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.landing-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #111;
}

.landing-foto-borrada {
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    background-size: cover;
    background-position: center;
    filter: blur(18px) brightness(0.55);
    z-index: 1;
}

.landing-card-overlay {
    text-align: center;
    z-index: 2;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    padding: 10px;
}

.landing-card-overlay h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 2px;
}

.landing-card-overlay p {
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
}

.landing-star-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background-color: #10b981;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
}

.landing-card-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.landing-info-line {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
}

.landing-info-line svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    fill: none;
    stroke: #ffffff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ============================
   LOGIN & REGISTER FORMS
   (Baseados nas imagens 2 e 3)
   ============================ */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background-color: #000000;
    padding: 20px;
}

.auth-card {
    background-color: #1a1c24;
    border-radius: 16px;
    padding: 40px 35px;
    width: 100%;
    max-width: 460px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.auth-logo {
    text-align: center;
    margin-bottom: 6px;
}

.auth-logo-text {
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -1px;
    font-family: var(--font-landing);
}

.auth-logo-text .white { color: #ffffff; }
.auth-logo-text .pink { color: #f7235e; }

.auth-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 25px;
}

.auth-title {
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 6px;
}

.auth-desc {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 25px;
}

/* Divider "OU PREENCHA O FORMULÁRIO" */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-top: 1px solid var(--border-color);
}

/* Inputs do Auth */
.auth-form .form-group {
    margin-bottom: 14px;
}

.auth-form .form-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 5px;
}

.auth-form .form-input,
.auth-form .form-select {
    background-color: #12121a;
    border: 1px solid #2a2a3a;
    border-radius: 10px;
    padding: 13px 16px;
}

.auth-form .form-input:focus,
.auth-form .form-select:focus {
    border-color: var(--btn-pink);
}

/* Wrapper "ver senha" */
.input-password-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.input-password-wrap .form-input {
    flex: 1;
    padding-right: 44px;
}

.btn-toggle-password {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 15px;
    transition: color var(--transition-base);
    -webkit-tap-highlight-color: transparent;
}

.btn-toggle-password:hover,
.btn-toggle-password:focus-visible {
    color: var(--btn-pink);
    outline: none;
}

/* Link esqueci senha */
.auth-forgot {
    text-align: right;
    margin-top: -8px;
    margin-bottom: 16px;
}

.auth-forgot a {
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
}

.auth-forgot a:hover {
    color: var(--btn-pink);
}

/* Botão principal de login/registro */
.btn-auth {
    width: 100%;
    padding: 15px;
    border-radius: 30px;
    background-color: var(--btn-pink);
    color: #ffffff;
    border: none;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background var(--transition-base);
    margin-top: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-auth:hover {
    background-color: var(--btn-pink-hover);
}

.btn-auth:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Link alternativo (criar conta / já tem conta) */
.auth-alt {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

.auth-alt a {
    color: var(--btn-pink);
    font-weight: 700;
}

/* Erro geral */
.auth-error {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    margin-bottom: 16px;
    color: var(--btn-danger);
    font-size: 13px;
    font-weight: 600;
    display: none;
}

.auth-error.visible {
    display: block;
}

/* Checkboxes do registro */
.auth-form .form-checkbox {
    margin-bottom: 12px;
}

.auth-form .form-checkbox a {
    color: var(--btn-pink);
    font-weight: 600;
}

/* ============================
   RESPONSIVIDADE LANDING
   ============================ */
@media (max-width: 1024px) {
    .landing-grid { grid-template-columns: repeat(3, 1fr); }
    .landing-header { padding: 20px 30px; }
    .landing-container { padding: 20px 30px 60px 30px; }
}

@media (max-width: 768px) {
    .landing-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .landing-hero h1 { font-size: 32px; }
    .landing-hero p { font-size: 16px; }
}

@media (max-width: 480px) {
    .landing-header { padding: 15px 20px; }
    .landing-logo { font-size: 24px; }
    .landing-nav { gap: 15px; }
    .landing-nav a { font-size: 11px; }
    .btn-entrar-landing { padding: 8px 16px; font-size: 11px; }
    .landing-hero { padding: 30px 15px 20px 15px; }
    .landing-hero h1 { font-size: 26px; margin-bottom: 8px; }
    .landing-hero p { font-size: 14px; }
    .landing-hero-icon svg { width: 32px; height: 32px; }
    .landing-container { padding: 15px 20px 40px 20px; }
    .landing-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .landing-card-overlay h2 { font-size: 20px; }
    .landing-card-overlay p { font-size: 10px; }
    .landing-star-icon { width: 20px; height: 20px; bottom: 8px; right: 8px; }
    .landing-star-icon svg { width: 10px; height: 10px; }
    .landing-info-line { font-size: 11px; gap: 6px; }
    .landing-info-line svg { width: 12px; height: 12px; }

    .auth-page { align-items: flex-start; padding-top: 24px; }
    .auth-card { padding: 30px 25px; }
    .auth-logo-text { font-size: 30px; }
    .auth-title { font-size: 20px; }
}

@media (max-width: 360px) {
    .landing-header { padding: 12px 15px; }
    .landing-logo { font-size: 20px; }
    .landing-nav { gap: 10px; }
    .landing-nav a { font-size: 10px; }
    .landing-container { padding: 10px 15px 30px 15px; }
    .landing-card-overlay p { font-size: 9px; }
}
