    /* Scoped styles for HTML Minifier Tool only */
    .html-minifier-wrapper {
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        background-color: #fbf9f6;
        padding: 0;
        margin: 0;
    }

    .html-minifier-wrapper * {
        box-sizing: border-box;
    }

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

    .html-minifier-header {
        text-align: center;
        padding: 40px 20px 30px;
        background: linear-gradient(135deg, #363636 0%, #626366 100%);
        color: #fbf9f6;
        border-radius: 15px;
        margin-bottom: 30px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .html-minifier-header h1 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 15px;
        color: #fbf9f6;
    }

    .html-minifier-header .highlight {
        color: #04d1b2;
    }

    .html-minifier-header p {
        font-size: 1.1rem;
        margin-bottom: 0;
        opacity: 0.95;
    }

    .html-minifier-rating {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-top: 20px;
        font-size: 0.95rem;
    }

    .html-minifier-rating .stars {
        color: #04d1b2;
        font-size: 1.2rem;
    }

    /* Google Ads Spaces */
    .html-minifier-ad-space {
        background-color: #f0f0f0;
        border: 2px dashed #626366;
        border-radius: 10px;
        padding: 20px;
        text-align: center;
        margin: 20px 0;
        min-height: 120px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #626366;
        font-size: 0.9rem;
    }

    .html-minifier-tool-section {
        background: #ffffff;
        border-radius: 15px;
        padding: 30px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.08);
        margin-bottom: 30px;
    }

    .html-minifier-options {
        background-color: #fbf9f6;
        padding: 20px;
        border-radius: 10px;
        margin-bottom: 25px;
        border: 2px solid #04d1b2;
    }

    .html-minifier-options h5 {
        color: #363636;
        font-weight: 600;
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .html-minifier-checkbox {
        margin: 10px 0;
    }

    .html-minifier-checkbox input[type="checkbox"] {
        width: 18px;
        height: 18px;
        margin-right: 10px;
        cursor: pointer;
        accent-color: #04d1b2;
    }

    .html-minifier-checkbox label {
        cursor: pointer;
        color: #363636;
        font-size: 0.95rem;
    }

    .html-minifier-textarea-wrapper {
        position: relative;
        margin-bottom: 20px;
    }

    .html-minifier-textarea-wrapper label {
        font-weight: 600;
        color: #363636;
        margin-bottom: 10px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .html-minifier-textarea {
        width: 100%;
        min-height: 300px;
        padding: 15px;
        border: 2px solid #626366;
        border-radius: 10px;
        font-family: 'Courier New', monospace;
        font-size: 14px;
        resize: vertical;
        background-color: #fbf9f6;
        color: #363636;
        transition: border-color 0.3s;
    }

    .html-minifier-textarea:focus {
        outline: none;
        border-color: #04d1b2;
        background-color: #ffffff;
    }

    .html-minifier-char-count {
        position: absolute;
        bottom: 10px;
        right: 15px;
        background-color: rgba(98, 99, 102, 0.9);
        color: #fbf9f6;
        padding: 5px 12px;
        border-radius: 15px;
        font-size: 0.8rem;
        pointer-events: none;
    }

    .html-minifier-buttons {
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
        margin: 25px 0;
    }

    .html-minifier-btn {
        padding: 12px 30px;
        border: none;
        border-radius: 8px;
        font-weight: 600;
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .html-minifier-btn-primary {
        background: linear-gradient(135deg, #04d1b2 0%, #02a894 100%);
        color: #ffffff;
    }

    .html-minifier-btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(4, 209, 178, 0.4);
    }

    .html-minifier-btn-secondary {
        background-color: #626366;
        color: #fbf9f6;
    }

    .html-minifier-btn-secondary:hover {
        background-color: #363636;
        transform: translateY(-2px);
    }

    .html-minifier-btn-outline {
        background-color: transparent;
        border: 2px solid #626366;
        color: #626366;
    }

    .html-minifier-btn-outline:hover {
        background-color: #626366;
        color: #fbf9f6;
    }

    .html-minifier-stats {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
        margin: 25px 0;
    }

    .html-minifier-stat-card {
        background: linear-gradient(135deg, #fbf9f6 0%, #ffffff 100%);
        padding: 20px;
        border-radius: 10px;
        border-left: 4px solid #04d1b2;
        box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    }

    .html-minifier-stat-card h6 {
        color: #626366;
        font-size: 0.9rem;
        margin-bottom: 8px;
        font-weight: 600;
    }

    .html-minifier-stat-card .value {
        color: #363636;
        font-size: 1.8rem;
        font-weight: 700;
    }

    .html-minifier-stat-card .label {
        color: #04d1b2;
        font-size: 0.85rem;
        font-weight: 600;
    }

    .html-minifier-file-upload {
        border: 2px dashed #04d1b2;
        border-radius: 10px;
        padding: 30px;
        text-align: center;
        background-color: #fbf9f6;
        margin-bottom: 20px;
        transition: all 0.3s;
    }

    .html-minifier-file-upload:hover {
        background-color: #f0fffe;
        border-color: #02a894;
    }

    .html-minifier-file-upload input[type="file"] {
        display: none;
    }

    .html-minifier-file-upload label {
        cursor: pointer;
        color: #363636;
        font-weight: 600;
    }

    .html-minifier-file-upload i {
        font-size: 3rem;
        color: #04d1b2;
        margin-bottom: 15px;
    }

    /* Modal Styles */
    .html-minifier-modal {
        display: none;
        position: fixed;
        z-index: 9999;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.5);
        animation: fadeIn 0.3s;
    }

    .html-minifier-modal-content {
        background-color: #ffffff;
        margin: 10% auto;
        padding: 0;
        border-radius: 15px;
        max-width: 500px;
        width: 90%;
        box-shadow: 0 10px 40px rgba(0,0,0,0.3);
        animation: slideDown 0.3s;
    }

    .html-minifier-modal-header {
        background: linear-gradient(135deg, #04d1b2 0%, #02a894 100%);
        color: #ffffff;
        padding: 20px 25px;
        border-radius: 15px 15px 0 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .html-minifier-modal-header h5 {
        margin: 0;
        font-weight: 600;
    }

    .html-minifier-modal-close {
        background: none;
        border: none;
        color: #ffffff;
        font-size: 1.5rem;
        cursor: pointer;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: background-color 0.3s;
    }

    .html-minifier-modal-close:hover {
        background-color: rgba(255,255,255,0.2);
    }

    .html-minifier-modal-body {
        padding: 25px;
        color: #363636;
    }

    .html-minifier-modal-footer {
        padding: 15px 25px;
        border-top: 1px solid #e0e0e0;
        text-align: right;
    }

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

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

    /* Content Section */
    .html-minifier-content {
        background: #ffffff;
        border-radius: 15px;
        padding: 40px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.08);
        margin-bottom: 30px;
    }

    .html-minifier-content h2 {
        color: #363636;
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 20px;
        border-left: 5px solid #04d1b2;
        padding-left: 15px;
    }

    .html-minifier-content h3 {
        color: #363636;
        font-size: 1.5rem;
        font-weight: 600;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .html-minifier-content p {
        color: #626366;
        line-height: 1.8;
        margin-bottom: 15px;
    }

    .html-minifier-content ul, .html-minifier-content ol {
        color: #626366;
        line-height: 1.8;
        margin-bottom: 20px;
        padding-left: 25px;
    }

    .html-minifier-content li {
        margin-bottom: 10px;
    }

    .html-minifier-feature-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        margin: 30px 0;
    }

    .html-minifier-feature-card {
        background: #fbf9f6;
        padding: 25px;
        border-radius: 10px;
        border-top: 4px solid #04d1b2;
        transition: transform 0.3s;
    }

    .html-minifier-feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .html-minifier-feature-card i {
        font-size: 2.5rem;
        color: #04d1b2;
        margin-bottom: 15px;
    }

    .html-minifier-feature-card h4 {
        color: #363636;
        font-size: 1.2rem;
        font-weight: 600;
        margin-bottom: 10px;
    }

    .html-minifier-feature-card p {
        color: #626366;
        font-size: 0.95rem;
        margin: 0;
    }

    /* Responsive */
    @media (max-width: 768px) {
        .html-minifier-header h1 {
            font-size: 1.8rem;
        }

        .html-minifier-header p {
            font-size: 1rem;
        }

        .html-minifier-tool-section {
            padding: 20px;
        }

        .html-minifier-buttons {
            flex-direction: column;
        }

        .html-minifier-btn {
            width: 100%;
            justify-content: center;
        }

        .html-minifier-stats {
            grid-template-columns: 1fr;
        }

        .html-minifier-content {
            padding: 25px;
        }
    }