
/* Professional Auth Pages */
.auth-page-professional {
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--header-h) 20px 100px;
}

.auth-container-professional {
    width: 100%;
    max-width: 440px;
    background: var(--c-bg-card);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    box-shadow: var(--shadow-lg);
    position:relative;
}

.auth-header-professional {
    text-align: center;
    margin-bottom: 28px;
}

.auth-logo-modern {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
}

.auth-logo-modern img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.auth-title-professional {
    font-size: 24px;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 8px;
}

.auth-subtitle-professional {
    font-size: 14px;
    color: var(--c-text-muted);
    line-height: 1.5;
}

/* Alert Messages */
.alert-professional {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
}

.alert-professional.error {
    background: rgba(244, 67, 54, 0.1);
    color: #d32f2f;
    border: 1px solid rgba(244, 67, 54, 0.2);
}

.alert-professional.success {
    background: rgba(76, 175, 80, 0.1);
    color: #2e7d32;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

/* Form Styles */
.auth-form-professional {
    margin-bottom: 24px;
}

.form-row-professional {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.form-group-professional {
    margin-bottom: 16px;
}

.form-label-professional {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: 8px;
}

.optional-text {
    font-weight: 400;
    color: var(--c-text-muted);
    font-size: 12px;
}

.input-wrapper-professional {
    position: relative;
}

.input-icon-professional {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--c-text-muted);
    pointer-events: none;
}

.form-input-professional {
    width: 100%;
    padding: 13px 16px 13px 44px;
    border: 2px solid var(--c-border);
    border-radius: var(--radius-md);
    font-size: 15px;
    color: var(--c-text);
    background: var(--c-bg);
    transition: var(--tr);
}

.form-input-professional:focus {
    outline: none;
    border-color: var(--c-primary);
    background: var(--c-bg-card);
}

.form-input-professional::placeholder {
    color: var(--c-text-muted);
}

.password-toggle-professional {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--c-text-muted);
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Password Strength */
.password-strength-indicator {
    margin-top: 8px;
}

.strength-bars {
    display: flex;
    gap: 4px;
    margin-bottom: 6px;
}

.strength-bar {
    flex: 1;
    height: 3px;
    background: var(--c-border);
    border-radius: 2px;
    transition: var(--tr);
}

.strength-bar.active.weak { background: #f44336; }
.strength-bar.active.fair { background: #ff9800; }
.strength-bar.active.good { background: #2196f3; }
.strength-bar.active.strong { background: #4caf50; }

.strength-text {
    font-size: 12px;
    font-weight: 500;
}

.strength-text.weak { color: #f44336; }
.strength-text.fair { color: #ff9800; }
.strength-text.good { color: #2196f3; }
.strength-text.strong { color: #4caf50; }

/* Checkbox Styles */
.checkbox-label-professional {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--c-text-muted);
    cursor: pointer;
}

.checkbox-label-professional.full {
    align-items: flex-start;
}

.checkbox-input-professional {
    position: absolute;
    opacity: 0;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 2px solid var(--c-border);
    border-radius: 4px;
    position: relative;
    transition: var(--tr);
}

.checkbox-input-professional:checked + .checkbox-custom {
    background: var(--c-primary);
    border-color: var(--c-primary);
}

.checkbox-input-professional:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-options-professional {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.forgot-link-professional {
    font-size: 13px;
    color: var(--c-primary);
    font-weight: 500;
    text-decoration: none;
}

/* Buttons */
.btn-auth-professional {
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--tr);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-auth-professional.primary {
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
    color: white;
}

.btn-auth-professional.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Divider */
.auth-divider-professional {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: var(--c-text-muted);
    font-size: 13px;
}

.auth-divider-professional::before,
.auth-divider-professional::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--c-border);
}

/* Social Auth */
.social-auth-professional {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.social-btn-professional {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border: 2px solid var(--c-border);
    border-radius: var(--radius-md);
    background: var(--c-bg);
    font-size: 14px;
    font-weight: 500;
    color: var(--c-text);
    cursor: pointer;
    transition: var(--tr);
}

.social-btn-professional:hover {
    border-color: var(--c-text-muted);
    transform: translateY(-1px);
}

/* Footer */
.auth-footer-professional {
    text-align: center;
    font-size: 14px;
    color: var(--c-text-muted);
}

.auth-link-professional {
    color: var(--c-primary);
    font-weight: 600;
    text-decoration: none;
}

.terms-link {
    color: var(--c-primary);
    text-decoration: underline;
}
/* ============================================
   EMAIL VERIFICATION PAGE
   ============================================ */

.verification-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: iconPulse 2s ease-in-out infinite;
}

.verification-icon-wrapper.pending {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.1), rgba(255, 152, 0, 0.2));
}

.verification-icon-wrapper.pending svg {
    stroke: #ff9800;
}

.verification-icon-wrapper.success {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(76, 175, 80, 0.2));
}

.verification-icon-wrapper.success svg {
    stroke: #4caf50;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Verification Steps */
.verification-steps {
    margin-bottom: 28px;
}

.step-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 12px;
    margin-bottom: 12px;
    transition: all 0.2s;
}

.step-item:hover {
    background: var(--bg-tertiary);
    transform: translateX(4px);
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 4px 0;
}

.step-description {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

/* Verification Help */
.verification-help {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 20px;
    margin-top: 24px;
}

.help-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 12px 0;
}

.help-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.help-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 13px;
    color: var(--text-secondary);
}

.help-list li svg {
    flex-shrink: 0;
    stroke: var(--primary);
}

/* Success Actions */
.success-actions {
    margin-bottom: 24px;
}

.verification-success-info {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 20px;
    margin-top: 24px;
}

.success-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.success-info-item:not(:last-child) {
    border-bottom: 1px solid var(--border-light);
}

.success-info-item svg {
    flex-shrink: 0;
    stroke: var(--primary);
}

/* Button disabled state for cooldown */
.btn-auth-professional:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}
/* ============================================
   RESET PASSWORD PAGE
   ============================================ */

.verification-icon-wrapper.error {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.1), rgba(244, 67, 54, 0.2));
}

