/* ============================================
   AUTHENTICATION MODAL - AMAZING ANIMATIONS
   ============================================ */

/* Auth Overlay - Full screen backdrop with blue sky and green mountains */
.auth-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #87CEEB; /* Blue sky - mountains will be added via ::before and ::after */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    overflow: hidden;
}

/* Mountains Background - Using separate element to avoid ::before/::after conflicts */
.mountains-background {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    z-index: 1;
    pointer-events: none;
    transform: translate(var(--parallax-x, 0), var(--parallax-y, 0));
    transition: transform 0.1s ease-out;
}

/* Back mountain layer */
.mountains-background::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: #08a85f;
    transform: translate(calc(var(--parallax-x, 0) * 0.5), calc(var(--parallax-y, 0) * 0.5));
    transition: transform 0.1s ease-out;
    clip-path: polygon(
        0% 100%,
        5% 70%,
        12% 85%,
        20% 65%,
        28% 80%,
        35% 60%,
        42% 75%,
        50% 55%,
        58% 70%,
        65% 50%,
        72% 65%,
        80% 55%,
        88% 70%,
        95% 60%,
        100% 75%,
        100% 100%
    );
    z-index: 1;
}

/* Front mountain layer with prominent peaks */
.mountains-background::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: #0bd776;
    clip-path: polygon(
        0% 100%,
        1% 60%,
        3% 50%,
        8% 65%,
        15% 40%,
        22% 60%,
        30% 35%,
        38% 55%,
        45% 30%,
        52% 50%,
        60% 35%,
        68% 55%,
        75% 40%,
        82% 60%,
        90% 45%,
        97% 65%,
        100% 50%,
        100% 100%
    );
    z-index: 2;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

