/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #007bff 0%, #764ba2 100%);
    min-height: 100vh;
    scroll-padding-top: 100px; /* Account for sticky header */
}

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

/* Header Styles */
header {
    background: rgba(102, 126, 234, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.nav-menu a:hover {
    opacity: 0.8;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero-section {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    margin: 2rem auto;
    border-radius: 20px;
    padding: 3rem 0;
    color: white;
}

.hero-section h1 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

/* Compression Tool Styles */
.compression-tool {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: #333;
}

/* Dimension Selector */
.dimension-selector {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f9ff;
    border-radius: 10px;
}

.dimension-selector span {
    font-weight: 600;
    color: #666;
}

.unit-buttons {
    display: flex;
    gap: 0.5rem;
}

.unit-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    background: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.unit-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.unit-btn:hover {
    border-color: #667eea;
}

/* Upload Section */
.upload-area {
    border: 3px dashed #667eea;
    border-radius: 10px;
    padding: 3rem;
    text-align: center;
    background: #f8f9ff;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    border-color: #764ba2;
    background: #f0f2ff;
}

.upload-area.dragover {
    border-color: #4CAF50;
    background: #e8f5e8;
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.upload-area p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #666;
}

.browse-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.browse-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Compression Controls */
.compression-controls {
    margin: 2rem 0;
    text-align: center;
}

.size-input-container {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #e1e5e9;
}

.size-input-container label {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
}

.size-input-container input {
    width: 80px;
    padding: 0.5rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
}

.size-input-container input:focus {
    outline: none;
    border-color: #667eea;
}

.size-unit {
    background: #667eea;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
}

.size-input-container .compress-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
}

.size-input-container .compress-btn:hover {
    background: #5a6fd8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Quick Sizes Section */
.quick-sizes-section {
    margin: 3rem 0;
    padding: 2rem;
    background: #f8f9ff;
    border-radius: 15px;
}

.quick-sizes-section h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.quick-sizes-section p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.6;
}

.quick-sizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.quick-size-btn {
    background: white;
    color: #667eea;
    border: 2px solid #e1e5e9;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: lowercase;
}

.quick-size-btn:hover {
    border-color: #667eea;
    background: #f0f2ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.quick-size-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Image Preview Container */
.image-preview-container {
    position: relative;
    background: #f0f2ff;
    border-radius: 15px;
    overflow: hidden;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.preview-image {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    display: block;
}

.image-info-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, transparent 50%, rgba(0,0,0,0.8) 100%);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.image-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.action-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    pointer-events: auto;
    z-index: 10;
    position: relative;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.action-btn:active {
    transform: scale(0.95);
}

.close-btn {
    background: rgba(255, 0, 0, 0.7);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 0, 0, 0.9);
    transform: scale(1.1);
}

.file-info {
    text-align: right;
}

.file-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-stats {
    font-size: 0.8rem;
    opacity: 0.9;
}

.file-stats div {
    margin: 0.2rem 0;
}

/* Controls Section */
.controls-section {
    margin-top: 2rem;
    padding: 2rem;
    background: #f8f9ff;
    border-radius: 10px;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.size-input-group, .quality-input-group, .format-selection {
    display: flex;
    flex-direction: column;
}

.size-input-group label, .quality-input-group label, .format-selection label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.size-input-group input, .format-selection select {
    padding: 10px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.size-input-group input:focus, .format-selection select:focus {
    outline: none;
    border-color: #667eea;
}

.quality-input-group input[type="range"] {
    margin-top: 0.5rem;
    height: 8px;
    border-radius: 5px;
    background: #e1e5e9;
    outline: none;
    appearance: none;
}

.quality-input-group input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #667eea;
    cursor: pointer;
}

.compress-btn {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.compress-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

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

/* Preview Section */
.preview-section {
    margin-top: 2rem;
    padding: 2rem;
    background: #f8f9ff;
    border-radius: 10px;
}

.preview-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.preview-item {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.preview-item h3 {
    margin-bottom: 1rem;
    color: #333;
    font-weight: 600;
}

.preview-item img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.image-info {
    background: #f8f9ff;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

.image-info p {
    margin: 0.5rem 0;
}

.image-info span {
    font-weight: 600;
    color: #667eea;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.action-buttons button {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.download-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.convert-another-btn {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
}

.clear-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
}

.action-buttons button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Server Notice */
.server-notice {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    color: white;
    margin-top: 2rem;
}

.server-notice p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Size Reference Section */
.sizes-reference {
    background: white;
    margin: 2rem auto;
    border-radius: 20px;
    padding: 3rem 0;
    scroll-margin-top: 100px; /* Offset for sticky header */
}

.sizes-reference h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.size-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.size-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.size-card h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.size-card ul {
    list-style: none;
}

.size-card li {
    margin: 0.8rem 0;
}

.size-card a {
    color: #333;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.size-card a:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

/* How to Use Section */
.how-to-use {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    margin: 2rem auto;
    border-radius: 20px;
    padding: 3rem 0;
    color: white;
    scroll-margin-top: 100px; /* Offset for sticky header */
}

.how-to-use h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-number {
    background: white;
    color: #667eea;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.step-content p {
    opacity: 0.9;
    line-height: 1.6;
}

/* Features Section */
.features-section {
    background: white;
    margin: 2rem auto;
    border-radius: 20px;
    padding: 3rem 0;
}

.features-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Converter Features Section */
.converter-features {
    background: white;
    margin: 2rem auto;
    border-radius: 20px;
    padding: 3rem 0;
}

.converter-features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.converter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.converter-item {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f2ff 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.converter-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.converter-item h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.converter-item p {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
}

/* FAQ Section */
.faq-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    margin: 2rem auto;
    border-radius: 20px;
    padding: 3rem 0;
    scroll-margin-top: 100px; /* Offset for sticky header */
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #667eea;
    transition: transform 0.3s ease;
}

.faq-item:hover {
    transform: translateX(5px);
}

.faq-item h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.container a {
  color: #000;   /* makes the link text white */
  text-decoration: none; /* optional: removes underline */
}

.container a:hover {
  color: #000;   /* optional: lighter color on hover */
}


/* SEO Content Section */
.seo-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    margin: 2rem auto;
    border-radius: 20px;
    padding: 3rem 0;
    color: white;
}

.seo-content h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.content-block {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.content-block h3 {
    margin-bottom: 1rem;
    color: #fff;
    font-size: 1.3rem;
}

.content-block p {
    line-height: 1.7;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.content-block ul {
    padding-left: 1.5rem;
}

.content-block li {
    margin: 0.8rem 0;
    line-height: 1.6;
    opacity: 0.9;
}

.content-block strong {
    color: #fff;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.2);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
}

footer p {
    opacity: 0.8;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 4px;
    background: #e1e5e9;
    border-radius: 2px;
    margin: 1rem 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
    transition: width 0.3s ease;
    width: 0%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-container {
        position: relative;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1rem 0;
        border-radius: 0 0 15px 15px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu a {
        color: #333;
        padding: 0.5rem 1rem;
        border-radius: 5px;
        transition: background 0.3s ease;
    }
    
    .nav-menu a:hover {
        background: rgba(102, 126, 234, 0.1);
        color: #667eea;
        opacity: 1;
    }
    
    .dimension-selector {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .size-input-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .quick-sizes-grid {
        grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
        gap: 0.5rem;
    }
    
    .quick-size-btn {
        padding: 0.6rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .controls-section {
        grid-template-columns: 1fr;
    }
    
    .preview-container {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .size-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .compression-tool {
        padding: 1rem;
    }
    
    .upload-area {
        padding: 2rem 1rem;
    }
    
    .hero-section h1 {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.hidden { display: none; }

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .compression-tool {
        background: #2a2a2a;
        color: #fff;
    }
    
    .controls-section {
        background: #333;
    }
    
    .preview-item {
        background: #333;
        color: #fff;
    }
    
    .image-info {
        background: #2a2a2a;
    }
}