.verification-icon-wrapper.error svg {
    stroke: #f44336;
}

/* Password Requirements */
.password-requirements {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.requirements-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 12px 0;
}

.requirements-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.requirements-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 13px;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.requirements-list li svg {
    flex-shrink: 0;
    stroke: var(--text-tertiary);
    transition: all 0.2s;
}

.requirements-list li.met {
    color: #4caf50;
}

.requirements-list li.met svg {
    stroke: #4caf50;
}

/* Password Input Wrapper */
.input-wrapper-professional {
    position: relative;
}

.password-toggle-professional {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-tertiary);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.password-toggle-professional:hover {
    color: var(--primary);
}


/* ==========================================
   LOGIN DOOR OPENING/CLOSING ANIMATION
   ========================================== */

/* Base Login Icon */
.login-icon {
    background: linear-gradient(135deg, rgba(255, 95, 31, 0.15), rgba(255, 140, 95, 0.1));
    color: #ff5f1f;
    box-shadow: 0 8px 24px rgba(255, 95, 31, 0.2);
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    animation: iconBounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55),
               iconPulse 2s ease-in-out 2s infinite;
}

/* Icon bounce in */
@keyframes iconBounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Gentle pulse */
@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 24px rgba(255, 95, 31, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 32px rgba(255, 95, 31, 0.4);
    }
}

/* ===== DOOR ANIMATION ===== */

/* Door Frame (static) */
.door-frame {
    stroke-width: 2;
    fill: none;
}

/* Left Door (opens and closes) */
.door-left {
    stroke-width: 2;
    fill: currentColor;
    fill-opacity: 0.1;
    transform-origin: 6px center;
    animation: doorOpenClose 4s ease-in-out 1s infinite;
}

/* Door Opening and Closing Animation */
@keyframes doorOpenClose {
    0%, 100% {
        transform: perspective(400px) rotateY(0deg);
        opacity: 1;
    }
    25% {
        transform: perspective(400px) rotateY(-90deg);
        opacity: 0.3;
    }
    50% {
        transform: perspective(400px) rotateY(-90deg);
        opacity: 0.3;
    }
    75% {
        transform: perspective(400px) rotateY(0deg);
        opacity: 1;
    }
}

