/* ==========================================================
   KoG Theme
   ========================================================== */


/* ===========================
   Variables
=========================== */

:root {

    --kog-bg: #15161E;
    --kog-bg-alt: #0f1016;

    --kog-primary: #60a5fa;
    --kog-primary-hover: #93c5fd;

    --kog-text: #f8fafc;
    --kog-text-muted: #94a3b8;

    --container-width: 1200px;
    --header-height: 80px;

}


/* ===========================
   Reset
=========================== */

* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    background: var(--kog-bg);

    color: var(--kog-text);

    font-family: Arial, Helvetica, sans-serif;

    line-height: 1.6;

}


img {

    max-width: 100%;

    display: block;

}


a {

    color: inherit;

    text-decoration: none;

}


/* ===========================
   Layout
=========================== */

main {

    min-height: 100vh;

}


.container {

    width: min(var(--container-width), 92%);

    margin: auto;

}

/* ===========================
   Typography
=========================== */

h1,
h2,
h3 {

    color: var(--kog-primary);

}


p {

    color: var(--kog-text-muted);

}


/* ===========================
   Header
=========================== */

.site-header {

    position: sticky;

    top: 0;

    height: var(--header-height);

    background: rgba(8, 13, 24, .92);

    backdrop-filter: blur(8px);

    border-bottom: 1px solid rgba(255,255,255,.08);

    z-index: 1000;

}

.site-header .container {

    display: flex;

    justify-content: space-between;

    align-items: center;

    height: 100%;

}

.site-branding a {

    color: var(--kog-primary);

    font-size: 1.25rem;

    font-weight: 700;

    transition: color .25s ease;

}


.site-branding a:hover {

    color: var(--kog-primary-hover);

}


.main-navigation ul {

    display: flex;

    list-style: none;

    gap: 2rem;

}


.main-navigation a {

    color: var(--kog-primary);

    font-weight: 600;

    transition: color .25s ease;

}


.main-navigation a:hover {

    color: var(--kog-primary-hover);

}


/* ===========================
   Sections (future)
=========================== */

.section {

    padding: 5rem 0;

}


.section-alt {

    background: var(--kog-bg-alt);

}


/* ===========================
   Buttons
=========================== */

.button {
    ...
}

.button-outline {
    ...
}


/* Button Icons */

/* ===========================
   Buttons
=========================== */

.button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 1.2rem 2.5rem;

    font-size: 1.15rem;

}


/* Button Icons */

.button-icon {

    display: inline-flex;

    align-items: center;

    gap: .8rem;

}


.button-icon img {

    width: 32px;

    height: 32px;

    object-fit: contain;

}

/* ===========================
   Hero
=========================== */


.hero {

    min-height: calc(100vh - var(--header-height));

    display: flex;

    justify-content: center;

    align-items: center;

    text-align: center;

    background:
        linear-gradient(
            rgba(21,22,30,.75),
            var(--kog-bg)
        );

}

  

.hero-content {

    width: min(900px, 92%);

}


.kog-logo {

    width: min(900px, 95%);

    max-height: 450px;

    object-fit: contain;

    margin: 0 auto 2rem;

}


.hero-established {

    font-size: 1.2rem;

    color: var(--kog-text-muted);

    margin-bottom: 2rem;

}



.hero-buttons {

    display:flex;

    justify-content:center;

    gap:1rem;

}



.restart-box {

    margin:3rem auto 0;

    max-width:700px;

    padding:1.5rem 2rem;

    background:rgba(96,165,250,.15);

    border:1px solid var(--kog-primary);

    border-radius:12px;

}


.restart-box h3 {

    margin-bottom:.5rem;

}



.restart-box p {

    color:var(--kog-text);

}




/* ===========================
   About Cards
=========================== */


.section h2 {

    text-align: center;

    font-size: 2.5rem;

    margin-bottom: 1rem;

}


.section-subtitle {

    text-align: center;

    max-width: 800px;

    margin: 0 auto 3rem;

}



/* Two main cards */

.about-grid {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 2rem;

    max-width: 1000px;

    margin: 3rem auto;

}



.about-card {

    background:
        linear-gradient(
            145deg,
            #111827,
            #0b1220
        );

    border: 1px solid rgba(96,165,250,.25);

    border-radius: 16px;

    padding: 2.5rem;

    min-height: 260px;

    transition: 
        transform .25s ease,
        border-color .25s ease;

}



.about-card:hover {

    transform: translateY(-8px);

    border-color: var(--kog-primary);

}



