        /* ========== CSS VARIABLES - DO NOT MODIFY ========== */
        :root {
            /* Light mode colors */
            --primary: #4f46e5;
            --primary-light: #818cf8;
            --primary-dark: #3730a3;
            --secondary: #06b6d4;
            --secondary-light: #67e8f9;
            --accent: #f43f5e;
            --accent-light: #fb7185;
            --success: #10b981;
            --success-light: #34d399;
            --warning: #f59e0b;
            --warning-light: #fbbf24;
            --danger: #ef4444;
            --danger-light: #f87171;
            --dark: #1e293b;
            --gray: #64748b;
            --light: #f1f5f9;
            --white: #ffffff;
            --card-bg: #ffffff;
            --card-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
            --radius: 16px;
            --transition: all 0.3s ease;
            --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
            --gradient-secondary: linear-gradient(135deg, #f43f5e 0%, #f59e0b 100%);
            --gradient-success: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
            --text-primary: #1e293b;
            --text-secondary: #64748b;
            --bg-primary: #ffffff;
            --bg-secondary: #f8fafc;
            --bg-tertiary: #f1f5f9;
            --border-color: #e2e8f0;
            --header-bg: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
            --footer-bg: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
            --body-bg: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
        }

        [data-theme="dark"] {
            /* Dark mode colors - DEEP ASH #1a1a1a */
            --primary: #6366f1;
            --primary-light: #a5b4fc;
            --primary-dark: #4f46e5;
            --secondary: #22d3ee;
            --secondary-light: #67e8f9;
            --accent: #fb7185;
            --accent-light: #fda4af;
            --success: #34d399;
            --success-light: #6ee7b7;
            --warning: #fbbf24;
            --warning-light: #fcd34d;
            --danger: #f87171;
            --danger-light: #fca5a5;
            --dark: #f1f5f9;
            --gray: #cbd5e1;
            --light: #1e293b;
            --white: #0f172a;
            --card-bg: #1a1a1a;
            --card-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
            --text-primary: #f1f5f9;
            --text-secondary: #cbd5e1;
            --bg-primary: #1a1a1a;
            --bg-secondary: #262626;
            --bg-tertiary: #333333;
            --border-color: #404040;
            --header-bg: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
            --footer-bg: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
            --body-bg: linear-gradient(135deg, #1a1a1a 0%, #262626 100%);
        }

        /* ========== UNIVERSAL STYLES ========== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        }

        body {
            background: var(--body-bg);
            color: var(--text-primary);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 20px;
            line-height: 1.6;
            transition: var(--transition);
        }

        .container {
            width: 100%;
            max-width: 1200px;
            background: var(--bg-primary);
            border-radius: 24px;
            box-shadow: var(--card-shadow);
            overflow: hidden;
            margin: 20px auto;
            display: flex;
            flex-direction: column;
            transition: var(--transition);
            border: 1px solid var(--border-color);
        }

        /* ========== HEADER ========== */
        header {
            background: var(--header-bg);
            color: var(--white);
            padding: 30px;
            position: relative;
            display: flex;
            flex-direction: column;
        }

        .header-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .logo-container {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .logo {
            width: 280px;
            height: auto;
        }

        .header-controls {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        /* Theme toggle */
        .theme-toggle {
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 50px;
            color: var(--white);
            width: 60px;
            height: 30px;
            position: relative;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 5px;
            transition: var(--transition);
        }

        .theme-toggle:hover {
            background: rgba(255, 255, 255, 0.3);
        }

        .theme-toggle i {
            font-size: 14px;
            z-index: 2;
        }

        .toggle-circle {
            position: absolute;
            width: 22px;
            height: 22px;
            background: var(--white);
            border-radius: 50%;
            top: 4px;
            left: 5px;
            transition: var(--transition);
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        }

        [data-theme="dark"] .toggle-circle {
            left: 33px;
        }

        /* Menu */
        .menu-container {
            position: relative;
            z-index: 1002;
            flex-shrink: 0;
        }

        .menu-toggle {
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            color: var(--white);
            padding: 12px 18px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 10px;
            transition: var(--transition);
        }

        .menu-toggle:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: translateY(-2px);
        }

        /* Dropdown menu */
        .dropdown-menu {
            position: absolute;
            top: 100%;
            right: 0;
            background: var(--card-bg);
            border-radius: 16px;
            box-shadow: var(--card-shadow);
            width: 320px;
            max-height: 400px;
            overflow-y: auto;
            padding: 0;
            margin-top: 15px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: var(--transition);
            z-index: 1000;
            border: 1px solid var(--border-color);
        }

        .dropdown-menu.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .dropdown-menu ul {
            list-style: none;
        }

        .dropdown-menu li {
            padding: 0;
            transition: var(--transition);
            border-bottom: 1px solid var(--border-color);
        }

        .dropdown-menu li:last-child {
            border-bottom: none;
        }

        .dropdown-menu li:hover {
            background: rgba(79, 70, 229, 0.1);
        }

        .dropdown-menu a {
            color: var(--text-primary);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 15px;
            font-weight: 500;
            padding: 14px 20px;
            transition: var(--transition);
            font-size: 0.95rem;
        }

        .dropdown-menu a:hover {
            color: var(--primary);
        }

        .dropdown-menu i {
            color: var(--primary);
            width: 20px;
            font-size: 1.1rem;
            flex-shrink: 0;
        }

        .dropdown-close {
            position: absolute;
            top: 15px;
            right: 15px;
            background: none;
            border: none;
            color: var(--text-secondary);
            font-size: 1.2rem;
            cursor: pointer;
            padding: 5px;
            border-radius: 50%;
            transition: var(--transition);
            z-index: 10;
        }

        .dropdown-close:hover {
            background: rgba(0, 0, 0, 0.05);
            color: var(--text-primary);
        }

        /* Hero section */
        .hero-content {
            text-align: center;
            margin: 15px 0;
        }

        h1 {
            font-size: 2.8rem;
            margin-bottom: 15px;
            font-weight: 800;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            color: var(--white);
        }

        .subtitle {
            font-size: 1.2rem;
            opacity: 0.9;
            margin-bottom: 25px;
            color: var(--white);
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }

        .header-ad {
            width: 728px;
            height: 90px;
            margin: 0 auto;
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            color: var(--white);
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 16px;
            font-size: 0.95rem;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        /* ========== TOOL SECTION ========== */
        .tool-section {
            padding: 40px;
            background: var(--bg-secondary);
        }

        .tool-container {
            max-width: 100%;
            margin: 0 auto;
            background: var(--card-bg);
            border-radius: 20px;
            box-shadow: var(--card-shadow);
            overflow: hidden;
            border: 1px solid var(--border-color);
        }

        .tool-header {
            background: var(--gradient-primary);
            color: var(--white);
            padding: 25px;
            text-align: center;
        }

        .tool-header i {
            font-size: 2.5rem;
            margin-bottom: 15px;
            display: block;
        }

        .tool-header h2 {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 10px;
        }

        .tool-header p {
            font-size: 1rem;
            opacity: 0.9;
        }

        .tool-body {
            padding: 30px;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
        }

        .input-section {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .output-section {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: flex-start;
            gap: 20px;
        }

        /* Section titles */
        .section-title {
            font-size: 1.4rem;
            margin-bottom: 16px;
            color: var(--primary);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        /* Toolbar */
        .toolbar {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            padding: 12px;
            background: var(--bg-tertiary);
            border-radius: 12px;
            border: 1px solid var(--border-color);
        }

        .toolbar-btn {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            color: var(--text-primary);
            padding: 8px 12px;
            border-radius: 8px;
            cursor: pointer;
            transition: var(--transition);
            font-size: 13px;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .toolbar-btn:hover {
            background: var(--gradient-primary);
            color: white;
            border-color: transparent;
            transform: translateY(-2px);
        }

        /* Textarea */
        textarea {
            width: 100%;
            min-height: 350px;
            padding: 16px;
            border: 2px solid var(--border-color);
            border-radius: 12px;
            background: var(--bg-tertiary);
            color: var(--text-primary);
            font-family: 'Courier New', monospace;
            font-size: 14px;
            line-height: 1.6;
            resize: vertical;
            transition: var(--transition);
        }

        textarea:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
        }

        /* Options group */
        .options-group {
            display: flex;
            flex-direction: column;
            gap: 12px;
            padding: 12px;
            background: var(--bg-tertiary);
            border-radius: 12px;
            border: 1px solid var(--border-color);
        }

        .checkbox-item {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .checkbox-item input[type="checkbox"] {
            width: 18px;
            height: 18px;
            cursor: pointer;
            accent-color: var(--primary);
        }

        .checkbox-item label {
            cursor: pointer;
            font-weight: 500;
            font-size: 0.95rem;
            margin: 0;
        }

        /* Output display */
        .output-display {
            background: var(--white);
            padding: 20px;
            border-radius: 12px;
            border: 2px solid var(--border-color);
            width: 100%;
            min-height: 350px;
            max-height: 500px;
            overflow-y: auto;
            line-height: 1.8;
            color: var(--text-primary);
        }

        [data-theme="dark"] .output-display {
            background: var(--bg-tertiary);
            border-color: var(--border-color);
        }

        .output-placeholder {
            text-align: center;
            color: var(--text-secondary);
            padding: 40px 20px;
        }

        .output-placeholder i {
            font-size: 3rem;
            margin-bottom: 15px;
            color: var(--border-color);
        }

        /* Markdown preview styles */
        .output-display h1,
        .output-display h2,
        .output-display h3,
        .output-display h4,
        .output-display h5,
        .output-display h6 {
            margin-top: 16px;
            margin-bottom: 12px;
            font-weight: 600;
            line-height: 1.25;
        }

        .output-display h1 { 
            font-size: 2em;
            border-bottom: 1px solid var(--border-color);
            padding-bottom: 8px;
        }

        .output-display h2 { 
            font-size: 1.5em;
            border-bottom: 1px solid var(--border-color);
            padding-bottom: 6px;
        }

        .output-display h3 { font-size: 1.25em; }
        .output-display h4 { font-size: 1em; }
        .output-display h5 { font-size: 0.875em; }
        .output-display h6 { font-size: 0.85em; }

        .output-display p {
            margin-bottom: 16px;
        }

        .output-display ul,
        .output-display ol {
            margin-bottom: 16px;
            padding-left: 32px;
        }

        .output-display li {
            margin-bottom: 8px;
        }

        .output-display code {
            background: var(--bg-secondary);
            padding: 2px 6px;
            border-radius: 4px;
            font-family: 'Courier New', monospace;
            font-size: 0.9em;
            color: var(--secondary);
        }

        .output-display pre {
            background: var(--bg-secondary);
            padding: 16px;
            border-radius: 8px;
            overflow-x: auto;
            margin-bottom: 16px;
            border: 1px solid var(--border-color);
        }

        .output-display pre code {
            background: none;
            padding: 0;
            color: var(--text-primary);
        }

        .output-display blockquote {
            border-left: 4px solid var(--primary);
            padding-left: 16px;
            margin: 16px 0;
            color: var(--text-secondary);
            font-style: italic;
        }

        .output-display a {
            color: var(--primary);
            text-decoration: none;
        }

        .output-display a:hover {
            text-decoration: underline;
        }

        .output-display img {
            max-width: 100%;
            height: auto;
            border-radius: 8px;
            margin: 16px 0;
        }

        .output-display table {
            width: 100%;
            border-collapse: collapse;
            margin: 16px 0;
        }

        .output-display table th,
        .output-display table td {
            border: 1px solid var(--border-color);
            padding: 8px 12px;
            text-align: left;
        }

        .output-display table th {
            background: var(--bg-secondary);
            font-weight: 600;
        }

        .output-display hr {
            border: none;
            border-top: 2px solid var(--border-color);
            margin: 24px 0;
        }

        /* Buttons */
        .btn {
            border: none;
            border-radius: 12px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: 14px 24px;
        }

        .btn-primary {
            background: var(--gradient-primary);
            color: var(--white);
            box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
        }

        .btn-secondary {
            background: var(--bg-tertiary);
            border: 2px solid var(--border-color);
            color: var(--text-primary);
        }

        .btn-secondary:hover {
            background: var(--gradient-primary);
            border-color: transparent;
            color: white;
        }

        .action-buttons {
            display: flex;
            gap: 15px;
            justify-content: center;
            flex-wrap: wrap;
            padding: 0 40px 40px 40px;
        }

        /* ========== POPULAR TOOLS CAROUSEL ========== */
        .popular-tools-section {
            padding: 30px;
            background: var(--bg-secondary);
        }

        .popular-tools-header {
            text-align: center;
            margin-bottom: 30px;
        }

        .popular-tools-header h2 {
            font-size: 2rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 10px;
        }

        .popular-tools-header p {
            color: var(--text-secondary);
            font-size: 1.1rem;
        }

        .tools-carousel {
            position: relative;
            overflow: hidden;
            border-radius: 20px;
            background: var(--bg-primary);
            box-shadow: var(--card-shadow);
            border: 1px solid var(--border-color);
        }

        .tools-container {
            display: flex;
            transition: transform 0.5s ease;
            padding: 20px;
        }

        .tool-card {
            background: var(--card-bg);
            border-radius: 16px;
            overflow: hidden;
            box-shadow: var(--card-shadow);
            transition: var(--transition);
            display: flex;
            flex-direction: column;
            height: 320px;
            min-width: calc(20% - 16px);
            margin: 0 8px;
            position: relative;
            border: 1px solid var(--border-color);
            text-decoration: none;
            color: inherit;
        }

        .tool-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
        }

        .card-header {
            background: var(--gradient-primary);
            color: var(--white);
            padding: 15px;
            text-align: center;
            height: 80px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .card-header i {
            font-size: 1.5rem;
            margin-bottom: 8px;
            display: block;
        }

        .card-header h3 {
            font-size: 0.95rem;
            font-weight: 700;
            line-height: 1.2;
        }

        .card-body {
            padding: 15px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .card-body p {
            color: var(--text-secondary);
            margin-bottom: 12px;
            line-height: 1.4;
            font-size: 0.85rem;
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
        }

        .card-features {
            margin-bottom: 15px;
        }

        .card-features ul {
            list-style: none;
        }

        .card-features li {
            display: flex;
            align-items: center;
            gap: 6px;
            margin-bottom: 6px;
            color: var(--text-primary);
            font-size: 0.8rem;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .card-features i {
            color: var(--success);
            font-size: 0.8rem;
            flex-shrink: 0;
        }

        .card-footer {
            margin-top: auto;
        }

        .card-btn {
            display: block;
            width: 100%;
            padding: 10px;
            background: var(--gradient-primary);
            color: var(--white);
            border: none;
            border-radius: 12px;
            font-size: 0.9rem;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            text-align: center;
            text-decoration: none;
        }

        .card-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(79, 70, 229, 0.25);
        }

        .carousel-controls {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 100%;
            display: flex;
            justify-content: space-between;
            padding: 0 20px;
            pointer-events: none;
            z-index: 10;
        }

        .carousel-btn {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: var(--gradient-primary);
            color: var(--white);
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
            transition: var(--transition);
            pointer-events: all;
            box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
        }

        .carousel-btn:hover:not(:disabled) {
            transform: scale(1.1);
            box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
        }

        .carousel-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        /* ========== ABOUT SECTION ========== */
        .about-section {
            background: var(--card-bg);
            border-radius: 20px;
            padding: 40px;
            margin: 40px;
            box-shadow: var(--card-shadow);
            border: 1px solid var(--border-color);
        }

        .about-header {
            text-align: center;
            margin-bottom: 40px;
        }

        .about-header h2 {
            font-size: 2.2rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 15px;
        }

        .about-header p {
            color: var(--text-secondary);
            font-size: 1.2rem;
            max-width: 800px;
            margin: 0 auto;
            line-height: 1.6;
        }

        .about-content {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }

        .about-paragraph {
            margin-bottom: 25px;
        }

        .about-paragraph h3 {
            font-size: 1.4rem;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .about-paragraph h3 i {
            color: var(--primary);
            font-size: 1.3rem;
        }

        .about-paragraph p {
            color: var(--text-secondary);
            font-size: 1rem;
            line-height: 1.7;
            margin-bottom: 15px;
        }

        .about-paragraph ul {
            margin-left: 20px;
            margin-bottom: 15px;
        }

        .about-paragraph li {
            color: var(--text-secondary);
            line-height: 1.6;
            margin-bottom: 8px;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-top: 40px;
        }

        .feature-item {
            background: var(--bg-secondary);
            padding: 20px;
            border-radius: 12px;
            border: 1px solid var(--border-color);
            text-align: center;
            transition: var(--transition);
        }

        .feature-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }

        .feature-item i {
            font-size: 2rem;
            color: var(--primary);
            margin-bottom: 10px;
        }

        .feature-item h4 {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 8px;
        }

        .feature-item p {
            color: var(--text-secondary);
            font-size: 0.9rem;
        }

        .ad-section {
            width: 100%;
            padding: 0 30px;
            margin-bottom: 30px;
        }

        .ad-banner {
            width: 728px;
            height: 90px;
            margin: 0 auto;
            background: var(--gradient-primary);
            color: var(--white);
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 16px;
            font-size: 0.95rem;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        }

        /* ========== FOOTER ========== */
        footer {
            background: var(--footer-bg);
            color: var(--white);
            padding: 30px 30px 20px 30px;
            display: flex;
            flex-direction: column;
            gap: 15px;
            align-items: center;
        }

        .footer-row {
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .footer-menu {
            display: flex;
            gap: 30px;
            justify-content: center;
        }

        .footer-menu a {
            color: var(--white);
            text-decoration: none;
            transition: var(--transition);
            font-size: 1rem;
            font-weight: 500;
        }

        .footer-menu a:hover {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: underline;
        }

        .copyright {
            font-size: 1rem;
            text-align: center;
            opacity: 0.9;
        }

        /* Scrollbar styling */
        .dropdown-menu::-webkit-scrollbar {
            width: 6px;
        }

        .dropdown-menu::-webkit-scrollbar-track {
            background: var(--bg-tertiary);
            border-radius: 3px;
        }

        .dropdown-menu::-webkit-scrollbar-thumb {
            background: var(--primary-light);
            border-radius: 3px;
        }

        .dropdown-menu::-webkit-scrollbar-thumb:hover {
            background: var(--primary);
        }

        .output-display::-webkit-scrollbar {
            width: 6px;
        }

        .output-display::-webkit-scrollbar-track {
            background: var(--bg-secondary);
            border-radius: 3px;
        }

        .output-display::-webkit-scrollbar-thumb {
            background: var(--primary-light);
            border-radius: 3px;
        }

        .output-display::-webkit-scrollbar-thumb:hover {
            background: var(--primary);
        }

        ::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }

        ::-webkit-scrollbar-track {
            background: var(--bg-tertiary);
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb {
            background: var(--primary-light);
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: var(--primary);
        }

        /* ========== RESPONSIVE DESIGN ========== */
        @media (max-width: 1200px) {
            .tool-card {
                min-width: calc(25% - 16px);
            }
        }

        @media (max-width: 992px) {
            .tool-body {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            .tool-card {
                min-width: calc(33.333% - 16px);
            }
        }

        @media (max-width: 768px) {
            body {
                padding: 15px;
            }
            header {
                padding: 20px;
            }
            .header-top {
                flex-direction: column;
                gap: 15px;
            }
            .header-controls {
                width: 100%;
                justify-content: space-between;
            }
            .logo {
                height: 50px;
            }
            h1 {
                font-size: 2.2rem;
            }
            .subtitle {
                font-size: 1.1rem;
            }
            .header-ad, .ad-banner {
                width: 100%;
                height: auto;
                padding: 15px;
                font-size: 0.9rem;
            }
            .popular-tools-section {
                padding: 20px;
            }
            .tool-card {
                min-width: calc(50% - 16px);
                height: 300px;
            }
            .ad-section {
                padding: 0 20px;
            }
            .about-section {
                margin: 20px;
                padding: 25px;
            }
            .about-header h2 {
                font-size: 1.8rem;
            }
            .about-header p {
                font-size: 1.1rem;
            }
            .about-paragraph h3 {
                font-size: 1.2rem;
            }
            footer {
                padding: 25px 20px 15px 20px;
                gap: 20px;
            }
            .footer-row {
                flex-direction: column;
                gap: 15px;
            }
            .footer-menu {
                flex-wrap: wrap;
                justify-content: center;
                gap: 20px;
            }
            .dropdown-menu {
                width: 280px;
                max-height: 350px;
            }
            .action-buttons {
                flex-direction: column;
                padding: 0 20px 20px 20px;
            }
            .btn {
                width: 100%;
            }
            textarea {
                min-height: 300px;
            }
            .output-display {
                min-height: 300px;
            }
        }

        @media (max-width: 576px) {
            .tools-container {
                padding: 10px;
            }
            .tool-card {
                min-width: calc(100% - 16px);
                height: 280px;
            }
            .toolbar {
                gap: 4px;
            }
            .toolbar-btn {
                padding: 6px 10px;
                font-size: 12px;
            }
        }

        @media (max-width: 480px) {
            .logo {
                width: 200px;
                height: auto;
            }
            h1 {
                font-size: 1.8rem;
            }
            .subtitle {
                font-size: 1rem;
            }
            .dropdown-menu {
                width: 260px;
                max-height: 300px;
            }
        }