

.dashboard-welcome-banner {
    position: relative;
    width: 100%;
    height: 240px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    margin-bottom: 1rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-animation-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
}


.welcome-grid-animation {
    position: absolute;
    width: 100%;
    height: 100%;
}

.welcome-grid-animation .grid-line {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    animation: welcomeGridPulse 3s ease-in-out infinite;
}

.welcome-grid-animation .grid-line.horizontal {
    width: 100%;
    height: 1px;
    left: 0;
}

.welcome-grid-animation .grid-line.vertical {
    width: 1px;
    height: 100%;
    top: 0;
}

.welcome-grid-animation .grid-line:nth-child(1) { animation-delay: 0s; }
.welcome-grid-animation .grid-line:nth-child(2) { animation-delay: 0.4s; }
.welcome-grid-animation .grid-line:nth-child(3) { animation-delay: 0.8s; }
.welcome-grid-animation .grid-line:nth-child(4) { animation-delay: 1.2s; }
.welcome-grid-animation .grid-line:nth-child(5) { animation-delay: 1.6s; }
.welcome-grid-animation .grid-line:nth-child(6) { animation-delay: 2s; }

@keyframes welcomeGridPulse {
    0%, 100% { 
        opacity: 0.1;
        box-shadow: 0 0 0 rgba(255, 255, 255, 0);
    }
    50% { 
        opacity: 0.3;
        box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
    }
}


.welcome-floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.float-element {
    position: absolute;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
    animation: welcomeFloatElement 5s ease-in-out infinite;
}

.float-element:nth-child(1) { animation-delay: 0s; }
.float-element:nth-child(2) { animation-delay: 1.2s; }
.float-element:nth-child(3) { animation-delay: 2.4s; }
.float-element:nth-child(4) { animation-delay: 3.6s; }

@keyframes welcomeFloatElement {
    0%, 100% { 
        transform: translateY(0) rotate(0deg);
        opacity: 0.4;
    }
    25% { 
        transform: translateY(-15px) rotate(3deg);
        opacity: 0.7;
    }
    50% { 
        transform: translateY(-8px) rotate(-3deg);
        opacity: 0.9;
    }
    75% { 
        transform: translateY(-12px) rotate(2deg);
        opacity: 0.7;
    }
}


.welcome-pulse-circle {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: welcomePulseExpand 3s ease-out infinite;
}

.welcome-pulse-circle:nth-child(2) {
    animation-delay: 1.5s;
}

@keyframes welcomePulseExpand {
    0% {
        width: 60px;
        height: 60px;
        opacity: 0.8;
    }
    100% {
        width: 180px;
        height: 180px;
        opacity: 0;
    }
}


.welcome-scan-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
    animation: welcomeScanMove 4s ease-in-out infinite;
}

@keyframes welcomeScanMove {
    0%, 100% { 
        top: 0;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% { 
        top: 100%;
        opacity: 0;
    }
}


.welcome-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.welcome-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
    letter-spacing: -0.5px;
    animation: welcomeFadeIn 1s ease both;
    text-shadow: 0 2px 20px rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-height: 3rem;
}

.typing-text {
    display: inline-block;
    min-width: 20px;
}

.typing-cursor {
    display: inline-block;
    color: rgba(255, 255, 255, 0.8);
    animation: cursorBlink 1s infinite;
    font-weight: 300;
}

@keyframes cursorBlink {
    0%, 49% {
        opacity: 1;
    }
    50%, 100% {
        opacity: 0;
    }
}

@keyframes welcomeFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (max-width: 968px) {
    .dashboard-welcome-banner {
        height: 200px;
        margin-bottom: 1.5rem;
    }
    
    .welcome-title {
        font-size: 1.85rem;
        min-height: 2.25rem;
    }
    
    .float-element {
        width: 38px;
        height: 38px;
        font-size: 1.15rem;
    }
}

@media (max-width: 768px) {
    .dashboard-welcome-banner {
        height: 180px;
        border-radius: 16px;
        margin-bottom: 1.25rem;
    }
    
    .welcome-title {
        font-size: 1.65rem;
        min-height: 2rem;
    }
    
    .typing-cursor {
        font-size: 1.65rem;
    }
    
    .float-element {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

@media (max-width: 640px) {
    .dashboard-welcome-banner {
        height: 160px;
        border-radius: 14px;
        margin-bottom: 1rem;
    }
    
    .welcome-title {
        font-size: 1.5rem;
        min-height: 1.85rem;
        padding: 0 1rem;
    }
    
    .typing-cursor {
        font-size: 1.5rem;
    }
    
    .float-element {
        width: 32px;
        height: 32px;
        font-size: 0.95rem;
    }
    
    .welcome-grid-animation .grid-line {
        opacity: 0.5;
    }
}

@media (max-width: 480px) {
    .dashboard-welcome-banner {
        height: 140px;
        border-radius: 12px;
        margin-bottom: 0.85rem;
    }
    
    .welcome-title {
        font-size: 1.3rem;
        min-height: 1.65rem;
        padding: 0 0.75rem;
    }
    
    .typing-cursor {
        font-size: 1.3rem;
    }
    
    .float-element {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
        display: none;
    }
    
    .float-element:nth-child(1),
    .float-element:nth-child(2) {
        display: flex;
    }
    
    .welcome-pulse-circle {
        display: none;
    }
}

@media (max-width: 380px) {
    .dashboard-welcome-banner {
        height: 120px;
    }
    
    .welcome-title {
        font-size: 1.15rem;
        min-height: 1.5rem;
    }
    
    .typing-cursor {
        font-size: 1.15rem;
    }
    
    .float-element {
        display: none;
    }
}


@media (prefers-reduced-motion: reduce) {
    .welcome-grid-animation .grid-line,
    .float-element,
    .welcome-pulse-circle,
    .welcome-scan-line,
    .welcome-title {
        animation: none !important;
    }
}
