/* News Broadcast Styles */
.news-container {
    max-width: 1400px;
    margin: 0 auto 30px auto;
    padding: 0 20px;
}

.news-broadcast {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-left: 6px solid #b45309;
    padding: 20px 32px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    animation: slideDown 0.5s ease-out;
}

.news-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.2);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.news-close-btn:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: rotate(90deg);
}

.news-broadcast::before {
    content: '📢';
    position: absolute;
    top: 50%;
    right: 30px;
    font-size: 60px;
    opacity: 0.15;
    transform: translateY(-50%);
}

.news-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.news-badge {
    background: #b45309;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.news-badge::before {
    content: '🔔';
    font-size: 14px;
    animation: ring 2s ease-in-out infinite;
}

.news-date {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 500;
}

.news-content {
    position: relative;
    z-index: 1;
}

.news-content h3 {
    color: white;
    font-size: 20px;
    margin: 0 0 8px 0;
    font-weight: 700;
    line-height: 1.4;
}

.news-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 15px;
    margin: 0;
    line-height: 1.6;
    max-width: 900px;
}

.news-actions {
    margin-top: 16px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.news-button {
    background: white;
    color: #d97706;
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    cursor: pointer;
}

.news-button:hover {
    background: #fef3c7;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* News Type Variants */
.news-broadcast.news-info {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-left-color: #1d4ed8;
}

.news-broadcast.news-info .news-badge {
    background: #1d4ed8;
}

.news-broadcast.news-info .news-button {
    color: #2563eb;
}

.news-broadcast.news-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-left-color: #b45309;
}

.news-broadcast.news-warning .news-badge {
    background: #b45309;
}

.news-broadcast.news-warning .news-button {
    color: #d97706;
}

.news-broadcast.news-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-left-color: #047857;
}

.news-broadcast.news-success .news-badge {
    background: #047857;
}

.news-broadcast.news-success .news-button {
    color: #059669;
}

.news-broadcast.news-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-left-color: #b91c1c;
}

.news-broadcast.news-danger .news-badge {
    background: #b91c1c;
}

.news-broadcast.news-danger .news-button {
    color: #dc2626;
}

/* High priority news emphasis */
.news-broadcast.news-priority {
    border-left-width: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.news-broadcast.news-priority .news-badge {
    animation: pulseBadge 2s ease-in-out infinite;
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ring {
    0%, 100% {
        transform: rotate(0deg);
    }
    10%, 30% {
        transform: rotate(-10deg);
    }
    20%, 40% {
        transform: rotate(10deg);
    }
}

@keyframes pulseBadge {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUpModal {
    from {
        opacity: 0;
        transform: translate(-50%, -45%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Download Modal Styles */
#downloadModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    animation: fadeIn 0.3s ease;
}

#downloadModal .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 10000;
}

.download-modal-content {
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 900px;
    width: 90%;
    background: #f9fafb;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    animation: slideUpModal 0.4s ease-out;
}

.download-modal-header {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    padding: 28px 32px;
    border-bottom: none;
    border-radius: 16px 16px 0 0;
    position: relative;
}

.download-modal-header h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.download-modal-header .modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-modal-header .modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.download-modal-body {
    padding: 36px;
    overflow-y: auto;
    max-height: calc(90vh - 100px);
    background: #f9fafb;
}

.download-modal-body::-webkit-scrollbar {
    width: 12px;
}

.download-modal-body::-webkit-scrollbar-track {
    background: #e5e7eb;
    border-radius: 6px;
}

.download-modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 6px;
    border: 2px solid #e5e7eb;
}

.download-modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    border: 2px solid #d1d5db;
}

.download-info-section {
    margin-bottom: 36px;
    animation: fadeInUp 0.5s ease-out;
}

.download-info-section h3 {
    color: #1f2937;
    font-size: 22px;
    margin-bottom: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.download-info-section p {
    color: #374151;
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 15px;
}

.download-info-section strong {
    color: #1f2937;
    font-weight: 600;
}

.verification-steps {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 28px 28px 28px 48px;
    border-radius: 12px;
    border-left: 5px solid #3b82f6;
    line-height: 1.9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.verification-steps li {
    margin-bottom: 16px;
    color: #374151;
    font-size: 15px;
    position: relative;
}

.verification-steps li::marker {
    color: #3b82f6;
    font-weight: 700;
}

.verification-steps pre {
    background: #1f2937;
    color: #10b981;
    padding: 14px 18px;
    border-radius: 8px;
    margin: 12px 0;
    overflow-x: auto;
    font-family: 'Monaco', 'Consolas', 'Courier New', monospace;
    font-size: 13px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
    border: 1px solid #374151;
}

.verification-steps code {
    font-family: 'Monaco', 'Consolas', 'Courier New', monospace;
    letter-spacing: 0.5px;
}

.download-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.download-link-card {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    padding: 28px;
    border-radius: 14px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download-link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.download-link-card:hover::before {
    transform: scaleX(1);
}

.download-link-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
    transform: translateY(-4px);
}

.download-link-icon {
    font-size: 56px;
    margin-bottom: 16px;
    display: block;
    animation: bounce 2s ease-in-out infinite;
}

.download-link-card:hover .download-link-icon {
    animation: none;
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.download-link-content h4 {
    color: #1f2937;
    font-size: 19px;
    margin-bottom: 10px;
    font-weight: 700;
}

.download-version {
    color: #3b82f6;
    font-family: 'Monaco', 'Consolas', 'Courier New', monospace;
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 18px;
    display: block;
    padding: 8px 12px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 6px;
}

.download-desc {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 18px;
    font-style: italic;
}

.download-link-btn {
    width: 100%;
    margin: 0;
    font-weight: 600;
    padding: 12px 20px;
    font-size: 15px;
}

.download-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 24px;
    border-radius: 12px;
    border-left: 5px solid #f59e0b;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.1);
}

.download-warning h3 {
    color: #92400e;
    margin-bottom: 12px;
}

.download-warning ul {
    margin: 16px 0 0 20px;
    padding: 0;
}

.download-warning li {
    color: #78350f;
    margin-bottom: 10px;
    line-height: 1.7;
    font-size: 14px;
}

.download-warning li::marker {
    color: #f59e0b;
}

/* Changelog Modal Styles */
#changelogModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    transition: opacity 0.3s ease;
    opacity: 0;
}

#changelogModal .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
}

#changelogModal .modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 900px;
    width: 90%;
    max-height: 85vh;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    display: flex;
    flex-direction: column;
    animation: slideUpModal 0.4s ease-out;
}

#changelogModal .modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 28px 32px;
    border-radius: 16px 16px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

#changelogModal .modal-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

#changelogModal .modal-close {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

#changelogModal .modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

#changelogModal .modal-body {
    padding: 24px 32px;
    overflow-y: auto;
    flex: 1;
    background: #f9fafb;
    border-radius: 0 0 16px 16px;
}

