
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #111312;
    color: #f5f1e8;

    font-family: "Inter", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}


.container {
    width: min(1200px, 90%);
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    background: rgba(17, 19, 18, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(12px);
}

.header-container {
    min-height: 80px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.logo {
    font-size: 1.4rem;
    font-weight: 900;

    text-transform: uppercase;
    letter-spacing: 1px;

    color: #54c96b;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a {
    font-size: 0.9rem;
    font-weight: 700;

    text-transform: uppercase;

    color: #d8d8d8;

    transition: 0.2s ease;
}

.main-nav a:hover {
    color: #54c96b;
}

.menu-toggle {
    display: none;

    background: none;
    border: 0;

    color: white;

    font-size: 2rem;
    cursor: pointer;
}

.hero {
    min-height: 650px;

    display: flex;
    align-items: center;

    position: relative;

    background-image:
        linear-gradient(
            90deg,
            rgba(8, 12, 9, 0.98) 0%,
            rgba(8, 12, 9, 0.92) 30%,
            rgba(8, 12, 9, 0.55) 55%,
            rgba(8, 12, 9, 0.15) 100%
        ),
        url("images/hero.png");

    background-size: cover;
    background-position: center 20%;
}

.hero h1 {
    max-width: 700px;

    font-family: "Archivo Black", sans-serif;

    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 0.92;

    letter-spacing: -3px;

    text-transform: uppercase;
}

.hero h1 span {
	display: block;
    color: #86cd32;
}

.hero-description {
    max-width: 520px;

    margin-top: 25px;

    color: #d0d0d0;

    font-size: 1.05rem;
}

.hero p {
    max-width: 650px;

    margin-top: 25px;

    color: #b9b9b9;
    font-size: 1.15rem;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    margin-bottom: 10px;

    color: #86cd32;

    font-size: 0.8rem;
    font-weight: 800;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.button {
    display: inline-block;

    margin-top: 32px;

    padding: 15px 24px;

    background: #86cd32;
    color: #0d110e;

    font-size: 0.85rem;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.5px;

    border-radius: 3px;

    transition: 0.2s ease;
	margin-right: 0.4rem;
}

.button:hover {
    background: #9ae342;

    transform: translateY(-2px);
}

.button-ghost {
    background: transparent;
    color: #f5f1e8;

    border: 1px solid rgba(245, 241, 232, 0.35);
}

.button-ghost:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(245, 241, 232, 0.55);

    transform: translateY(-2px);
}

.home-dashboard {
    padding: 20px 0;
    background: #0d100e;
}

/* WSPÓLNY HOVER KAFELKÓW */

.dashboard-map,
.quiz-card,
.download-card,
.community-card {
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.dashboard-map:hover,
.quiz-card:hover,
.download-card:hover,
.community-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 0 0 1px rgba(134, 205, 50, 0.45),
        0 0 20px rgba(134, 205, 50, 0.07);
}

.dashboard-grid {
    display: grid;

    grid-template-columns: 2fr 1fr;

    gap: 18px;
}

.dashboard-side {
    display: grid;

    grid-template-rows: 1fr 1fr;

    gap: 18px;
}

.dashboard-map {
    min-height: 420px;

    padding: 30px;

    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    background-image:
        linear-gradient(
			180deg,
			rgba(8, 12, 9, 0.05) 20%,
			rgba(8, 12, 9, 0.45) 60%,
			rgba(8, 12, 9, 0.92) 90%,
			rgba(8, 12, 9, 1) 100%
		),
        url("images/mapa-preview.jpg");

    background-size: cover;
    background-position: center;

    border: 0;

	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
    border-radius: 4px;
	
}

.dashboard-map h2 {
    max-width: 500px;

    font-family: "Archivo Black", sans-serif;

    font-size: 1.8rem;
    line-height: 1;

    text-transform: uppercase;
}

.dashboard-map p {
    max-width: 480px;

    margin-top: 10px;

    color: #bcbcbc;
}

.dashboard-link {
    display: inline-block;

    width: fit-content;

    margin-top: 20px;

    color: #86cd32;

    font-weight: 800;
    text-transform: uppercase;
}

.dashboard-side {
    display: block;
    height: 100%;
}

.card-label {
    color: #86cd32;

    font-size: 0.75rem;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.dashboard-card h3 {
    margin-top: 10px;

    font-size: 1.4rem;
}

.quiz-card {
    height: 100%;

    display: flex;
    flex-direction: column;

    padding: 28px;

    background: #101411;

    border: 0;
    border-radius: 4px;

    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08);
}

.quiz-card h3 {
    margin-top: 12px;

    font-size: 1.35rem;
    line-height: 1.3;
}

.quiz-options {
    display: grid;
    grid-template-columns: 1fr;

    gap: 10px;

    margin-top: 22px;
}

.quiz-answer {
    width: 100%;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 13px 14px;

    background: rgba(8, 12, 9, 0.45);

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 3px;

    color: #f5f1e8;

    font-family: "Inter", sans-serif;
    font-size: 0.9rem;
    font-weight: 600;

    line-height: 1.35;
    text-align: left;

    cursor: pointer;

    transition: 0.2s ease;
}

.quiz-answer:hover {
    border-color: #86cd32;

    background: rgba(134, 205, 50, 0.08);
}

.quiz-letter {
    width: 30px;
    height: 30px;

    flex: 0 0 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(134, 205, 50, 0.10);

    border: 1px solid rgba(134, 205, 50, 0.35);
    border-radius: 3px;

    color: #86cd32;

    font-size: 0.75rem;
    font-weight: 800;
}

.quiz-answer.correct {
    border-color: #86cd32;
    background: rgba(134, 205, 50, 0.14);
}

.quiz-answer.correct .quiz-letter {
    background: #86cd32;
    color: #0c100d;
}

.quiz-answer.wrong {
    border-color: #d94b4b;
    background: rgba(217, 75, 75, 0.12);
}

.quiz-answer.wrong .quiz-letter {
    background: #d94b4b;
    border-color: #d94b4b;
    color: #ffffff;
}

.quiz-answer:disabled {
    cursor: default;
}



@media (max-width: 600px) {

    .quiz-card h3 {
        font-size: 1.15rem;
    }

    .quiz-answer {
        padding: 12px;

        font-size: 0.85rem;
    }

}


/* COOKIES */

.cookie-banner {
    position: fixed;

    right: 20px;
    bottom: 20px;

    z-index: 7000;

    width: min(420px, calc(100vw - 40px));

    opacity: 0;
    visibility: hidden;

    transform: translateY(20px);

    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        visibility 0.25s ease;
}

.cookie-banner.is-visible {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}

.cookie-banner-content {
    padding: 20px;

    background: rgba(17, 21, 18, 0.98);

    border-radius: 5px;

    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.10),
        0 20px 60px rgba(0, 0, 0, 0.45);

    backdrop-filter: blur(12px);
}

.cookie-banner-text {
    max-width: 100%;
}

.cookie-label {
    color: #86cd32;

    font-size: 0.68rem;
    font-weight: 800;

    letter-spacing: 1px;
    text-transform: uppercase;
}

.cookie-banner-text h3 {
    margin-top: 4px;

    color: #f5f1e8;

    font-family: "Archivo Black", sans-serif;

    font-size: 1.1rem;

    text-transform: uppercase;
}

.cookie-banner-text p {
    margin-top: 8px;

    color: #a9a9a9;

    font-size: 0.82rem;
    line-height: 1.5;
}

.cookie-policy-link {
    display: inline-block;

    margin-top: 9px;

    color: #86cd32;

    font-size: 0.75rem;
    font-weight: 700;
}

.cookie-policy-link:hover {
    text-decoration: underline;
}

.cookie-banner-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 8px;

    margin-top: 16px;
}

