:root {
    --primary: #2a2d3e;
    --secondary: #1f2130;
    --accent: #6c5ce7;
    --text: #a4b1cd;
    --code-bg: #1a1b26;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    font-family: 'Inter', 'Fira Code', Arial, sans-serif;
    background: #181a20;
    color: #f3f3f3;
    margin: 0;
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    max-width: 700px;
    margin: 0 auto;
    background: #23262f;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    padding: 2rem 2.5rem 2.5rem 2.5rem;
}

header {
    background: #23262f;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 2rem 0 1rem 0;
    margin-bottom: 2rem;
}

.header-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

h1 {
    font-size: 2.2rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    letter-spacing: 1px;
}

.subtitle {
    color: #aaa;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.inputs {
    background: #20232b;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
}

.inputs label {
    display: flex;
    flex-direction: column;
    font-size: 1rem;
    color: #e0e0e0;
    gap: 0.3rem;
}

.inputs input,
.inputs select {
    background: #23262f;
    color: #f3f3f3;
    border: 1px solid #353945;
    border-radius: 6px;
    padding: 0.5rem 0.8rem;
    font-size: 1rem;
    transition: border 0.2s, box-shadow 0.2s;
    outline: none;
}

.inputs input:focus,
.inputs select:focus {
    border: 1.5px solid #4f8cff;
    box-shadow: 0 0 0 2px #4f8cff33;
}

.inputs select {
    cursor: pointer;
}

.endpoint {
    background: #20232b;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 1.5rem;
}

.endpoint h2 {
    margin-top: 0;
    font-size: 1.4rem;
    color: #4f8cff;
    letter-spacing: 1px;
}

.mines-grid {
    border-collapse: separate;
    border-spacing: 8px;
    margin: 1.5rem auto 0 auto;
}

.mines-grid td {
    width: 48px;
    height: 48px;
    background: #23262f;
    border-radius: 8px;
    text-align: center;
    font-size: 2rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.10);
    transition: background 0.2s, box-shadow 0.2s;
    cursor: pointer;
    border: 1.5px solid #353945;
}

.mines-grid td:hover {
    background: #2d313c;
    box-shadow: 0 2px 8px rgba(79,140,255,0.10);
}

.mines-grid span {
    display: inline-block;
    line-height: 48px;
}

.endpoint strong {
    color: #f3f3f3;
    font-weight: 500;
}

.endpoint span {
    font-size: 1.3rem;
    margin-right: 0.5rem;
}

.method {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    background: var(--accent);
    color: white;
    font-weight: 500;
    margin-right: 1rem;
}

.parameter {
    margin: 1rem 0;
}

.parameter-name {
    color: var(--accent);
    font-weight: 500;
}

.response-example {
    background: var(--code-bg);
    padding: 1rem;
    border-radius: 4px;
    font-family: 'Fira Code', monospace;
    margin: 1rem 0;
    white-space: pre;
    overflow-x: auto;
}

.contact {
    background: var(--primary);
    border-radius: 8px;
    padding: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.discord {
    color: var(--accent);
    font-weight: 500;
    text-decoration: none;
}

.discord:hover {
    text-decoration: underline;
}

.description {
    margin: 1rem 0;
    color: #8c96ab;
}

@media (max-width: 800px) {
    .container {
        padding: 1rem;
    }
    .inputs {
        flex-direction: column;
        gap: 1rem;
    }
}

.dragontower-grid {
    border-collapse: separate;
    border-spacing: 6px;
    margin: 1.5rem auto 0 auto;
}
.dragontower-grid td {
    width: 48px;
    height: 48px;
    background: #23262f;
    border-radius: 8px;
    text-align: center;
    font-size: 2rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.10);
    transition: background 0.2s, box-shadow 0.2s;
    border: 1.5px solid #353945;
}
.dragontower-grid td.egg {
    background: #2ecc40;
}
.dragontower-grid td.skull {
    background: #c0392b;
}