/* Door Handle */
.door-handle {
    animation: handleShake 4s ease-in-out 1s infinite;
}

/* Handle shakes before door opens */
@keyframes handleShake {
    0%, 92%, 100% {
        transform: translateX(0);
    }
    20%, 22% {
        transform: translateX(-1px);
    }
    21% {
        transform: translateX(1px);
    }
}

/* Arrow moves in when door opens */
.arrow-enter {
    stroke-width: 2;
    animation: arrowMoveIn 4s ease-in-out 1s infinite;
}

@keyframes arrowMoveIn {
    0%, 100% {
        transform: translateX(-10px);
        opacity: 0;
    }
    25% {
        transform: translateX(0);
        opacity: 1;
    }
    50% {
        transform: translateX(0);
        opacity: 1;
    }
    75% {
        transform: translateX(-10px);
        opacity: 0;
    }
}

/* ===== ALTERNATIVE: SIMPLER DOOR SWING ===== */
.door-left.simple-swing {
    animation: doorSwing 3s ease-in-out 1s infinite;
}

@keyframes doorSwing {
    0%, 100% {
        transform: rotateY(0deg);
    }
    30%, 70% {
        transform: rotateY(-70deg);
    }
}

/* ===== GLOW EFFECT ===== */
@keyframes doorGlow {
    0%, 100% {
        filter: drop-shadow(0 0 4px currentColor);
    }
    50% {
        filter: drop-shadow(0 0 12px currentColor);
    }
}

.login-icon svg {
    animation: doorGlow 3s ease-in-out 2s infinite;
}

/* ===== Mobile Responsive ===== */
@media (max-width: 400px) {
    .login-icon {
        width: 72px;
        height: 72px;
    }

    .login-icon svg {
        width: 48px;
        height: 48px;
    }
}

.auth-icon-login {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    width: 56px;
    height: 56px;
}
/* Door panel swings from left hinge */
.door-panel {
    transform-origin: 6px 12px;
    transform-box: fill-box;
    animation: doorSwing 3.2s ease-in-out infinite;
}

@keyframes doorSwing {
    /* closed */
    0%   { transform: perspective(300px) rotateY(0deg); }
    /* pause closed */
    15%  { transform: perspective(300px) rotateY(0deg); }
    /* open */
    40%  { transform: perspective(300px) rotateY(-75deg); }
    /* pause open */
    60%  { transform: perspective(300px) rotateY(-75deg); }
    /* close */
    85%  { transform: perspective(300px) rotateY(0deg); }
    /* pause closed */
    100% { transform: perspective(300px) rotateY(0deg); }
}

/* Mobile */
@media (max-width: 400px) {
    .auth-icon-login svg {
        width: 44px;
        height: 44px;
    }
}
/* ═══════════════════════════════════════════
   AUTH DESKTOP SPLIT LAYOUT
   Mobile: unchanged | Desktop ≥768px: split
═══════════════════════════════════════════ */

/* Outer page wrapper */
.auth-page-split {
    min-height: calc(100vh - var(--header-h, 88px));
    display: flex;
    align-items: stretch;
}

/* ── Mobile: center the card as before ── */
.auth-split-left {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 20px 80px;
}

/* ── Hide brand panel on mobile ── */
.auth-split-right {
    display: none;
}

/* ══════════════════════════════════
   DESKTOP ≥ 768px
══════════════════════════════════ */
@media (min-width: 768px) {

    .auth-page-split {
        min-height: calc(100vh - var(--header-h, 88px));
    }

    .auth-split-left {
        width: 45%;
        min-width: 420px;
        padding: 48px 40px;
        align-items: center;
    }

    .auth-container-professional {
        box-shadow: none;
        background: var(--c-bg-card);
        padding: 32px 24px;
        max-width: 400px;
        width: 100%;
    }

    /* ── Brand Panel ── */
    .auth-split-right {
        display: flex;
        flex: 1;
        flex-direction: column;
        align-items: center;
        padding: 48px 40px;
        position: relative;
        overflow: hidden;
    }

    /* Subtle warm gradient bg */
    .auth-split-right::before {
        display: none;
        content: '';
        position: absolute;
        inset: 0;
        background:
            radial-gradient(ellipse 60% 50% at 80% 20%, rgba(255,95,31,0.10) 0%, transparent 70%),
            radial-gradient(ellipse 50% 60% at 20% 80%, rgba(255,140,60,0.07) 0%, transparent 70%);
        pointer-events: none;
    }
}
@media (max-width: 768px) {
    .auth-split-left {padding: 0;}
}

