body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 400px;
    margin: 60px auto 0 auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px 0 rgba(60,72,100,0.10);
    padding: 32px 28px 24px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #3b3b5c;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.scrape-form {
    width: 100%;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.input-url {
    flex: 1 1 180px;
    padding: 12px 14px;
    border: 1.5px solid #bfc9e0;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border 0.2s;
    background: #f4f6fb;
}
.input-url:focus {
    border-color: #6366f1;
    background: #fff;
}

.scrape-btn {
    padding: 12px 22px;
    background: linear-gradient(90deg, #6366f1 0%, #60a5fa 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px 0 rgba(99,102,241,0.08);
}
.scrape-btn:hover {
    background: linear-gradient(90deg, #60a5fa 0%, #6366f1 100%);
}

.result-box {
    width: 100%;
    min-height: 48px;
    background: #f4f6fb;
    border-radius: 8px;
    margin-top: 10px;
    padding: 14px 12px;
    color: #22223b;
    font-size: 1.05rem;
    word-break: break-word;
    box-sizing: border-box;
    box-shadow: 0 1px 4px 0 rgba(60,72,100,0.04);
}

.footer-brand {
    margin-top: auto;
    width: 100%;
    text-align: center;
    padding: 18px 0 12px 0;
    font-size: 1.1rem;
    color: #6366f1;
    font-weight: 600;
    letter-spacing: 1px;
    background: transparent;
}

.dark {
    background: #181a1b !important;
    color: #e0e0e0 !important;
}
.dark .container {
    background: #23272a !important;
    color: #e0e0e0 !important;
}
.dark input, .dark textarea, .dark input[type="text"] {
    background: #23272a !important;
    color: #e0e0e0 !important;
    border: 1px solid #444 !important;
}
.dark .scrape-btn, .dark button {
    background: #444 !important;
    color: #e0e0e0 !important;
}
.dark .result-box, .dark #result {
    background: #23272a !important;
    color: #e0e0e0 !important;
    border-color: #444 !important;
}
.theme-switch {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 2rem;
    padding: 0.5rem 1rem;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
}
.dark .theme-switch {
    background: #23272a;
    color: #e0e0e0;
    border: 1px solid #444;
}

@media (max-width: 600px) {
    .container {
        max-width: 98vw;
        padding: 18px 6vw 16px 6vw;
    }
    .title {
        font-size: 1.5rem;
    }
    .scrape-form {
        flex-direction: column;
        gap: 8px;
    }
    .input-url, .scrape-btn {
        width: 100%;
        font-size: 1rem;
    }
    .result-box {
        font-size: 0.98rem;
        padding: 10px 7px;
    }
    .footer-brand {
        font-size: 1rem;
        padding: 12px 0 8px 0;
    }
}
body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    margin: 0;
    padding: 0;
}
.container {
    max-width: 500px;
    margin: 60px auto;
    background: #fff;
    padding: 32px 24px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
h1 {
    text-align: center;
    margin-bottom: 24px;
}
form {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}
input[type="text"] {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}
button {
    padding: 8px 18px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
}
button:hover {
    background: #0056b3;
}
#result {
    margin-top: 18px;
    white-space: pre-wrap;
    background: #f9f9f9;
    padding: 12px;
    border-radius: 4px;
    min-height: 40px;
    font-size: 15px;
}
