:root {
    --primary-color: #5D5FEF;
    --primary-light: #7B7EFF;
    --primary-dark: #4A4AD4;
    --secondary-color: #EF5DA8;
    --background: #F5F5FA;
    --foreground: #FFFFFF;
    --text-primary: #1A1A2E;
    --text-secondary: #78788C;
    --danger: #FF4D6D;
    --success: #22C58B;
    --warning: #FFCA41;
    --info: #60A5FA;
    --border-radius-lg: 1.25rem;
    --border-radius-md: 1rem;
    --border-radius-sm: 0.75rem;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 25px rgba(93, 95, 239, 0.07);
    --shadow-lg: 0 15px 35px rgba(93, 95, 239, 0.12);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-family: 'Vazirmatn FD', sans-serif;
}

* {
    font-family: var(--font-family);
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: transparent;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    color: var(--text-primary);
}

.app-container {
    width: 100%;
    max-width: 430px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 
        0 20px 50px rgba(93, 95, 239, 0.3),
        0 10px 30px rgba(0, 0, 0, 0.08),
        0 1px 2px rgba(0, 0, 0, 0.1);
    animation: waterDrop 1.5s cubic-bezier(0.6, 0.12, 0.1, 0.97) forwards;
    backdrop-filter: blur(10px);
    
    transform-origin: center top;
    will-change: transform, border-radius, opacity;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.5s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
    
    /* Add subtle border glow */
   
}

/* Subtle hover effect */
.app-container:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 
        0 25px 60px rgba(93, 95, 239, 0.35),
        0 15px 40px rgba(0, 0, 0, 0.1),
        0 1px 2px rgba(0, 0, 0, 0.1);
}

