 html, body {
        height: 100%;
        margin: 0;
        padding: 0;
        overflow: hidden;
    }
    body {
        font-family: 'Arial', sans-serif;
        display: flex;
        flex-direction: column;
        background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
        color: #e0e0e0;
        position: relative;
    }
    .header {
        text-align: center;
        padding: 10px 0;
        background: rgba(23, 32, 42, 0.7);
        box-shadow: 0 2px 10px rgba(52, 152, 219, 0.3);
    }
    .header h1, .header h2 {
        margin: 0;
        background: linear-gradient(135deg, #3498db, #9b59b6, #2ecc71);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        display: inline-block;
    }
    .header h1 {
        font-size: 2em;
        letter-spacing: 2px;
        text-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
    }
    .header h2 {
        font-size: 1em;
        margin-top: 5px;
        text-shadow: 0 0 5px rgba(155, 89, 182, 0.5);
    }
    .main-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }
    .container {
        display: flex;
        flex: 1;
        width: 90%;
        max-width: 1200px;
        margin: 10px auto;
        background: rgba(23, 32, 42, 0.7);
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 0 30px rgba(52, 152, 219, 0.3);
    }
    .column {
        flex: 1;
        display: flex;
        flex-direction: column;
        padding: 10px;
        position: relative;
    }
    .column:first-child {
        border-right: 2px solid;
        border-image: linear-gradient(to bottom, #3498db, #2980b9) 1;
    }
    .input-container, .output-container {
        flex: 1;
        position: relative;
        border-radius: 10px;
        overflow: hidden;
        padding: 2px;
        background: linear-gradient(135deg, #3498db, #2980b9, #9b59b6);
    }
    textarea, #formatted-json {
        width: 100%;
        height: 100%;
        background: #1a2a3a;
        border: none;
        border-radius: 8px;
        padding: 15px;
        color: #e0e0e0;
        font-family: 'Courier New', monospace;
        resize: none;
        box-sizing: border-box;
    }
    #formatted-json {
        white-space: pre-wrap;
        overflow-y: auto;
    }
    .button-container {
        display: flex;
        justify-content: space-between;
        margin-top: 10px;
    }
    button {
        padding: 8px 15px;
        border: none;
        border-radius: 25px;
        color: #e0e0e0;
        cursor: pointer;
        transition: 0.3s;
        font-weight: bold;
        text-transform: uppercase;
        letter-spacing: 1px;
        background-size: 200% auto;
    }
    button:hover {
        background-position: right center;
        box-shadow: 0 0 15px rgba(52, 152, 219, 0.5);
    }
    #format-btn {
        background-image: linear-gradient(to right, #3498db 0%, #2980b9 51%, #3498db 100%);
    }
    #clear-btn {
        background-image: linear-gradient(to right, #e74c3c 0%, #c0392b 51%, #e74c3c 100%);
    }
    .copy-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        font-size: 24px;
        cursor: pointer;
        color: #e0e0e0;
        z-index: 10;
        background: none;
        border: none;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: 0.3s;
    }
    .copy-btn:hover {
        transform: scale(1.1);
        text-shadow: 0 0 10px rgba(52, 152, 219, 0.7);
    }
    .glow {
        position: absolute;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at center, rgba(52, 152, 219, 0.2) 0%, rgba(52, 152, 219, 0) 70%);
        pointer-events: none;
    }
    .more-tools {
        width: 90%;
        max-width: 1200px;
        margin: 10px auto;
        background: rgba(23, 32, 42, 0.7);
        border-radius: 15px;
        padding: 10px;
        box-shadow: 0 0 30px rgba(52, 152, 219, 0.3);
    }
    .more-tools h3 {
        text-align: center;
        color: #3498db;
        margin-bottom: 10px;
        font-size: 1.2em;
    }
    .tool-list {
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
    }
    .tool-link {
        display: flex;
        align-items: center;
        background-image: linear-gradient(to right, #3498db 0%, #2980b9 51%, #3498db 100%);
        background-size: 200% auto;
        padding: 8px 12px;
        border-radius: 25px;
        color: #e0e0e0;
        text-decoration: none;
        margin: 5px;
        transition: 0.3s;
        font-size: 0.9em;
    }
    .tool-link:hover {
        background-position: right center;
        box-shadow: 0 0 15px rgba(52, 152, 219, 0.5);
        transform: translateY(-3px);
    }
    .tool-icon {
        margin-right: 8px;
        font-size: 1em;
    }
    .ad-banner {
        position: fixed;
        top: 50%;
        transform: translateY(-50%);
        width: 135px;
        height: 600px;
        background: rgba(23, 32, 42, 0.7);
        border-radius: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 14px;
        color: #e0e0e0;
        text-align: center;
        padding: 10px;
        box-sizing: border-box;
        box-shadow: 0 0 20px rgba(52, 152, 219, 0.3);
        z-index: 1000;
    }
    .ad-banner-left {
        left: 10px;
    }
    .ad-banner-right {
        right: 10px;
    }
    .toast {
        position: fixed;
        top: 20px;
        right: 20px;
        background-color: rgba(46, 204, 113, 0.9);
        color: white;
        padding: 15px 25px;
        border-radius: 5px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.3);
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
        z-index: 1000;
    }
    .toast.show {
        opacity: 1;
    }
    .footer {
        background: rgba(23, 32, 42, 0.9);
        color: #e0e0e0;
        text-align: center;
        padding: 10px 0;
        font-size: 0.9em;
        box-shadow: 0 -2px 10px rgba(52, 152, 219, 0.3);
    }
    .footer-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }
    .footer-links a {
        color: #3498db;
        text-decoration: none;
        margin-left: 20px;
        transition: color 0.3s ease;
    }
    .footer-links a:hover {
        color: #2ecc71;
        text-decoration: underline;
    }

    /* Responsive styles */
    @media (max-width: 1024px) {
        .ad-banner {
            display: none;
        }
    }

    @media (max-width: 768px) {
        .container {
            flex-direction: column;
        }
        .column:first-child {
            border-right: none;
            border-bottom: 2px solid;
            border-image: linear-gradient(to right, #3498db, #2980b9) 1;
        }
        .input-container, .output-container {
            height: 200px;
        }
        .footer-content {
            flex-direction: column;
        }
        .footer-links {
            margin-top: 10px;
        }
        .footer-links a {
            margin-left: 10px;
            margin-right: 10px;
        }
    }

    @media (max-width: 480px) {
        .header h1 {
            font-size: 1.5em;
        }
        .header h2 {
            font-size: 0.8em;
        }
        .button-container {
            flex-direction: column;
        }
		 .input-container,.output-container {
            height:400px;flex-direction: column;
        }
		
        button {
            width: 100%;
            margin-bottom: 10px;
        }
        .tool-list {
            flex-direction: column;
        }
        .tool-link {
            width: 100%;
            justify-content: center;
            margin-bottom: 10px;
        }
    }