:root {
    --primary: #4F46E5;
    --primary-hover: #4338CA;
    --bg: #F3F4F6;
    --card: #FFFFFF;
    --text: #1F2937;
    --text-light: #6B7280;
    --code-bg: #E0E7FF;
    --code-text: #3730A3;
}

* {
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 2rem;
    display: flex;
    justify-content: center;
}

.container {
    max-width: 900px;
    width: 100%;
}

header {
    text-align: center;
    margin-bottom: 3rem;
}

h1 {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

header p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-top: 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
}

.card {
    background: var(--card);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

h2 {
    margin-top: 0;
    font-size: 1.25rem;
    color: var(--text);
}

.card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

code {
    display: block;
    background: var(--code-bg);
    padding: 0.75rem;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    color: var(--code-text);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    text-decoration: underline;
}

.test-area {
    background: #111827;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 3rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.test-area h3 {
    color: #F9FAFB;
    margin-top: 0;
}

.input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    align-items: center;
    background: #1F2937;
    padding: 0.5rem;
    border-radius: 8px;
    border: 1px solid #374151;
}

.url-prefix {
    color: #9CA3AF;
    padding-left: 0.5rem;
    font-family: monospace;
}

.slash {
    color: #9CA3AF;
    font-weight: bold;
}

select, input {
    background: #374151;
    color: white;
    padding: 0.5rem;
    border: 1px solid #4B5563;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
}

input {
    flex: 1;
}

select:focus, input:focus {
    border-color: var(--primary);
}

button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

button:hover {
    background: var(--primary-hover);
}

pre {
    background: #000000;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    color: #10B981;
    margin: 0;
    border: 1px solid #374151;
}