@keyframes waterDrop {
    0% {
        opacity: 0;
        transform: translateY(-100vh) scale(0.2);
        border-radius: 50%;
        height: 0;
    }
    40% {
        opacity: 0.7;
        transform: translateY(0) scale(0.3, 0.5);
        border-radius: 45% 45% 45% 45% / 50% 50% 35% 35%;
    }
    50% {
        transform: translateY(15px) scale(0.4, 0.7);
        border-radius: 40% 40% 25% 25% / 35% 35% 20% 20%;
    }
    60% {
        transform: translateY(-10px) scale(0.7, 0.6);
        border-radius: 35% 35% 30% 30% / 30% 30% 25% 25%;
    }
    70% {
        transform: translateY(5px) scale(0.9, 1.1);
        border-radius: 25% 25% 20% 20% / 20% 20% 15% 15%;
    }
    80% {
        transform: translateY(-2px) scale(1, 0.95);
        border-radius: var(--border-radius-lg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        border-radius: var(--border-radius-lg);
    }
}

.login-container {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Glassmorphism effect for header */
.app-header {
    background: linear-gradient(135deg, rgba(93, 95, 239, 0.95) 0%, rgba(74, 74, 212, 0.95) 100%);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 3px 20px rgba(93, 95, 239, 0.2);
}

/* Enhanced header with glassmorphism effect */
.app-header {
    background: linear-gradient(135deg, rgba(93, 95, 239, 0.95) 0%, rgba(74, 74, 212, 0.95) 100%);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 3px 20px rgba(93, 95, 239, 0.2);
}

/* Add subtle shimmer effect to header */
.app-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: skewX(-25deg);
    animation: shimmer 8s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    20%, 100% {
        left: 200%;
    }
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.app-logo {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.app-title {
    color: white;
    flex: 1;
}

.header-content {
    position: relative;
    height: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header-content h1 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    transition: opacity 0.3s ease;
}

.header-content p {
    font-size: 0.85rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    line-height: 1.2;
}

.app-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.app-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

/* Screens */
.screen {
    display: none;
    padding: 1rem 1.5rem 2rem;
    animation: fadeInUp 0.4s forwards;
    overflow-y: auto;
    flex: 1;
}

.screen.active {
    display: block;
    background: white;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.screen-body {
    padding: 0.5rem 0.5rem;
}

.step-title {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.step-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* Form Controls */
.input-group {
    position: relative;
    margin: 1.8rem 0;
}

.mobile-input {
    margin-top: 1rem;
}

.input-group input {
    width: 100%;
  padding: 1.1rem;

  padding-left: 4.5rem;
  background: #FAFAFA;
  border: 1px solid #E0E0F2;
  border-radius: var(--border-radius-md);
  font-size: 1rem;
  transition: var(--transition);
  text-align: left;
  direction: ltr;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  padding-right: 2.5rem;
}

.input-group input::placeholder {
    direction: rtl;
    text-align: right;
    color: var(--text-secondary);
}

.input-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(93, 95, 239, 0.1);
    outline: none;
}

.input-group .prefix {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    background: rgba(93, 95, 239, 0.05);
    padding: 0.4rem 0.8rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
}

.input-group .icon {
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Buttons */
.btn {
    width: 100%;
    padding: 1.1rem;
    border: none;
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.primary-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.secondary-btn {
    background: rgba(93, 95, 239, 0.1);
    color: var(--primary-color);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(0);
}

.btn::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 100%;
    top: 0;
    left: -100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: skewX(-20deg);
    transition: 0.6s;
}

.btn:hover::after {
    left: 100%;
}

/* Loading state */
.btn.loading .btn-text {
    opacity: 0;
}

.btn.loading .loader {
    opacity: 1;
}

.btn.loading i {
    opacity: 0;
}

.loader {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

.spinner {
    width: 1.5rem;
    height: 1.5rem;
    border: 3px solid transparent;
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.secondary-btn .spinner {
    border-top-color: var(--primary-color);
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Verification screen */
.verification-message {
    background: rgba(93, 95, 239, 0.05);
    border-right: 3px solid var(--primary-color);
    padding: 1rem 1.2rem;
    border-radius: var(--border-radius-md);
    margin: 1.5rem 0;
    font-size: 0.9rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.verification-message .mobile-number {
    font-weight: bold;
    color: var(--primary-color);
    direction: ltr;
    display: inline-block;
}

.change-number {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.change-number:hover {
    transform: translateX(-3px);
}

.change-number i {
    font-size: 0.8rem;
}

.code-inputs {
    direction: ltr !important;
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin: 1.8rem 0;
}

.code-inputs input {
    width: 3rem;
    height: 3.5rem;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    border: 1.5px solid #E0E0F2;
    border-radius: var(--border-radius-sm);
    background: white;
    transition: var(--transition);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.code-inputs input:disabled {
    background-color: #F5F5FA;
    border-color: #E0E0F2;
    color: #BBBBCC;
    cursor: not-allowed;
    opacity: 0.8;
    box-shadow: none;
}

.code-inputs input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(93, 95, 239, 0.1);
    outline: none;
}

.code-inputs input.error {
    border-color: var(--danger);
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
}

@keyframes shake {
    10%, 90% {
        transform: translate3d(-1px, 0, 0);
    }
    
    20%, 80% {
        transform: translate3d(2px, 0, 0);
    }
    
    30%, 50%, 70% {
        transform: translate3d(-4px, 0, 0);
    }
    
    40%, 60% {
        transform: translate3d(4px, 0, 0);
    }
}

.timer-container {
    text-align: center;
    margin: 1.8rem 0;
}

.timer-button {
    background: rgba(93, 95, 239, 0.05);
    color: var(--text-primary);
    border-radius: var(--border-radius-md);
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 0 auto;
    transition: var(--transition);
    cursor: default;
}

.timer-button i {
    font-size: 1rem;
    color: var(--primary-color);
}

.timer {
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: var(--border-radius-sm);
    font-weight: bold;
}

#resend-button {
    display: none;
    margin: 0 auto;
}

/* Footer */
.app-footer {
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.app-indicator {
    display: flex;
    gap: 0.5rem;
}

.indicator {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #E0E0F2;
    transition: var(--transition);
}

.indicator.active {
    background: var(--primary-color);
    width: 1.5rem;
    border-radius: 1rem;
}

/* Divider */
.divider {
    width: 100%;
    height: 1px;
    background: #E0E0F2;
    margin: 1.8rem 0;
    position: relative;
}

.divider span {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 0 1rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Social Login */
.social-login {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: white;
    border: 1px solid #E0E0F2;
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.social-btn:nth-child(1):hover {
    color: #DB4437;
    border-color: #DB4437;
}

.social-btn:nth-child(2):hover {
    color: #0088cc;
    border-color: #0088cc;
}

.social-btn:nth-child(3):hover {
    color: #0077B5;
    border-color: #0077B5;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transform: none;
}

.toast {
    min-width: 280px;
    padding: 1rem 1.2rem;
    border-radius: var(--border-radius-md);
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    animation: slideToastLeft 0.3s forwards;
    transform: translateX(-120%);
    position: relative;
    overflow: hidden;
}

.toast.error {
    border-left: 4px solid var(--danger);
}

.toast.success {
    border-left: 4px solid var(--success);
}

.toast.info {
    border-left: 4px solid var(--info);
}

.toast.warning {
    border-left: 4px solid var(--warning);
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    background: rgba(0, 0, 0, 0.1);
}

.toast-progress-bar {
    height: 100%;
    width: 100%;
    transition: width linear;
    transform-origin: left;
    will-change: width;
}

.toast.error .toast-progress-bar {
    background: var(--danger);
}

.toast.success .toast-progress-bar {
    background: var(--success);
}

.toast.info .toast-progress-bar {
    background: var(--info);
}

.toast.warning .toast-progress-bar {
    background: var(--warning);
}

.toast-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
}

.toast.error .toast-icon {
    background: var(--danger);
}

.toast.success .toast-icon {
    background: var(--success);
}

.toast.info .toast-icon {
    background: var(--info);
}

.toast.warning .toast-icon {
    background: var(--warning);
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.toast-message {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.toast.exit {
    animation: slideToastOutLeft 0.3s forwards;
}

@keyframes slideToastLeft {
    from { transform: translateX(-120%); }
    to { transform: translateX(0); }
}

@keyframes slideToastOutLeft {
    from { transform: translateX(0); }
    to { transform: translateX(-120%); }
}

/* Responsive design */
@media (max-width: 480px) {
    .app-container {
        height: auto;
        min-height: auto;
        max-height: none;
        border-radius: var(--border-radius-lg);
        box-shadow: 
            0 10px 30px rgba(93, 95, 239, 0.25),
            0 5px 15px rgba(0, 0, 0, 0.05);
        margin: 1rem;
        animation: none;
        transform: none !important;
    }
    
    .login-container {
        height: auto;
        display: flex;
        flex-direction: column;
        min-height: auto;
    }
    
    body {
        padding: 1rem;
        min-height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .screen {
        padding: 0.8rem 1rem 1.5rem;
        flex: none;
        overflow-y: visible;
    }
    
    .screen-body {
        padding: 0.3rem 0.3rem;
    }
    
    /* Simplify animations on mobile to improve performance */
    .animated-background::before {
        animation: none;
    }
    
    .floating-shapes, .particles, .wave-container, 
    .stars-container, .accent, .bubble, .light-beam {
        display: none;
    }
    
    .pulse-ring {
        animation: none;
    }
    
    /* Improve spacing for mobile */
    .input-group, .verification-message, .code-inputs, .timer-container, .terms-container {
        margin: 1.2rem 0;
    }
    
    /* Modal adjustments for mobile */
    .modal-content {
        width: 95%;
        max-height: 80vh;
    }
    
    .modal-body {
        max-height: 55vh;
    }
    
    /* Toast adjustments for mobile */
    .toast-container {
        bottom: auto;
        top: 1rem;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: column-reverse;
    }
    
    .toast {
        min-width: 260px;
        width: 95vw;
        max-width: 320px;
        animation: slideToastTop 0.3s forwards;
        transform: translateY(-120%);
    }
    
    .toast.exit {
        animation: slideToastOutTop 0.3s forwards;
    }
    
    @keyframes slideToastTop {
        from { transform: translateY(-120%); }
        to { transform: translateY(0); }
    }
    
    @keyframes slideToastOutTop {
        from { transform: translateY(0); }
        to { transform: translateY(-120%); }
    }
}

/* Page Loader Animation */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #F4F6FC 0%, #E8E9FD 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    position: relative;
}

.circle-loader {
    width: 120px;
    height: 120px;
    position: relative;
    perspective: 120px;
    transform-style: preserve-3d;
    animation: float 6s ease-in-out infinite;
}

/* Center nucleus */
.nucleus {
    position: absolute;
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px rgba(93, 95, 239, 0.6);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.nucleus i {
    animation: pulse 2s ease-in-out infinite;
}

/* Orbits */
.orbit {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px dashed rgba(93, 95, 239, 0.3);
    border-radius: 50%;
    animation: rotate-orbit 10s linear infinite;
}

.orbit:nth-child(1) {
    transform: rotateY(70deg) rotateX(10deg);
}

.orbit:nth-child(2) {
    transform: rotateY(30deg) rotateX(60deg);
    width: 90%;
    height: 90%;
    top: 5%;
    left: 5%;
    animation-duration: 8s;
    animation-direction: reverse;
}

.orbit:nth-child(3) {
    transform: rotateY(120deg) rotateX(30deg);
    width: 75%;
    height: 75%;
    top: 12.5%;
    left: 12.5%;
    animation-duration: 12s;
}

.orbit:nth-child(4) {
    transform: rotateY(150deg) rotateX(80deg);
    width: 105%;
    height: 105%;
    top: -2.5%;
    left: -2.5%;
    animation-duration: 15s;
    animation-direction: reverse;
}

@keyframes rotate-orbit {
    0% { transform: rotateZ(0deg); }
    100% { transform: rotateZ(360deg); }
}

/* Education icons */
.edu-icon {
    position: absolute;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 0.9rem;
    box-shadow: 0 0 10px rgba(93, 95, 239, 0.3);
    z-index: 1;
}

.orbit:nth-child(1) .edu-icon {
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%);
}

.orbit:nth-child(2) .edu-icon {
    right: 0;
    top: 50%;
    transform: translate(50%, -50%);
}

.orbit:nth-child(3) .edu-icon {
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 50%);
}

.orbit:nth-child(4) .edu-icon {
    left: 0;
    top: 50%;
    transform: translate(-50%, -50%);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-5px) rotate(-3deg); }
    50% { transform: translateY(0) rotate(0deg); }
    75% { transform: translateY(5px) rotate(3deg); }
}

.loading-text {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(93, 95, 239, 0.2);
}

.loading-text:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
    animation: bar-pulse 2s ease-in-out infinite;
}

@keyframes bar-pulse {
    0%, 100% { opacity: 0.3; transform: scaleX(0.8); }
    50% { opacity: 1; transform: scaleX(1); }
}

/* Animated Headers */
.rotating-headers {
    position: relative;
    height: 5rem;
    overflow: hidden;
}

.header-item {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    pointer-events: none;
}

.header-item.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.header-item h1 {
    margin-bottom: 0.25rem;
    font-size: 1.2rem;
    animation: fadeInText 0.5s forwards;
    opacity: 0;
}

.header-item p {
    animation: fadeInText 0.5s 0.2s forwards;
    opacity: 0;
    font-size: 0.85rem;
}

@keyframes fadeInText {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.header-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* انیمیشن ظاهر شدن مانند قطره آب */
@keyframes dropIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -80%) scale(0.5);
        filter: blur(10px);
    }
    40% {
        opacity: 0.4;
        transform: translate(-50%, -30%) scale(1.2);
        filter: blur(5px);
    }
    70% {
        opacity: 0.7;
        transform: translate(-50%, -55%) scale(0.9);
        filter: blur(0px);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* انیمیشن محو شدن مانند بخار */
@keyframes evaporate {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
        filter: blur(0px);
    }
    30% {
        opacity: 0.8;
        transform: translate(-50%, -55%) scale(0.9);
        filter: blur(2px);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -80%) scale(0.5);
        filter: blur(15px);
    }
}

.header-icon.drop-in {
    animation: dropIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.header-icon.evaporate {
    animation: evaporate 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* افکت پاشیدن قطرات */
.app-logo::before,
.app-logo::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
}

.app-logo::before {
    width: 10px;
    height: 10px;
    right: -5px;
    bottom: 0;
}

.app-logo::after {
    width: 8px;
    height: 8px;
    left: -2px;
    bottom: 5px;
}

.app-logo.splash::before {
    animation: splash 0.6s 0.2s ease-out forwards;
}

.app-logo.splash::after {
    animation: splash 0.6s 0.3s ease-out forwards;
}

@keyframes splash {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        opacity: 0.7;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* استایل‌های قدیمی را پنهان می‌کنیم */
.rotating-headers {
    display: none !important;
}
.header-item {
    display: none !important;
}
.header-item.active {
    display: none !important;
}

/* افکت‌های پس‌زمینه مدرن و خلاقانه */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(ellipse at top left, #e3ebff 0%, #f0f5ff 50%);
}

.animated-background::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(ellipse at 25% 25%, rgba(93, 95, 239, 0.1) 0%, rgba(93, 95, 239, 0) 70%),
        radial-gradient(ellipse at 75% 75%, rgba(239, 93, 168, 0.12) 0%, rgba(239, 93, 168, 0) 70%),
        radial-gradient(ellipse at 85% 15%, rgba(34, 197, 139, 0.1) 0%, rgba(34, 197, 139, 0) 70%);
    animation: gradient-shift 20s infinite alternate ease-in-out;
    opacity: 1;
}

@keyframes gradient-shift {
    0% {
        transform: rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(1deg) scale(1.02);
    }
    50% {
        transform: rotate(-1deg) scale(1.04);
    }
    75% {
        transform: rotate(2deg) scale(1.02);
    }
    100% {
        transform: rotate(-2deg) scale(1);
    }
}

/* Updated floating shapes for a more modern look */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.shape {
    position: absolute;
    opacity: 0.7;
    filter: blur(25px);
    animation: float-shape 25s infinite ease-in-out;
}

.shape:nth-child(1) {
    width: 350px;
    height: 350px;
    top: -120px;
    right: -100px;
    animation-duration: 30s;
    background: radial-gradient(circle at 30% 30%, rgba(93, 95, 239, 0.6) 0%, rgba(123, 126, 255, 0) 70%);
}

.shape:nth-child(2) {
    width: 280px;
    height: 280px;
    bottom: -100px;
    left: 10%;
    animation-delay: -8s;
    animation-duration: 25s;
    background: radial-gradient(circle at 70% 30%, rgba(239, 93, 168, 0.5) 0%, rgba(239, 93, 168, 0) 70%);
}

.shape:nth-child(3) {
    width: 320px;
    height: 320px;
    top: 20%;
    left: -120px;
    animation-delay: -15s;
    animation-duration: 28s;
    background: radial-gradient(circle at 30% 70%, rgba(34, 197, 139, 0.5) 0%, rgba(34, 197, 139, 0) 70%);
}

.shape:nth-child(4) {
    width: 250px;
    height: 250px;
    bottom: 20%;
    right: -80px;
    animation-delay: -5s;
    animation-duration: 22s;
    background: radial-gradient(circle at 70% 70%, rgba(255, 202, 65, 0.5) 0%, rgba(255, 202, 65, 0) 70%);
}

@keyframes float-shape {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    20% {
        transform: translate(-3%, 3%) rotate(2deg) scale(1.05);
    }
    40% {
        transform: translate(3%, 6%) rotate(4deg) scale(1.1);
    }
    60% {
        transform: translate(5%, -3%) rotate(2deg) scale(1.05);
    }
    80% {
        transform: translate(-2%, -5%) rotate(-2deg) scale(0.95);
    }
    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
}

/* Enhanced particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    opacity: 0.9;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.3);
    animation: particle-animation 15s linear infinite;
}

.particle::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    transform: scale(6);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    filter: blur(10px);
}

.particle:nth-child(1) {
    top: 20%;
    left: 15%;
    animation-duration: 20s;
    animation-delay: 0s;
    width: 7px;
    height: 7px;
}

.particle:nth-child(2) {
    top: 70%;
    left: 45%;
    animation-duration: 25s;
    animation-delay: 2s;
    width: 8px;
    height: 8px;
}

.particle:nth-child(3) {
    top: 30%;
    left: 80%;
    animation-duration: 30s;
    animation-delay: 6s;
    width: 6px;
    height: 6px;
}

.particle:nth-child(4) {
    top: 80%;
    left: 20%;
    animation-duration: 22s;
    animation-delay: 4s;
    width: 9px;
    height: 9px;
}

.particle:nth-child(5) {
    top: 45%;
    left: 60%;
    animation-duration: 28s;
    animation-delay: 8s;
    width: 7px;
    height: 7px;
}

.particle:nth-child(6) {
    top: 15%;
    left: 50%;
    animation-duration: 18s;
    animation-delay: 10s;
    width: 8px;
    height: 8px;
}

@keyframes particle-animation {
    0% {
        transform: scale(0) translate3d(0, 0, 0);
        opacity: 0;
    }
    10% {
        transform: scale(1) translate3d(-30px, 30px, 0);
        opacity: 0.8;
    }
    30% {
        transform: scale(1.5) translate3d(-60px, 60px, 0);
        opacity: 0.6;
    }
    50% {
        transform: scale(1) translate3d(-90px, 90px, 0);
        opacity: 0.4;
    }
    70% {
        transform: scale(0.5) translate3d(-120px, 120px, 0);
        opacity: 0.2;
    }
    100% {
        transform: scale(0) translate3d(-150px, 150px, 0);
        opacity: 0;
    }
}

/* Add subtle wave effect */
.wave-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.wave {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    opacity: 0.5;
    background: transparent;
}

.wave::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 45%;
    background: transparent;
    border: 20px solid rgba(93, 95, 239, 0.1);
    animation: wave 20s linear infinite;
}

.wave:nth-child(1)::before {
    border-color: rgba(93, 95, 239, 0.12);
    animation-duration: 20s;
}

.wave:nth-child(2)::before {
    border-color: rgba(239, 93, 168, 0.1);
    animation-duration: 25s;
    animation-delay: -5s;
}

.wave:nth-child(3)::before {
    border-color: rgba(34, 197, 139, 0.1);
    animation-duration: 30s;
    animation-delay: -8s;
}

@keyframes wave {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Add subtle mesh grid */
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(93, 95, 239, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(93, 95, 239, 0.06) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -1;
    opacity: 0.7;
    animation: grid-pulse 10s infinite alternate ease-in-out;
}

@keyframes grid-pulse {
    0% {
        opacity: 0.5;
        background-size: 30px 30px;
    }
    100% {
        opacity: 0.7;
        background-size: 32px 32px;
    }
}

/* استایل پیام راهنما */
.info-message {
    background: linear-gradient(to right, rgba(93, 95, 239, 0.05) 0%, rgba(93, 95, 239, 0.1) 100%);
    border-radius: var(--border-radius-md);
    padding: 1.2rem;
    margin-bottom: 1.8rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    backdrop-filter: blur(5px);
    border-right: 3px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(93, 95, 239, 0.1);
    animation: slideInUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    position: relative;
    box-shadow: 0 4px 15px rgba(93, 95, 239, 0.3);
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    opacity: 0;
    animation: pulse-ring 3s cubic-bezier(0.22, 0.61, 0.36, 1) infinite;
}

@keyframes pulse-ring {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }
    70% {
        opacity: 0;
        transform: scale(1.3);
    }
    100% {
        opacity: 0;
        transform: scale(1.3);
    }
}

.info-content {
    flex: 1;
}

.info-content h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

.info-content h2::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color) 0%, transparent 100%);
    bottom: -2px;
    left: 0;
    transform: scaleX(0);
    transform-origin: right;
    animation: line-anim 0.6s 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes line-anim {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

.info-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
    animation: fadeIn 0.6s 0.5s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Terms and Conditions Checkbox */
.terms-container {
    margin: 1.5rem 0;
    animation: fadeIn 0.6s ease-out forwards;
}

.terms-checkbox {
    display: flex;
    align-items: center;
    position: relative;
    padding-right: 35px;
    cursor: pointer;
    user-select: none;
}

.terms-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    right: 0;
    top: 0;
    height: 24px;
    width: 24px;
    background-color: #f5f5f7;
    border: 2px solid var(--primary-light);
    border-radius: 6px;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(93, 95, 239, 0.1);
}

.terms-checkbox:hover .checkmark {
    background-color: #eef1ff;
    transform: scale(1.05);
}

.terms-checkbox input:checked ~ .checkmark {
    background-color: var(--primary-light);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.terms-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.terms-checkbox .checkmark:after {
    left: 6.5px;
    top: 2.3px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.terms-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.terms-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: all 0.3s;
}

.terms-text a:hover {
    color: var(--primary-dark);
}

.terms-text a:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-light);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.terms-text a:hover:after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    animation: modalFadeIn 0.4s forwards;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--foreground);
    width: 90%;
    max-width: 500px;
    max-height: 85vh;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: translateY(30px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: modalSlideUp 0.5s forwards 0.1s;
}

@keyframes modalSlideUp {
    from {
        transform: translateY(30px);
    }
    to {
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.modal-header h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.1);
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    max-height: 60vh;
}

.terms-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.terms-icon i {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.7;
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.terms-text h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.terms-text > p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.terms-section {
    background: #f8f9ff;
    border-radius: var(--border-radius-md);
    padding: 1rem;
    margin-bottom: 1rem;
    border-right: 3px solid var(--primary-light);
    transition: all 0.3s;
}

.terms-section:hover {
    background: #f1f3ff;
    transform: translateX(-5px);
    box-shadow: var(--shadow-sm);
}

.terms-section h4 {
    color: var(--primary-dark);
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.terms-section h4 i {
    margin-left: 8px;
    font-size: 0.9rem;
}

.terms-section p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.modal-footer {
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.modal-footer .btn {
    min-width: 150px;
}

/* Add glowing stars */
.stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    filter: blur(1px);
    opacity: 0;
    animation: twinkle 5s infinite ease-in-out;
}

.star::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scale(4);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    filter: blur(4px);
}

.star:nth-child(1) {
    width: 3px;
    height: 3px;
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.star:nth-child(2) {
    width: 2px;
    height: 2px;
    top: 25%;
    left: 85%;
    animation-delay: 1s;
}

.star:nth-child(3) {
    width: 4px;
    height: 4px;
    top: 65%;
    left: 20%;
    animation-delay: 2s;
}

.star:nth-child(4) {
    width: 3px;
    height: 3px;
    top: 80%;
    left: 80%;
    animation-delay: 3s;
}

.star:nth-child(5) {
    width: 2px;
    height: 2px;
    top: 10%;
    left: 30%;
    animation-delay: 4s;
}

.star:nth-child(6) {
    width: 3px;
    height: 3px;
    top: 35%;
    left: 70%;
    animation-delay: 1.5s;
}

.star:nth-child(7) {
    width: 4px;
    height: 4px;
    top: 70%;
    left: 40%;
    animation-delay: 2.5s;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.2);
    }
}

/* Add decorative accents */
.accent {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
    filter: blur(30px);
    z-index: -1;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-color));
    animation: accent-pulse 10s infinite alternate ease-in-out;
}

.accent:nth-child(1) {
    width: 150px;
    height: 150px;
    top: 15%;
    right: 15%;
    transform: rotate(45deg);
    animation-delay: 0s;
}

.accent:nth-child(2) {
    width: 120px;
    height: 120px;
    bottom: 20%;
    left: 20%;
    background: linear-gradient(135deg, var(--secondary-color), var(--success));
    transform: rotate(15deg);
    animation-delay: 2s;
}

@keyframes accent-pulse {
    0% {
        opacity: 0.2;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 0.3;
        transform: scale(1.1) rotate(10deg);
    }
    100% {
        opacity: 0.2;
        transform: scale(0.9) rotate(20deg);
    }
}

/* Add floating bubbles */
.bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    animation: bubble-float 15s infinite ease-in-out;
    opacity: 0.7;
}

.bubble:nth-child(1) {
    width: 40px;
    height: 40px;
    top: 25%;
    right: 10%;
    animation-delay: 0s;
}

.bubble:nth-child(2) {
    width: 25px;
    height: 25px;
    top: 60%;
    right: 25%;
    animation-delay: 3s;
}

.bubble:nth-child(3) {
    width: 30px;
    height: 30px;
    top: 40%;
    left: 15%;
    animation-delay: 1.5s;
}

.bubble:nth-child(4) {
    width: 20px;
    height: 20px;
    bottom: 30%;
    left: 35%;
    animation-delay: 4.5s;
}

@keyframes bubble-float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-15px) translateX(10px);
    }
    50% {
        transform: translateY(0) translateX(20px);
    }
    75% {
        transform: translateY(15px) translateX(10px);
    }
}

