/* Shared Promo Modal Styles */
#promo-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#promo-modal.visible {
    opacity: 1;
    pointer-events: auto;
}

.promo-card {
    background: white;
    width: 90%;
    max-width: 400px;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    text-align: center;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

#promo-modal.visible .promo-card {
    transform: translateY(0);
}

.promo-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.promo-close:hover {
    background: #e2e8f0;
    color: #334155;
}

.xhs-logo {
    width: 64px;
    height: 64px;
    background: #ff2442; /* Xiaohongshu Red */
    color: white;
    border-radius: 16px;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 20px rgba(255, 36, 66, 0.3);
}

.promo-title {
    margin: 0 0 10px;
    color: #1e293b;
    font-size: 20px;
    font-weight: 700;
}

.promo-desc {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.xhs-link {
    display: block;
    background: #fff1f2;
    color: #ff2442;
    text-decoration: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid #ff2442;
    transition: all 0.2s;
}

.xhs-link:hover {
    background: #ff2442;
    color: white;
}

.divider {
    height: 1px;
    background: #e2e8f0;
    margin: 20px 0;
    position: relative;
}

.divider span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 0 10px;
    color: #94a3b8;
    font-size: 12px;
}

.auth-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 12px;
    font-size: 16px;
    text-align: center;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s;
}

.auth-input:focus {
    border-color: #6366f1;
}

.auth-btn {
    width: 100%;
    background: #6366f1;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-btn:hover {
    background: #4f46e5;
}

.mid-box {
    background: #f8fafc;
    padding: 8px;
    border-radius: 8px;
    font-family: monospace;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 12px;
    border: 1px dashed #cbd5e1;
    cursor: pointer;
}