/* ══════════════════════════════════
   BRAND PANEL WRAPPER
══════════════════════════════════ */
.auth-brand-panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* ── Tagline ── */
.auth-brand-tagline {
    text-align: center;
}
.auth-brand-tagline h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--c-text);
    margin-bottom: 6px;
    line-height: 1.2;
}
.auth-brand-tagline p {
    font-size: 13px;
    color: var(--c-text-muted);
}

/* ── Laptop SVG wrapper ── */
.auth-laptop-wrap {
    width: 100%;
    max-width: 520px;
    position: relative;
}
.auth-laptop-svg {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
}

/* ── Gold tier dot — animated via JS, CSS is fallback ── */
.tier-active-dot {
    transition: r 0.4s ease, filter 0.4s ease;
    filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.6));
}

/* ── Feature boxes (slide in via JS) ── */
.auth-feature-boxes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.auth-feat-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: 14px;
    padding: 14px 16px;
    /* JS animates opacity + translateY in */
    opacity: 0;
    transform: translateY(20px);
}

.auth-feat-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    background: rgba(255, 95, 31, 0.08);
    color: var(--c-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    flex-shrink: 0;
}

.auth-feat-box > div strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--c-text);
    margin-bottom: 3px;
}
.auth-feat-box > div p {
    font-size: 12px;
    color: var(--c-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* ══════════════════════════════════
   ACCESSIBILITY
══════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    .auth-feat-box {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    .tier-active-dot {
        filter: none !important;
        transition: none !important;
    }
}
/* ══════════════════════════════════════
   SCATTERED BACKGROUND ICONS — full page
══════════════════════════════════════ */

.auth-bg-scatter {
    position: fixed;   /* fixed = covers entire viewport always */
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* Base */
.sc {
    position: absolute;
    color: var(--c-primary);
    opacity: 0.28;
}

/* ── 30 icons, each thrown to a truly random spot ── */
/* top/left in %, size in px, rotation in deg, opacity tweaked per icon */
.sc-1  { top:  3%;  left:  2%;  width:38px; height:38px; transform:rotate(-22deg); animation:scFloat 7.0s ease-in-out 0.0s infinite; }
.sc-2  { top:  6%;  left: 28%;  width:26px; height:26px; transform:rotate(15deg);  animation:scFloat 8.5s ease-in-out 0.4s infinite; opacity:.28; }
.sc-3  { top:  2%;  left: 55%;  width:44px; height:44px; transform:rotate(8deg);   animation:scFloat 6.5s ease-in-out 1.1s infinite; opacity:.18; }
.sc-4  { top:  8%;  left: 80%;  width:30px; height:30px; transform:rotate(-40deg); animation:scFloat 9.0s ease-in-out 0.7s infinite; }
.sc-5  { top:  1%;  left: 92%;  width:22px; height:22px; transform:rotate(30deg);  animation:scFloat 7.5s ease-in-out 2.0s infinite; opacity:.24; }
.sc-6  { top: 18%;  left:  8%;  width:32px; height:32px; transform:rotate(-12deg); animation:scFloat 6.0s ease-in-out 0.3s infinite; }
.sc-7  { top: 22%;  left: 42%;  width:50px; height:50px; transform:rotate(25deg);  animation:scFloat 9.5s ease-in-out 1.5s infinite; opacity:.15; }
.sc-8  { top: 15%;  left: 68%;  width:28px; height:28px; transform:rotate(-55deg); animation:scFloat 7.0s ease-in-out 0.9s infinite; opacity:.24; }
.sc-9  { top: 25%;  left: 88%;  width:36px; height:36px; transform:rotate(18deg);  animation:scFloat 8.0s ease-in-out 0.1s infinite; }
.sc-10 { top: 35%;  left:  3%;  width:24px; height:24px; transform:rotate(-30deg); animation:scFloat 6.5s ease-in-out 1.8s infinite; opacity:.28; }
.sc-11 { top: 38%;  left: 22%;  width:40px; height:40px; transform:rotate(45deg);  animation:scFloat 7.5s ease-in-out 0.6s infinite; opacity:.18; }
.sc-12 { top: 32%;  left: 50%;  width:28px; height:28px; transform:rotate(-8deg);  animation:scFloat 8.5s ease-in-out 2.2s infinite; }
.sc-13 { top: 40%;  left: 73%;  width:34px; height:34px; transform:rotate(60deg);  animation:scFloat 6.0s ease-in-out 0.5s infinite; opacity:.24; }
.sc-14 { top: 45%;  left: 95%;  width:20px; height:20px; transform:rotate(-18deg); animation:scFloat 9.0s ease-in-out 1.3s infinite; opacity:.22; }
.sc-15 { top: 50%;  left: 12%;  width:46px; height:46px; transform:rotate(33deg);  animation:scFloat 7.0s ease-in-out 0.0s infinite; opacity:.15; }
.sc-16 { top: 55%;  left: 35%;  width:26px; height:26px; transform:rotate(-48deg); animation:scFloat 8.0s ease-in-out 1.7s infinite; opacity:.28; }
.sc-17 { top: 48%;  left: 60%;  width:38px; height:38px; transform:rotate(12deg);  animation:scFloat 6.5s ease-in-out 0.8s infinite; }
.sc-18 { top: 60%;  left: 82%;  width:30px; height:30px; transform:rotate(-25deg); animation:scFloat 9.5s ease-in-out 0.2s infinite; opacity:.24; }
.sc-19 { top: 65%;  left:  5%;  width:22px; height:22px; transform:rotate(52deg);  animation:scFloat 7.5s ease-in-out 1.9s infinite; opacity:.22; }
.sc-20 { top: 68%;  left: 25%;  width:42px; height:42px; transform:rotate(-15deg); animation:scFloat 6.0s ease-in-out 0.4s infinite; opacity:.18; }
.sc-21 { top: 72%;  left: 48%;  width:28px; height:28px; transform:rotate(38deg);  animation:scFloat 8.5s ease-in-out 1.2s infinite; }
.sc-22 { top: 70%;  left: 70%;  width:36px; height:36px; transform:rotate(-42deg); animation:scFloat 7.0s ease-in-out 0.6s infinite; opacity:.24; }
.sc-23 { top: 78%;  left: 90%;  width:24px; height:24px; transform:rotate(20deg);  animation:scFloat 9.0s ease-in-out 2.1s infinite; opacity:.22; }
.sc-24 { top: 82%;  left:  1%;  width:40px; height:40px; transform:rotate(-60deg); animation:scFloat 6.5s ease-in-out 0.0s infinite; opacity:.18; }
.sc-25 { top: 80%;  left: 18%;  width:26px; height:26px; transform:rotate(10deg);  animation:scFloat 8.0s ease-in-out 1.5s infinite; opacity:.28; }
.sc-26 { top: 85%;  left: 40%;  width:32px; height:32px; transform:rotate(-35deg); animation:scFloat 7.5s ease-in-out 0.3s infinite; }
.sc-27 { top: 88%;  left: 62%;  width:44px; height:44px; transform:rotate(55deg);  animation:scFloat 6.0s ease-in-out 1.0s infinite; opacity:.15; }
.sc-28 { top: 92%;  left: 78%;  width:22px; height:22px; transform:rotate(-20deg); animation:scFloat 9.5s ease-in-out 0.7s infinite; opacity:.24; }
.sc-29 { top: 95%;  left: 15%;  width:30px; height:30px; transform:rotate(42deg);  animation:scFloat 7.0s ease-in-out 1.4s infinite; opacity:.22; }
.sc-30 { top: 94%;  left: 52%;  width:36px; height:36px; transform:rotate(-28deg); animation:scFloat 8.5s ease-in-out 0.9s infinite; }

/* Float — preserves the initial rotation */
@keyframes scFloat {
    0%, 100% { transform: translate(0px,  0px)   rotate(var(--r, 0deg)); }
    30%       { transform: translate(3px,  -10px) rotate(var(--r, 0deg)); }
    65%       { transform: translate(-2px, -5px)  rotate(var(--r, 0deg)); }
}

@media (prefers-reduced-motion: reduce) {
    .sc { animation: none !important; }
}
/* ══════════════════════════════════════
   CYCLE STAGE
══════════════════════════════════════ */

.auth-cycle-stage {
    position: relative;
    width: 100%;
}

.cycle-slot {
    width: 100%;
    transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1),
                transform 0.6s cubic-bezier(0.16,1,0.3,1);
}

.cycle-slot.fading-out {
    opacity: 0 !important;
    transform: scale(0.97);
}

.cycle-slot.fading-in {
    opacity: 0;
    transform: translateY(16px);
}

.cycle-slot.visible {
    opacity: 1 !important;
    transform: none;
}

/* Promo label */
.promo-label {
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--c-primary);
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

/* Food card */
.promo-food-card {
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    gap: 0;
    flex-direction: row;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

/* ══════════════════════════════════════
   PROMO CARDS — image-first redesign
══════════════════════════════════════ */

.promo-eyebrow {
    font-size: 12px;
    font-weight: 700;
    color: var(--c-primary);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 12px;
}

/* ── Card wrapper ── */
.pfc {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.14);
}

.pfc--sm .pfc-img-wrap {
    height: 140px;  /* second card shorter */
}

/* ── Image fills the whole card ── */
.pfc-img-wrap {
    position: relative;
    width: 100%;
    height: 210px;   /* tall enough to feel premium */
    overflow: hidden;
    background: var(--c-bg);
}

.pfc-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 8s ease;  /* slow zoom while visible */
    transform: scale(1.05);
}

/* slow Ken Burns zoom */
#slotPromo.visible .pfc-img-wrap img {
    transform: scale(1.0);
}

