/* Suu Announcement Banner Styles */
.suu-announcement-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transform: translateY(0);
    transition: all 0.3s ease;
    display: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.suu-announcement-banner.suu-announcement-maintenance {
    background: linear-gradient(135deg, #ffc107 0%, #ff8c00 100%);
    color: #000;
}

.suu-announcement-banner.suu-announcement-update {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.suu-announcement-banner.suu-announcement-celebration {
    background: linear-gradient(135deg, #e83e8c 0%, #fd7e14 100%);
}

.suu-announcement-banner.suu-announcement-warning {
    background: linear-gradient(135deg, #fd7e14 0%, #ffc107 100%);
    color: #000;
}

.suu-announcement-banner.suu-announcement-info {
    background: linear-gradient(135deg, #17a2b8 0%, #6f42c1 100%);
}

.suu-announcement-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.suu-announcement-text {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    margin-right: 20px;
}

.suu-announcement-text.scrolling {
    overflow: hidden;
    white-space: nowrap;
}

.suu-announcement-marquee {
    display: inline-block;
    animation: scroll-text 15s linear infinite;
    white-space: nowrap;
    padding-left: 100%; /* Start off-screen */
}

@keyframes scroll-text {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.suu-announcement-emoji {
    font-size: 18px;
    margin-right: 8px;
    display: inline-block;
}

.suu-announcement-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: inherit;
    font-size: 24px;
    font-weight: bold;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    flex-shrink: 0;
}

.suu-announcement-close:hover {
    background: rgba(255,255,255,0.3);
}

.suu-announcement-banner.suu-announcement-maintenance .suu-announcement-close,
.suu-announcement-banner.suu-announcement-warning .suu-announcement-close {
    background: rgba(0,0,0,0.2);
}

.suu-announcement-banner.suu-announcement-maintenance .suu-announcement-close:hover,
.suu-announcement-banner.suu-announcement-warning .suu-announcement-close:hover {
    background: rgba(0,0,0,0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .suu-announcement-content {
        padding: 12px 15px;
    }
    
    .suu-announcement-text {
        font-size: 14px;
        margin-right: 15px;
    }
    
    .suu-announcement-emoji {
        font-size: 16px;
        margin-right: 6px;
    }
    
    .suu-announcement-close {
        width: 28px;
        height: 28px;
        font-size: 20px;
    }
    
    .suu-announcement-marquee {
        animation-duration: 15s;
    }
}

/* Ensure banner doesn't interfere with page content */
body.suu-banner-active {
    padding-top: 60px;
}

@media (max-width: 768px) {
    body.suu-banner-active {
        padding-top: 50px;
    }
}