/* =============================================
   메인 페이지 (index.jsp) 스타일
   ============================================= */

/* 메인 배너 다크 테마 */
.m_banner {
    background: #0e1525 !important;
    background-image:
        radial-gradient(ellipse 100% 70% at 50% 100%, rgba(25, 65, 140, 0.3) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 80% 30%, rgba(20, 50, 110, 0.25) 0%, transparent 60%) !important;
}

.m_banner_content {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.m_banner_content .logo-row {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 28px;
    margin-bottom: 24px;
}

.m_banner_content .logo-tp {
    height: 100px;
}

.m_banner_content .logo-at {
    height: 25px;
}

.m_banner_content h2 {
    font-family: 'Pretendard', sans-serif;
    font-size: 44px;
    font-weight: 700;
    color: #f0f3fa;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.m_banner_content .subtitle {
    font-family: 'Pretendard', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: rgba(180, 195, 230, 0.7);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 48px;
}

.m_banner_content .menu-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.m_banner_content .menu-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 52px;
    background: rgba(25, 35, 55, 0.7);
    border: 2px solid rgba(70, 95, 150, 0.7);
    border-radius: 10px;
    color: rgba(255, 255, 255);
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
}

.m_banner_content .menu-grid a:hover {
    background: rgba(30, 55, 110, 0.6);
    border-color: #2468e0;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(36, 104, 224, 0.2);
}

/* 노이즈 텍스처 */
.m_banner::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

.copyright {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Pretendard', sans-serif;
    font-size: 14px;
    letter-spacing: 0.5px;
    z-index: 2;
    color: rgba(140, 160, 200, 0.7);
}

/* 우측 상단 유저 메뉴 (메인 페이지용) */
.m_banner .user-actions {
    position: absolute;
    top: 20px;
    right: 30px;
    display: flex;
    gap: 10px;
    z-index: 3;
}

.m_banner .user-actions a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-family: 'Pretendard', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    background: rgba(15, 20, 35, 0.5);
    border: 1px solid rgba(70, 95, 150, 0.15);
    transition: all 0.2s ease;
}

.m_banner .user-actions a i,
.m_banner .user-actions a img {
    color: #fff;
    filter: none;
    opacity: 1;
}

.m_banner .user-actions a:hover {
    color: #fff;
    background: rgba(25, 35, 60, 0.7);
    border-color: rgba(70, 95, 150, 0.35);
}

.m_banner .user-actions img {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(0.7);
}

.m_banner .user-actions a:hover img {
    filter: brightness(0) invert(1);
}

/* 배경 자동재생 영상 */
.m_banner_video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

/* 텍스트 가독성용 어둡게 오버레이 (다크 네이비 톤) */
.m_banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(10, 15, 28, 0.55), rgba(10, 15, 28, 0.75));
    z-index: 1;
    pointer-events: none;
}

/* 모바일: 영상 대신 포스터 이미지 */
@media screen and (max-width: 920px) {
    .m_banner_video,
    .m_banner::before {
        display: none;
    }

    .m_banner {
        background: url('../../images/urban_dashboard_main_poster.jpg') no-repeat center / cover !important;
    }
}