#changelogModal .modal-body::-webkit-scrollbar {
    width: 12px;
}

#changelogModal .modal-body::-webkit-scrollbar-track {
    background: #e5e7eb;
    border-radius: 6px;
}

#changelogModal .modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 6px;
    border: 2px solid #e5e7eb;
}

#changelogModal .modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    border: 2px solid #d1d5db;
}

#changelogContent {
    background: #1f2937;
    color: #ffffff;
    padding: 24px;
    border-radius: 12px;
    font-family: 'Monaco', 'Consolas', 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.7;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    border: 2px solid #374151;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
}

#changelogContent::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

#changelogContent::-webkit-scrollbar-track {
    background: #111827;
    border-radius: 6px;
}

#changelogContent::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 6px;
    border: 2px solid #1f2937;
}

#changelogContent::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    border: 2px solid #374151;
}

/* PGP Modal Styles */
#pgpModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    animation: fadeIn 0.3s ease;
}

.pgp-modal-content {
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    background: #f9fafb;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    animation: slideUpModal 0.4s ease-out;
}

.pgp-modal-content::-webkit-scrollbar {
    width: 12px;
}

.pgp-modal-content::-webkit-scrollbar-track {
    background: #e5e7eb;
    border-radius: 6px;
}

.pgp-modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 6px;
    border: 2px solid #e5e7eb;
}

.pgp-modal-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    border: 2px solid #d1d5db;
}

.pgp-modal-header {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 28px 32px;
    border-bottom: none;
    border-radius: 16px 16px 0 0;
    position: relative;
}

.pgp-modal-header h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pgp-modal-body {
    padding: 36px;
    overflow-y: auto;
    background: #f9fafb;
}

.pgp-info-section {
    background: white;
    padding: 20px 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    border-left: 4px solid #10b981;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.pgp-info-section p {
    margin: 8px 0;
    color: #374151;
    font-size: 14px;
}

.pgp-info-section strong {
    color: #1f2937;
    font-weight: 600;
}

.pgp-info-section a {
    color: #10b981;
    text-decoration: none;
    word-break: break-all;
    transition: color 0.3s ease;
}

.pgp-info-section a:hover {
    color: #059669;
    text-decoration: underline;
}

.pgp-content-section {
    margin-bottom: 24px;
}

