:root{
    --bg:#071016;
    --panel:#0b151d;
    --line:#173043;
    --blue:#0877ff;
    --gold:#ffc400;
    --text:#f5f8fb;
    --muted:#aebbc5;
}

*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    background:var(--bg);
    color:var(--text);
    font-family:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif;
}

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

header{
    height:78px;
    display:flex;
    align-items:center;
    gap:34px;
    padding:0 5vw;
    background:#050b0f;
    border-bottom:1px solid #15242e;
    position:sticky;
    top:0;
    z-index:20;
}

.brand{
    font-weight:900;
    letter-spacing:.4px;
}

.brand b{
    color:var(--gold);
}

nav{
    display:flex;
    gap:28px;
    margin-left:auto;
}

nav a{
    color:#d8e0e5;
}

.nav-actions,
.actions{
    display:flex;
    gap:12px;
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:12px 18px;
    background:var(--blue);
    border:1px solid #2688ff;
    border-radius:4px;
    font-weight:800;
}

.support{
    background:transparent;
    border-color:var(--gold);
    color:var(--gold);
}

.big{
    padding:15px 22px;
}


/* BAKGRUNDSBILDEN */
.hero{
    min-height:620px;
    position:relative;

    background-image:url('sgc-hero.png') !important;
    background-position:center center !important;
    background-size:60% auto !important;
    background-repeat:no-repeat !important;
    background-color:#071016 !important;

    display:flex;
    align-items:center;
}

.shade{
    position:absolute;
    inset:0;
    background:
        linear-gradient(
            90deg,
            rgba(3,9,13,.94) 0%,
            rgba(3,9,13,.7) 40%,
            rgba(3,9,13,.1) 75%
        ),
        linear-gradient(
            0deg,
            rgba(3,9,13,.65),
            transparent 50%
        );
}

.hero-copy{
    position:relative;
    width:min(650px,90%);
    margin-left:5vw;
}

.eyebrow{
    font-size:12px;
    letter-spacing:3px;
    font-weight:800;
    color:#dce8f0;
}

.hero h1,
.wrap h2,
.cta h2{
    font-size:clamp(42px,6vw,78px);
    line-height:.92;
    margin:14px 0 20px;
    font-weight:950;
}

.hero h1 em,
h2 em{
    font-style:normal;
    color:var(--blue);
}

.hero p,
.discord p,
.cta p{
    color:#d0d9df;
    font-size:18px;
    line-height:1.65;
    max-width:620px;
}


/* SPEL */
.games{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:0;
    overflow:auto;
    background:#0a141b;
    border-block:1px solid #182a36;
}

.games>*{
    padding:22px 28px;
    border-right:1px solid #1a2c37;
    white-space:nowrap;
}

.games span{
    font-size:11px;
    color:#b5c0c7;
}

.games b:last-child{
    color:#2690ff;
}


/* INNEHÅLL */
.wrap{
    padding:70px 5vw;
    max-width:1500px;
    margin:auto;
}

.wrap h2{
    font-size:34px;
}

.cards{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:14px;
}

.cards article{
    min-height:270px;
    padding:28px 22px;
    background:linear-gradient(145deg,#0d1b24,#071017);
    border:1px solid #1b4058;
    border-radius:4px;
}

.cards i{
    font-style:normal;
    font-size:36px;
}

.cards h3{
    font-size:21px;
    margin:24px 0 12px;
}

.cards p{
    color:var(--muted);
    line-height:1.6;
}


/* DISCORD */
.discord{
    display:grid;
    grid-template-columns:.8fr 1.2fr;
    gap:50px;
    align-items:center;
    border-top:1px solid #142934;
}

.discord h2{
    font-size:54px;
}

.widget{
    background:#091219;
    border:1px solid #1a3546;
    border-radius:6px;
    overflow:hidden;
    min-height:560px;
}

.widget-head{
    height:72px;
    padding:15px 20px;
    border-bottom:1px solid #19303d;
    display:grid;
    grid-template-columns:14px 1fr;
    column-gap:10px;
}

.widget-head small{
    grid-column:2;
    color:#8da0ad;
}

.live-dot{
    width:10px;
    height:10px;
    border-radius:50%;
    background:#24df8c;
    margin-top:5px;
}

.widget iframe{
    width:100%;
    height:500px;
    border:0;
    background:#101820;
}


/* CTA */
.cta{
    padding:55px 8vw;
    background:linear-gradient(90deg,#0b1c2a,#071016);
    border-block:1px solid #18354a;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
}

.cta h2{
    font-size:38px;
    margin:10px 0;
}


/* FOOTER */
footer{
    padding:30px 5vw;
    background:#04090d;
    color:#8fa0ab;
    display:flex;
    justify-content:space-between;
    border-top:1px solid #152631;
}

footer b{
    color:white;
}


/* TABLET */
@media(max-width:900px){

    header nav{
        display:none;
    }

    .brand{
        font-size:13px;
    }

    .nav-actions .support{
        display:none;
    }

    .hero{
        min-height:590px;

        /* mindre logga även på mindre skärmar */
        background-size:70% auto !important;
        background-position:center center !important;
    }

    .hero-copy{
        margin:0 6vw;
    }

    .hero h1{
        font-size:48px;
    }

    .actions{
        flex-wrap:wrap;
    }

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

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

    .cta{
        align-items:flex-start;
        flex-direction:column;
    }
}


/* MOBIL */
@media(max-width:560px){

    header{
        padding:0 4vw;
        height:68px;
    }

    .nav-actions .btn{
        padding:10px;
        font-size:12px;
    }

    .hero{
        background-size:90% auto !important;
        background-position:center center !important;
    }

    .hero h1{
        font-size:39px;
    }

    .hero p{
        font-size:16px;
    }

    .games{
        justify-content:flex-start;
    }

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

    .wrap{
        padding:50px 5vw;
    }

    .discord h2{
        font-size:42px;
    }

    .widget{
        min-height:500px;
    }

    .widget iframe{
        height:440px;
    }

    .cta{
        padding:42px 5vw;
    }

    footer{
        gap:10px;
        flex-direction:column;
    }
}