/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
    background:
        #153d19 url("/img/bg.webp")
        center top / cover fixed no-repeat;
}

body {
    margin: 0;
    padding: 0;
    min-width: 320px;
    background:
        url("/img/background.webp")
        center center / cover fixed no-repeat;
    background-attachment: fixed;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}


/* =========================================================
   MAIN WRAPPER
========================================================= */

.site {
    width: 620px;
    max-width: calc(100% - 18px);
    margin: 0 auto;
    padding: 8px 0 18px;
    background: transparent;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    width: 100%;
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 7px;
}

.brand {
    width: 235px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand img {
    width: 205px;
    max-height: 60px;
    object-fit: contain;
}


/* =========================================================
   AUTH
========================================================= */

.auth {
    width: 245px;
    min-height: 38px;
    padding: 5px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid #137b00;
    border-radius: 4px;
    background: #030803;
    box-shadow:
        0 0 5px rgba(90, 255, 0, .95),
        inset 0 0 10px rgba(90, 255, 0, .20);
}

.auth button {
    width: 105px;
    height: 20px;
    padding: 0;
    border: 1px solid #54ed00;
    border-radius: 2px;
    background: #030803;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    box-shadow:
        inset 0 0 4px rgba(90, 255, 0, .15);
}

.auth button:hover {
    background: #0b2508;
    color: #69ff00;
    box-shadow:
        0 0 5px rgba(90, 255, 0, .8);
}

.auth .LOGIN,
.auth .register {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================================================
   NAVIGATION
========================================================= */

.nav {
    width: 100%;
    margin: 0 0 10px;
    padding: 4px;
    overflow: hidden;
    border: 1px solid #137b00;
    border-radius: 6px;
    background: #030803;
    box-shadow:
        0 0 5px rgba(90, 255, 0, .8),
        inset 0 0 7px rgba(90, 255, 0, .14);
}

.nav ul {
    width: 100%;
    min-width: max-content;
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
    border: 1px solid #1ca100;
    border-radius: 3px;
    background: #020502;
}

.nav li {
    flex: 1 1 auto;
    margin: 0;
    padding: 0;
}

.nav li a {
    min-height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px 6px;
    border-right: 1px solid #086600;
    color: #fff;
    background: linear-gradient(
        #0d260c,
        #030803
    );
    font-size: 7px;
    font-weight: 700;
    white-space: nowrap;
}

.nav li:last-child a {
    border-right: 0;
}

.nav li a:hover,
.nav li.active a {
    color: #061000;
    background: linear-gradient(
        #8cff3a,
        #39ee3e
    );
}


/* =========================================================
   TICKER
========================================================= */

.ticker {
    width: 100%;
    height: 25px;
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    padding: 0 7px;
    overflow: hidden;
    border: 1px solid #4bdd00;
    background: #fff;
    color: #222;
}

.ticker span {
    flex: 0 0 auto;
    margin-right: 7px;
    color: #222;
}

.ticker marquee {
    color: #222;
    font-size: 12px;
    font-weight: 700;
}


/* =========================================================
   MAIN
========================================================= */

main {
    width: 100%;
}


/* =========================================================
   HERO
========================================================= */

.hero-row {
    width: 100%;
    display: flex;
    gap: 5px;
    margin-top: 5px;
}

.results {
    width: 175px;
    flex: 0 0 175px;
    background: rgba(0, 0, 0, .45);
    border: 1px solid #5aff00;
}

.result-head,
.result-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
}

.result-head {
    height: 30px;
    background: #138700;
    text-align: center;
    font-size: 10px;
}

.result-row {
    height: 22px;
    padding: 0 3px;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
    font-size: 8px;
}

.result-row span {
    text-align: center;
}

.result-row em {
    font-style: normal;
    text-align: right;
    font-weight: 700;
    color: #fff;
}

.hero {
    height: 184px;
    flex: 1;
    overflow: hidden;
    border: 1px solid #59ff00;
    background: #111;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* =========================================================
   QUICK LINKS
========================================================= */

.quick-links {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
    margin-top: 8px;
    padding: 4px;
    border: 1px solid #5aff00;
    background: rgba(0, 0, 0, .35);
}

.quick-links a {
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #54ed00;
    background: linear-gradient(
        #fff,
        #d8d8d8
    );
    color: #168400;
    font-size: 8px;
    font-weight: 700;
}


/* =========================================================
   CARDS
========================================================= */

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    margin-top: 8px;
}

.cards a {
    height: 200px;
    display: block;
    overflow: hidden;
    border: 1px solid #59ff00;
}

.cards img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* =========================================================
   WIDE BANNER
========================================================= */

.wide-banner {
    display: block;
    margin: 26px 6px 10px;
    overflow: hidden;
    border: 1px solid #59ff00;
}

.wide-banner img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}


/* =========================================================
   CONTENT
========================================================= */

.content {
    padding: 0 6px 18px;
    text-align: center;
}

.content h1 {
    margin: 8px 0 12px;
    color: #69ff00;
    font-size: 20px;
    line-height: 26px;
}

.content p {
    margin-bottom: 7px;
    text-align: justify;
    line-height: 17px;
}

.content strong {
    color: #69ff00;
}


/* =========================================================
   ENTRY
========================================================= */