.auth-overlay.show {
    opacity: 1;
    visibility: visible;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

/* Auth Container - The main modal */
.auth-container {
    position: relative;
    width: 90%;
    max-width: 480px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 30px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    padding: 50px 40px;
    transform: scale(1) translateY(0);
    opacity: 1;
    animation: modalEntrance 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    backdrop-filter: blur(10px);
    overflow: hidden;
    z-index: 10; /* Ensure container is above floating symbols (z-index: 1) */
}

.auth-overlay.show .auth-container {
    animation: modalEntrance 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes modalEntrance {
    0% {
        transform: scale(0.8) translateY(50px);
        opacity: 0;
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* Decorative elements */
.auth-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(11, 215, 118, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* Auth Header */
.auth-header {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInDown 0.8s ease 0.2s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-logo {
    position: relative;
    z-index: 1;
}

/* Auth Header Mascot */
.auth-header-mascot {
    display: inline-block;
    margin-bottom: 20px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.05); }
}

.auth-header-mascot-head {
    position: relative;
    width: 110px;
    height: 110px;
    background: #ffdbac;
    border-radius: 50%;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 3;
    animation: headBounceHeader 4s ease-in-out infinite;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes headBounceHeader {
    0%, 100% { transform: rotate(-1deg) scale(1); }
    25% { transform: rotate(1deg) scale(1.02); }
    50% { transform: rotate(-0.5deg) scale(1); }
    75% { transform: rotate(0.5deg) scale(1.01); }
}

.auth-header-mascot-face {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: #ffdbac;
    border-radius: 50%;
}

.auth-header-mascot-eye {
    position: absolute;
    width: 22px;
    height: 28px;
    background: white;
    border-radius: 50%;
    top: 38px;
    animation: blinkHeader 4s infinite;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.auth-header-mascot-eye-left {
    left: 28px;
}

.auth-header-mascot-eye-right {
    right: 28px;
    animation: winkHeader 5s infinite, blinkHeader 4s infinite;
}

@keyframes blinkHeader {
    0%, 45%, 55%, 100% { height: 28px; }
    48%, 52% { height: 2px; }
}

@keyframes winkHeader {
    0%, 90%, 100% { height: 28px; }
    92%, 98% { height: 2px; }
}

.auth-header-mascot-pupil {
    width: 15px;
    height: 15px;
    background: #1a1a1a;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease-out;
}

.auth-header-mascot-mouth {
    position: absolute;
    width: 44px;
    height: 22px;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    border: 2px solid #1a1a1a;
    border-top: none;
    border-radius: 0 0 44px 44px;
    background: white;
    animation: smileHeader 3s ease-in-out infinite;
    transition: width 0.3s ease, height 0.3s ease;
}

@keyframes smileHeader {
    0%, 100% { 
        width: 44px;
    }
    50% { 
        width: 48px;
    }
}

.auth-header-mascot-hat {
    position: absolute;
    top: -32px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 50px;
    background: #000;
    border-radius: 50px 50px 0 0;
    z-index: 5;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
    animation: hatWiggleHeader 3s ease-in-out infinite;
}

@keyframes hatWiggleHeader {
    0%, 100% { transform: translateX(-50%) rotate(0deg); }
    25% { transform: translateX(-50%) rotate(-1deg); }
    75% { transform: translateX(-50%) rotate(1deg); }
}

.auth-header-mascot-hat::before {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 11px;
    background: #0bd776;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.auth-header-mascot-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: auto;
    max-height: 58px;
    z-index: 6;
    display: block;
    object-fit: contain;
    clip-path: inset(30% 30% 30% 30%);
}

.auth-logo h1 {
    font-size: 32px;
    color: #0bd776;
    margin-bottom: 8px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.auth-tagline {
    color: #666;
    font-size: 14px;
    font-style: italic;
    margin-top: 5px;
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    background: rgba(11, 215, 118, 0.1);
    padding: 5px;
    border-radius: 15px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-tab {
    flex: 1;
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-radius: 12px;
    color: #666;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.auth-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.auth-tab:hover::before {
    left: 100%;
}

.auth-tab:hover {
    color: #0bd776;
    transform: translateY(-2px);
}

.auth-tab.active {
    background: #0bd776;
    color: white;
    box-shadow: 0 4px 15px rgba(11, 215, 118, 0.4);
    transform: translateY(-2px);
}

/* Auth Forms */
.auth-forms {
    position: relative;
    min-height: 300px;
}

.auth-form {
    display: none;
    animation: fadeIn 0.4s ease both;
}

.auth-form.active {
    display: block;
    animation: slideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Form Floating Labels */
.form-floating {
    position: relative;
    margin-bottom: 25px;
    animation: fadeInUp 0.6s ease both;
}

.form-floating:nth-child(1) { animation-delay: 0.1s; }
.form-floating:nth-child(2) { animation-delay: 0.2s; }
.form-floating:nth-child(3) { animation-delay: 0.3s; }
.form-floating:nth-child(4) { animation-delay: 0.4s; }

.form-floating input {
    width: 100%;
    padding: 18px 50px 18px 50px;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    font-size: 16px;
    background: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.form-floating input:focus {
    border-color: #0bd776;
    box-shadow: 0 0 0 4px rgba(11, 215, 118, 0.1), 0 0 20px rgba(11, 215, 118, 0.3), 0 0 40px rgba(11, 215, 118, 0.1);
    transform: translateY(-2px) scale(1.01);
}

.form-floating input:focus + label,
.form-floating input:not(:placeholder-shown) + label {
    transform: translateY(-28px) scale(0.85);
    color: #0bd776;
    font-weight: 600;
}

.form-floating label {
    position: absolute;
    left: 50px;
    top: 18px;
    color: #999;
    font-size: 16px;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    padding: 0 8px;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: calc(50% - 2px);
    transform: translateY(-50%);
    font-size: 20px;
    pointer-events: none;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    line-height: 1;
}

.toggle-password {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.toggle-password:hover {
    opacity: 1;
}

/* Auth Options */
.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 14px;
}

.remember-me,
.terms-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #666;
}

.remember-me input,
.terms-checkbox input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #0bd776;
}

.forgot-password {
    color: #0bd776;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.forgot-password:hover {
    color: #08a85f;
    text-decoration: underline;
}

.auth-terms {
    margin-bottom: 25px;
}

.terms-checkbox span {
    font-size: 13px;
    line-height: 1.5;
}

.terms-checkbox a {
    color: #0bd776;
    text-decoration: none;
    font-weight: 600;
}

.terms-checkbox a:hover {
    text-decoration: underline;
}

/* Submit Button */
.auth-submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #0bd776 0%, #08a85f 100%);
    border: none;
    border-radius: 15px;
    color: white;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(11, 215, 118, 0.4);
    margin-bottom: 20px;
}

.auth-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.auth-submit-btn:hover::before {
    left: 100%;
}

.auth-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(11, 215, 118, 0.5);
    animation: buttonPulse 1s ease-in-out infinite;
}

.auth-submit-btn:active {
    transform: translateY(-1px);
}

.auth-submit-btn.loading {
    pointer-events: none;
}

.auth-submit-btn.loading .btn-text {
    opacity: 0;
}

.auth-submit-btn.loading .btn-loader {
    display: block;
}

.btn-loader {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Error Messages */
.auth-error {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 10px;
    padding: 12px;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 10px;
    border-left: 4px solid #e74c3c;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    display: none;
}

.auth-error.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* Success Animation */
.auth-success {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 10;
}

.auth-success.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.success-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: successPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

@keyframes successPop {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.auth-success h2 {
    color: #0bd776;
    font-size: 28px;
    margin-bottom: 10px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.auth-success p {
    color: #666;
    font-size: 16px;
    animation: fadeInUp 0.6s ease 0.5s both;
}

/* Responsive Design */
@media (max-width: 600px) {
    .auth-container {
        width: 95%;
        padding: 40px 30px;
        border-radius: 25px;
    }
    
    .auth-header-mascot-head {
        width: 60px;
        height: 60px;
    }
    
    .auth-header-mascot-hat {
        width: 55px;
        height: 28px;
        top: -17px;
    }
    
    .auth-header-mascot-hat::before {
        width: 65px;
        height: 6px;
    }
    
    .auth-header-mascot-eye {
        width: 18px;
        height: 22px;
        top: 28px;
    }
    
    .auth-header-mascot-eye-left {
        left: 22px;
    }
    
    .auth-header-mascot-eye-right {
        right: 22px;
    }
    
    .auth-header-mascot-pupil {
        width: 12px;
        height: 12px;
    }
    
    .auth-header-mascot-mouth {
        width: 35px;
        height: 18px;
        bottom: 14px;
    }
    
    .auth-header-mascot-logo {
        width: 70px;
        max-height: 45px;
        clip-path: inset(30% 30% 30% 30%);
    }
    
    .auth-logo h1 {
        font-size: 24px;
    }
    
    .form-floating input {
        padding: 16px 45px 16px 45px;
    }
    
    .auth-submit-btn {
        padding: 16px;
        font-size: 16px;
    }
}


/* ============================================
   AUTH SCREEN MASCOT - FUN ANIMATIONS
   (Side mascot removed - only header mascot remains)
   ============================================ */

/* Money Particle Animation */
@keyframes moneyFloat {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(-50px) translateX(10px) rotate(180deg) scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100px) translateX(-15px) rotate(360deg) scale(0.5);
        opacity: 0;
    }
}

/* Head Shake Animation for Errors */
@keyframes headShake {
    0%, 100% { transform: rotate(0deg); }
    10%, 30%, 50%, 70%, 90% { transform: rotate(-5deg); }
    20%, 40%, 60%, 80% { transform: rotate(5deg); }
}

/* Mascot Celebration Animation */
@keyframes mascotCelebrate {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(-10deg) scale(1.1); }
    50% { transform: rotate(10deg) scale(1.15); }
    75% { transform: rotate(-5deg) scale(1.1); }
}

/* Confetti Fall Animation */
@keyframes confettiFall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Mascot reacts to form validation */
.auth-form:valid .auth-header-mascot-head {
    animation: headBounceHeader 0.5s ease, headBounceHeader 4s ease-in-out infinite 0.5s;
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(11, 215, 118, 0.4);
    }
    50% {
        box-shadow: 0 6px 25px rgba(11, 215, 118, 0.6), 0 0 30px rgba(11, 215, 118, 0.3);
    }
}

/* Floating Background Symbols */
@keyframes floatUp {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(1);
        opacity: 0;
    }
    5% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100vh) translateX(0) rotate(360deg) scale(0.5);
        opacity: 0;
    }
}

.floating-symbol {
    user-select: none;
    will-change: transform;
}

/* God/Jesus Figure - Animated Human Figure */
.god-figure-container {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 80px;
    height: 140px;
    pointer-events: auto; /* Changed to auto so hover works */
    cursor: pointer;
    z-index: 4;
    animation: godFloat 4s ease-in-out infinite;
}

.god-figure-container:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
    z-index: 4;
    animation: godFloat 3s ease-in-out infinite;
    pointer-events: none;
}

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

/* Head */
.god-head {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: #ffdbac;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Crown */
.god-crown {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 25px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FFD700 100%);
    border-radius: 5px 5px 0 0;
    z-index: 5;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(255, 215, 0, 0.5);
    clip-path: polygon(
        0% 100%,
        15% 100%,
        18% 50%,
        20% 0%,
        30% 0%,
        32% 50%,
        50% 0%,
        68% 50%,
        70% 0%,
        80% 0%,
        82% 50%,
        85% 100%,
        100% 100%
    );
}

/* Center spike (tallest) */
.god-crown::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 15px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.7);
    z-index: 1;
}

