/**
 * REGISTER PAGE — Page-Specific Styles
 * Only register-unique layout and components.
 * Depends on: auth-variables.css → auth-shared.css
 *
 * @package FitnessCoachPro
 * @since   3.1.0
 */

/* ============================================================================
   REGISTER CONTAINER (wider than login)
   ============================================================================ */
.fcp-register-container {
    max-width: 600px;
    margin: 20px 0;
}

/* ============================================================================
   LOGO ANIMATION (register-specific rocket)
   ============================================================================ */
body.fcp-register-page .fcp-logo-icon {
    animation: logoRocket 2s ease-in-out infinite;
}

@keyframes logoRocket {
    0%, 100% { transform: translateY(0)    rotate(0deg); }
    25%      { transform: translateY(-10px) rotate(-5deg); }
    50%      { transform: translateY(-15px) rotate(0deg); }
    75%      { transform: translateY(-10px) rotate(5deg); }
}

/* ============================================================================
   REGISTER-SPECIFIC PARTICLES (6-7 + color overrides)
   ============================================================================ */
body.fcp-register-page .particle:nth-child(1) { background: var(--duo-green); }
body.fcp-register-page .particle:nth-child(2) { background: var(--duo-blue); }
body.fcp-register-page .particle:nth-child(3) { background: var(--duo-green); }
body.fcp-register-page .particle:nth-child(4) { background: var(--duo-yellow); }
body.fcp-register-page .particle:nth-child(5) { background: var(--duo-green); }

.particle:nth-child(6) {
    inset-inline-start: 20%;
    top: 70%;
    animation-delay: 10s;
    animation-duration: 16s;
    background: var(--duo-blue);
}

.particle:nth-child(7) {
    inset-inline-start: 60%;
    top: 10%;
    animation-delay: 12s;
    animation-duration: 19s;
    background: var(--duo-green);
}

/* ============================================================================
   WELCOME BADGE
   ============================================================================ */
.fcp-welcome-badge {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.welcome-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(255, 200, 0, 0.2), rgba(255, 200, 0, 0.1));
    border: 2px solid rgba(255, 200, 0, 0.3);
    border-radius: var(--radius-full);
    padding: 12px 20px;
    box-shadow: var(--shadow-glow-gold);
    animation: welcomePulse 2s ease-in-out infinite;
}

@keyframes welcomePulse {
    0%, 100% { transform: scale(1);    box-shadow: var(--shadow-glow-gold); }
    50%      { transform: scale(1.05); box-shadow: var(--shadow-glow-gold), 0 0 40px rgba(255, 200, 0, 0.3); }
}

.badge-icon {
    font-size: 24px;
    filter: drop-shadow(0 2px 4px rgba(255, 200, 0, 0.5));
}

.badge-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--duo-yellow);
    text-shadow: 0 0 10px rgba(255, 200, 0, 0.5);
}

/* ============================================================================
   SECTION TITLE
   ============================================================================ */
.fcp-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--glass-border);
}

.section-icon {
    font-size: 24px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.section-text {
    font-size: 18px;
    font-weight: 800;
    color: var(--duo-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================================================
   REGISTER FORM
   ============================================================================ */
.fcp-register-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fcp-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.input-hint {
    font-size: 12px;
    color: var(--duo-text-muted);
    margin-top: 6px;
    font-weight: 500;
}

/* ============================================================================
   PASSWORD STRENGTH INDICATORS
   ============================================================================ */
.fcp-input-wrapper.weak .fcp-input {
    border-color: var(--duo-red);
    box-shadow: 0 0 20px rgba(255, 75, 75, 0.3);
}

.fcp-input-wrapper.medium .fcp-input {
    border-color: var(--duo-yellow);
    box-shadow: 0 0 20px rgba(255, 200, 0, 0.3);
}

.fcp-input-wrapper.strong .fcp-input {
    border-color: var(--duo-green);
    box-shadow: var(--shadow-glow-green);
}

.fcp-input-wrapper.match .fcp-input {
    border-color: var(--duo-green);
    box-shadow: var(--shadow-glow-green);
}

/* ============================================================================
   GAMIFICATION BENEFITS
   ============================================================================ */
.fcp-gamification-benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--glass-border);
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    text-align: center;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
    border-color: var(--duo-green);
}

.benefit-icon {
    font-size: 32px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    animation: benefitFloat 3s ease-in-out infinite;
}

.benefit-item:nth-child(2) .benefit-icon { animation-delay: 0.5s; }
.benefit-item:nth-child(3) .benefit-icon { animation-delay: 1s; }
.benefit-item:nth-child(4) .benefit-icon { animation-delay: 1.5s; }

@keyframes benefitFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

.benefit-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--duo-text-secondary);
}

/* ============================================================================
   REGISTER RESPONSIVE
   ============================================================================ */
@media (max-width: 768px) {
    .fcp-form-row {
        grid-template-columns: 1fr;
    }

    .fcp-gamification-benefits {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .fcp-gamification-benefits {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .benefit-item {
        flex-direction: row;
        justify-content: center;
        text-align: end;
    }
}