.cookie-button {
    width: 100%;

    padding: 10px 12px;

    border: 0;
    border-radius: 3px;

    font-family: "Inter", sans-serif;

    font-size: 0.68rem;
    font-weight: 800;

    text-transform: uppercase;

    cursor: pointer;

    transition: 0.2s ease;
}

.cookie-essential {
    background: transparent;

    color: #d8d8d8;

    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.cookie-essential:hover {
    color: #ffffff;

    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.32);
}

.cookie-accept {
    background: #86cd32;

    color: #0c100d;
}

.cookie-accept:hover {
    background: #9ae342;
}

@media (max-width: 520px) {

    .cookie-banner {
        right: 12px;
        bottom: 12px;

        width: calc(100vw - 24px);
    }

    .cookie-banner-content {
        padding: 17px;
    }

    .cookie-banner-actions {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 480px) {

    .cookie-banner-actions {
        flex-direction: column;
    }

    .cookie-button {
        width: 100%;
    }

}


.sprunk-card {
    display: grid;
    grid-template-columns: 1fr 130px;

    align-items: center;

    gap: 20px;

    overflow: hidden;
}

.sprunk-content {
    min-width: 0;
}

.sprunk-card p {
    margin-top: 8px;

    color: #bcbcbc;
}

.sprunk-button {
    display: inline-block;

    margin-top: 18px;

    padding: 10px 16px;

    background: #86cd32;
    color: #0c100d;

    font-weight: 800;
    text-transform: uppercase;

    transition: 0.2s ease;
}

.sprunk-button:hover {
    background: #9ae342;

    transform: translateY(-2px);
}

.sprunk-image {
    height: 100%;

    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.sprunk-image img {
    width: 100%;
    max-height: 190px;

    object-fit: contain;
    object-position: center bottom;

    display: block;
}

@media (max-width: 900px) {

    .sprunk-card {
        grid-template-columns: 1fr 110px;
        gap: 12px;
    }

    .sprunk-image img {
        max-height: 160px;
    }

}

.downloads-section {
    padding: 20px 0 60px;
    background: #0d100e;
}

.section-heading {
    margin-bottom: 20px;
}

.section-heading span {
    color: #86cd32;

    font-size: 0.75rem;
    font-weight: 800;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.section-heading h2 {
    margin-top: 5px;

    font-family: "Archivo Black", sans-serif;

    font-size: 1.7rem;
    text-transform: uppercase;
}

.downloads-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 16px;
}

.download-card {
    display: grid;
    grid-template-columns: 150px 1fr;

    min-height: 210px;

    background: #131714;

    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08);

    border-radius: 4px;
    overflow: hidden;

    transition: 0.2s ease;
}

.download-card-image {
    height: 100%;
}

.download-card-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.download-card-content {
    padding: 20px;

    display: flex;
    flex-direction: column;
}

.downloads-section {
    padding: 20px 0 60px;
    background: #0d100e;
}

.download-card h3 {
    margin-top: 5px;

    font-size: 1.2rem;
}

.download-card p {
    margin-top: 8px;

    color: #aaa;

    font-size: 0.9rem;
    line-height: 1.4;
}

.download-link {
    margin-top: auto;
    padding-top: 15px;

    color: #f5f1e8;

    font-size: 0.8rem;
    font-weight: 800;

    text-transform: uppercase;
}

.download-link:hover {
    color: #86cd32;
}

.download-label {
    color: #86cd32;
}

.community-section {
    padding: 20px 0 60px;
    background: #0d100e;
}

.community-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 16px;
}