.pgp-content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.pgp-content-header h3 {
    color: #1f2937;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.pgp-loading {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 12px;
    border: 2px dashed #e5e7eb;
}

.pgp-loading p {
    color: #6b7280;
    margin-top: 16px;
    font-size: 14px;
}

.pgp-error {
    text-align: left;
    padding: 30px 20px;
    background: #fef2f2;
    border-radius: 12px;
    border: 2px solid #fecaca;
}

.pgp-error p {
    color: #dc2626;
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.7;
}

.pgp-error strong {
    color: #b91c1c;
    display: block;
    margin-top: 12px;
}

.pgp-signature-content {
    background: #1f2937;
    color: #10b981;
    padding: 20px;
    border-radius: 12px;
    font-family: 'Monaco', 'Consolas', 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.6;
    overflow-x: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    max-height: 400px;
    overflow-y: auto;
    border: 2px solid #374151;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
    display: none;
}

.pgp-signature-content::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

.pgp-signature-content::-webkit-scrollbar-track {
    background: #111827;
    border-radius: 6px;
}

.pgp-signature-content::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 6px;
    border: 2px solid #1f2937;
}

.pgp-signature-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    border: 2px solid #374151;
}

.pgp-instructions {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    padding: 24px;
    border-radius: 12px;
    border-left: 4px solid #10b981;
}

.pgp-instructions h3 {
    color: #065f46;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pgp-instructions ol {
    margin: 0;
    padding-left: 24px;
}

.pgp-instructions li {
    color: #047857;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.6;
}

.pgp-instructions code {
    background: white;
    color: #059669;
    padding: 2px 8px;
    border-radius: 4px;
    font-family: 'Monaco', 'Consolas', 'Courier New', monospace;
    font-size: 12px;
    border: 1px solid #d1fae5;
}

.pgp-download-link {
    color: #10b981;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.pgp-download-link:hover {
    color: #059669;
}

.pgp-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
}

/* Responsive Styles for News */
@media (max-width: 768px) {
    .news-broadcast {
        padding: 16px 20px;
        margin-bottom: 16px;
    }
    
    .news-broadcast::before {
        font-size: 50px;
        right: 15px;
    }
    
    .news-content h3 {
        font-size: 18px;
    }
    
    .news-content p {
        font-size: 14px;
    }
    
    .news-actions {
        flex-direction: column;
    }
    
    .news-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .news-broadcast {
        padding: 14px 16px;
        border-radius: 8px;
    }
    
    .news-broadcast::before {
        font-size: 40px;
        opacity: 0.1;
    }
    
    .news-content h3 {
        font-size: 16px;
    }
    
    .news-content p {
        font-size: 13px;
    }
    
    .news-badge {
        font-size: 11px;
        padding: 5px 12px;
    }
}

/* Changelog Modal Responsive Styles */
@media (max-width: 768px) {
    #changelogModal .modal-content {
        max-width: 95%;
        max-height: 90vh;
    }
    
    #changelogModal .modal-header {
        padding: 20px 24px;
    }
    
    #changelogModal .modal-header h2 {
        font-size: 20px;
    }
    
    #changelogModal .modal-body {
        padding: 20px 24px;
    }
    
    #changelogContent {
        font-size: 12px;
        padding: 20px;
    }
}

@media (max-width: 480px) {
    #changelogModal .modal-content {
        width: 100%;
        max-height: 95vh;
        border-radius: 0;
    }
    
    #changelogModal .modal-header {
        border-radius: 0;
        padding: 16px 20px;
    }
    
    #changelogModal .modal-header h2 {
        font-size: 18px;
    }
    
    #changelogModal .modal-body {
        padding: 16px 20px;
        border-radius: 0;
    }
    
    #changelogContent {
        font-size: 11px;
        padding: 16px;
    }
}

