/* BGD99 Marquee Styles */
.notice-marquee-container {
    width: 100%;
    background: linear-gradient(135deg, #155155 0%, #1B1B1B 100%);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(253, 224, 78, 0.3);
    overflow: hidden;
    color: #fff;
    font-family: 'Arial', sans-serif;
    border: 2px solid rgba(253, 224, 78, 0.4);
    margin: 20px 0;
    position: relative;
}

.notice-main {
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    position: relative;
}

.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(253, 224, 78, 0.3);
    min-width: 80px;
}

.icon-bell {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 8px;
    background: linear-gradient(135deg, #FDE04E 0%, #ffca27 100%);
    border-radius: 50%;
    font-size: 14px;
    color: #155155;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(253, 224, 78, 0.4);
}

.notice-label span:not(.icon-bell) {
    color: #FDE04E;
    font-weight: bold;
    font-size: 16px;
}

/* Marquee Section */
.marquee_box {
    flex: 1;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.custom-marquee {
    height: 100%;
    display: flex;
    align-items: center;
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}

.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;
    min-width: 100%;
}

.notice_list li {
    padding: 0 50px;
    font-size: 15px;
    font-weight: 500;
    color: #fff4e1;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.notice_list li:hover {
    color: #FDE04E;
    text-shadow: 0 0 10px rgba(253, 224, 78, 0.6);
    transform: scale(1.02);
}

.notice_list li strong {
    color: #FDE04E;
    font-weight: 700;
}

.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(253, 224, 78, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.notice-action-icon:hover {
    background: rgba(253, 224, 78, 0.2);
    transform: scale(1.05);
}

.icon-download-app {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #FDE04E 0%, #ffca27 100%);
    border-radius: 6px;
    font-size: 16px;
    color: #155155;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(253, 224, 78, 0.4);
}

.notice-action-icon:hover .icon-download-app {
    background: linear-gradient(135deg, #ffed4e 0%, #FDE04E 100%);
    box-shadow: 0 0 15px rgba(253, 224, 78, 0.8);
    transform: rotate(5deg);
}

/* Glow effect for important text */
.glow-text {
    color: #FDE04E;
    text-shadow: 0 0 10px rgba(253, 224, 78, 0.6);
    animation: glow-pulse 2s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
    from {
        text-shadow: 0 0 10px rgba(253, 224, 78, 0.6);
    }
    to {
        text-shadow: 0 0 20px rgba(253, 224, 78, 0.9);
    }
}

/* Special effects for different notice types */
.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: 0 0 5px rgba(253, 224, 78, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .notice-main {
        height: 50px;
    }
    
    .notice-label {
        padding: 0 10px;
        min-width: 60px;
    }
    
    .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: 25s;
    }
}

@media (max-width: 480px) {
    .notice-marquee-container {
        margin: 15px 0;
        border-radius: 8px;
    }
    
    .notice-main {
        height: 45px;
    }
    
    .notice_list li {
        padding: 0 20px;
        font-size: 13px;
    }
    
    .custom-marquee {
        animation-duration: 20s;
    }
}

/* Loading state */
.marquee-loading {
    opacity: 0.7;
    pointer-events: none;
}

.marquee-loading .custom-marquee {
    animation-play-state: paused;
}

/* Accessibility */
.notice_list li:focus {
    outline: 2px solid #FDE04E;
    outline-offset: 2px;
}

.notice-action-icon:focus {
    outline: 2px solid #FDE04E;
    outline-offset: 2px;
}

/* Marquee Info Section */
.marquee-section {
    margin: 20px auto;
}

.marquee-info {
    margin-top: 15px;
    text-align: center;
    color: rgba(255, 244, 225, 0.7);
    font-size: 14px;
}

.marquee-info p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.marquee-info i {
    color: #FDE04E;
    margin: 0 5px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .notice-marquee-container {
        border: 3px solid #FDE04E;
    }
    
    .notice_list li {
        color: #fff;
    }
    
    .notice_list li:hover {
        background: rgba(253, 224, 78, 0.2);
    }
}