.entry-title {
    width: 100%;
    margin: 0;
    padding: 8px 12px;
    color: #69ff00;
    background: linear-gradient(
        90deg,
        #071507 0%,
        #0a2108 75%,
        transparent 100%
    );
    border-bottom: 1px solid #54ed00;
    font-size: 20px;
    line-height: 1.1;
    font-weight: 700;
    text-shadow:
        0 0 5px rgba(105, 255, 0, .35);
}


/* =========================================================
   ENTRY CONTENT
========================================================= */

.entry-content {
    width: 100%;
    margin: 0;
    padding: 13px 13px 18px;
    border: 1px solid #5aff00;
    border-radius: 6px;
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(84, 237, 0, .16),
            transparent 38%
        ),
        linear-gradient(
            #0b210c,
            #020602
        );
    box-shadow:
        0 0 7px rgba(90, 255, 0, .85),
        inset 0 0 24px rgba(84, 237, 0, .16);
}

.entry-content p {
    margin: 0 0 13px;
    color: #fff;
    font-size: 9px;
    line-height: 1.45;
}

.entry-content ul {
    margin: 0 0 16px;
    padding-left: 19px;
}

.entry-content li {
    margin: 0 0 2px;
    padding-left: 1px;
    color: #fff;
    font-size: 9px;
    line-height: 1.38;
}

.entry-content strong,
.entry-content a {
    color: #69ff00;
}

.entry-content br {
    line-height: 7px;
}

.entry-content object {
    display: block;
    width: 100%;
    height: 260px;
    margin: 0 0 12px;
    border: 1px solid #59ff00;
    background: #020602;
}


/* =========================================================
   GAME GRID
========================================================= */

.game-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 0 0 18px;
}

.game-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #fff;
    font-size: 9px;
}

.game-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: block;
    object-fit: cover;
    border: 1px solid #59ff00;
    border-radius: 6px;
    background: #020602;
    box-shadow: 0 0 5px rgba(90, 255, 0, .45);
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.game-card span {
    margin-top: 5px;
    line-height: 14px;
}

.game-card:hover img {
    transform: translateY(-2px);
    box-shadow: 0 0 7px rgba(90, 255, 0, .85);
}


/* =========================================================
   FOOTER
========================================================= */

#sectionFooter {
    width: 100%;
    margin: 0;
    padding: 0;
}

#sectionFooter footer {
    width: 100%;
    margin: 14px auto 0;
    padding: 0;
}

#sectionFooter footer > div {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 22px 18px;
    color: #fff;
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(84, 237, 0, .16),
            transparent 42%
        ),
        #030803;
    border: 1px solid #5aff00;
    border-radius: 6px;
    line-height: 1.55;
    box-shadow:
        0 0 7px rgba(90, 255, 0, .85),
        inset 0 0 25px rgba(84, 237, 0, .16);
}

#sectionFooter h1 {
    margin: 0 0 15px;
    padding: 0 0 7px;
    border-bottom: 1px solid #54ed00;
    color: #69ff00;
    font-size: 17px;
}

#sectionFooter h2 {
    margin: 20px 0 9px;
    padding: 0 0 5px;
    border-bottom: 1px solid #1ca100;
    color: #69ff00;
    font-size: 13px;
}

#sectionFooter p {
    margin: 0 0 13px;
    color: #fff;
    font-size: 9px;
    line-height: 1.55;
    text-align: left;
}

#sectionFooter a {
    color: #69ff00;
    font-weight: 600;
    text-decoration: none;
}

#sectionFooter a:hover {
    color: #8cff3a;
}

#sectionFooter small {
    color: #fff;
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    padding: 8px 5px;
    text-align: center;
    font-size: 9px;
    color: #fff;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .site {
        width: 100%;
        max-width: calc(100% - 10px);
        padding: 6px 6px 15px;
    }

    .header {
        min-height: 55px;
    }

    .brand {
        width: 48%;
        flex-basis: 48%;
    }

    .brand img {
        width: 100%;
        max-width: 190px;
    }

    .auth {
        width: 52%;
        gap: 5px;
        padding: 4px;
    }

    .auth button {
        width: 50%;
        font-size: 9px;
    }

    .nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav ul {
        width: max-content;
        min-width: 100%;
    }

    .nav li a {
        padding: 4px 7px;
        font-size: 7px;
    }

    .hero-row {
        flex-direction: column;
    }

    .results {
        width: 100%;
        flex-basis: auto;
    }

    .hero {
        width: 100%;
        height: 190px;
    }

    .quick-links {
        grid-template-columns: repeat(3, 1fr);
    }

    .cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .game-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px 7px;
    }

    .game-card {
        font-size: 8px;
    }

    .wide-banner {
        margin-left: 0;
        margin-right: 0;
    }

    .wide-banner img {
        height: auto;
        min-height: 100px;
    }

    .entry-title {
        font-size: 17px;
    }

    .entry-content {
        padding: 11px 10px 15px;
    }

    .entry-content p,
    .entry-content li {
        font-size: 9px;
    }

    .entry-content object {
        height: 230px;
    }

    #sectionFooter footer > div {
        padding: 18px 12px;
    }
}

@media (max-width: 520px) {

    .brand img {
        max-width: 165px;
    }

    .auth {
        min-height: 34px;
    }

    .quick-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .game-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}