/* PGP Modal Responsive Styles */
@media (max-width: 768px) {
    .pgp-modal-content {
        max-width: 95%;
    }
    
    .pgp-modal-header {
        padding: 20px 24px;
    }
    
    .pgp-modal-header h2 {
        font-size: 20px;
    }
    
    .pgp-modal-body {
        padding: 24px 20px;
    }
    
    .pgp-content-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .pgp-content-header h3 {
        font-size: 18px;
    }
    
    .btn-sm {
        width: 100%;
        justify-content: center;
    }
    
    .pgp-signature-content {
        font-size: 11px;
        padding: 16px;
    }
    
    .pgp-instructions {
        padding: 20px;
    }
    
    .pgp-instructions h3 {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .pgp-modal-content {
        width: 100%;
        border-radius: 0;
    }
    
    .pgp-modal-header {
        border-radius: 0;
        padding: 16px 20px;
    }
    
    .pgp-modal-header h2 {
        font-size: 18px;
    }
    
    .pgp-modal-body {
        padding: 20px 16px;
        max-height: calc(100vh - 70px);
    }
    
    .pgp-info-section {
        padding: 16px;
    }
    
    .pgp-signature-content {
        font-size: 10px;
        padding: 12px;
        max-height: 300px;
    }
    
    .pgp-instructions {
        padding: 16px;
    }
    
    .pgp-instructions h3 {
        font-size: 15px;
    }
    
    .pgp-instructions li {
        font-size: 13px;
    }
}

/* Download Modal Tablet Responsive Styles */
@media (max-width: 1024px) {
    .download-modal-content {
        max-width: 90%;
        width: 90%;
    }
    
    .download-modal-header h2 {
        font-size: 24px;
    }
    
    .download-modal-body {
        padding: 30px;
    }
    
    .download-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Download Modal Mobile Responsive Styles */
@media (max-width: 768px) {
    .download-modal-content {
        max-width: 95%;
    }
    
    .download-modal-header {
        padding: 20px 24px;
    }
    
    .download-modal-header h2 {
        font-size: 20px;
        gap: 8px;
    }
    
    .download-modal-header .modal-close {
        width: 36px;
        height: 36px;
        font-size: 24px;
        top: 18px;
        right: 18px;
    }
    
    .download-modal-body {
        padding: 24px 20px;
        max-height: calc(90vh - 80px);
    }
    
    .download-info-section {
        margin-bottom: 28px;
    }
    
    .download-info-section h3 {
        font-size: 18px;
        gap: 8px;
    }
    
    .download-info-section p {
        font-size: 14px;
        line-height: 1.7;
    }
    
    .download-links-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .download-link-card {
        padding: 24px 20px;
    }
    
    .download-link-icon {
        font-size: 48px;
        margin-bottom: 12px;
    }
    
    .download-link-content h4 {
        font-size: 17px;
    }
    
    .download-version {
        font-size: 15px;
    }
    
    .verification-steps {
        padding: 20px 20px 20px 36px;
        border-left-width: 4px;
    }
    
    .verification-steps li {
        font-size: 14px;
        margin-bottom: 14px;
    }
    
    .verification-steps pre {
        font-size: 12px;
        padding: 12px 16px;
        overflow-x: auto;
    }
    
    .download-warning {
        padding: 20px;
    }
    
    .download-warning h3 {
        font-size: 16px;
    }
    
    .download-warning li {
        font-size: 13px;
    }
}

/* Download Modal Small Mobile Responsive Styles */
@media (max-width: 480px) {
    .download-modal-content {
        width: 100%;
        border-radius: 0;
        transform: translate(-50%, -50%);
    }
    
    .download-modal-header {
        border-radius: 0;
        padding: 16px 20px;
    }
    
    .download-modal-header h2 {
        font-size: 18px;
        gap: 6px;
        flex-wrap: wrap;
    }
    
    .download-modal-header .modal-close {
        width: 32px;
        height: 32px;
        font-size: 22px;
        top: 16px;
        right: 16px;
    }
    
    .download-modal-body {
        padding: 20px 16px;
        max-height: calc(100vh - 70px);
    }
    
    .download-info-section {
        margin-bottom: 24px;
    }
    
    .download-info-section h3 {
        font-size: 16px;
        gap: 6px;
    }
    
    .download-info-section p {
        font-size: 13px;
        line-height: 1.6;
    }
    
    .download-link-card {
        padding: 20px 16px;
    }
    
    .download-link-icon {
        font-size: 42px;
        margin-bottom: 10px;
    }
    
    .download-link-content h4 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .download-version {
        font-size: 14px;
        padding: 6px 10px;
    }
    
    .download-desc {
        font-size: 12px;
        margin-bottom: 14px;
    }
    
    .download-link-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .verification-steps {
        padding: 16px 16px 16px 28px;
        border-left-width: 3px;
        border-radius: 8px;
    }
    
    .verification-steps li {
        font-size: 13px;
        margin-bottom: 12px;
    }
    
    .verification-steps pre {
        font-size: 11px;
        padding: 10px 12px;
        margin: 10px 0;
        border-radius: 6px;
    }
    
    .download-warning {
        padding: 16px;
        border-radius: 8px;
        border-left-width: 4px;
    }
    
    .download-warning h3 {
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    .download-warning ul {
        margin: 12px 0 0 16px;
    }
    
    .download-warning li {
        font-size: 12px;
        margin-bottom: 8px;
        line-height: 1.6;
    }
}
