:root {
    --bg: #2f3c23c1;
    --surface: #48523ee7;
    --border: #a1a1a1;
    --text: #e1ffe0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

* {
    box-sizing: border-box;
}

a {
    color: inherit;
}

body {
    margin: 0;
    background: url('bg.webp');
    color: var(--text);
    line-height: 1.6;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: -1;
}

header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
}

.item img {
    aspect-ratio: 1 / 1;
    width: 32px;
}

.version {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    margin: 0;
    padding: 2px 10px;
    border: 1px solid #b3b18f;
    border-radius: 999px;
    background: rgb(61, 60, 40);
    color: #efffe2;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.35;
}

main {
    max-width: 1500px;
    margin: 0 auto;
    padding: 40px 20px 72px;
}

nav {
    margin: 0 auto;
    width: 65%;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

nav a:hover {
    color: var(--text);
}

nav ul {
    display: flex;
    gap: 16px;
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 0.95rem;
}

section {
    margin-bottom: 64px;
}

#div1 {
    display: grid;
    grid-template-columns: auto .85fr;
    grid-template-rows: 1fr;
    width: 100%;
    margin: 0;
    padding: 35px;
    padding-bottom: 0px;
}

#div2 {
    display: flex;
    flex-direction: column;
    gap: 2%;
    padding-right: 5%;
}

#div3 {
    aspect-ratio: 16 / 9;
}

#div3 iframe {
    display: block;
    width: 100%;
    height: 100%;
}

.usage-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 64px;
}

.animation-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.animation-slot h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.animation-slot img {
    width: 100%;
    height: auto;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    background: var(--surface);
}

.usage-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.usage-column img {
    width: 100%;
    height: auto;
    border: 1px solid var(--border);
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
    background: var(--surface);
}

.usage-column h2 {
    text-align: center;
}

table {
    width: auto;
    border-collapse: collapse;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}

th, td {
    padding: 10px 16px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

th {
    background: rgba(0, 0, 0, 0.25);
    font-weight: 600;
    letter-spacing: 0.03em;
}

tbody th {
    font-weight: 600;
    color: #b8d4b0;
    text-align: left;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background: rgba(255, 255, 255, 0.04);
}

@media (max-width: 600px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        flex-wrap: wrap;
    }

    .usage-section {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}