
/*Header*/
#header {
    background: url("../../images/section.jpg") no-repeat fixed center;
    min-width: 100%;
    min-height: 400px;
    height: 30vh;
    background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -webkit-background-size: cover;
    z-index: 0;
    display: flex;
    align-items: center;
}

#header .content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    padding: 150px;
    width: 100%;
}

#header .content .info {
    display: flex;
    flex-direction: column;
}

#header .content .info .minecraft-server-ip {
    color: var(--white-color);
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 600;
}

#header .content .info .title {
    color: var(--white-color);
    text-transform: uppercase;
    font-size: 65px;
    font-weight: 900;
}

#header .content .info .title span {
    color: var(--main-color);
}

#header .content .description {
    color: var(--description-color);
    font-size: 18px;
    font-weight: 400;
    max-width: 700px;
    line-height: 1.6;
}

/*Contacts*/
#contacts .content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* potwierdzenie wysłania formularza (pokazywane po powrocie z ?sent=1) */
#contacts .form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 10px;
    background: var(--ip-copied-background);
    border: 1px solid var(--green-color);
    color: var(--green-color);
    font-size: 16px;
    line-height: 1.5;
}

#contacts .form-success[hidden] {
    display: none;
}

#contacts .form-footer .alert {
    line-height: 1.6;
}

#contacts .form-footer .alert .privacy-link {
    color: var(--link-color);
    text-decoration: none;
}

#contacts .form-footer .alert .privacy-link:hover {
    text-decoration: underline;
}

#contacts .content .section-title {
    font-size: 30px;
    font-weight: 700;
    color: var(--white-color);
    position: relative;
}

#contacts .content .section-title::before {
    content: "";
    position: absolute;
    bottom: -9px;
    left: 0;
    width: 150px;
    height: 1px;
    border-radius: 5px;
    background: var(--description-color);
}

#contacts .content .section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    border-radius: 5px;
    background: var(--main-color);
}

#contacts .content .columns {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 100px;
}

#contacts .content .columns .contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 2;
}

#contacts .content .columns .contact-form .row {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}

#contacts .content .columns .contact-form .row label {
    color: var(--description-color);
    font-size: 15px;
    line-height: 1.6;
}

.row input {
    background: var(--stats-background);
    border: none;
    padding: 20px 25px;
    font-size: 17px;
    color: var(--white-color);
    outline: none;
    border-radius: 5px;
    transition: 0.2s;
}

.row textarea {
    background: var(--stats-background);
    padding: 15px 20px;
    font-size: 15px;
    outline: none;
    line-height: 1.6;
    border-radius: 5px;
    color: var(--white-color);
    font-family: var(--main-font);
    border: none;
    transition: 0.2s;
    resize: vertical;
    overflow-y: auto;
    min-height: 200px;
    max-height: 350px;
    min-width: 100px;
    justify-content: center;
}

.row input:focus, .row textarea:focus, .row input:hover, .row textarea:hover {
    background: var(--how-to-join-button-background);
}

#contacts .content .columns .contact-form .form-footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
    align-items: end;
}
#contacts .content .columns .contact-form .form-footer button {
    background: var(--copy-ip-button-background);
    border: 2px solid var(--main-color);
    border-radius: 8px;
    padding: 10px 30px;
    color: var(--white-color);
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    gap: 10px;
}

#contacts .content .columns .contact-form .form-footer button:hover {
    opacity: 0.8;
}

#contacts .content .columns .contact-form .form-footer .alert {
    color: var(--description-color);
    font-size: 15px;
}


#contacts .content .columns .url {
    text-decoration: none;
    height: fit-content;
}

#contacts .content .columns .url:hover .link .link-description .icon {
    transform: scale(1.1);
}

#contacts .content .columns .link {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--stats-background);
    padding: 20px;
    border-radius: 5px;
    max-width: 400px;
}

#contacts .content .columns .link h5 {
    color: var(--white-color);
    text-transform: uppercase;
    font-size: 17px;
    font-weight: 700;
}

#contacts .content .columns .link .link-description {
    display: flex;
    flex-direction: row;
    align-items: end;
    gap: 50px;
}

#contacts .content .columns .link .link-description .description {
    color: var(--description-color);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
}

#contacts .content .columns .link .link-description .description .discord-online-users {
    color: var(--green-color);
}

#contacts .content .columns .link .link-description .icon {
    border-radius: 5px;
    background: var(--stat-icon-background-2);
    padding: 10px;
    transition: 0.2s ease-in-out;
}