/* Left spike */
.god-crown::after {
    content: '';
    position: absolute;
    top: -8px;
    left: 8px;
    width: 7px;
    height: 12px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
    z-index: 1;
}

/* Right spike */
.god-crown-spike-right {
    position: absolute;
    top: -8px;
    right: 8px;
    width: 7px;
    height: 12px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
    z-index: 1;
}

/* Beard - Gray */
.god-beard {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 30px;
    background: #808080;
    border-radius: 0 0 40px 40px;
    z-index: 1;
}

.god-beard::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 15px;
    background: #808080;
    border-radius: 0 0 35px 35px;
}

/* Eyes - Similar to Mister Money Man mascot */
.god-eye {
    position: absolute;
    width: 12px;
    height: 15px;
    background: white;
    border-radius: 50%;
    top: 12px;
    z-index: 3;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    animation: godBlink 4s infinite;
}

.god-eye-left {
    left: 10px;
}

.god-eye-right {
    right: 10px;
}

/* Pupil */
.god-pupil {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #000;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

@keyframes godBlink {
    0%, 90%, 100% { 
        height: 15px; 
    }
    92%, 98% { 
        height: 2px; 
    }
}

/* Body - White Robe */
.god-body {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 90px;
    background: #ffffff;
    border-radius: 30px 30px 0 0;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.god-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: #ffffff;
    border-radius: 50%;
}

/* Arms */
.god-arm {
    position: absolute;
    width: 12px;
    height: 50px;
    background: #ffdbac;
    border-radius: 6px;
    z-index: 2;
    top: 55px;
}

.god-arm-left {
    left: 5px;
    transform: rotate(-20deg);
    transform-origin: top center;
}

.god-arm-right {
    right: 5px;
    transform: rotate(20deg);
    transform-origin: top center;
}

@keyframes godStrikeHorizontal {
    0%, 100% {
        transform: rotate(20deg);
    }
    50% {
        transform: rotate(10deg) translateX(5px);
    }
}

/* Hand */
.god-hand {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: #ffdbac;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

/* Both hands use the same base styling */

.god-staff {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%) rotate(-10deg);
    transform-origin: bottom center;
    width: 6px;
    height: 50px;
    background: linear-gradient(to top, #8B4513 0%, #D2691E 50%, #FFD700 100%);
    border-radius: 3px;
    box-shadow: 
        0 0 10px rgba(255, 215, 0, 0.5),
        0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.god-staff::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, #FFD700 0%, #FFA500 50%, #FF4500 100%);
    border-radius: 50%;
    box-shadow: 
        0 0 15px rgba(255, 215, 0, 0.8),
        0 0 30px rgba(255, 69, 0, 0.6);
    animation: staffTipGlow 2s ease-in-out infinite;
}

@keyframes staffGlow {
    0%, 100% {
        box-shadow: 
            0 0 10px rgba(255, 215, 0, 0.5),
            0 2px 5px rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 
            0 0 25px rgba(255, 215, 0, 1),
            0 0 40px rgba(255, 69, 0, 0.8),
            0 2px 5px rgba(0, 0, 0, 0.3);
    }
}

@keyframes staffTipGlow {
    0%, 100% {
        box-shadow: 
            0 0 15px rgba(255, 215, 0, 0.8),
            0 0 30px rgba(255, 69, 0, 0.6);
        transform: translateX(-50%) scale(1);
    }
    50% {
        box-shadow: 
            0 0 25px rgba(255, 215, 0, 1),
            0 0 50px rgba(255, 69, 0, 0.9);
        transform: translateX(-50%) scale(1.1);
    }
}

/* Money Cloud - One Large Cloud in Blue Sky */
.cloud-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%; /* Cloud area in blue sky */
    z-index: 2;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.money-cloud {
    position: absolute;
    top: 20px;
    left: 200px; /* Space from left edge for lightning visibility */
    right: 0;
    width: calc(100% - 200px);
    height: 120px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 120px;
    animation: cloudFloat 4s ease-in-out infinite;
    box-shadow: 
        -150px 40px 0 -30px rgba(255, 255, 255, 0.8),
        150px 40px 0 -30px rgba(255, 255, 255, 0.8),
        -80px 60px 0 -20px rgba(255, 255, 255, 0.8),
        80px 60px 0 -20px rgba(255, 255, 255, 0.8),
        -200px 50px 0 -25px rgba(255, 255, 255, 0.7),
        200px 50px 0 -25px rgba(255, 255, 255, 0.7),
        0 -30px 0 -15px rgba(255, 255, 255, 0.8);
}

/* Cloud Quotes - Rotating Biblical Scriptures */
.cloud-quotes {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    max-width: 900px;
    z-index: 3;
    pointer-events: none;
}

.cloud-quote {
    display: none;
    text-align: center;
    color: #333;
    padding: 5px 15px;
}

.cloud-quote.active {
    display: block;
    animation: quoteFadeInCloud 0.4s ease-out;
}

@keyframes quoteFadeInCloud {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cloud-quote-text {
    font-size: 13px;
    line-height: 1.4;
    margin: 0 0 6px 0;
    font-style: italic;
    font-weight: 500;
    color: #1a1a1a;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    text-align: center;
    max-width: 100%;
}

.cloud-quote-ref {
    font-size: 12px;
    color: #0bd776;
    font-weight: bold;
    margin: 0 0 6px 0;
}

.cloud-quote-message {
    font-size: 12px;
    color: #555;
    margin: 6px 0 0 0;
    font-weight: 500;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    border-left: 3px solid #0bd776;
}

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

@keyframes cloudPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Lightning Bolt */
.lightning-bolt-segment {
    animation: lightningFlashHorizontal 0.4s ease-out;
}

@keyframes lightningFlashHorizontal {
    0% {
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    90% {
        opacity: 0.9;
    }
    100% {
        opacity: 0;
    }
}

/* Lightning SVG styling */
.lightning-container svg path,
svg path[stroke="#FFD700"] {
    stroke: #FFD700 !important;
    stroke-width: 5;
    filter: drop-shadow(0 0 10px #FFD700) drop-shadow(0 0 20px #FFA500);
}

/* Falling Symbols */
@keyframes fallDown {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translateY(100vh) translateX(0) rotate(720deg) scale(1);
        opacity: 0.9;
    }
}

.falling-symbol {
    user-select: none;
    will-change: transform;
    z-index: 3;
}

/* Money Pile at Bottom */
.money-pile {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Allow pile to grow as tall as needed */
    z-index: 5;
    pointer-events: none;
    overflow: visible;
}

.pile-item {
    user-select: none;
    will-change: transform;
    opacity: 1 !important;
    position: absolute;
    transform-origin: center center;
}

.falling-symbol {
    opacity: 1 !important;
    position: absolute;
    transform-origin: center center;
}

/* Reset Drama Animations */
@keyframes godMassiveStrike {
    0%, 100% { transform: rotate(20deg); }
    25% { transform: rotate(-10deg) scale(1.1); }
    50% { transform: rotate(0deg) scale(1.2); }
    75% { transform: rotate(-5deg) scale(1.1); }
}

@keyframes screenFlash {
    0% { opacity: 0; }
    5% { opacity: 0.9; }
    10% { opacity: 0.6; }
    15% { opacity: 0.9; }
    20% { opacity: 0.4; }
    25% { opacity: 0.8; }
    30% { opacity: 0.3; }
    35% { opacity: 0.7; }
    40% { opacity: 0.2; }
    45% { opacity: 0.6; }
    50% { opacity: 0.4; }
    55% { opacity: 0.8; }
    60% { opacity: 0.3; }
    65% { opacity: 0.7; }
    70% { opacity: 0.2; }
    75% { opacity: 0.5; }
    80% { opacity: 0.3; }
    85% { opacity: 0.6; }
    90% { opacity: 0.2; }
    95% { opacity: 0.4; }
    100% { opacity: 0; }
}

@keyframes fireboltFlash {
    0% {
        opacity: 0;
        transform: scale(0.5);
        filter: brightness(0.5);
    }
    20% {
        opacity: 1;
        transform: scale(1.2);
        filter: brightness(2);
    }
    50% {
        opacity: 1;
        transform: scale(1);
        filter: brightness(1.5);
    }
    80% {
        opacity: 0.8;
        transform: scale(0.9);
        filter: brightness(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.8);
        filter: brightness(0.3);
    }
}

@keyframes floorDropOut {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    25% {
        transform: translateY(100px);
        opacity: 0.7;
    }
    50% {
        transform: translateY(200px);
        opacity: 0.4;
    }
    75% {
        transform: translateY(350px);
        opacity: 0.2;
    }
    100% {
        transform: translateY(500px);
        opacity: 0;
    }
}

.massive-firebolt {
    filter: drop-shadow(0 0 20px #FF4500) drop-shadow(0 0 40px #FFD700);
}

.reset-flash-overlay {
    animation: screenFlash 1.5s ease-out;
}


@keyframes pileItemLand {
    0% {
        transform: translateX(calc(-50% + 0px)) translateY(0) rotate(0deg) scale(1.2);
        opacity: 0;
    }
    100% {
        transform: translateX(calc(-50% + 0px)) translateY(0) rotate(0deg) scale(1);
        opacity: 0.9;
    }
}

/* Password Strength Indicator */
.password-strength-bar {
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    margin-top: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.strength-fill {
    height: 100%;
    width: 0%;
    transition: width 0.3s ease, background 0.3s ease;
    border-radius: 2px;
    box-shadow: 0 0 10px currentColor;
}

.form-floating:has(input[type="password"]:focus) .password-strength-bar {
    height: 5px;
    box-shadow: 0 2px 8px rgba(11, 215, 118, 0.2);
}

/* Enhanced Tab Transitions */
.auth-tab {
    position: relative;
    overflow: hidden;
}

.auth-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.auth-tab:hover::before {
    left: 100%;
}

/* Enhanced Input Glow on Focus */
.form-floating input:focus {
    border-color: #0bd776;
    box-shadow: 0 0 0 4px rgba(11, 215, 118, 0.1), 0 0 20px rgba(11, 215, 118, 0.3), 0 0 40px rgba(11, 215, 118, 0.1);
    transform: translateY(-2px) scale(1.01);
}

/* Mascot Head Scale Animation */
.auth-header-mascot-head {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Success Checkmark Animation */
@keyframes checkmarkPop {
    0% {
        transform: scale(0) rotate(-45deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(-45deg);
    }
    100% {
        transform: scale(1) rotate(-45deg);
        opacity: 1;
    }
}

.success-checkmark {
    display: inline-block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #0bd776;
    position: relative;
    animation: checkmarkPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-checkmark::after {
    content: '';
    position: absolute;
    left: 18px;
    top: 28px;
    width: 12px;
    height: 24px;
    border: solid white;
    border-width: 0 4px 4px 0;
    transform: rotate(45deg);
}

