@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html {
    scrollbar-gutter: stable;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: url("/pngs/bgMain2ciemniej.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
    font-family: "Poppins", sans-serif;
    background-color: #000;
    color: white;
}

img {
    display: block;
    max-width: 100%;
}

.container{
    padding: 40px;
    box-sizing: border-box
}

/* NAV */
.nav{
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.navInner{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 100px;
    flex-direction: row;
}

.navList{
    display: flex;
    grid-auto-flow: column;
    align-items: center;
    column-gap: 100px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navList li{
    white-space: nowrap;
}

.navToggle{
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
}

.navLogo img{
    height: 54px;
}

.navList a{
    text-decoration: none;
    color: white;
    font-weight: 400;
}

.navCTA a{
    padding: 10px 26px;
    border-radius: 10px;
    background: white;
    color: black;
    font-weight: 500;
    font-size: 15px;
}

/* TUNING */
.tuning-section {
    padding: 130px 0 10px;
}

.tuning-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HERO */
.tuning-hero {
    max-width: 760px;
    margin: 0px auto;
    text-align: center;
}

.tuning-hero h2 {
    margin: 0 0 18px;
    font-size: 32px;
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.tuning-hero p {
    margin: 0 auto;
    max-width: 760px;
    font-size: 16px;
    line-height: 1.6;
    color: #efefef;
}

.tuning-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 28px;
    min-width: 200px;
    height: 48px;
    padding: 0 28px;
    border-radius: 14px;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.tuning-btn:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

/* GALLERY */
.tuning-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 38px;
    margin-top: 72px;
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 16 / 9.3;
    object-fit: cover;
    border-radius: 26px;
}

/* ACCEPTED - osobna sekcja */
.accepted-section {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px 120px;
}

.accepted-title {
    text-align: center;
    margin: 70px 0 40px;
}

.accepted-title h2 {
    margin: 0;
    font-size: 30px;
    line-height: 1.1;
    font-weight: 700;
}

.accepted-list {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.accepted-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 34px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.14);
}

.accepted-content {
    min-width: 0;
}

.accepted-topline {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.accepted-topline h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1.15;
    font-weight: 700;
}

.accepted-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 6px 15px;
    border-radius: 7px;
    background: #19ff57;
    color: #000;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.accepted-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #e6e6e6;
}

.accepted-thumb {
    width: 100%;
    max-width: 220px;
    margin-left: auto;
}

.accepted-thumb img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 16px;
}

/* LAPTOP */
@media (max-width: 1200px) {
    .navInner {
        gap: 60px;
    }

    .navList {
        column-gap: 56px;
    }

    .accepted-item {
        grid-template-columns: minmax(0, 1fr) 200px;
        gap: 26px;
    }

    .accepted-thumb {
        max-width: 200px;
    }
}

/* TABLET */
@media (max-width: 1024px) {
    body::before {
        background-image: url("/pngs/tabletBg2.jpg");
    }

    .container {
        background: none !important;
    }

    body.menu-open {
        overflow: hidden;
    }

    .nav {
        left: 0;
        transform: none;
        width: 100%;
        max-width: none;
        padding: 0px 60px 0px 65px;
    }

    .navInner {
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }

    .navLogo {
        position: relative;
        z-index: 1000;
        scale: 1;
    }

    .navList {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: #000;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        opacity: 0;
        margin: 0;
        padding: 0;
        z-index: 10;
        pointer-events: none;
        column-gap: 0;
    }

    .navList.active {
        opacity: 1;
        pointer-events: auto;
    }

    .navToggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 24px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        position: relative;
        z-index: 1001;
    }

    .navToggle span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: white;
        border-radius: 2px;
        transition: all 0.3s ease;
        position: absolute;
        left: 0;
    }

    .navToggle span:nth-child(1) { top: 0; }
    .navToggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
    .navToggle span:nth-child(3) { bottom: 0; }

    .navToggle.open span:nth-child(1) {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }

    .navToggle.open span:nth-child(2) {
        opacity: 0;
    }

    .navToggle.open span:nth-child(3) {
        top: 50%;
        bottom: auto;
        transform: translateY(-50%) rotate(-45deg);
    }

    .tuning-section {
        padding: 100px 0 80px;
    }

    .tuning-container {
        padding: 0 18px;
    }

    .tuning-gallery {
        gap: 18px;
        margin-top: 48px;
    }

    .gallery-item img {
        border-radius: 18px;
    }

    .accepted-section {
        padding: 0 18px;
    }

    .accepted-item {
        grid-template-columns: minmax(0, 1fr) 170px;
        gap: 22px;
    }

    .accepted-topline h3 {
        font-size: 20px;
    }

    .accepted-content p {
        font-size: 13px;
    }

    .accepted-thumb {
        max-width: 170px;
    }
}