/* Add light beams */
.light-beam {
    position: absolute;
    width: 300px;
    height: 30px;
    background: linear-gradient(90deg, 
        rgba(93, 95, 239, 0) 0%, 
        rgba(93, 95, 239, 0.1) 50%, 
        rgba(93, 95, 239, 0) 100%);
    transform-origin: left center;
    opacity: 0;
    animation: beam-fade 8s infinite;
    border-radius: 15px;
    z-index: -1;
    filter: blur(5px);
}

.light-beam:nth-child(1) {
    top: 20%;
    left: 0;
    transform: rotate(25deg);
    animation-delay: 0s;
}

.light-beam:nth-child(2) {
    top: 60%;
    right: 0;
    transform-origin: right center;
    transform: rotate(-15deg);
    background: linear-gradient(90deg, 
        rgba(239, 93, 168, 0) 0%, 
        rgba(239, 93, 168, 0.1) 50%, 
        rgba(239, 93, 168, 0) 100%);
    animation-delay: 4s;
}

@keyframes beam-fade {
    0%, 100% {
        opacity: 0;
        width: 100px;
    }
    50% {
        opacity: 0.8;
        width: 300px;
    }
}

/* Add shimmering effect to the login container */
.app-container {
    position: relative;
}

.app-container::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, 
        rgba(93, 95, 239, 0.2) 0%, 
        rgba(239, 93, 168, 0.2) 25%, 
        rgba(93, 95, 239, 0.2) 50%, 
        rgba(34, 197, 139, 0.2) 75%, 
        rgba(93, 95, 239, 0.2) 100%);
    border-radius: calc(var(--border-radius-lg) + 10px);
    z-index: -1;
    filter: blur(15px);
    opacity: 0.7;
    background-size: 400% 400%;
    animation: shimmer-bg 10s infinite linear;
}

@keyframes shimmer-bg {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
} 