html, body {
    margin: 0;
    padding: 0;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    background: #161623;
    color: white;
}

* {
    box-sizing: border-box;
    transition: background-color 0.1s, color 0.1s, opacity 0.1s, border-color 0.1s, outline-width 0.1s;
}

ul {
    padding: 0;
}

header img.logo {
    width: 160px;
    max-height: 80px;
    height: 100%;
}

a {
    color: inherit;
    text-decoration: inherit;
}

p {
    white-space: pre-wrap;
}

header {
    background: #232846;
    padding: 20px;
}

header a {
    height: 100%;
    display: flex;
    gap: 8px;
    align-items: center;
}

header a[href*=hukkawheel]:after {
    display: block;
    content: "";
    background-image: url("/static/img/hukkawRAKO.png");
    width: 32px;
    height: 32px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

header a[href*=hukkatimer]:after {
    display: block;
    content: "";
    background-image: url("/static/img/hukkaw15MIN.png");
    width: 32px;
    height: 32px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

header a[href*=over100] {
    background: -webkit-linear-gradient(#fff,gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

header a.logo {
    margin-right: 32px;
}

header .content {
    display: grid;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    grid-template-columns: auto 1fr auto;
    margin: 0 auto 0;
}

header nav {
    display: flex;
    justify-content: space-between;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
    font-weight: 500;
    font-size: 18px;
}

header nav ul li {
    margin: 0;
}

footer {
    background: #232846;
    padding: 20px;
    margin: 0 auto 0;
}

footer .content {
    max-width: 1400px;
}

footer img.logo {
    max-height: 64px;
}

footer nav ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    font-weight: 500;
    flex-direction: column;
    padding: 0 48px;
}

footer nav ul li {
    margin: 0;
}

footer .legal {
    text-align: center;
    margin-top: 48px;
    font-size: 14px;
}

footer .legal .logos {
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: white;
}

footer .legal .logos img {
    max-height: 40px;
}

footer .two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: space-between;
    align-items: center;
}

.content {
    max-width: 1300px;
    margin: 32px auto 64px;
    padding: env(safe-area-inset-top, 0) env(safe-area-inset-right, 0) env(safe-area-inset-bottom, 0) env(safe-area-inset-left, 0);
}

.box {
    background: #232846;
    padding: 24px 48px;
    border-radius: 4px;
}

.offers {
    margin: 16px 0;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 8px;
}

.list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.list .card {
    flex-direction: row;
    justify-content: space-between;
}

.list .card p {
    width: 100%;
    padding-left: 48px;
}

.list .card img {
    max-height: 64px;
}

.cards .card {
    flex-direction: column;
}

.offers .card:nth-child(1) {
    background: #ecc21b;
    color: black;
}

.offers .card:nth-child(1):hover {
    background: #fdd125;
}

.offers .card:nth-child(2) {
    background: #cdcde1;
    color: black;
}

.offers .card:nth-child(2):hover {
    background: #e1e1f1;
}

.offers .card:nth-child(3) {
    background: #a46126;
}

.offers .card:nth-child(3):hover {
    background: #b76f2e;
}

.offers .card {
    background: #232846;
    display: inline-flex;
    align-items: center;
    padding: 24px;
    border-radius: 4px;
}

.offers .card:hover {
    background: #272d50;
}

.offers .card p {
    margin: 8px 0;
}

.offers .card h1 {
    background: white;
    color: #161623;
    padding: 4px;
    width: 100%;
    text-align: center;
}

.cards .card button, .cards .card .button {
    margin-top: auto;
}

.cards .card p {
    width: 100%;
}

.offers .card a.image-link {
    width: 100%;
}

.offers .card img {
    aspect-ratio: 1;
    display: block;
    width: 100%;
}

button, .button {
    background: #984adc;
    border-radius: 32px;
    border: none;
    color: white;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    font-weight: 500;
    font-size: 16px;
    padding: 16px 48px;
    width: fit-content;
    white-space: nowrap;
    text-decoration: none;
}

button:hover, .button:hover {
    background: #af5cf6;
}

.card:hover > button,.card:hover > .button {
    outline: 3px solid #984adc;
    outline-offset: -1px;
}

.categories ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    flex-flow: wrap;
}

.categories ul li {
    padding: 16px 64px;
    border-left: 1px solid #161623;
    flex: 1 1 auto;
    text-align: center;
    background: #232846;
}

.categories ul li:first-child {
    border-left: none;
}

.categories ul li:hover {
    background: #272d50;
}

.categories ul li.active {
    background: #2d345b;
}

header .menu {
    display: flex;
    font-size: 24px;
    border-radius: 3px;
    padding: 12px;
    aspect-ratio: 1/1;
    line-height: 1em;
    align-items: inherit;
    z-index: 99;
}

@media (min-width: 601px) {
    .categories ul li:first-child {
        border-radius: 4px 0 0 4px;
    }

    .categories ul li:last-child {
        border-radius: 0 4px 4px 0;
    }
}

@media (max-width: 600px) {
    .list .card {
        flex-direction: column;
    }

    .list .card img {
        max-height: 248px;
    }

    .categories ul {
        flex-direction: column;
    }

    .list .card p {
        padding-left: 0;
    }
}

@media (min-width: 901px) {
    header .menu {
        display: none;
    }
}

@media (max-width: 900px) {
    header .content {
        grid-template-columns: repeat(2, auto);
    }

    header nav {
        display: none;
        margin-top: 24px;
    }

    header nav.open {
        display: flex;
        flex-direction: column;
    }

    header nav ul {
        flex-direction: column;
    }

    header nav ul li a {
        padding: 8px 24px;
        white-space: nowrap;
    }
}

iframe {
    width: 100%;
    height: 80vh;
    border: none;
}

.gold {
    background: -webkit-linear-gradient(#fff,gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}