/* MOBILE */
@media (max-width: 767px) {
    body::before {
        background-image: url("/pngs/mobileBg.jpg");
    }

    .container {
        background: none !important;
    }

    body.menu-open {
        overflow: hidden;
    }

    .nav {
        left: 0;
        top: 40px;
        transform: none;
        width: 100%;
        max-width: none;
        padding: 0px 30px 0px 35px;
    }

    .navInner {
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }

    .navLogo {
        position: relative;
        z-index: 1000;
        scale: 0.9;
    }

    .navToggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 24px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        position: relative;
        z-index: 1001;
    }

    .navToggle span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: white;
        border-radius: 2px;
        transition: all 0.3s ease;
        position: absolute;
        left: 0;
    }

    .navToggle span:nth-child(1) { top: 0; }
    .navToggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
    .navToggle span:nth-child(3) { bottom: 0; }

    .navToggle.open span:nth-child(1) {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }

    .navToggle.open span:nth-child(2) {
        opacity: 0;
    }

    .navToggle.open span:nth-child(3) {
        top: 50%;
        bottom: auto;
        transform: translateY(-50%) rotate(-45deg);
    }

    .navList {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: calc(var(--vh, 1vh) * 100);
        background-color: #000;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        list-style: none;
        opacity: 0;
        margin: 0;
        padding: 0;
        z-index: 10;
        pointer-events: none;
        column-gap: 0;
    }

    .navList.active {
        opacity: 1;
        pointer-events: auto;
    }

    .tuning-section {
        padding: 90px 0 0px;
    }

    /* góra zostaje z marginesami */
    .tuning-container {
        width: 100%;
        max-width: 100%;
        padding: 0 16px;
    }

    .tuning-hero {
        max-width: 760px;
        margin: 100px auto;
        text-align: center;
    }

    .tuning-hero h2 {
        font-size: 27px;
        line-height: 1.12;
        margin: 0 0 26px;
    }

    .tuning-hero p {
        font-size: 12px;
        line-height: 1.7;
        max-width: 92%;
        margin-left: auto;
        margin-right: auto;
    }

    .tuning-btn {
        margin-top: 34px;
        width: 100%;
        max-width: 320px;
        height: 56px;
        border-radius: 20px;
        font-size: 10px;
        font-weight: 500;
    }

    .tuning-gallery {
        display: none;
    }

    /* dół bez bocznych marginów */
    .accepted-section {
        max-width: none;
        padding: 0 16px 64px;
    }

    .accepted-title {
        margin: 0px 0 64px;
    }

    .accepted-title h2 {
        font-size: 28px;
        line-height: 1.1;
    }

    .accepted-list {
        gap: 36px;
    }

    .accepted-item {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 0;
        padding-bottom: 36px;
    }

    .accepted-content {
        display: flex;
        flex-direction: column;
        gap: 14px;
        min-width: 0;
    }

    .accepted-topline {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin: 0;
        flex-wrap: nowrap;
    }

    .accepted-topline h3 {
        margin: 0;
        line-height: 1;
    }

    .accepted-badge{
        display: inline-flex;
        align-items: center;
        justify-content: center;
        align-self: center;
        min-height: 28px;
        padding: 5px 9px;
        font-size: 8.5px;
        border-radius: 7px;
    }

    .accepted-thumb {
        order: 2;
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .accepted-thumb img {
        width: 100%;
        max-width: none;
        aspect-ratio: 16 / 10;
        object-fit: cover;
        border-radius: 18px;
        display: block;
    }

    .accepted-content p {
        order: 3;
        margin: 0;
        font-size: 14px;
        line-height: 1.5;
        max-width: none;
    }

    .accepted-thumb {
        grid-area: thumb;
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .accepted-thumb img {
        width: 100%;
        aspect-ratio: 16 / 10;
        border-radius: 20px;
    }

    .accepted-badge {
        min-height: 38px;
        padding: 9px 13px;
        border-radius: 10px;
        font-size: 11px;
    }

    .accepted-content p {
        grid-area: text;
        margin: 0;
        max-width: none;
        font-size: 14px;
        line-height: 1.45;
    }

    .accepted-thumb {
        grid-area: thumb;
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .accepted-thumb img {
        width: 100%;
        max-width: none;
        aspect-ratio: 16 / 10;
        object-fit: cover;
        border-radius: 20px;
    }

    .navCTA {
        display: none;
    }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
    .tuning-container {
        padding: 0 16px;
    }

    .tuning-hero h2 {
        font-size: 27px;
    }

    .tuning-hero p {
        font-size: 14px;
        max-width: 100%;
    }

    .tuning-btn {
        height: 64px;
        font-size: 16px;
        border-radius: 18px;
    }

    .accepted-section {
        padding: 0 16px 64px;
    }

    .accepted-title h2 {
        font-size: 25px;
    }

    .accepted-item {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
        column-gap: 14px;
        row-gap: 14px;
    }

    .accepted-topline h3 {
        font-size: 17px;
    }

    .accepted-content p {
        font-size: 13px;
        line-height: 1.42;
    }

    .accepted-thumb img {
        border-radius: 18px;
    }
}

@media (max-width: 768px) {
    .container {
        min-height: auto !important;
        height: auto !important;
        padding-bottom: 0 !important;
    }

    .tuning-section {
        padding-bottom: 0 !important;
    }

    .tuning-hero {
        margin: 100px auto 0 !important;
    }

    .accepted-section {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .accepted-title {
        margin: 100px 0 40px !important;
    }
}

@media (max-width: 1024px) {
    .navCTA {
        display: list-item !important;
    }

    .navCTA a {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 12px 22px !important;
        border-radius: 10px !important;
        background: #fff !important;
        color: #000 !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        text-decoration: none !important;
    }
}

.nav {
    width: 100%;
    max-width: 1280px;
}

.navInner {
    width: 100%;
}

.navLogo {
    flex-shrink: 0;
    position: relative;
    z-index: 1000;
}

.navLogo img {
    display: block;
    height: 54px;
}

/* FOOTER - UNIVERSAL */

.siteFooter{
    width: 100%;
    margin-top: 120px;
}

.footerInner{
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
}

.footerSponsors{
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 80px 0;
}

.footerSponsorsTitle{
    margin: 0 0 48px;
    font-size: 24px;
    font-weight: 500;
    color: #ffffff;
    text-align: center;
}

.footerSponsorsLogos{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 90px;
    max-width: 1100px;
    margin: 0 auto;
}

.footerSponsorsLogos a{
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.footerSponsorsLogos a:hover{
    opacity: 1;
    transform: translateY(-2px);
}

.footerSponsorsLogos img{
    max-height: 50px;
    max-width: 130px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.footerBottom{
    width: 100%;
    background: #000;
}

.footerBottomInner{
    padding: 110px 40px 70px;
    display: grid;
    grid-template-columns: 180px 1fr 1fr auto;
    gap: 50px;
    align-items: start;
}

.footerBrand img{
    width: 90px;
    height: auto;
    display: block;
}

.footerColumn{
    width: 100%;
}

.footerLinks{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footerLinks a{
    text-decoration: none;
    color: rgba(255,255,255,0.8);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.04em;
    transition: color 0.25s ease;
}

.footerLinks a:hover{
    color: #ffffff;
}

.footerCTA{
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.footerCTA a{
    text-decoration: none;
    color: #000;
    background: #fff;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.footerCTA a:hover{
    transform: translateY(-2px);
    opacity: 0.95;
}

.footerCopy{
    width: 100%;
    background: #000;
}

.footerCopy .footerInner{
    text-align: center;
    padding-top: 20px;
    padding-bottom: 26px;
    font-size: 12px;
    color: rgba(255,255,255,0.45);
}

/* MOBILE */

@media (max-width: 768px){

    .siteFooter{
        margin-top: 80px;
    }

    .footerInner{
        padding-left: 24px;
        padding-right: 24px;
    }

    .footerSponsors{
        padding: 42px 0 36px;
    }

    .footerSponsorsTitle{
        font-size: 17px;
        margin: 0 0 26px;
    }

    .footerSponsorsLogos{
        gap: 30px;
    }

    .footerSponsorsLogos img{
        max-height: 28px;
        max-width: 100px;
    }

    .footerBottomInner{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 26px;
        padding: 46px 24px 36px;
        text-align: left;
    }

    .footerBrand{
        display: block;
        width: 100%;
        margin-bottom: 6px;
    }

    .footerBrand a{
        display: inline-block;
    }

    .footerBrand img{
        width: 72px;
        height: auto;
    }

    .footerColumn{
        width: 100%;
    }

    .footerColumn + .footerColumn{
        margin-top: 6px;
    }

    .footerLinks{
        align-items: flex-start;
        gap: 16px;
    }

    .footerLinks a{
        font-size: 18px;
        font-weight: 400;
        color: rgba(255,255,255,0.75);
        letter-spacing: 0;
    }

    .footerCTA{
        width: 100%;
        justify-content: flex-start;
        margin-top: 8px;
    }

    .footerCTA a{
        width: auto;
        max-width: none;
        text-align: center;
        padding: 12px 22px;
        font-size: 13px;
        border-radius: 10px;
    }

    .footerCopy .footerInner{
        text-align: center;
        font-size: 13px;
        padding-top: 8px;
        padding-bottom: 22px;
        color: rgba(255,255,255,0.4);
    }
}

/* TABLET */

@media (min-width: 769px) and (max-width: 1024px){

    .footerInner{
        padding-left: 30px;
        padding-right: 30px;
    }

    .footerSponsors{
        padding: 60px 0;
    }

    .footerSponsorsTitle{
        font-size: 21px;
        margin: 0 0 36px;
    }

    .footerSponsorsLogos{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        justify-items: center;
        align-items: center;
        column-gap: 40px;
        row-gap: 34px;
        max-width: 760px;
        margin: 0 auto;
    }

    .footerSponsorsLogos img{
        max-height: 40px;
        max-width: 120px;
    }

    .footerBottomInner{
        grid-template-columns: 120px 1fr 1fr;
        gap: 30px;
        padding: 70px 30px 50px;
        align-items: start;
    }

    .footerBrand{
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .footerBrand img{
        width: 78px;
    }

    .footerLinks{
        gap: 14px;
        align-items: flex-start;
    }

    .footerLinks a{
        font-size: 14px;
        letter-spacing: 0.02em;
    }

    .footerCTA{
        grid-column: 1 / -1;
        justify-content: center;
        margin-top: 18px;
    }

    .footerCTA a{
        font-size: 13px;
        padding: 12px 24px;
    }

    .footerCopy .footerInner{
        font-size: 15px;
        padding-top: 10px;
        padding-bottom: 24px;
    }
}