.about-card h3 {

    margin-bottom: 1.2rem;

    font-size: 1.4rem;

}



.about-card p {

    line-height: 1.8;

}



/* Supported games */


.games-title {

    margin-top: 5rem;

    margin-bottom: 2rem;

    text-align:center;

    font-size:2rem;

}



.games-grid {

    display:grid;

    grid-template-columns:repeat(5, minmax(0,1fr));

    gap:1.2rem;

    max-width:1100px;

    margin:auto;

}



.game-card {

    display: flex;
    justify-content: center;
    align-items: center;

    background:
        linear-gradient(
            145deg,
            #111827,
            #0b1220
        );

    border: 1px solid rgba(96,165,250,.20);
    border-radius: 12px;

    padding: 1.5rem 1rem;

    text-align: center;

    color: inherit;
    text-decoration: none;

    cursor: pointer;

    transition:
        transform .25s ease,
        border-color .25s ease;

}

.game-card:hover {

    transform: translateY(-5px);
    border-color: var(--kog-primary);

}

.game-card:focus-visible {

    outline: 2px solid var(--kog-primary);
    outline-offset: 3px;

}



/* Responsive */

@media(max-width:900px) {


    .about-grid {

        grid-template-columns:1fr;

    }


    .games-grid {

        grid-template-columns:repeat(2,1fr);

    }

}



@media(max-width:600px) {


    .games-grid {

        grid-template-columns:1fr;

    }

}

/* ===========================
   Servers
=========================== */



.servers-layout {

    display:grid;

    grid-template-columns:repeat(2,minmax(0,1fr));

    gap:2rem;

}


.servers-column {

    display:flex;

    flex-direction:column;

    gap:2rem;

}   

.server-card {

    background:var(--kog-bg-alt);

    border:1px solid rgba(96,165,250,.25);

    border-radius:16px;

    padding:2rem;

}



.game-logo {

    width: 100%;

    max-width: 350px;

    height: auto;

    margin: 0 auto 2rem;

    object-fit: contain;

}



.server-banners {

    display:flex;

    flex-direction:column;

    gap:1rem;

}



.server-banners img {

    width:100%;

    height:auto;

    border-radius:8px;

}



@media(max-width:900px){

    .servers-layout {

        grid-template-columns:1fr;

    }

}

/* ===========================
   Rules
=========================== */

.section-intro {

    max-width: 800px;

    margin: 0 auto 3rem;

    text-align: center;

    color: var(--kog-text-muted);

    line-height: 1.7;

}

.rules-grid {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 2rem;

}

.rule-card {

    background: var(--kog-bg-alt);

    border: 1px solid rgba(96,165,250,.25);

    border-radius: 16px;

    padding: 2rem;

}

.rule-card h3 {

    margin-bottom: 1.5rem;

    color: var(--kog-text);

}

.rule-card ul {

    margin: 0;

    padding: 0;

    list-style: none;

}

.rule-card li {

    position: relative;

    padding-left: 1.6rem;

    margin-bottom: .9rem;

    line-height: 1.6;

    color: var(--kog-text-muted);

}

.rule-card li::before {

    content: "✓";

    position: absolute;

    left: 0;

    color: var(--kog-primary);

    font-weight: bold;

}

@media (max-width: 900px) {

    .rules-grid {

        grid-template-columns: 1fr;

    }

}

/* ===========================
   Publishers
=========================== */

.publishers-grid {

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 2rem;

    margin-top: 3rem;

}

.publisher-card {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    text-decoration: none;

    background: var(--kog-bg-alt);

    border: 1px solid rgba(96,165,250,.25);

    border-radius: 16px;

    padding: 2rem;

    transition: all .25s ease;

}

.publisher-card:hover {

    transform: translateY(-4px);

    border-color: var(--kog-primary);

}

.publisher-logo {

    height: 80px;

    width: auto;

    max-width: 100%;

    object-fit: contain;

    margin-bottom: 1.5rem;

}

.publisher-card h3 {

    color: var(--kog-text);

    font-size: 1.1rem;

    margin: 0;

}

@media (max-width: 900px) {

    .publishers-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}

@media (max-width: 600px) {

    .publishers-grid {

        grid-template-columns: 1fr;

    }

}

/* ===========================
   Recruiting
=========================== */

.recruiting-grid {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 2rem;

    margin-top: 3rem;

}


.recruiting-card {

    background: var(--kog-bg-alt);

    border: 1px solid rgba(96,165,250,.25);

    border-radius: 16px;

    padding: 2rem;

}


