/* Marquee Notice Styles */
.notice-marquee-container {
    width: 100%;
    background: #151515;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(45, 122, 92, 0.4);
    overflow: hidden;
    color: #fff;
    font-family: Arial, sans-serif;
    border: 2px solid rgba(255, 215, 0, 0.3);
    margin: 2rem 0;
}

.notice-main {
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
}

.notice-label {
    flex-shrink: 0;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 15px;
    background: rgba(0, 0, 0, 0.3);
    border-right: 1px solid rgba(255, 215, 0, 0.3);
}

.icon-bell {
    display: block;
    width: 24px;
    height: 24px;
    margin-right: 8px;
    background: #ffd700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #2d7a5c;
    font-weight: bold;
}

.notice-label span:not(.icon-bell) {
    color: #ffd700;
    font-weight: bold;
    font-size: 16px;
}

/* --- Marquee Section --- */
.marquee_box {
    flex: 1;
    height: 100%;
    overflow: hidden;
}

.custom-marquee {
    height: 100%;
    display: flex;
    align-items: center;
    animation: marquee 25s linear infinite;
}

.custom-marquee:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.notice_list {
    list-style: none;
    display: flex;
    align-items: center;
    white-space: nowrap;
    margin: 0;
    padding: 0;
}

.notice_list li {
    padding: 0 50px;
    font-size: 15px;
    font-weight: 500;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.notice_list li:hover {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    transform: scale(1.05);
}

.notice_list li strong {
    color: #ffd700;
}

.notice-action-icon {
    flex-shrink: 0;
    width: 60px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border-left: 1px solid rgba(255, 215, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.notice-action-icon:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: scale(1.1);
}

.icon-download-app {
    display: block;
    width: 28px;
    height: 28px;
    background: #ffd700;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #2d7a5c;
    font-weight: bold;
    transition: all 0.3s ease;
}

.notice-action-icon:hover .icon-download-app {
    background: #ffed4e;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

/* Glow effect for important text */
.glow-text {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    animation: glow-pulse 2s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
    from {
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    }
    to {
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .notice-main {
        height: 50px;
    }
    
    .notice-label {
        padding: 0 10px;
    }
    
    .notice-label span:not(.icon-bell) {
        display: none;
    }
    
    .notice-action-icon {
        width: 50px;
    }
    
    .notice_list li {
        padding: 0 30px;
        font-size: 14px;
    }
    
    .custom-marquee {
        animation-duration: 20s;
    }
}

@media (max-width: 480px) {
    .notice-main {
        height: 45px;
    }
    
    .notice-label {
        padding: 0 8px;
    }
    
    .icon-bell {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }
    
    .notice-action-icon {
        width: 45px;
    }
    
    .icon-download-app {
        width: 24px;
        height: 24px;
        font-size: 14px;
    }
    
    .notice_list li {
        padding: 0 20px;
        font-size: 13px;
    }
    
    .custom-marquee {
        animation-duration: 18s;
    }
}

/* Additional styling for better visual appeal */
.notice_list li:nth-child(odd) {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.notice_list li:nth-child(even) {
    text-shadow: 1px 1px 2px rgba(255, 215, 0, 0.3);
}

/* Pause animation on hover for better UX */
.custom-marquee:hover .notice_list li {
    animation-play-state: paused;
}

/* Smooth transitions */
.notice-marquee-container {
    transition: all 0.3s ease;
}

.notice-marquee-container:hover {
    box-shadow: 0 6px 25px rgba(45, 122, 92, 0.6);
    border-color: rgba(255, 215, 0, 0.5);
}
