.burger {
    width: 30px;
    height: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    cursor: pointer;
    transition: transform 0.3s ease;
    padding-bottom: 0;
}

.burger.open {
    transform: rotate(90deg);
}

.burger .bar {
    width: 100%;
    height: 4px;
    background-color: white;
    transition: all 0.3s ease;
}

.nav-list {
    display: none;
    flex-direction: column;
    position: absolute;

    left: 0;
    margin: 0;
    margin-top: 20px;
    padding-left: 10px;
    list-style: none;
    background: rgba(8, 18, 44, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: min(320px, calc(100vw - 24px));
    border-radius: 0 0 10px 10px;
}

.nav-list div {
    padding: 10px;
    text-align: left;
    background: rgba(10, 24, 56, 0.94);
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.nav-list div:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-list div:last-child {
    border-bottom: 0;
    border-bottom-right-radius: 10px;
}

.nav-list a {
    color: white;
    text-decoration: none;
}

.nav-list a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.nav-list div:hover a {
    background: rgba(255, 255, 255, 0.2);
    color: #af0101;
}

a,
a:link,
a:visited,
a:active,
a:focus {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

a:hover {
    color: #af0101;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #af0101;
}

body {
    font-family: 'Zen Dots', sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #06001c;
    background-image: url("https://godojang.de/gfx/godojang2026.png");
    background-position: center calc(center + 10px);
    background-repeat: no-repeat;
    background-size: cover;
}

header {
    background: linear-gradient(to top, rgba(8, 18, 44, 0.94), rgba(14, 30, 68, 0.72));
    color: #ffffff;
    padding: 20px;
    text-align: center;
}

.logo {
    max-width: 80%;
    height: auto;
}

img {
    max-width: 100%;
    height: auto;
}

main {
    /* padding: 20px; */
    width: 100%;
    max-width: none;
    flex: 1 0 auto;
}

#content.home-content {
    min-height: clamp(360px, 62vh, 760px);
    display: flex;
    align-items: flex-end;
}

#content.home-content .text-container {
    width: 100%;
    box-sizing: border-box;
    padding: clamp(16px, 4vw, 36px);
    background: linear-gradient(to bottom, rgba(10, 46, 112, 0.95), rgba(29, 105, 210, 0.45));
    color: #ffffff;
}

#content.home-content #homepage {
    max-width: 34ch;
    margin: 0;
    font-size: clamp(1rem, 2.2vw, 1.5rem);
    line-height: 1.35;
}

footer {
    text-align: center;
    padding: 10px;
    background: linear-gradient(to top, rgba(6, 16, 40, 0.94), rgba(10, 28, 70, 0.88));
    color: #ffffff;
    margin-top: auto;
    width: 100%;
}

.token-box {
    max-width: 900px;
    margin: 0 auto 16px;
}
.token-box label {
    display:block;
    margin-bottom: 6px;
    opacity: .9;
}
.token-row {
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}
.token-row input {
    flex: 1 1 420px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(0,0,0,.25);
    color: inherit;
}
.token-row button {
    padding: 10px 14px;
    border-radius: 10px;
    border: 0;
    cursor: pointer;
}
pre#api-output {
    white-space: pre-wrap;
    max-width: 900px;
    margin: 0 auto;
    padding: 14px;
    border-radius: 12px;
    background: rgba(0,0,0,.25);
    border: 1px solid rgba(255,255,255,.12);
}
.hint {
    font-size: .9rem;
    opacity: .8;
    margin-top: 8px;
}

@media (max-width: 768px) {
    #content.home-content {
        min-height: 52vh;
    }

    body {
        background-position: center top;
    }

    #content.home-content .text-container {
        padding: 16px;
    }
}