.community-card {
    min-height: 210px;

    position: relative;

    display: flex;
    align-items: flex-end;

    overflow: hidden;

    border-radius: 4px;

    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08);

    background-size: cover;
    background-position: center;

    transition: 0.2s ease;
}


.community-overlay {
    width: 100%;

    padding: 28px;

    background:
        linear-gradient(
            180deg,
            rgba(8, 12, 9, 0.05) 0%,
            rgba(8, 12, 9, 0.65) 45%,
            rgba(8, 12, 9, 0.96) 100%
        );
}

.community-label {
    color: #86cd32;

    font-size: 0.75rem;
    font-weight: 800;

    letter-spacing: 1px;
    text-transform: uppercase;
}

.community-card h2 {
    margin-top: 6px;

    font-family: "Archivo Black", sans-serif;

    font-size: 2rem;
    text-transform: uppercase;
}

.community-card p {
    max-width: 480px;

    margin-top: 8px;

    color: #c2c2c2;

    line-height: 1.4;
}

.community-button {
    display: inline-block;

    margin-top: 18px;

    padding: 11px 16px;

    background: #86cd32;
    color: #0b0e0c;

    font-size: 0.8rem;
    font-weight: 800;

    text-transform: uppercase;
}

.community-button {
    transition: 0.2s ease;
}

.community-button:hover {
    transform: translateY(-2px);
	background: #9ae342;
}

.button-pink {
    background: #ff4fa3;
    color: #ffffff;
}


.button-pink:hover {
    background: #ff6bb9;
}

.server-card {
    background-image: url("images/serwer.png");
    background-position: center top;
    background-size: cover;
}

.vice-card {
    background-image: url("images/vice.png");
}

.vice-card:hover {
    box-shadow:
        0 0 0 1px rgba(255, 79, 163, 0.65),
        0 0 20px rgba(255, 79, 163, 0.10);
}

/* SPRUNK - PRZYCISK W MENU */