#contacts .content .columns .link .link-description .icon i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    font-size: 20px;
    position: relative;
    background: var(--main-color);
    color: var(--white-color);
    border-radius: 5px;
}

/*Footer*/
#footer {
    background: var(--stats-background);
}

/*Responsive*/
/*Header*/
@media screen and (max-width: 1625px) {
    #header .content {
        padding: 150px 90px;
    }
}

@media screen and (max-width: 1361px) {
    #header .content {
        flex-direction: column;
        padding: 120px 90px;
    }
}

@media screen and (max-width: 819px) {
    #header .content {
        padding: 150px 30px;
    }

    #header .content .info .minecraft-server-ip {
        font-size: 15px;
    }

    #header .content .info .title {
        font-size: 40px;
    }

    #header .content .info .description {
        font-size: 16px;
    }
}

@media screen and (max-width: 530px) {
    #header .content {
        justify-content: start;
        align-items: start;
    }

    #header .content .info .title {
        font-size: 30px;
    }
}

/*Contacts*/
@media screen and (max-width: 1148px) {
    #contacts .content .columns {
        flex-direction: column;
    }

    #contacts .content .columns .url .link {
        max-width: 100%;
    }

    #contacts .content .columns .link .link-description {
        justify-content: space-between;
    }
}

@media screen and (max-width: 540px) {
    #contacts .content .columns .contact-form .form-footer {
        flex-direction: column;
        align-items: start;
    }

    #contacts .content .columns .contact-form .form-footer button {
        width: 100%;
        justify-content: center;
    }
}
/* iOS: pola formularza >=16px, by Safari nie przybliżał widoku przy kliknięciu */
@media (max-width: 819px) {
  .row input, .row textarea { font-size: 16px; }
}

/* =========================================================================
   Kontakt przez Discord (ticket) — zastępuje dawny formularz
   ========================================================================= */
#contacts .ct-intro {
  color: var(--description-color);
  font-size: 17px; line-height: 1.7; max-width: 780px;
}
#contacts .ct-intro b { color: var(--white-color); font-weight: 700; }

#contacts .ct-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
#contacts .ct-step {
  display: flex; gap: 16px;
  background: var(--stats-background);
  border: 1px solid rgba(228, 59, 107, 0.16);
  border-radius: 16px; padding: 22px 20px;
}
#contacts .ct-num {
  flex: 0 0 auto; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-family: var(--display-font); font-weight: 700; font-size: 18px;
  color: var(--white-color);
  background: linear-gradient(135deg, var(--main-color), var(--main-color-2));
}
#contacts .ct-text h3 { color: var(--white-color); font-size: 16px; font-weight: 700; margin-bottom: 6px; line-height: 1.35; }
#contacts .ct-text h3 b { color: var(--main-color); }
#contacts .ct-text p { color: var(--description-color); font-size: 14px; line-height: 1.55; }

#contacts .ct-cta {
  display: flex; align-items: center; gap: 20px; text-decoration: none;
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.16), rgba(228, 59, 107, 0.10));
  border: 1px solid rgba(228, 59, 107, 0.28);
  border-radius: 18px; padding: 22px 26px; max-width: 560px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
#contacts .ct-cta:hover { transform: translateY(-3px); border-color: var(--main-color); box-shadow: 0 16px 38px rgba(228, 59, 107, 0.18); }
#contacts .ct-cta-icon {
  flex: 0 0 auto; width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px; background: #5865F2; color: #fff; font-size: 28px;
}
#contacts .ct-cta-text { flex: 1; }
#contacts .ct-cta-text h4 { color: var(--white-color); font-family: var(--display-font); font-size: 20px; font-weight: 700; margin-bottom: 3px; }
#contacts .ct-cta-text p { color: var(--description-color); font-size: 14px; }
#contacts .ct-cta-text .discord-online-users { color: var(--green-color); font-weight: 700; }
#contacts .ct-cta-arrow { color: var(--main-color); font-size: 20px; transition: transform 0.18s ease; }
#contacts .ct-cta:hover .ct-cta-arrow { transform: translateX(4px); }

@media screen and (max-width: 860px) { #contacts .ct-steps { grid-template-columns: 1fr; } }
@media screen and (max-width: 520px) { #contacts .ct-cta { flex-wrap: wrap; gap: 14px; } #contacts .ct-cta-arrow { display: none; } }