/* styles/auth.css — login + signup pages. */

:root {
    --bg: #000;
    --surface-2: #121215;
    --border: #262626;
    --accent: #0095f6;
    --accent-hover: #1e9ff8;
    --text-1: #f5f5f5;
    --text-2: #a8a8a8;
}

* { box-sizing: border-box; }

body.auth-page {
    background-color: var(--bg);
    color: var(--text-1);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px;
    background-image:
        radial-gradient(circle at 0% 0%, rgba(0, 149, 246, 0.06), transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(220, 39, 67, 0.05), transparent 50%);
    -webkit-font-smoothing: antialiased;
}

.auth-container {
    width: 100%;
    max-width: 370px;
}

.auth-card {
    background-color: var(--surface-2);
    border: 1px solid var(--border);
    padding: 32px 36px;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

.auth-logo {
    font-family: 'Pacifico', cursive;
    font-size: 2.6rem;
    text-align: center;
    margin: 16px 0 28px;
    background: linear-gradient(135deg, #fff 0%, #b8b8b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

#login-form, #signup-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.auth-input {
    background-color: #0a0a0c;
    border: 1px solid var(--border);
    padding: 12px 14px;
    border-radius: 8px;
    color: #fff;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.15s ease, background-color 0.15s ease;
    font-family: inherit;
}
.auth-input:focus {
    border-color: var(--accent);
    background-color: #0d0d10;
}

.btn-primary {
    background-color: var(--accent);
    color: #fff;
    border: none;
    padding: 11px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 6px;
    transition: background-color 0.15s ease, transform 0.1s ease;
    font-family: inherit;
    font-size: 0.95rem;
}
.btn-primary:hover { background-color: var(--accent-hover); }
.btn-primary:active { transform: scale(0.98); }

.divider {
    display: flex;
    align-items: center;
    margin: 22px 0;
}
.divider::before, .divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: var(--border);
}
.divider span {
    padding: 0 12px;
    color: var(--text-2);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.forgot-password {
    color: #b8b8b8;
    text-decoration: none;
    font-size: 0.78rem;
    text-align: center;
    transition: color 0.15s;
}
.forgot-password:hover { color: var(--accent); }

.signup-card {
    padding: 22px;
    font-size: 0.9rem;
    text-align: center;
}
.signup-card a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}
.signup-card a:hover { text-decoration: underline; }

.app-download-section {
    text-align: center;
    margin-top: 28px;
}
.app-download-section p {
    font-size: 0.875rem;
    margin-bottom: 16px;
    color: var(--text-2);
}

.apk-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #fff, #e0e0e0);
    color: #000;
    padding: 11px 22px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: transform 0.15s, box-shadow 0.15s;
    box-shadow: 0 4px 14px rgba(255,255,255,0.08);
}
.apk-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255,255,255,0.12);
}
.apk-download-btn i { width: 20px; height: 20px; }

@media (max-width: 480px) {
    body.auth-page { padding: 16px; }
    .auth-card { padding: 24px 22px; }
    .auth-logo { font-size: 2.2rem; }
}
