* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', sans-serif;
    background: #0b0f1a;
    color: #e0e4f0;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
/* animated gradient background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(45, 75, 150, 0.2) 0%, transparent 30%),
                radial-gradient(circle at 80% 70%, rgba(150, 60, 200, 0.15) 0%, transparent 35%);
    z-index: -1;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    flex: 1;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #a7c0ff, #d4a5ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}
.logo i {
    background: none;
    -webkit-text-fill-color: #a7c0ff;
    margin-right: 8px;
}
.badge {
    background: #1e2a3a;
    padding: 0.4rem 1rem;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #b0c8ff;
    border: 1px solid #2f4055;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.badge i {
    margin-right: 6px;
    color: #5f9ea0;
}
h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    background: linear-gradient(to right, #ffffff, #c0d0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.subhead {
    font-size: 1.3rem;
    color: #9aaec9;
    max-width: 650px;
    margin-bottom: 2.5rem;
    border-left: 4px solid #4f6f8f;
    padding-left: 1.5rem;
}
.card {
    background: rgba(20, 28, 45, 0.7);
    backdrop-filter: blur(12px);
    border-radius: 32px;
    border: 1px solid rgba(255,255,255,0.08);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 25px 40px -12px rgba(0,0,0,0.6);
    transition: transform 0.2s;
}
.card:hover {
    transform: translateY(-4px);
    border-color: rgba(120, 160, 255, 0.3);
}
.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d0dcff;
}
.card-title i {
    color: #5f9ea0;
}
pre {
    background: #0c121f;
    padding: 1.2rem;
    border-radius: 18px;
    overflow-x: auto;
    border: 1px solid #2a3346;
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 0.95rem;
    color: #cfdfff;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}
code {
    font-family: 'Fira Code', monospace;
}
.param-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px,1fr));
    gap: 0.8rem;
    margin-top: 1rem;
}
.param-item {
    background: #0f172a;
    padding: 0.5rem 1rem;
    border-radius: 40px;
    font-size: 0.9rem;
    border: 1px solid #253041;
    display: inline-block;
    color: #b7d0ff;
}
.param-item i {
    margin-right: 6px;
    color: #6b8cff;
}
.example-box {
    background: #0e1625;
    border-radius: 20px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border: 1px solid #25385a;
}
.flex-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}
input, button {
    background: #1e2b3c;
    border: 1px solid #354b66;
    padding: 0.8rem 1.5rem;
    border-radius: 40px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: white;
    outline: none;
    transition: all 0.2s;
}
input:focus {
    border-color: #6d8eff;
    box-shadow: 0 0 0 3px rgba(109,142,255,0.3);
}
button {
    background: #3f5e8c;
    border: none;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
button:hover {
    background: #4f70a8;
    transform: scale(1.02);
}
.response-area {
    background: #0a101c;
    border-radius: 16px;
    padding: 1rem;
    font-family: monospace;
    white-space: pre-wrap;
    word-break: break-word;
    border: 1px solid #2e3f5a;
    margin-top: 1rem;
    max-height: 300px;
    overflow: auto;
}
.footer {
    margin-top: 4rem;
    text-align: center;
    color: #6a7e9e;
    font-size: 0.9rem;
    border-top: 1px solid #1f2a38;
    padding-top: 2rem;
}
.footer a {
    color: #a5b9ff;
    text-decoration: none;
}
.geometry-easter {
    opacity: 0.3;
    transition: opacity 0.3s;
    cursor: default;
    display: inline-block;
}
.geometry-easter:hover {
    opacity: 1;
    color: #ffb86b;
}
.status-button {
    display: inline-block;
    background: #3f5e8c;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s;
    margin-top: 1rem;
}
.status-button:hover {
    background: #4f70a8;
    transform: scale(1.02);
}
