/*FONTS*/
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
@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");
/*MAIN*/
html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  overflow-x: hidden;
}
* {
  box-sizing: border-box;
}
/*PASEK*/
.bar-section {
  background: #9079fb;
  position: relative;
  overflow: hidden;
}

.bar-container {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 42px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 160px;
}

.bar-text {
  position: relative;
  z-index: 1;
}

.bar-text h2 {
  font-family: "Inter";
  font-size: 40px;
  font-weight: 800;
  margin-top: 8px;
  line-height: 1.4;
  color: #ffffff;
}
/*REGULAMIN*/
:root {
  --text: #000000;
  --muted: #282828;
  --bg: #efefef;
}

.container {
  max-width: 820px;
  margin: 32px auto 60px;
  padding: 0 20px;
  line-height: 1.6;
  background: transparent;
  color: var(--text);
}

.container p {
  font-family: "Inter";
  font-weight: 400;
  text-align: center;
  margin: 10px 0;
  color: var(--muted);
}

.container p a {
  text-decoration: none;
  color: var(--text);
}

.container h2 {
  font-family: "Inter";
  margin: 28px 0 12px;
  font-size: 20px;
  text-align: center;
  font-weight: 700;
}

.center {
  font-family: "Inter";
  font-weight: 400;
  text-align: center;
  margin: 10px 0;
  color: var(--muted);
}

.list {
  margin: 12px 0 0 0;
  padding-left: 26px;
  color: var(--text);
}
.list li {
  font-family: "Inter";
  font-weight: 400;
  margin: 8px 0;
}
.list li strong {
  font-weight: 700;
}

/*STOPKA*/
.footer {
  width: 100%;
  color: #fff;
  background-color: #3101a3;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  overflow: hidden;
  padding: 48px 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 100px;
  padding: 0 72px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer-logo img {
  height: 54px;
  display: block;
  margin-left: -28px;
}

.footer-links {
  display: flex;
  gap: 48px;
}

.footer-links h4 {
  font-family: "Inter";
  font-size: 17px;
  font-weight: 400;
  text-transform: uppercase;
  margin: 0 0 8px 0;
}

.footer-links a {
  font-family: "Inter";
  font-weight: 400;
  display: block;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin-top: 4px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-social h4 {
  font-family: "Inter";
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 12px;
}

.social-icons {
  display: flex;
  gap: 16px;
}

.social-icons a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.1s;
}

.social-icons a:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

/*RESPONSYWNOŚĆ DLA TEKSTU*/
@media (max-width: 1280px) {
  .bar-container {
    padding: 36px 24px;
    min-height: 150px;
  }
  .bar-text h2 {
    font-size: 36px;
  }

  .container {
    max-width: 760px;
  }
}

@media (max-width: 1024px) {
  .bar-container {
    padding: 32px 20px;
    min-height: 140px;
  }
  .bar-text h2 {
    font-size: 32px;
    line-height: 1.35;
  }

  .container {
    max-width: 700px;
    padding: 0 18px;
  }
  .container h2 {
    font-size: 18px;
  }
  .list {
    padding-left: 22px;
  }
}

@media (max-width: 768px) {
  .bar-container {
    padding: 28px 16px;
    min-height: auto;
    flex-direction: column;
    gap: 12px;
  }
  .bar-text h2 {
    font-size: 28px;
    line-height: 1.35;
  }

  .container {
    max-width: 640px;
    padding: 0 16px;
    margin: 24px auto 48px;
  }
  .container p,
  .center {
    font-size: 15px;
    line-height: 1.65;
  }
  .container h2 {
    font-size: 18px;
    margin: 22px 0 10px;
  }
  .list {
    padding-left: 20px;
  }
  .list li {
    margin: 6px 0;
  }
}

@media (max-width: 480px) {
  .bar-text h2 {
    font-size: 24px;
    line-height: 1.3;
  }

  .container {
    max-width: 100%;
    padding: 0 14px;
    margin: 20px auto 40px;
  }
  .container p,
  .center {
    font-size: 14.5px;
  }
  .container h2 {
    font-size: 17px;
  }
  .list {
    padding-left: 18px;
  }
  .list li {
    margin: 6px 0;
  }
}

/* RESPONSYWNOŚĆ DLA STOPKI */
@media (max-width: 1024px) {
  .footer-content {
    margin: 0 auto;
    padding: 0 32px;
  }

  .footer-links {
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .bar-text h2 {
    font-size: 28px;
  }

  .container {
    margin: 20px auto 40px;
  }

  .footer-content {
    align-items: center;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
  }

  .footer-links h4,
  .footer-links a {
    text-align: center;
  }

  .footer-social {
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .bar-container {
    padding: 24px 12px;
  }

  .bar-text h2 {
    font-size: 24px;
  }

  .container h2 {
    font-size: 18px;
  }
}
