/* Interstitial Page Styles - Minimalistic Design */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
    min-height: 100vh;
    transition: all 0.3s ease;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    padding-top: 0;
}

/* Header */
.header {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    padding: 20px 0;
    margin-bottom: 30px;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.logo-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: #000000;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000000;
    letter-spacing: -0.025em;
}

.tagline {
    font-size: 0.9rem;
    color: #666666;
    font-weight: 500;
    letter-spacing: 0.025em;
}

.nav-section {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
    border-radius: 8px;
    text-decoration: none;
    color: #333333;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.nav-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    border-color: #000000;
    color: #000000;
    transform: translateY(-1px);
}

.nav-icon {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .container {
        padding: 12px;
        padding-top: 0;
    }

    .header-top {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        text-align: center;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .nav-section {
        justify-content: center;
    }
    
    .nav-btn {
        padding: 10px 6px;
    }
    
}


/* File Title */
.file-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
}

.file-icon {
    color: #000000;
    flex-shrink: 0;
    filter: grayscale(100%);
    height: 32px;
    width: 32px;
}

.file-name {
    font-size: 1.8em;
    font-weight: 600;
    color: #333;
    word-break: break-all;
    line-height: 1.2;
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Countdown Section */
.countdown-section {
    margin-bottom: 20px;
    text-align: center;
}

.countdown-text {
    font-size: 1.1em;
    color: #666666;
    margin-bottom: 15px;
}

.progress-container {
    background: #e5e5e5;
    border-radius: 25px;
    height: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-bar {
    height: 100%;
    background: #000000;
    border-radius: 25px;
    transition: width 0.1s ease;
    width: 0%;
}

.countdown-display {
    font-size: 1.5em;
    font-weight: 700;
    color: #000000;
    margin-top: 10px;
}

/* File Info */
.file-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.report-item {
    grid-column: span 1;
}

.info-label {
    font-size: 0.9em;
    color: #666666;
    margin-bottom: 5px;
    font-weight: 500;
}

.info-value {
    font-size: 1.1em;
    color: #000000;
    font-weight: 600;
}

.report-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #dc2626;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 8px 12px;
    background: #fef2f2;
    border-radius: 6px;
    border: 1px solid #fecaca;
    transition: all 0.2s ease;
}

.report-link:hover {
    background: #fee2e2;
    border-color: #f87171;
    transform: translateY(-1px);
}

/* Live Countdown Styles */
.live-countdown {
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.95em;
    transition: all 0.3s ease;
}

.expires-safe {
    background: #d4edda;
    color: #155724;
}

.expires-soon {
    background: #fff3cd;
    color: #856404;
}

.expires-critical {
    background: #f8d7da;
    color: #721c24;
    animation: pulse 1s infinite;
}

.expired {
    background: #6c757d;
    color: white;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Image Preview */
.image-preview {
    text-align: center;
    margin-bottom: 30px;
}

.preview-image {
    max-width: 100%;
    max-height: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e5e5;
}

/* Security Section */
.security-section {
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.security-section.scanning {
    background: #f0f0f0;
    border-color: #cccccc;
}

.security-title {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #000000;
    margin-bottom: 8px;
    font-size: 0.95em;
}

.security-title.scanning {
    color: #333333;
}

.security-checks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 8px;
    font-size: 0.85em;
    color: #000000;
}

.security-check {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    color: rgb(22, 101, 52);
}

.security-check.scanning {
    color: #333333;
}

.check-icon {
    color: #000000;
    margin-right: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.scan-icon {
    color: #666666;
    margin-right: 8px;
    font-weight: bold;
    animation: spin 1s linear infinite;
    filter: grayscale(100%);
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.scan-progress {
    width: 100%;
    height: 3px;
    background: #e5e5e5;
    border-radius: 2px;
    overflow: hidden;
    margin-top: 8px;
}

.scan-progress-bar {
    height: 100%;
    background: #000000;
    border-radius: 2px;
    width: 0%;
    transition: width 0.2s ease;
}

.scanning-text {
    font-size: 0.8em;
    color: #666666;
    margin-top: 6px;
    font-style: italic;
}

/* Security Warning Banner Styles */
.security-warning-banner {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
    line-height: 1.5;
    animation: warningPulse 2s ease-in-out infinite;
}

.security-warning-banner.warning-high {
    background: #fef2f2;
    border-color: #dc2626;
    color: #991b1b;
}

.security-warning-banner.warning-medium {
    background: #fef3c7;
    border-color: #f59e0b;
    color: #92400e;
}

.security-warning-banner.warning-low {
    background: #dbeafe;
    border-color: #3b82f6;
    color: #1e40af;
}

.warning-title {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.warning-icon {
    width: 20px;
    height: 20px;
}

.warning-details {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    font-size: 0.85rem;
    font-family: monospace;
}

.warning-patterns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.pattern-tag {
    background: rgba(0,0,0,0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

@keyframes warningPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.9; }
}


/* Download Section */
.download-section {
    margin-bottom: 30px;
}

.download-btn {
    width: 100%;
    background-color: #000000;
    color: #ffffff;
    border: none;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.download-btn:hover:not(:disabled) {
    background-color: #333333;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.download-btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.download-started {
    background: #666666 !important;
    cursor: default !important;
}

.retry-btn {
    width: 100%;
    background: #f8f8f8;
    color: #000000;
    border: 2px solid #e5e5e5;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    opacity: 0;
    transform: translateY(10px);
    animation: slideInUp 0.5s ease forwards;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.retry-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: #000000;
    transform: translateY(-2px);
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.download-icon {
    display: inline-flex;
    transition: transform 0.3s ease;
    margin-right: 8px;
    filter: grayscale(100%);
}

.download-icon.loading {
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Ad Container */
.ad-container {
    margin: 30px 0;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.ad-label {
    font-size: 0.75rem;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    font-weight: 500;
}

.ad-container.hidden {
    display: none;
}

/* Link Section */
.link-section {
    background: #f8f8f8;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #e5e5e5;
}

.link-title {
    font-weight: 600;
    color: #000000;
    margin-bottom: 10px;
}

.link-container {
    display: flex;
    gap: 10px;
}

.link-input {
    flex: 1;
    padding: 12px;
    border: 1px solid #cccccc;
    border-radius: 8px;
    background: white;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #000000;
}

.link-input:focus {
    outline: none;
    border-color: #000000;
}

.copy-btn {
    padding: 12px 20px;
    background: #000000;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: #333333;
}

/* Article Container */
.article-container {
    margin-left: auto;
    margin-right: auto;
}

/* Filetype Card */
.filetype-card {
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.filetype-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.filetype-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #000000;
}

.filetype-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.filetype-icon {
    font-size: 2.5em;
}

.filetype-title {
    flex: 1;
}

.filetype-name {
    font-size: 1.4em;
    font-weight: 600;
    color: #000000;
    margin: 0;
}

.filetype-description {
    font-size: 0.9em;
    color: #666666;
    margin: 2px 0 0 0;
}

.filetype-content {
    color: #333333;
    line-height: 1.6;
}

.filetype-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.filetype-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    font-size: 0.85em;
}

.feature-icon {
    color: #000000;
    font-weight: bold;
    filter: grayscale(100%);
}

.tips-section {
    background: rgba(0, 0, 0, 0.05);
    border-left: 4px solid #000000;
    border-radius: 0 8px 8px 0;
    padding: 12px 16px;
    margin-top: 15px;
}

.tips-title {
    font-weight: 600;
    color: #000000;
    margin-bottom: 8px;
    font-size: 0.9em;
}

.tips-content {
    font-size: 0.85em;
    color: #333333;
    line-height: 1.5;
}

/* General article styles */
.article-container h1 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 30px;
    text-align: center;
}

.article-container h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #000000;
    margin: 30px 0 15px 0;
    border-bottom: 2px solid #e5e5e5;
    padding-bottom: 8px;
}

.article-container h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000000;
    margin: 25px 0 12px 0;
}

.article-container p {
    margin-bottom: 15px;
    color: #333333;
}

.article-container ul, .article-container ol {
    margin: 15px 0 15px 25px;
}

.article-container li {
    margin-bottom: 8px;
    color: #333333;
}

.intro-box {
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 20px;
}

.security-alert {
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    padding: 12px;
    border-radius: 8px;
    margin: 15px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 20px 0;
}

.feature-card {
    background: #f8f8f8;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

.feature-card h3 {
    color: #000000;
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1em;
    align-items: center;
    gap: 6px;
    display: inline-flex;
}

.instructions-box {
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 16px;
    margin: 25px 0;
}

.instructions-box h2 {
    margin-top: 0;
}

/* FAQ */
.faq-compact {
    margin: 30px 0;
}

.faq-item {
    margin-bottom: 20px;
}

.faq-question {
    font-weight: 600;
    color: #000000;
    margin-bottom: 8px;
}

.faq-answer {
    color: #333333;
    font-size: 0.95rem;
    padding-left: 15px;
    border-left: 3px solid #e5e5e5;
}

.highlight {
    background: #f8f8f8;
    padding: 2px 5px;
    border-radius: 3px;
    font-weight: bold;
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.1);
    border: 2px solid #e5e5e5;
    border-radius: 50px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #000000;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.theme-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.theme-icon {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}


@media (max-width: 768px) {
    .theme-toggle {
        bottom: 15px;
        right: 15px;
        padding: 10px 14px;
        font-size: 0.85rem;
    }
}

/* Footer */
.footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
    text-align: center;
}

.footer p {
    font-size: 0.8rem;
    color: #888888;
    font-weight: 500;
}

.footer-link {
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.footer-link:hover {
    background-color: #f0f0f0;
    text-decoration: none;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .file-info {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 12px;
    }
    
    .security-checks {
        grid-template-columns: 1fr;
    }
    
    .file-title {
        gap: 12px;
    }
    
    .file-name {
        font-size: 1.5em;
    }
    
    .file-icon {
        font-size: 1.8em;
    }
    
    h1 {
        font-size: 1.6em;
    }
    
    h2 {
        font-size: 1.2em;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .filetype-features {
        grid-template-columns: 1fr;
    }
}



@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .download-section {
        margin-bottom: 25px;  /* Slightly less space on mobile */
    }
    
    .ad-container {
        margin: 20px 0;
        padding: 15px 0;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .security-section {
        background-color: #f0f0f0;
        border-color: #000000;
    }
    
    .article-container {
        border-color: #000000;
    }
    
    .filetype-card {
        border-color: #000000;
    }
    
    .link-section {
        border-color: #000000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .download-btn,
    .nav-btn,
    .copy-btn,
    .report-link,
    .retry-btn,
    .progress-bar,
    .scan-progress-bar {
        transition: none;
    }
    
    .scan-icon {
        animation: none;
    }
    
    .download-icon.loading {
        animation: none;
    }
    
    .pulse {
        animation: none;
    }
}

/* Print styles */
@media print {
    .container {
        margin: 0;
        padding: 20px;
        padding-top: 0;
    }
    
    .nav-btn,
    .download-btn,
    .copy-btn,
    .retry-btn {
        display: none;
    }
    
    .ad-container {
        display: none;
    }
    
    .security-section {
        background-color: transparent;
        border: 1px solid #000000;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .nav-btn:hover {
        transform: none;
    }
    
    .nav-btn:active {
        transform: scale(0.98);
    }
    
    .download-btn:hover {
        transform: none;
    }
    
    .download-btn:active {
        transform: scale(0.98);
    }
}


/* Dark Mode Styles for Interstitial Page */
body.dark-theme {
    background-color: #1a1a1a;
    color: #ffffff;
}

body.dark-theme .header {
    background: #1a1a1a;
    border-bottom: 1px solid #404040;
}

body.dark-theme .logo-icon {
    stroke: #ffffff;
}

body.dark-theme .logo h1 {
    color: #ffffff;
}

body.dark-theme .tagline {
    color: #cccccc;
}

body.dark-theme .nav-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #cccccc;
    border: 2px solid transparent;
}

body.dark-theme .nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    color: #ffffff;
}

body.dark-theme .file-icon {
    color: #ffffff;
}

body.dark-theme .file-name {
    color: #ffffff;
}

body.dark-theme .countdown-text {
    color: #cccccc;
}

body.dark-theme .progress-container {
    background: #404040;
}

body.dark-theme .progress-bar {
    background: #ffffff;
}

body.dark-theme .countdown-display {
    color: #ffffff;
}

body.dark-theme .file-info {
    background: #2d2d2d;
    border: 1px solid #404040;
}

body.dark-theme .info-label {
    color: #cccccc;
}

body.dark-theme .info-value {
    color: #ffffff;
}

/* Keep report link red in dark theme */
body.dark-theme .report-link {
    color: #dc2626;
    background: #2d1b1b;
    border: 1px solid #4a2727;
}

body.dark-theme .report-link:hover {
    background: #3d2222;
    border-color: #5a3333;
}

body.dark-theme .security-section {
    background: #2d2d2d;
    border: 1px solid #404040;
}

body.dark-theme .security-section.scanning {
    background: #333333;
    border-color: #555555;
}

body.dark-theme .security-title {
    color: #ffffff;
}

body.dark-theme .security-title.scanning {
    color: #cccccc;
}

body.dark-theme .security-checks {
    color: #ffffff;
}

body.dark-theme .security-check {
    color: #ffffff;
}

body.dark-theme .security-check.scanning {
    color: #cccccc;
}

body.dark-theme .check-icon {
    color: #ffffff;
}

body.dark-theme .scan-icon {
    color: #999999;
}

body.dark-theme .scan-progress {
    background: #404040;
}

body.dark-theme .scan-progress-bar {
    background: #ffffff;
}

body.dark-theme .scanning-text {
    color: #999999;
}

body.dark-theme .download-btn {
    background-color: #ffffff;
    color: #000000;
}

body.dark-theme .download-btn:hover:not(:disabled) {
    background-color: #e0e0e0;
}

body.dark-theme .download-btn:disabled {
    background: #666666;
    color: #999999;
}

body.dark-theme .download-started {
    background: #999999 !important;
    color: #333333 !important;
}

body.dark-theme .retry-btn {
    background: #2d2d2d;
    color: #ffffff;
    border: 2px solid #404040;
}

body.dark-theme .retry-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

/* Dark theme */
body.dark-theme .ad-container {
    border-top: 1px solid #404040;
    border-bottom: 1px solid #404040;
}

body.dark-theme .ad-label {
    color: #666666;
}

body.dark-theme .link-section {
    background: #2d2d2d;
    border: 1px solid #404040;
}

body.dark-theme .link-title {
    color: #ffffff;
}

body.dark-theme .link-input {
    background: #1a1a1a;
    border: 1px solid #555555;
    color: #ffffff;
}

body.dark-theme .link-input:focus {
    border-color: #ffffff;
}

body.dark-theme .copy-btn {
    background: #ffffff;
    color: #000000;
}

body.dark-theme .copy-btn:hover {
    background: #e0e0e0;
}

body.dark-theme .filetype-card {
    background: #2d2d2d;
    border: 1px solid #404040;
}

body.dark-theme .filetype-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

body.dark-theme .filetype-card::before {
    background: #ffffff;
}

body.dark-theme .filetype-name {
    color: #ffffff;
}

body.dark-theme .filetype-description {
    color: #cccccc;
}

body.dark-theme .filetype-content {
    color: #cccccc;
}

body.dark-theme .filetype-feature {
    background: rgba(255, 255, 255, 0.1);
}

body.dark-theme .feature-icon {
    color: #ffffff;
}

body.dark-theme .tips-section {
    background: rgba(255, 255, 255, 0.1);
    border-left: 4px solid #ffffff;
}

body.dark-theme .tips-title {
    color: #ffffff;
}

body.dark-theme .tips-content {
    color: #cccccc;
}

body.dark-theme .article-container h1 {
    color: #ffffff;
}

body.dark-theme .article-container h2 {
    color: #ffffff;
    border-bottom: 2px solid #404040;
}

body.dark-theme .article-container h3 {
    color: #ffffff;
}

body.dark-theme .article-container p {
    color: #cccccc;
}

body.dark-theme .article-container li {
    color: #cccccc;
}

body.dark-theme .intro-box {
    background: #2d2d2d;
    border: 1px solid #404040;
}

body.dark-theme .security-alert {
    background: #2d2d2d;
    border: 1px solid #404040;
}

body.dark-theme .feature-card {
    background: #2d2d2d;
    border: 1px solid #404040;
}

body.dark-theme .feature-card h3 {
    color: #ffffff;
}

body.dark-theme .instructions-box {
    background: #2d2d2d;
    border: 1px solid #404040;
}

body.dark-theme .instructions-box h2 {
    color: #ffffff;
}

body.dark-theme .faq-question {
    color: #ffffff;
}

body.dark-theme .faq-answer {
    color: #cccccc;
    border-left: 3px solid #404040;
}

body.dark-theme .highlight {
    background: #3d3d3d;
    color: #ffffff;
}

body.dark-theme .theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #404040;
    color: #ffffff;
}

body.dark-theme .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
}

body.dark-theme .footer {
    border-top: 1px solid #404040;
}

body.dark-theme .footer p {
    color: #999999;
}

body.dark-theme .footer-link {
    color: #ffffff;
}

body.dark-theme .footer-link:hover {
    background-color: #333333;
}

/* Live countdown styles remain the same for good contrast */
body.dark-theme .expires-safe {
    background: #d4edda;
    color: #155724;
}

body.dark-theme .expires-soon {
    background: #fff3cd;
    color: #856404;
}

body.dark-theme .expires-critical {
    background: #f8d7da;
    color: #721c24;
}

body.dark-theme .expired {
    background: #6c757d;
    color: white;
}

/* Preview image styling for dark theme */
body.dark-theme .preview-image {
    border: 1px solid #404040;
}

/* Dark theme support */
body.dark-theme .security-warning-banner.warning-high {
    background: #7f1d1d;
    color: #fecaca;
}

body.dark-theme .security-warning-banner.warning-medium {
    background: #78350f;
    color: #fde68a;
}

body.dark-theme .security-warning-banner.warning-low {
    background: #1e3a8a;
    color: #bfdbfe;
}