
:root {
    --main-bg: linear-gradient(135deg, #7C5A0B 0%, #4B5320 50%, #1E3A8A 100%);
    --highlight-color: #FFD700;
    --text-color: #F2F4C3;
    --secondary-bg: #8B4513;
    --shadow-color: rgba(0, 0, 0, 0.5);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Roboto Mono', monospace;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--main-bg);
    color: var(--text-color);
    line-height: 1.6;
}

header {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
}

header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--highlight-color);
    margin: 0;
}

.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.section {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px var(--shadow-color);
    transition: transform 0.3s ease;
}

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

.left-section {
    background-image: url('https://images.gptkong.com/demo/sample1.png');
    background-size: cover;
    background-position: center;
    border: 5px solid var(--highlight-color);
}

.right-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

pre {
    background: #1E3A8A;
    color: #FFD700;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
}

code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
}

.button {
    background-color: var(--secondary-bg);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 2px 2px 5px var(--shadow-color);
    cursor: pointer;
    transition: background 0.3s ease;
}

.button:hover {
    background-color: #A0522D;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid var(--highlight-color);
    border-top: 5px solid var(--secondary-bg);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 10px 0;
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }

    pre {
        font-size: 0.8rem;
    }
}

footer {
    text-align: center;
    padding: 10px;
    background: rgba(0, 0, 0, 0.4);
    color: var(--highlight-color);
    font-size: 0.9rem;
}

