:root {
    --bg-1: #182848;
    --bg-2: #4b6cb7;
    --card: rgba(255, 255, 255, 0.12);
    --card-hover: rgba(255, 255, 255, 0.2);
    --text: #f7f9ff;
    --muted: rgba(247, 249, 255, 0.82);
    --outline: rgba(255, 255, 255, 0.22);
    --accent: #6cf4c5;
    --accent-2: #9be9ff;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0 !important;
    min-height: 100vh;
}

body {
    font-family: "Trebuchet MS", "Segoe UI", sans-serif !important;
    color: var(--text) !important;
    background: radial-gradient(circle at 20% 20%, #5f7ac7 0%, transparent 35%),
                radial-gradient(circle at 80% 30%, #2f9aa0 0%, transparent 40%),
                linear-gradient(135deg, var(--bg-1), var(--bg-2)) !important;
    padding: 28px 16px !important;
}

.container {
    width: 100% !important;
    max-width: 980px !important;
    margin: 0 auto !important;
    padding: 28px 22px !important;
    border-radius: 18px;
    border: 1px solid var(--outline);
    background: rgba(10, 18, 34, 0.36);
    backdrop-filter: blur(3px);
}

.header h1,
h1 {
    margin: 0;
    font-size: clamp(1.8rem, 4.8vw, 2.8rem) !important;
    line-height: 1.15;
}

.header p,
p.subtitle {
    color: var(--muted);
}

.main-content {
    margin-top: 22px;
}

.footer {
    margin-top: 18px;
    color: var(--muted);
    font-size: 0.94rem;
}

a {
    color: var(--accent-2);
}

.links {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.links a {
    display: block;
    text-decoration: none;
    color: var(--text);
    font-size: clamp(0.98rem, 2.5vw, 1.1rem);
    font-weight: 700;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--outline);
    background-color: var(--card);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.links a:hover {
    background-color: var(--card-hover);
    transform: translateY(-2px);
}

pre,
code,
.section pre {
    font-family: "Consolas", "Menlo", monospace !important;
}

pre,
.code-block,
.section pre,
.command-section,
form {
    background: rgba(10, 18, 34, 0.55) !important;
    color: var(--text) !important;
    border: 1px solid var(--outline) !important;
    border-radius: 12px !important;
    padding: 14px !important;
    box-shadow: none !important;
}

code {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #d7f7ff !important;
    padding: 4px 7px;
    border-radius: 6px;
}

table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--outline);
    background: rgba(10, 18, 34, 0.45);
}

th, td {
    border: 1px solid var(--outline) !important;
    padding: 10px 12px;
    color: var(--text);
}

th {
    background: rgba(255, 255, 255, 0.12) !important;
}

tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.04) !important;
}

button,
input[type="submit"],
input[type="button"] {
    border: 1px solid var(--outline);
    border-radius: 8px;
}

input,
textarea {
    background: rgba(255, 255, 255, 0.97) !important;
    color: #0f172a !important;
    border: 1px solid #b7ccdf !important;
    border-radius: 8px;
    padding: 10px;
}

.animation-container {
    margin-top: 22px;
    height: 52px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 10px;
}

.circle {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9) !important;
    animation: bounce 1.2s ease-in-out infinite;
}

.circle:nth-child(2) { animation-delay: 0.2s; }
.circle:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(-10px); opacity: 1; }
}
