   :root {
            --primary: #4361ee;
            --primary-dark: #3a56d4;
            --secondary: #2478c6;
            --dark: #1a1d29;
            --darker: #12141c;
            --light: #f8f9fa;
            --gray: #6c757d;
            --success: #4cc9f0;
            --warning: #f72585;
            --border-radius: 8px;
            --shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
            --transition: all 0.3s ease;
        }
        

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background-color: var(--darker);
            color: var(--light);
            line-height: 1.6;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            overflow-x: hidden; /* Prevent horizontal scroll */
        }

        a{
            color: #2478c6;
        }
        header {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #0f172a;
            border-bottom: 1px solid #535353;
            padding-top: 15px;
            padding-bottom: 15px;
        }
        
        header div {
            width: 100%;
            max-width: 1200px;
            padding: 0 1rem; /* Added padding for mobile */
        }
        
        header div a {
            display: flex;
            text-decoration: none;
            padding: 0;
            margin: 0;
            align-items: center;
        }
        
        header div a:hover {
            opacity: 0.8;
        }
        
        header div a img {
            width: 40px;
            height: 40px;
            border-radius: 4px;
            margin-right: 10px;
        }
        
        header div a span {
            font-weight: bold;
            text-align: center;
            font-size: 25px;
            display: flex;
            align-items: center;
            margin-left: 0px;
            color: #2478c6;
        }

        .container {
            max-width: 1200px;
            margin: 2rem auto;
            padding: 0 1rem; /* Changed from 2rem to 1rem for mobile */
            flex: 1;
            width: 100%;
            box-sizing: border-box;
        }

        .hero {
            text-align: center;
            margin-bottom: 3rem;
            padding: 0 1rem; /* Added padding for mobile */
        }

        .hero h1 {
            font-size: 3rem;
            margin-bottom: 1rem;
            background: linear-gradient(to right, var(--primary), var(--secondary));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

        .hero p {
            font-size: 1.2rem;
            color: var(--gray);
            max-width: 700px;
            margin: 0 auto;
        }

        .tool-container {
            background: var(--dark);
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            overflow: hidden;
            margin-bottom: 3rem;
            width: 100%;
            box-sizing: border-box;
        }

        .tool-header {
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            padding: 1.5rem 1rem; /* Reduced padding for mobile */
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap; /* Allow wrapping on small screens */
        }

        .tool-header h2 {
            font-size: 1.5rem;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .tool-body {
            padding: 1.5rem; /* Reduced padding for mobile */
            width: 100%;
            box-sizing: border-box;
        }

        .input-section {
            margin-bottom: 2rem;
            width: 100%;
        }

        .input-section label {
            display: block;
            margin-bottom: 0.8rem;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .url-input {
            width: 100%;
            min-height: 200px;
            padding: 1rem; /* Reduced padding for mobile */
            background: var(--darker);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: var(--border-radius);
            color: var(--light);
            font-family: monospace;
            resize: vertical;
            transition: var(--transition);
            box-sizing: border-box;
        }

        .url-input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 2px rgba(67, 97, 238, 0.2);
        }

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

        .option-group {
            background: var(--darker);
            padding: 1rem; /* Reduced padding for mobile */
            border-radius: var(--border-radius);
            box-sizing: border-box;
        }

        .option-group h3 {
            margin-bottom: 1rem;
            font-size: 1.1rem;
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--success);
        }

        .option-item {
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap; /* Allow wrapping on small screens */
        }

        .option-item:last-child {
            margin-bottom: 0;
        }

        .option-item input[type="checkbox"] {
            accent-color: var(--primary);
        }

        .option-item input[type="number"] {
            width: 80px;
            padding: 0.5rem;
            background: var(--dark);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 4px;
            color: var(--light);
            box-sizing: border-box;
        }

        .buttons {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            margin-bottom: 2rem;
        }

        .btn {
            padding: 0.8rem 1.5rem;
            border: none;
            border-radius: var(--border-radius);
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 8px;
            flex: 1; /* Allow buttons to grow/shrink */
            min-width: 150px; /* Minimum width for buttons */
            box-sizing: border-box;
            justify-content: center; /* Center content */
        }

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

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

        .btn-secondary {
            background: transparent;
            color: var(--light);
            border: 1px solid var(--gray);
        }

        .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.05);
        }

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

        .btn-success:hover {
            background: #3ab3d6;
            transform: translateY(-2px);
        }

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

        .btn-warning:hover {
            background: #d61a6e;
        }

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

        .info-card {
            background: var(--darker);
            padding: 1.5rem;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            box-sizing: border-box;
        }

        .info-icon {
            font-size: 2rem;
            margin-bottom: 1rem;
            color: var(--primary);
        }

        .info-card h3 {
            margin-bottom: 1rem;
            font-size: 1.2rem;
            color: var(--success);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .info-card p {
            color: var(--gray);
            line-height: 1.6;
        }

        .info-card ul {
            margin-left: 1.2rem;
            color: var(--gray);
        }

        .info-card li {
            margin-bottom: 0.5rem;
        }

        .features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-bottom: 3rem;
            padding: 0 1rem; /* Added padding for mobile */
            box-sizing: border-box;
        }

        .feature-card {
            background: var(--dark);
            padding: 2rem;
            border-radius: var(--border-radius);
            box-shadow: var(--shadow);
            transition: var(--transition);
            box-sizing: border-box;
        }

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

        .feature-icon {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            color: var(--primary);
        }

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

        footer {
            width: 100%;
            background-color: #0f172a;
            color: #333;
            padding: 10px 0;
            text-align: center;
            border-top: 1px solid #7a7a7a;
            margin-top: 30px;
            padding-top: 30px;
            box-sizing: border-box;
        }

        footer .container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            padding: 0 1rem; /* Added padding for mobile */
            box-sizing: border-box;
        }

        footer .footer-left {
            display: flex;
            align-items: center;
        }

        footer .footer-left a {
            display: flex;
            align-items: center;
            text-decoration: none;
        }

        footer .footer-left img {
            width: 40px;
            height: auto;
            border-radius: 5px;
            margin-right: 10px;
        }

        footer .footer-left span {
            font-size: 20px;
            color: #2478c6;
            margin: 0;
            font-weight: bold;
        }

        footer .footer-links {
            display: flex;
            gap: 25px;
            flex-wrap: wrap; /* Allow wrapping on small screens */
            justify-content: center; /* Center links on small screens */
        }

        footer .footer-links a {
            text-decoration: none;
            color: #e0e0e0;
            font-size: 16px;
            font-weight: bold;
            transition: color 0.3s ease;
            white-space: nowrap; /* Prevent text wrapping */
        }

        footer .footer-links a:hover {
            color: #2478c6;
        }

        footer .footer-social {
            display: flex;
            gap: 15px;
            margin-top: 10px;
            flex-wrap: wrap; /* Allow wrapping on small screens */
            justify-content: center; /* Center social icons on small screens */
        }

        footer .footer-social img {
            width: 25px;
            height: 25px;
            transition: transform 0.3s ease;
        }

        footer .footer-social img:hover {
            transform: scale(1.2);
        }

        footer .copy-text {
            font-size: 14px;
            color: #a0a0a0;
            text-align: center;
            margin-top: 10px;
            padding: 0 1rem; /* Added padding for mobile */
        }

        /* Media Queries for Responsiveness */
        @media (max-width: 1200px) {
            header div {
                padding-left: 4%;
                padding-right: 4%;
            }
        }

        @media (max-width: 768px) {
            .container {
                padding: 0 1rem;
            }
            
            .hero h1 {
                font-size: 2.2rem;
            }
            
            .tool-header {
                padding: 1rem;
                flex-direction: column;
                gap: 1rem;
                text-align: center;
            }
            
            .tool-body {
                padding: 1rem;
            }
            
            .options-section {
                grid-template-columns: 1fr;
            }
            
            .buttons {
                flex-direction: column;
            }
            
            .btn {
                width: 100%;
                min-width: auto;
            }
            
            .info-section {
                grid-template-columns: 1fr;
            }
            
            .features {
                grid-template-columns: 1fr;
                padding: 0;
            }
            
            footer .container {
                flex-direction: column;
                gap: 1.5rem;
            }
            
            footer .footer-links {
                gap: 15px;
            }
            
            .url-input {
                padding: 1rem;
            }
            
            .option-group {
                padding: 1rem;
            }
        }

        @media (max-width: 600px) {
            header div a img {
                width: 35px;
                height: 35px;
            }
            
            header div a span {
                font-size: 20px;
            }
            
            .hero h1 {
                font-size: 1.8rem;
            }
            
            .hero p {
                font-size: 1rem;
            }
            
            footer .footer-links {
                flex-direction: column;
                gap: 10px;
            }
        }

        @media (max-width: 360px) {
            .hero h1 {
                font-size: 1.5rem;
            }
            
            .tool-header h2 {
                font-size: 1.2rem;
            }
            
            .feature-card {
                padding: 1.5rem;
            }
        }
