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

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --dark: #2d3748;
    --light: #f7fafc;
    --gray: #718096;
    --border-radius: 12px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --text-primary: #2d3748;
    --text-secondary: #718096;
    --card-bg: #ffffff;
}

body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Fredoka', 'Nunito', sans-serif;
    font-weight: 600;
}

.logo-text {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
}

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

/* Header */
header {
    background: var(--bg-primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Social Share Buttons */
.social-share {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.share-label {
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark);
    font-family: 'Nunito', sans-serif;
    margin-right: 0.25rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.social-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.social-btn.twitter {
    background: linear-gradient(135deg, #1DA1F2 0%, #0d8bd9 100%);
}

.social-btn.facebook {
    background: linear-gradient(135deg, #1877F2 0%, #0e5fc7 100%);
}

.social-btn.linkedin {
    background: linear-gradient(135deg, #0A66C2 0%, #004182 100%);
}

.social-btn.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #1ebe57 100%);
}

.social-btn.reddit {
    background: linear-gradient(135deg, #FF4500 0%, #e03d00 100%);
}

.social-btn.telegram {
    background: linear-gradient(135deg, #0088cc 0%, #006ba1 100%);
}

.social-btn.email {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
}

.social-btn.copy {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
}

.social-btn svg {
    flex-shrink: 0;
}

.logo-icon {
    font-size: 2rem;
    animation: float 3s ease-in-out infinite;
}

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

.logo-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    background: var(--primary-gradient);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    animation: slideInDown 0.5s ease-out;
}

.silly-text {
    display: inline-block;
    animation: wiggle 1s ease-in-out infinite;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-3deg); }
    75% { transform: rotate(3deg); }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Quick Tools Bar */
.quick-tools-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    padding: 0 1rem;
    position: relative;
}

.tool-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Nunito', sans-serif;
}

.tool-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tool-btn.active {
    background: rgba(255, 255, 255, 0.95);
    color: #667eea;
    border-color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.tool-icon {
    font-size: 1.2rem;
}

.tool-label {
    font-size: 0.85rem;
    white-space: nowrap;
}

.all-tools-btn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-color: rgba(255, 255, 255, 0.5);
}

.all-tools-btn:hover {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
    transform: translateY(-2px) scale(1.05);
}

/* All Tools Dropdown */
.all-tools-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0.25rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    min-width: 750px;
    max-width: 90vw;
    animation: dropdownSlideIn 0.3s ease-out;
}

@keyframes dropdownSlideIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.dropdown-content {
    padding: 1.25rem;
}

.tools-columns {
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
}

.tool-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    min-width: 150px;
}

.column-title {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
    font-family: 'Fredoka', sans-serif;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(102, 126, 234, 0.2);
}

.dropdown-tool-btn {
    background: var(--bg-secondary);
    border: 2px solid transparent;
    border-radius: 10px;
    padding: 0.65rem 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: 'Nunito', sans-serif;
    color: var(--text-primary);
    text-align: left;
    white-space: nowrap;
}

.dropdown-tool-btn:hover:not(.coming-soon) {
    background: var(--bg-primary);
    border-color: #667eea;
    transform: translateX(3px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.dropdown-tool-btn .tool-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.dropdown-tool-btn.coming-soon {
    opacity: 0.5;
    cursor: not-allowed;
}

/* File Icon Styles */
.file-icon-pair {
    position: relative;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.file-icon {
    position: absolute;
    width: 20px;
    height: 24px;
    border-radius: 3px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    font-size: 8px;
    font-weight: bold;
    color: white;
    padding-bottom: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.file-icon::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 6px 6px 0;
    border-color: transparent rgba(255, 255, 255, 0.3) transparent transparent;
}

.file-icon.from {
    top: 0;
    left: 0;
    z-index: 1;
}

.file-icon.to {
    bottom: 0;
    right: 0;
    z-index: 2;
}

/* Color schemes for different file types */
.file-icon.blue {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
}

.file-icon.red {
    background: linear-gradient(135deg, #E74C3C 0%, #C0392B 100%);
}

.file-icon.green {
    background: linear-gradient(135deg, #2ECC71 0%, #27AE60 100%);
}

.file-icon.orange {
    background: linear-gradient(135deg, #F39C12 0%, #E67E22 100%);
}

.file-icon.purple {
    background: linear-gradient(135deg, #9B59B6 0%, #8E44AD 100%);
}

/* Single icon styles */
.single-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* Upload with Side Ads Layout */
.upload-with-ads {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 2rem;
    max-width: 100%;
    width: 100%;
}

.side-ad {
    flex: 0 0 220px;
    width: 220px;
}

.center-conversion-area {
    flex: 1;
    min-width: 0; /* Allow flex item to shrink below content size */
    max-width: 800px; /* Wider drop area to match action bar span */
}

.temp-ad-side {
    padding: 1.5rem 1rem;
    max-width: 220px;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.temp-ad-side .temp-ad-content {
    text-align: center;
}

.temp-ad-side .temp-ad-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.temp-ad-side .temp-ad-content p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.temp-ad-btn-small {
    background: white;
    color: #667eea;
    border: none;
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Nunito', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.temp-ad-btn-small:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.temp-ad-alt .temp-ad-btn-small {
    color: #f5576c;
}

.temp-ad-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Upload area in hero section */
.hero .upload-area {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 3px dashed rgba(255, 255, 255, 0.5);
    color: white;
    margin-bottom: 0.5rem;
}

.hero .upload-area:hover {
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.2);
}

.hero .upload-area.drag-over {
    border-color: white;
    background: rgba(255, 255, 255, 0.3);
}

.hero .upload-area h3,
.hero .upload-area p {
    color: white;
}

.hero .file-info {
    color: rgba(255, 255, 255, 0.8);
}

.hero .progress-area {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 0.5rem;
}

.hero .progress-area p {
    color: white;
    font-weight: 600;
}

.hero .result-area {
    margin-bottom: 0.5rem;
}

.hero .result-success {
    background: rgba(255, 255, 255, 0.95);
    color: var(--dark);
}

/* Conversion Options */
.conversion-options {
    padding: 4rem 0;
}

.conversion-options h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.conversion-category {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--dark);
    text-align: left;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #667eea;
    font-family: 'Fredoka', sans-serif;
}

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

.option-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow);
    border: 3px solid transparent;
    position: relative;
}

.option-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.option-card.active {
    border-color: #667eea;
    background: linear-gradient(white, white) padding-box,
                var(--primary-gradient) border-box;
}

.option-card.coming-soon {
    opacity: 0.6;
    cursor: not-allowed;
}

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

.option-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.option-card p {
    color: var(--gray);
}

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--secondary-gradient);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Upload Area - Default styles (overridden in hero) */
.upload-area {
    background: white;
    border: 3px dashed #cbd5e0;
    border-radius: var(--border-radius);
    padding: 4rem 2rem;
    text-align: center;
    transition: all 0.3s;
    margin-bottom: 2rem;
}

.upload-area:hover {
    border-color: #667eea;
    background: #f7faff;
}

.upload-area.drag-over {
    border-color: #667eea;
    background: var(--success-gradient);
    color: white;
}

.upload-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: bounce 2s ease-in-out infinite;
}

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

.upload-area h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.file-info {
    color: var(--gray);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Buttons */
.btn-primary, .btn-success, .btn-secondary {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Nunito', sans-serif;
    cursor: pointer;
    transition: all 0.3s;
    margin: 0.5rem;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-success {
    background: var(--success-gradient);
    color: white;
}

.btn-success:hover:not(:disabled) {
    transform: scale(1.05);
}

.btn-secondary {
    background: white;
    color: var(--dark);
    border: 2px solid var(--dark);
}

.btn-secondary:hover:not(:disabled) {
    background: var(--dark);
    color: white;
}

.btn-primary:disabled,
.btn-success:disabled,
.btn-secondary:disabled {
    cursor: not-allowed;
    opacity: 0.5;
    pointer-events: none;
}

/* Progress Area */
.progress-area {
    text-align: center;
    padding: 2rem;
}

.file-size-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--gray);
}

.file-size-info span {
    font-weight: 500;
}

.progress-bar {
    width: 100%;
    height: 30px;
    background: #e2e8f0;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: var(--success-gradient);
    width: 0%;
    transition: width 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

/* Result Area */
.result-area {
    text-align: center;
    padding: 2rem;
}

.result-success {
    background: white;
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--shadow);
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.result-success h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #10b981;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
}

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

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gray);
}

/* How It Works */
.how-it-works {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.step {
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step-arrow {
    font-size: 2rem;
    color: var(--gray);
}

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

.step p {
    color: var(--gray);
}

/* FAQ Section */
.faq {
    padding: 4rem 0;
    background: var(--bg-primary);
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

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

.faq-item {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid #667eea;
}

.faq-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.faq-item p {
    color: var(--gray);
}

/* Ad Containers */
.ad-container {
    margin: 3rem auto;
    text-align: center;
    min-height: 100px;
    max-width: 970px;
}

.hero .ad-container {
    margin: 1rem auto 2rem;
}

/* Temporary Ad Placeholders */
.temp-ad {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 728px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.temp-ad:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.temp-ad-alt {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 10px 30px rgba(240, 147, 251, 0.3);
}

.temp-ad-alt:hover {
    box-shadow: 0 15px 40px rgba(240, 147, 251, 0.4);
}

.temp-ad-content {
    color: white;
}

.temp-ad-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-family: 'Fredoka', sans-serif;
}

.temp-ad-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.temp-ad-btn {
    background: white;
    color: #667eea;
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Nunito', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.temp-ad-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.temp-ad-features {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.temp-ad-features span {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.disclaimer {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    nav {
        gap: 1rem;
    }

    .social-share {
        gap: 0.5rem;
        position: static;
        transform: none;
    }

    .share-label {
        font-size: 0.9rem;
    }

    .social-btn {
        width: 32px;
        height: 32px;
    }

    .social-btn svg {
        width: 16px;
        height: 16px;
    }

    .nav-links {
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .options-grid {
        grid-template-columns: 1fr;
    }

    .option-card {
        padding: 1.5rem;
    }

    .steps {
        flex-direction: column;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .btn-primary, .btn-success, .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .file-size-info {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    .quick-tools-bar {
        gap: 0.5rem;
    }

    .tool-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .tool-icon {
        font-size: 1.1rem;
    }

    .tool-label {
        font-size: 0.8rem;
    }

    .all-tools-dropdown {
        min-width: 90vw;
    }

    .tools-columns {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .tool-column {
        min-width: 45%;
    }

    /* Stack side ads vertically on tablets */
    .upload-with-ads {
        flex-direction: column;
        align-items: center;
    }

    .side-ad {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
    }

    .temp-ad-side {
        max-width: 100%;
        min-height: auto;
        padding: 1.25rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2rem 0;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .conversion-options h2,
    .features h2,
    .how-it-works h2,
    .faq h2 {
        font-size: 1.8rem;
    }

    .category-title {
        font-size: 1.5rem;
    }

    .upload-area {
        padding: 2rem 1rem;
    }

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

    .upload-area h3 {
        font-size: 1.5rem;
    }

    .option-card h3 {
        font-size: 1.2rem;
    }

    .option-icon {
        font-size: 2.5rem;
    }

    nav {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .logo {
        font-size: 1.2rem;
        flex: 1 0 auto;
    }

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

    .social-share {
        order: 3;
        flex: 1 0 100%;
        justify-content: center;
        padding-top: 0.5rem;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .share-label {
        font-size: 0.85rem;
    }

    .social-btn {
        width: 30px;
        height: 30px;
    }

    .social-btn svg {
        width: 15px;
        height: 15px;
    }

    .nav-links {
        order: 2;
    }

    .nav-links a {
        font-size: 0.85rem;
    }

    .container {
        padding: 0 15px;
    }

    /* Touch-friendly buttons */
    .option-card {
        min-height: 120px;
    }

    .btn-primary, .btn-success, .btn-secondary {
        padding: 1rem 1.5rem;
        min-height: 48px;
    }

    .quick-tools-bar {
        gap: 0.4rem;
        padding: 0 0.5rem;
    }

    .tool-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
        gap: 0.3rem;
    }

    .tool-icon {
        font-size: 1rem;
    }

    .tool-label {
        font-size: 0.7rem;
    }

    .all-tools-dropdown {
        min-width: 95vw;
        max-height: 80vh;
        overflow-y: auto;
    }

    .dropdown-content {
        padding: 1rem;
    }

    .tools-columns {
        flex-direction: column;
        gap: 1rem;
    }

    .tool-column {
        min-width: 100%;
    }

    .column-title {
        font-size: 0.85rem;
    }

    .dropdown-tool-btn {
        padding: 0.6rem 0.65rem;
        font-size: 0.8rem;
        gap: 0.5rem;
    }

    .dropdown-tool-btn .tool-icon {
        font-size: 1.2rem;
    }

    /* Side ads on small mobile */
    .temp-ad-side .temp-ad-content h4 {
        font-size: 1rem;
    }

    .temp-ad-side .temp-ad-content p {
        font-size: 0.85rem;
    }

    .temp-ad-btn-small {
        font-size: 0.85rem;
        padding: 0.5rem 1.25rem;
    }
}
