/* Announcement Popup Styles */
.announcement-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.announcement-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.announcement-popup {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    max-width: 450px;
    width: 90%;
    margin: 20px;
    color: white;
    position: relative;
    overflow: hidden;
    transform: scale(0.8) translateY(30px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.announcement-popup-overlay.show .announcement-popup {
    transform: scale(1) translateY(0);
}

.announcement-popup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><radialGradient id="g" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="white" stop-opacity="0.1"/><stop offset="100%" stop-color="white" stop-opacity="0"/></radialGradient></defs><circle cx="50" cy="50" r="50" fill="url(%23g)"/></svg>');
    pointer-events: none;
}

.announcement-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 25px 25px 15px;
    position: relative;
    z-index: 1;
}

.announcement-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.announcement-popup-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.announcement-popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.announcement-popup-content {
    padding: 0 25px 25px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.announcement-popup-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.announcement-popup-content p {
    font-size: 16px;
    margin-bottom: 25px;
    opacity: 0.9;
    line-height: 1.6;
}

.announcement-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.announcement-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.announcement-feature:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.announcement-feature i {
    font-size: 20px;
    width: 25px;
    text-align: center;
}

.announcement-feature span {
    font-size: 14px;
    font-weight: 500;
}

.announcement-popup-actions {
    display: flex;
    gap: 15px;
    flex-direction: column;
}

.announcement-join-btn {
    background: linear-gradient(135deg, #00b4db 0%, #0083b0 100%);
    border: none;
    border-radius: 12px;
    padding: 15px 25px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 8px 20px rgba(0, 180, 219, 0.3);
}

.announcement-join-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 180, 219, 0.4);
}

.announcement-skip-btn {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 12px 25px;
    color: white;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.announcement-skip-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Progress bar animation */
.announcement-popup::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3);
    animation: progress 4s linear;
}

@keyframes progress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* Dark theme support */
[data-theme="dark"] .announcement-popup {
    background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
}

[data-theme="dark"] .announcement-popup-close {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .announcement-feature {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .announcement-feature:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .announcement-popup {
        max-width: 95%;
        margin: 10px;
    }
    
    .announcement-popup-content h3 {
        font-size: 20px;
    }
    
    .announcement-popup-content p {
        font-size: 14px;
    }
    
    .announcement-features {
        gap: 10px;
    }
    
    .announcement-feature {
        padding: 12px;
    }
    
    .announcement-popup-actions {
        gap: 12px;
    }
} 