/* ============================================================
   Banner - 图片背景 + 雨滴左倾30°
============================================================ */

.banner-container {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: 
        linear-gradient(180deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0.3) 100%),
        url('/static/images/rainning.png') center/cover no-repeat;
    margin-bottom: 0;
    margin-left: auto !important;
    margin-right: auto !important;
    border: none !important;
    box-shadow: none;
}

/* 光晕 */
.banner-container::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: 
        radial-gradient(ellipse 350px 160px at 20% 0%, rgba(255,255,255,0.15) 0%, transparent 60%),
        radial-gradient(ellipse 300px 140px at 75% -5%, rgba(255,255,255,0.1) 0%, transparent 55%),
        linear-gradient(180deg, transparent 55%, rgba(255,255,255,0.3) 85%, rgba(255,255,255,0.4) 100%);
}

#linesCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.banner-content {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding-bottom: 2.5rem;
}

.banner-title { text-align: center; padding: 0 20px; }
.title-main { display: flex; justify-content: center; align-items: baseline; margin-bottom: 6px; }

.title-text {
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: 6px;
    color: #f5f9fe;
    text-shadow: 0 1px 4px rgba(255,255,255,0.6), 0 2px 8px rgba(255,255,255,0.3);
    transition: all 0.4s ease;
    position: relative;
}

.title-text::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #b0bcc8, #c4d0da, #b0bcc8, transparent);
    border-radius: 1px;
}

#subtitleTyping {
    font-size: 1.05rem;
    color: #d9ebfe;
    min-height: 2rem;
    display: inline-block;
    letter-spacing: 0.5px;
    font-weight: 400;
    margin-top: 4px;
    text-shadow: 0 1px 3px rgba(255,255,255,0.5);
}

.subtitle-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: #6b7a8a;
    margin-left: 3px;
    vertical-align: text-bottom;
    animation: cursorBlink 0.8s step-end infinite;
}

@keyframes cursorBlink { 0%,100%{opacity:1;} 50%{opacity:0;} }

.border-trail {
    position: absolute; bottom: 0; left: 0; right: 0; height: 2px; z-index: 5;
    background: linear-gradient(90deg,transparent 0%,rgba(180,190,200,0.4) 20%,rgba(200,210,220,0.6) 50%,rgba(180,190,200,0.4) 80%,transparent 100%);
}

.banner-container .corner-deco { display: none; }
.banner-container .float-deco { display: none; }

@media (max-width:768px) { .title-text{font-size:2.2rem;letter-spacing:4px;} }
@media (max-width:480px) { .title-text{font-size:1.6rem;letter-spacing:2px;} .title-text::after{width:36px;} }