/* Emoji fallback when no image */
.pfc-emoji-fb {
    display: none;
    font-size: 72px;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    z-index: 1;
}
.pfc-no-img img          { display: none; }
.pfc-no-img .pfc-emoji-fb { display: block; }

/* ── Dark gradient from bottom ── */
.pfc-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.01) 0%,
        rgba(0,0,0,0.15) 35%,
        rgba(0,0,0,0.72) 75%,
        rgba(0,0,0,0.88) 100%
    );
}

/* ── Text on top of image ── */
.pfc-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    padding: 14px 16px 16px;
}

.pfc-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    background: var(--c-primary);
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 7px;
}

.pfc-tag--gold {
    background: #b8860b;
}

.pfc-name {
    font-size: 20px;
    font-weight: 900;
    color: white;
    line-height: 1.15;
    margin-bottom: 3px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.pfc--sm .pfc-name {
    font-size: 16px;
}

.pfc-sub {
    font-size: 11px;
    color: rgba(255,255,255,0.70);
    margin-bottom: 10px;
    letter-spacing: 0.2px;
}

.pfc--sm .pfc-sub {
    display: none;  /* too cramped on small card */
}

/* ── Price row ── */
.pfc-pricing {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pfc-old {
    font-size: 12px;
    color: rgba(255,255,255,0.50);
    text-decoration: line-through;
}

.pfc-new {
    font-size: 22px;
    font-weight: 900;
    color: white;
    line-height: 1;
}

.pfc--sm .pfc-new {
    font-size: 17px;
}

.pfc-pts {
    margin-left: auto;
    font-size: 11px;
    font-weight: 700;
    color: #FFD700;
    background: rgba(255,215,0,0.15);
    border: 1px solid rgba(255,215,0,0.35);
    padding: 3px 10px;
    border-radius: 20px;
}