.sprunk-nav-button {
    padding: 9px 13px;

    background: #86cd32;
    color: #0c100d;

    border: 0;
    border-radius: 3px;

    font-family: "Inter", sans-serif;
    font-size: 0.78rem;
    font-weight: 800;

    text-transform: uppercase;

    cursor: pointer;

    transition: 0.2s ease;
}

.sprunk-nav-button:hover {
    background: #9ae342;
    transform: translateY(-1px);
}


/* MODAL */

.sprunk-modal {
    position: fixed;
    inset: 0;

    z-index: 5000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    opacity: 0;
    visibility: hidden;

    transition: 0.2s ease;
}

.sprunk-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.sprunk-modal-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.78);

    backdrop-filter: blur(4px);
}

.sprunk-modal-box {
    position: relative;
    z-index: 2;

    width: min(720px, 100%);

    display: grid;
    grid-template-columns: 1fr 210px;

    align-items: center;

    gap: 25px;

    padding: 38px;

    background:
        radial-gradient(
            circle at 85% 50%,
            rgba(134, 205, 50, 0.12),
            transparent 38%
        ),
        #111512;

    border-radius: 5px;

    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.10),
        0 30px 80px rgba(0, 0, 0, 0.45);
}

.sprunk-modal-close {
    position: absolute;

    top: 14px;
    right: 16px;

    width: 34px;
    height: 34px;

    background: transparent;
    color: #bcbcbc;

    border: 0;

    font-size: 1.7rem;
    line-height: 1;

    cursor: pointer;

    transition: 0.2s ease;
}

.sprunk-modal-close:hover {
    color: #ffffff;
}

.sprunk-modal-content {
    position: relative;
    z-index: 2;
}

.sprunk-modal-label {
    color: #86cd32;

    font-size: 0.72rem;
    font-weight: 800;

    letter-spacing: 1px;
    text-transform: uppercase;
}

.sprunk-modal-content h2 {
    margin-top: 7px;

    color: #f5f1e8;

    font-family: "Archivo Black", sans-serif;

    font-size: 2.2rem;
    line-height: 1;

    text-transform: uppercase;
}

.sprunk-modal-content h2 span {
    display: block;
    color: #86cd32;
}

.sprunk-modal-content p {
    margin-top: 16px;

    color: #bcbcbc;

    font-size: 0.92rem;
    line-height: 1.55;
}

.sprunk-modal-button {
    display: inline-block;

    margin-top: 22px;

    padding: 12px 18px;

    background: #86cd32;
    color: #0c100d;

    font-size: 0.8rem;
    font-weight: 800;

    text-transform: uppercase;

    transition: 0.2s ease;
}

.sprunk-modal-button:hover {
    background: #9ae342;
    transform: translateY(-2px);
}

.sprunk-modal-image {
    height: 100%;

    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.sprunk-modal-image img {
    width: 100%;
    max-height: 280px;

    object-fit: contain;

    display: block;
}


/* MOBILE */

@media (max-width: 650px) {

    .sprunk-modal-box {
        grid-template-columns: 1fr 110px;

        gap: 12px;

        padding: 28px 22px;
    }

    .sprunk-modal-content h2 {
        font-size: 1.55rem;
    }

    .sprunk-modal-content p {
        font-size: 0.85rem;
    }

    .sprunk-modal-image img {
        max-height: 180px;
    }

}

.site-footer {
    background: #0a0d0b;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 8fr 1fr;
    gap: 50px;
}

.footer-brand h2 {
    font-family: "Archivo Black", sans-serif;
    color: #86cd32;
    text-transform: uppercase;
    font-size: 1.4rem;
}

.footer-brand p {
    max-width: 420px;
    margin-top: 12px;
    color: #9f9f9f;
    line-height: 1.5;
}

.site-footer h3 {
    margin-bottom: 14px;
    color: #f5f1e8;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.site-footer ul {
    display: grid;
    gap: 8px;
}

.site-footer a {
    color: #9f9f9f;
    font-size: 0.9rem;
    transition: 0.2s ease;
}

.site-footer a:hover {
    color: #86cd32;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;

    display: flex;
    justify-content: space-between;
    gap: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.06);

    color: #6f6f6f;
    font-size: 0.75rem;
}


@media (max-width: 900px) {

    .main-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-side {
        grid-template-rows: auto;
    }

    .dashboard-map {
        min-height: 500px;
    }
	
	.download-card {
        grid-template-columns: 110px 1fr;
    }

    .community-grid {
        grid-template-columns: 1fr;
	}

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}