/* ============================================
   PREMIUM ANNOUNCEMENT MODAL STYLES
   Professional UI/UX Design
   ============================================ */

/* New Badge for Downloads Section */
.new-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    animation: badgePulse 2s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(255, 65, 108, 0.4);
    z-index: 10;
}

.download-item.new-item .inner-box {
    background: linear-gradient(135deg, #fff 0%, #fef5f7 100%);
    border: 2px solid #ff416c;
    box-shadow: 0 10px 40px rgba(255, 65, 108, 0.15);
    transition: all 0.3s ease;
}

.download-item.new-item .inner-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(255, 65, 108, 0.25);
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

/* Modal Overlay */
.announcement-modal-pro {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
}

.modal-backdrop-blur {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Modal Container */
.announcement-modal-container {
    position: relative;
    background: #ffffff;
    margin: 40px auto;
    border-radius: 20px;
    width: 100%;
    max-width: 600px;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255,255,255,0.1),
        inset 0 1px 0 rgba(255,255,255,0.1);
    animation: modalSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

@keyframes modalSlideUp {
    from { 
        opacity: 0; 
        transform: translateY(40px) scale(0.96); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

/* Close Button */
.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.modal-close-btn svg {
    width: 18px;
    height: 18px;
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg) scale(1.1);
}

/* Hero Section */
.modal-hero-section {
    position: relative;
    background: linear-gradient(135deg, #1e3a5f 0%, #0d1b2a 50%, #1b263b 100%);
    padding: 32px 28px 36px;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 107, 107, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(78, 205, 196, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    opacity: 1;
}

.hero-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.announcement-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    color: white;
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 16px;
    box-shadow: 0 6px 20px rgba(255, 65, 108, 0.4);
    animation: badgePulse 2s ease-in-out infinite;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.badge-icon {
    font-size: 13px;
}

.modal-title {
    font-size: 36px;
    font-weight: 800;
    color: white;
    margin: 0 0 8px;
    letter-spacing: -1.5px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.4);
    line-height: 1.1;
}

.modal-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 18px;
    font-weight: 400;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

.event-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 10px 20px;
    border-radius: 50px;
    color: white;
    font-size: 15px;
    font-weight: 600;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.event-date-badge i {
    color: #4ecdc4;
    font-size: 16px;
}

/* Content Section */
.modal-content-section {
    padding: 24px 28px 28px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

/* Announcement Image Container */
.announcement-image-container {
    margin-bottom: 24px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}

.announcement-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.announcement-image-container:hover .announcement-image {
    transform: scale(1.02);
}

/* Info Cards Grid */
.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 32px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 16px;
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
    border-color: transparent;
}

.info-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.venue-icon { background: linear-gradient(135deg, #667eea, #764ba2); }
.halls-icon { background: linear-gradient(135deg, #f093fb, #f5576c); }
.speakers-icon { background: linear-gradient(135deg, #4facfe, #00f2fe); }

.info-card-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-label {
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 700;
}

.info-value {
    font-size: 14px;
    color: #1e293b;
    font-weight: 700;
}

/* Highlights Section */
.highlights-section {
    margin-bottom: 32px;
}

.section-title {
    font-size: 17px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title i {
    color: #f59e0b;
    font-size: 20px;
}

.section-title .deadline {
    font-size: 12px;
    font-weight: 600;
    color: #dc2626;
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid #fecaca;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #475569;
    padding: 14px 18px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #10b981;
    transition: all 0.3s ease;
    font-weight: 500;
}

.highlight-item:hover {
    background: #f0fdf4;
    border-color: #10b981;
    transform: translateX(4px);
}

.highlight-item i {
    color: #10b981;
    font-size: 16px;
}

/* Pricing Preview */
.pricing-preview {
    margin-bottom: 32px;
}

.pricing-chips {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.price-chip {
    flex: 1;
    min-width: 150px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.price-chip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.price-chip:hover {
    border-color: #667eea;
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.15);
}

.price-chip:hover::before {
    opacity: 1;
}

.price-chip.foreign {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border-color: #f59e0b;
}

.price-chip.foreign::before {
    background: linear-gradient(90deg, #f59e0b, #d97706);
    opacity: 1;
}

.chip-label {
    display: block;
    font-size: 12px;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.chip-price {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -1px;
}

/* Action Buttons */
.modal-actions {
    display: flex;
    gap: 12px;
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.action-btn i {
    font-size: 16px;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.action-btn:hover::before {
    left: 100%;
}

.primary-btn {
    background: linear-gradient(135deg, #1e3a5f, #0d1b2a);
    color: white !important;
    box-shadow: 0 8px 30px rgba(30, 58, 95, 0.35);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(30, 58, 95, 0.45);
}

.secondary-btn {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    color: white !important;
    box-shadow: 0 8px 30px rgba(255, 65, 108, 0.35);
}

.secondary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 65, 108, 0.45);
}

/* View Details Button in Downloads */
.view-announcement-btn {
    background: linear-gradient(135deg, #1e3a5f, #0d1b2a) !important;
    color: white !important;
    border-radius: 10px;
    padding: 12px 20px !important;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.25);
}

.view-announcement-btn:hover {
    background: linear-gradient(135deg, #2d4a6f, #1a2d42) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 95, 0.35);
}

/* Responsive Design */
@media (max-width: 768px) {
    .announcement-modal-pro {
        padding: 10px;
    }
    
    .announcement-modal-container {
        margin: 20px auto;
        border-radius: 16px;
        max-width: 95%;
    }
    
    .modal-hero-section {
        padding: 28px 20px 32px;
    }
    
    .modal-title {
        font-size: 28px;
        letter-spacing: -1px;
    }
    
    .modal-subtitle {
        font-size: 13px;
    }
    
    .event-date-badge {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .modal-content-section {
        padding: 20px 20px 24px;
    }
    
    .announcement-image-container {
        margin-bottom: 20px;
        border-radius: 10px;
    }
    
    .modal-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .action-btn {
        width: 100%;
        padding: 12px 18px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .modal-title {
        font-size: 24px;
    }
    
    .event-date-badge {
        padding: 7px 14px;
        font-size: 12px;
    }
    
    .announcement-badge {
        font-size: 10px;
        padding: 6px 14px;
    }
    
    .modal-close-btn {
        width: 32px;
        height: 32px;
        top: 12px;
        right: 12px;
    }
    
    .modal-close-btn svg {
        width: 16px;
        height: 16px;
    }
}
