* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0a0a0a;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    word-wrap: break-word;
    -webkit-text-size-adjust: 100%;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

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

/* Navigation */
.navbar {
    background: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo h1 {
    background: linear-gradient(135deg, #fff 0%, #a78bfa 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0;
}

.tagline {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #a78bfa, #06b6d4);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a:hover::before {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 60px;
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-title {
    background: linear-gradient(135deg, #fff 0%, #a78bfa 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Upload Area */

/* Animations */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(-50px);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

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

/* Upload Area */
.upload-area {
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin: 2rem 0;
    transition: all 0.2s ease;
    cursor: pointer;
}

.upload-area:hover {
    border-color: rgba(167, 139, 250, 0.6);
    background: rgba(167, 139, 250, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(167, 139, 250, 0.2);
}

.upload-area.dragover {
    border-color: rgba(6, 182, 212, 0.8);
    background: rgba(6, 182, 212, 0.1);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 25px 50px rgba(6, 182, 212, 0.3);
}

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

.upload-area p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.upload-or {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 1rem 0;
    position: relative;
}

.upload-or::before,
.upload-or::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.upload-or::before { left: -80px; }
.upload-or::after { right: -80px; }

.upload-btn {
    background: linear-gradient(135deg, #a78bfa 0%, #06b6d4 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.upload-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(167, 139, 250, 0.4);
}

/* Controls */
.controls {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    backdrop-filter: blur(10px);
    max-width: 100%;
    overflow: hidden; /* Prevent content overflow */
}

.controls-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.controls-header h3 {
    background: linear-gradient(135deg, #a78bfa, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.mode-indicator {
    background: rgba(167, 139, 250, 0.2);
    color: #a78bfa;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.controls-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0; /* Allow shrinking */
}

.control-row {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.control-section h3 {
    background: linear-gradient(135deg, #a78bfa, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
}

.control-section h3::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(135deg, #a78bfa, #06b6d4);
}

.input-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0; /* Allow shrinking */
}

.input-group label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    white-space: nowrap;
}

.input-group input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.75rem;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 0; /* Allow shrinking */
    max-width: 120px; /* Prevent inputs from getting too wide */
}

.input-group input:focus {
    outline: none;
    border-color: rgba(167, 139, 250, 0.6);
    background: rgba(167, 139, 250, 0.1);
    box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.2);
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.preset-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.preset-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.preset-btn:hover {
    background: rgba(167, 139, 250, 0.2);
    border-color: rgba(167, 139, 250, 0.4);
    color: #fff;
    transform: translateY(-1px);
}

.format-options {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.format-options input[type="radio"] {
    display: none;
}

.format-options label {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
}

.format-options input[type="radio"]:checked + label {
    background: rgba(167, 139, 250, 0.3);
    border-color: rgba(167, 139, 250, 0.6);
    color: #fff;
}

.format-options label:hover {
    background: rgba(167, 139, 250, 0.2);
    border-color: rgba(167, 139, 250, 0.4);
}

.quality-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.quality-group input[type="range"] {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    position: relative;
}

/* WebKit browsers (Chrome, Safari, Edge) */
.quality-group input[type="range"]::-webkit-slider-track {
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.quality-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #a78bfa, #06b6d4);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

/* Firefox */
.quality-group input[type="range"]::-moz-range-track {
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    border: none;
}

.quality-group input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #a78bfa, #06b6d4);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Progress fill effect using CSS custom properties */
.quality-group input[type="range"] {
    background: linear-gradient(to right, 
        #a78bfa 0%, 
        #06b6d4 var(--value, 85%), 
        rgba(255, 255, 255, 0.2) var(--value, 85%), 
        rgba(255, 255, 255, 0.2) 100%);
}

.quality-group span {
    color: #fff;
    font-weight: 600;
    min-width: 50px;
    text-align: right;
    font-size: 1rem;
}

/* Emoji and icon fixes - comprehensive support */
.mode-indicator,
.controls-header h3,
.crypto-icon,
.feature-emoji,
.upload-icon,
.success-icon,
.emoji,
.donate-link,
.nav-badge,
.achievement-icon,
.amount-btn,
.alt-support span,
.resize-btn,
.download-btn,
.new-image-btn,
.copy-btn,
.cancel-btn {
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols", "Twemoji Mozilla", "Helvetica Neue", Arial, sans-serif;
    font-style: normal;
    font-variant: normal;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Specific emoji styling for better display */
.crypto-icon {
    font-size: 1.5rem;
    display: inline-block;
    vertical-align: middle;
}

.upload-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
}

.feature-emoji {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.success-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

/* Ensure emojis in buttons display properly */
button .emoji,
.btn .emoji,
a .emoji {
    display: inline;
    vertical-align: middle;
    margin-right: 0.25rem;
}

.resize-btn {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #a78bfa 0%, #06b6d4 50%, #10b981 100%);
    color: white;
    border: none;
    padding: 20px 40px;
    border-radius: 16px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
    box-shadow: 0 10px 30px rgba(167, 139, 250, 0.3);
}

.resize-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(167, 139, 250, 0.4);
}

/* Preview and Download */
.preview-section {
    text-align: center;
    margin: 2rem 0;
    animation: fadeIn 0.5s ease;
}

.preview-section img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.download-section {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    animation: slideDown 0.5s ease;
}

.download-btn {
    display: inline-block;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    margin: 1rem 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.download-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.6s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

.download-btn:hover::before {
    left: 100%;
}

.new-image-btn {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin: 1rem 0.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.new-image-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Loading */
.loading {
    text-align: center;
    padding: 2rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid #a78bfa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Upload Info */
.upload-info {
    margin-top: 1rem;
    text-align: center;
}

.upload-info small {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

/* Bulk Processing */
.bulk-info {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bulk-stats {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.separator {
    margin: 0 0.5rem;
    color: rgba(255, 255, 255, 0.4);
}

.clear-btn {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clear-btn:hover {
    background: rgba(239, 68, 68, 0.3);
    transform: translateY(-1px);
}

/* Bulk Progress */
.bulk-progress {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.progress-header h3 {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 600;
}

.cancel-btn {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cancel-btn:hover {
    background: rgba(239, 68, 68, 0.3);
}

.progress-bar {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    height: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.progress-fill {
    background: linear-gradient(135deg, #a78bfa 0%, #06b6d4 100%);
    height: 100%;
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 10px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.progress-details {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1rem;
    max-height: 150px;
    overflow-y: auto;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Bulk Download */
.download-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #a78bfa;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.download-zip-btn {
    background: linear-gradient(135deg, #a78bfa 0%, #06b6d4 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 1rem;
}

.download-zip-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(167, 139, 250, 0.4);
}

.zip-info {
    text-align: center;
}

.zip-info small {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.section-title {
    text-align: center;
    background: linear-gradient(135deg, #fff 0%, #a78bfa 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(167, 139, 250, 0.2);
    border-color: rgba(167, 139, 250, 0.3);
}

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

.feature-card h3 {
    color: white;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    position: relative;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.pricing .section-title {
    color: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(167, 139, 250, 0.2);
    border-color: rgba(167, 139, 250, 0.3);
}

.pricing-card.featured {
    background: rgba(167, 139, 250, 0.1);
    border-color: rgba(167, 139, 250, 0.3);
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(167, 139, 250, 0.3);
}

.pricing-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.pricing-header h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.5rem;
}

.price {
    background: linear-gradient(135deg, #a78bfa 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.price span {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.8);
}

.pricing-btn {
    width: 100%;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(167, 139, 250, 0.5);
    color: white;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.pricing-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.pricing-btn:hover {
    background: rgba(167, 139, 250, 0.2);
    border-color: rgba(167, 139, 250, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(167, 139, 250, 0.3);
}

.pricing-btn:hover::before {
    left: 100%;
}

.pricing-btn.primary {
    background: linear-gradient(135deg, #a78bfa 0%, #06b6d4 100%);
    border-color: transparent;
}

.pricing-btn.primary:hover {
    background: linear-gradient(135deg, #9333ea 0%, #0891b2 100%);
    box-shadow: 0 10px 30px rgba(167, 139, 250, 0.5);
}

/* About Section */
.about {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

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

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
}

.feature-emoji {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-item h4 {
    color: white;
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
}

.stat {
    text-align: center;
}

.stat-number {
    background: linear-gradient(135deg, #a78bfa 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2rem;
    font-weight: 800;
}

.stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.developer-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.developer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.developer-avatar {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.developer-card h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.developer-card p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    color: rgba(167, 139, 250, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border: 1px solid rgba(167, 139, 250, 0.3);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    color: white;
    background: rgba(167, 139, 250, 0.2);
    border-color: rgba(167, 139, 250, 0.6);
}

/* Tech Stack */
.tech-stack {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-stack h4 {
    color: white;
    margin-bottom: 1rem;
    text-align: center;
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.tech-item {
    background: rgba(167, 139, 250, 0.2);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(167, 139, 250, 0.3);
    backdrop-filter: blur(10px);
}

/* Free Badge */
.free-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Upload Note */
.upload-note {
    margin-top: 1rem;
    text-align: center;
}

.upload-note small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(167, 139, 250, 0.2);
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #f1f5f9;
}

.footer-section p,
.footer-section a {
    color: #cbd5e1;
    margin-bottom: 0.5rem;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.footer-section a:hover {
    color: #a78bfa;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(167, 139, 250, 0.2);
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    color: #a78bfa;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #06b6d4;
    text-decoration: underline;
}

/* Donation Section Styles */
.donation {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.8) 0%, rgba(26, 26, 46, 0.8) 100%);
    padding: 4rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(167, 139, 250, 0.2);
}

.donation-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.donation-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #a78bfa 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.donation-header h2 .emoji {
    -webkit-text-fill-color: initial;
    background: none;
    color: initial;
}

.donation-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.crypto-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(167, 139, 250, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
}

.crypto-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(167, 139, 250, 0.2);
}

.crypto-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.crypto-icon {
    font-size: 2rem;
    color: #9945ff;
    font-weight: bold;
}

.crypto-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.wallet-address {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.wallet-address code {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    color: white;
    border: 2px solid rgba(167, 139, 250, 0.3);
    word-break: break-all;
    max-width: 100%;
}

.copy-btn {
    background: linear-gradient(135deg, #a78bfa 0%, #06b6d4 100%);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    min-width: 50px;
}

.copy-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(167, 139, 250, 0.4);
}

.donation-amounts {
    margin-bottom: 1.5rem;
}

.amount-label {
    display: block;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.amount-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.amount-btn {
    background: linear-gradient(135deg, #a78bfa 0%, #06b6d4 100%);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.amount-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(167, 139, 250, 0.4);
}

.donation-note {
    background: rgba(167, 139, 250, 0.1);
    border: 1px solid rgba(167, 139, 250, 0.3);
    border-radius: 8px;
    padding: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

.donation-alternatives {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(167, 139, 250, 0.2);
}

.donation-alternatives h4 {
    color: white;
    margin-bottom: 1rem;
    font-weight: 600;
}

.alt-support {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.alt-support span {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    border: 1px solid rgba(167, 139, 250, 0.3);
    transition: all 0.3s ease;
}

.alt-support span:hover {
    background: rgba(167, 139, 250, 0.2);
    transform: translateY(-1px);
}

/* Navigation donation link */
.donate-link {
    background: linear-gradient(135deg, #a78bfa 0%, #06b6d4 100%) !important;
    color: white !important;
    padding: 0.5rem 1rem !important;
    border-radius: 20px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1 !important;
}

.donate-link:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(167, 139, 250, 0.4) !important;
}

.donate-link::before {
    display: none !important;
}

/* Navigation Badges */
.nav-badges {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.nav-badge.free-badge {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(22, 163, 74, 0.2) 100%);
    color: #22c55e;
    border-color: rgba(34, 197, 94, 0.3);
}

.nav-badge.privacy-badge {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(79, 70, 229, 0.2) 100%);
    color: #6366f1;
    border-color: rgba(99, 102, 241, 0.3);
}

.nav-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Share Button */
.share-btn {
    background: linear-gradient(135deg, #a78bfa 0%, #06b6d4 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(167, 139, 250, 0.4);
}

/* Achievement Popup */
.achievement-popup {
    position: fixed;
    top: 80px;
    right: 20px;
    background: linear-gradient(135deg, #a78bfa 0%, #06b6d4 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(167, 139, 250, 0.3);
    z-index: 10000;
    animation: achievementSlide 0.5s ease-out;
    max-width: 300px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.achievement-popup .achievement-icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.achievement-popup .achievement-text {
    font-weight: 600;
    font-size: 0.9rem;
}

.achievement-popup .achievement-detail {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-top: 0.25rem;
}

/* Smart Drop Zone */
body.drag-active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
}

body.drag-active::before {
    content: '🖼️ Drop your image anywhere to resize it!';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(99, 102, 241, 0.9);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    z-index: 10000;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease-out;
}

/* Keyboard Shortcuts Help */
.keyboard-shortcuts {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    z-index: 1000;
    display: none;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.keyboard-shortcuts.show {
    display: block;
    animation: fadeIn 0.3s ease-out;
}

.keyboard-shortcuts h4 {
    margin: 0 0 0.5rem 0;
    color: #6366f1;
    font-size: 0.9rem;
}

.keyboard-shortcuts .shortcut {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.25rem;
    gap: 1rem;
}

.keyboard-shortcuts .key {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.1rem 0.3rem;
    border-radius: 3px;
    font-family: monospace;
    font-size: 0.7rem;
}

/* Animations */
@keyframes achievementSlide {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design for Donation Section */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0 15px;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo {
        flex: 0 0 auto;
    }
    
    .nav-center {
        order: 3;
        flex: 1 1 100%;
        justify-content: center;
        margin-top: 0.5rem;
    }
    
    .nav-badges {
        flex: 0 0 auto;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 0.25rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
        white-space: nowrap;
    }
    
    .navbar {
        padding: 0.75rem 0;
    }
    
    .hero {
        padding: 120px 0 40px;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        line-height: 1.5;
    }
    
    .upload-area {
        padding: 2rem 1.5rem;
        margin: 1.5rem 0;
    }
    
    .upload-icon {
        font-size: 3rem;
    }
    
    .controls {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .controls-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .controls-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        text-align: left;
    }
    
    .input-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .input-group input {
        max-width: 100%;
        width: 100%;
    }
    
    .input-group label {
        font-size: 0.9rem;
        font-weight: 500;
    }
    
    .preset-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .preset-btn {
        padding: 0.75rem 0.5rem;
        font-size: 0.85rem;
    }
    
    .format-options {
        justify-content: center;
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .format-options label {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .resize-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        margin-top: 1.5rem;
        width: 100%;
    }
    
    /* About section fixes */
    .about {
        padding: 4rem 0;
    }
    
    .about-content {
        flex-direction: column;
        gap: 2.5rem;
        align-items: center;
    }
    
    .about-text {
        order: 1;
        text-align: left;
    }
    
    .developer-card {
        order: 2;
        width: 100%;
        max-width: 400px;
        margin: 0;
        text-align: center;
    }
    
    .about-features {
        gap: 1.5rem;
        margin: 2rem 0;
    }
    
    .feature-item {
        padding: 1.5rem;
        text-align: left;
        align-items: flex-start;
    }
    
    .feature-emoji {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-item h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-item p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin: 2rem 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .upload-or::before,
    .upload-or::after {
        width: 50px;
    }
    
    .upload-or::before { left: -50px; }
    .upload-or::after { right: -50px; }
    
    .download-section {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .download-btn, .new-image-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        margin: 0.5rem 0;
        width: 100%;
        text-align: center;
    }
    
    .bulk-info {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .bulk-stats {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .control-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .bulk-progress {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .progress-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .progress-info {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .progress-details {
        font-size: 0.8rem;
    }
    
    .download-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .download-zip-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        margin: 1rem 0;
    }
    
    /* Donation section mobile fixes */
    .donation-header h2 {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .crypto-card {
        padding: 1.5rem;
    }
    
    .wallet-address {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .wallet-address code {
        font-size: 0.8rem;
        word-break: break-all;
        text-align: center;
    }
    
    .amount-buttons {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .amount-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .alt-support {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    .navbar {
        padding: 0.75rem 0;
    }
    
    .nav-container {
        padding: 0 10px;
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .logo h1 {
        font-size: 1.4rem;
    }
    
    .tagline {
        font-size: 0.65rem;
    }
    
    .nav-badge {
        font-size: 0.6rem;
        padding: 0.2rem 0.4rem;
        margin: 0.1rem;
    }
    
    .nav-links {
        gap: 0.75rem;
    }
    
    .nav-links a {
        font-size: 0.85rem;
    }
    
    .donate-link {
        padding: 0.35rem 0.7rem !important;
        font-size: 0.75rem !important;
    }
    
    .hero {
        padding: 100px 0 40px;
        min-height: auto;
    }
    
    .hero-content {
        padding: 0 0.75rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.1;
        margin-bottom: 0.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        line-height: 1.4;
    }
    
    .upload-area {
        padding: 1.5rem 1rem;
        margin: 1rem 0;
        border-radius: 16px;
    }
    
    .upload-icon {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .upload-area p {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .upload-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
        width: 100%;
    }
    
    .controls {
        padding: 1.25rem;
        margin: 1rem 0;
        gap: 1.25rem;
        border-radius: 16px;
    }
    
    .control-section h3 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .input-group {
        margin-bottom: 0.75rem;
    }
    
    .input-group label {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
    }
    
    .input-group input {
        padding: 12px 14px;
        font-size: 16px; /* Prevents zoom on iOS */
        border-radius: 6px;
    }
    
    .preset-buttons {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    
    .preset-btn {
        padding: 10px 6px;
        font-size: 0.75rem;
        border-radius: 6px;
    }
    
    .format-options {
        gap: 0.5rem;
        justify-content: center;
    }
    
    .format-options label {
        padding: 10px 12px;
        font-size: 0.85rem;
        border-radius: 6px;
    }
    
    .resize-btn {
        padding: 14px 24px;
        font-size: 0.95rem;
        border-radius: 12px;
        margin-top: 1rem;
        width: 100%;
    }
    
    /* About section mobile fixes */
    .about-content {
        gap: 2rem;
    }
    
    .feature-item {
        padding: 1.25rem;
    }
    
    .feature-emoji {
        font-size: 1.75rem;
    }
    
    .developer-card {
        padding: 1.25rem;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .about {
        padding: 3rem 0;
    }
    
    .about-content {
        gap: 1.5rem;
    }
    
    .about-text p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }
    
    .feature-item {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .feature-emoji {
        font-size: 1.5rem;
    }
    
    .feature-item h4 {
        font-size: 1rem;
    }
    
    .feature-item p {
        font-size: 0.85rem;
    }
    
    .developer-card {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .tech-items {
        gap: 0.5rem;
    }
    
    .tech-item {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .download-section {
        padding: 1.25rem;
        margin: 1rem 0;
        border-radius: 16px;
    }
    
    .download-section h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .download-section p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .success-icon {
        font-size: 2.5rem;
        margin-bottom: 0.75rem;
    }
    
    .preview-section {
        margin: 1rem 0;
    }
    
    .preview-section h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .preview-section img {
        max-height: 300px;
        border-radius: 8px;
    }
    
    .loading {
        margin: 1rem 0;
    }
    
    .loading p {
        font-size: 0.9rem;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 0.85rem;
    }
    
    .pricing-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    /* Touch-friendly improvements */
    button, .upload-btn, .preset-btn, .resize-btn, .download-btn, .new-image-btn {
        min-height: 44px; /* iOS recommended touch target */
        touch-action: manipulation; /* Prevents double-tap zoom */
    }
    
    input[type="number"], input[type="range"] {
        min-height: 44px;
    }
    
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
    }
    
    .container {
        padding: 0 0.75rem;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .nav-container {
        padding: 0 8px;
        gap: 0.25rem;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .tagline {
        font-size: 0.6rem;
    }
    
    .nav-badge {
        font-size: 0.55rem;
        padding: 0.15rem 0.3rem;
        margin: 0.05rem;
    }
    
    .nav-links {
        gap: 0.5rem;
    }
    
    .nav-links a {
        font-size: 0.8rem;
    }
    
    .upload-area {
        padding: 1.25rem 0.75rem;
    }
    
    .controls {
        padding: 1rem;
    }
    
    .preset-buttons {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .preset-btn {
        padding: 12px 8px;
        font-size: 0.8rem;
    }
    
    .about-content {
        gap: 1.5rem;
    }
    
    .feature-item {
        padding: 1rem;
    }
    
    .developer-card {
        padding: 1rem;
    }
}

/* Mobile Landscape Orientation */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 80px 0 40px;
        min-height: 100vh;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .upload-area {
        padding: 1.5rem 1rem;
        margin: 1rem 0;
    }
    
    .controls {
        padding: 1.25rem;
        margin: 1rem 0;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .nav-container {
        gap: 0.75rem;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .upload-icon {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduce Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .upload-area:hover,
    .upload-area.dragover {
        transform: none;
    }
    
    .resize-btn:hover,
    .download-btn:hover,
    .nav-badge:hover {
        transform: none;
    }
}

/* SEO Features Section */
.features-seo {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.4);
    position: relative;
}

.features-seo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

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

.feature-card-seo {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card-seo:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(167, 139, 250, 0.3);
    transform: translateY(-2px);
}

.feature-card-seo h3 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card-seo p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.3);
    position: relative;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.faq-list {
    max-width: 800px;
    margin: 2rem auto 0;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(167, 139, 250, 0.3);
}

.faq-item[open] {
    background: rgba(255, 255, 255, 0.08);
}

.faq-item summary {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: #fff;
    font-size: 1rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: rgba(167, 139, 250, 0.8);
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    padding: 0 1.5rem 1.25rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
    .features-seo,
    .faq-section {
        padding: 60px 0;
    }
    
    .features-grid-seo {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card-seo {
        padding: 1.5rem;
    }
    
    .feature-card-seo h3 {
        font-size: 1.1rem;
    }
    
    .faq-item summary {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .faq-item p {
        padding: 0 1.25rem 1rem;
        font-size: 0.9rem;
    }
} 