@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

@font-face {
    font-family: "Mojangles";
    src: url("Minecraft-Default.otf") format("opentype");
    font-display: swap;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #FFFFFF;
    color: #222222;
    font-family: "Inter", sans-serif;
}

.site-header {
    display: flex;
    align-items: center;
    padding: 16px 28px;
    background-color: #4B8DFE;
    color: #FFFFFF;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: inherit;
    text-decoration: none;
}

.logo {
    display: block;
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.site-header h1 {
    margin: 0;
    font-family: "Mojangles", sans-serif;
    font-size: 36px;
    font-weight: normal;
}

main {
    min-height: calc(100vh - 160px);
    padding: 28px;
    background: #FFFFFF;
}

.development {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 24px;
    text-align: center;
}

.development h2 {
    margin: 0 0 24px;
    font-family: "Mojangles", sans-serif;
    font-size: 28px;
    font-weight: normal;
}

.development h3 {
    font-size: 18px;
}

.development p {
    margin: 0 0 24px;
    color: #555555;
    line-height: 1.7;
}

.development-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}

.development-buttons .button {
    width: 240px;
    text-align: center;
}

.changelog {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 24px;
    text-align: center;
}

.changelog h2 {
    margin: 0 0 24px;
    font-family: "Mojangles", sans-serif;
    font-size: 28px;
    font-weight: normal;
}

.changelog h3 {
    font-size: 18px;
}

.changelog p {
    margin: 0 0 24px;
    color: #555555;
    line-height: 1.7;
}

.button {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.15s, opacity 0.15s;
}

.button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.button-primary {
    background: #4B8DFE;
    color: #FFFFFF;
}

.button:focus-visible,
.header-brand:focus-visible,
.site-footer a:focus-visible {
    outline: 3px solid #245BC5;
    outline-offset: 4px;
}

.button-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

.development-dropdowns {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 40px 0;
    text-align: left;
}

.development-dropdown {
    overflow: hidden;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    background: #FFFFFF;
}

.development-dropdown summary {
    position: relative;
    padding: 20px 52px 20px 22px;
    color: #245BC5;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    transition: background-color 0.2s;
}

.development-dropdown summary::-webkit-details-marker {
    display: none;
}

.development-dropdown summary::after {
    position: absolute;
    top: 50%;
    right: 22px;
    content: "+";
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: 400;
}

.development-dropdown[open] summary::after {
    content: "−";
}

.development-dropdown summary:hover {
    background: #F3F7FF;
}

.development-dropdown summary:focus-visible {
    outline: 3px solid #4B8DFE;
    outline-offset: -3px;
}

.dropdown-content {
    padding: 4px 22px 22px;
    border-top: 1px solid #E5E7EB;
}

.dropdown-content p {
    margin-bottom: 16px;
}

.dropdown-content p:last-child {
    margin-bottom: 0;
}

.development-roles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.role-card {
    padding: 18px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    background: #FFFFFF;
}

.role-card h3 {
    margin-top: 0;
    color: #245BC5;
    font-size: 16px;
}

.role-card p {
    margin-bottom: 0;
    font-size: 14px;
}

.development-steps {
    padding-left: 24px;
    line-height: 1.9;
}

.navigation {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    min-height: 450px;
    padding: 48px 24px;
}

.navigation .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 240px;
    min-height: 56px;
}

.site-footer {
    padding: 28px 16px;
    border-top: 1px solid #E5E7EB;
    color: #666666;
    font-size: 14px;
    text-align: center;
}

.site-footer p {
    margin: 8px 0;
}

.site-footer a {
    color: #245BC5;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 700px) {
    .development-roles {
        grid-template-columns: 1fr;
    }

    .development-dropdown summary {
        padding: 18px 46px 18px 16px;
    }

    .development-dropdown summary::after {
        right: 16px;
    }

    .dropdown-content {
        padding: 4px 16px 18px;
    }
}

@media (max-width: 600px) {
    .site-header {
        padding: 14px 18px;
    }

    .logo {
        width: 40px;
        height: 40px;
    }

    .site-header h1 {
        font-size: 30px;
    }

    main {
        padding: 16px;
    }

    .development {
        padding: 48px 8px;
    }

    .changelog {
        padding: 48px 8px;
    }

    .navigation {
        padding: 32px 16px;
    }
}