.recruiting-card h3 {

    margin-bottom: 1.5rem;

    color: var(--kog-text);

}


.recruiting-card ul {

    list-style: none;

    padding: 0;

    margin: 0;

}


.recruiting-card li {

    position: relative;

    padding-left: 1.6rem;

    margin-bottom: .9rem;

    line-height: 1.6;

    color: var(--kog-text-muted);

}


.recruiting-card li::before {

    content: "✓";

    position: absolute;

    left: 0;

    color: var(--kog-primary);

    font-weight: bold;

}


@media (max-width: 900px) {

    .recruiting-grid {

        grid-template-columns: 1fr;

    }

}

/* ===========================
   Recruiting Closing
=========================== */

.recruiting-closing {

    text-align: center;

    margin-top: 3rem;

    font-size: 1.1rem;

    color: var(--kog-text-muted);

}

/* ===========================
   Recruiting Actions
=========================== */

.recruiting-actions {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 1rem;

    margin-top: 3rem;

}


@media (max-width: 600px) {

    .recruiting-actions {

        flex-direction: column;

    }

}

/* ===========================
   Donations
=========================== */

.donations-grid {

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 2rem;

    margin-top: 3rem;

}
@media (max-width: 768px) {

    .donations-grid {

        grid-template-columns: 1fr;

    }

}

.donations-card {

    background: var(--kog-bg-alt);

    border: 1px solid rgba(96,165,250,.25);

    border-radius: 16px;

    padding: 2rem;

}


.donations-card h3 {

    margin-bottom: 1.5rem;

    color: var(--kog-text);

}


.donations-card p,
.donations-card li {

    color: var(--kog-text-muted);

    line-height: 1.6;

}

/* ===========================
   Donation Links
=========================== */

.donation-links {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 3rem;

    margin-top: 3rem;

}


.donation-card {

    display: flex;

    justify-content: center;

    align-items: center;

    background: var(--kog-bg-alt);

    border: 1px solid rgba(96,165,250,.25);

    border-radius: 16px;

    padding: 2rem;

}


.donation-card img {

    max-width: 180px;

    height: auto;

}


@media (max-width: 600px) {

    .donation-links {

        flex-direction: column;

    }

}

/* ===========================
   Members
=========================== */

.members-title {

    margin-top: 3rem;

    margin-bottom: 1.5rem;

    font-size: 1.05rem;

    line-height: 1.4;

    font-weight: 600;

    color: var(--kog-text);

    text-align: center;

}


.members-founder {
    display: flex;
    justify-content: center;
}


.members-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}


.member-card {
    background: var(--kog-bg-alt);
    border: 1px solid rgba(96,165,250,.25);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}


.member-card h3 {

    font-size: 1.1rem;

    font-weight: 600;

    margin: 0;

    color: var(--kog-text);

}


.member-card p {
    margin-top: 1rem;
    color: var(--kog-text-muted);
    line-height: 1.6;
}


.member-card a {
    color: var(--kog-text);
    text-decoration: none;
}


.member-card a:hover {
    color: var(--kog-primary);
}


@media (max-width: 900px) {

    .members-grid {
        grid-template-columns: 1fr;
    }

}

.footer-bottom {

    text-align: center;

    margin-top: 2rem;

    font-size: 0.85rem;

    color: var(--kog-text-muted);

}


.footer-bottom p {

    margin: .5rem 0;

}


.footer-bottom a {

    color: var(--kog-text);

    text-decoration: none;

}


.footer-bottom a:hover {

    text-decoration: underline;

}

/* ===========================
   Legal Page
=========================== */


.legal-page {

    max-width: 900px;

}


.legal-title {

    margin-top: 3rem;

    margin-bottom: 1rem;

    font-size: 1.1rem;

    font-weight: 600;

    color: var(--kog-text);

}


.legal-page p {

    line-height: 1.7;

}


.legal-page ul {

    margin-bottom: 1.5rem;

}


.legal-page li {

    margin-bottom: .5rem;

}


.legal-page a {

    color: var(--kog-text);

}

/* ===========================
   Mobile Navigation
=========================== */

@media (max-width: 768px) {

    .site-header {

        height: auto;

    }


    .site-header .container {

        padding: .75rem 0;

    }


    .main-navigation ul {

        flex-wrap: wrap;

        justify-content: center;

        gap: .6rem 1.2rem;

    }


    .main-navigation a {

        font-size: .9rem;

    }

}