:root {
  --max-width: 1920px;
  --max-content-width: 1260px;
  --py: 50px;
  --my: 80px;
  --dot-size: 10px;
  --active-dot-scale: 1.5;
  --accent: #2563eb;
  --bg: #0f172a;
  --text: #e6eef8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  font-family: Roboto, system-ui, sans-serif;
}

a {
  all: unset;
  display: inline;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

body {
  background: #eceff3;
  color: #0f172a;
  line-height: 1.5;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  overflow-x: hidden;
  width: min(100%, var(--max-width));
}

main,
.content {
  margin-right: auto;
  margin-left: auto;
}

.content {
  padding-left: var(--py);
  padding-right: var(--py);
  max-width: 1260px;
}

.text {
  color: #7f7f7f;
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
}

h1 {
  color: #000;
  font-size: 32px;
  font-weight: 600;
  line-height: 150%;
  margin-bottom: 15px;
}

picture {
  width: 100%;
  display: block;
}

picture img {
  display: block;
  width: 100%;
  height: auto;
}

/* ------ PLAYER ------- */

.player {
  display: flex;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  box-shadow: 0 3.985px 3.985px 0 rgba(0, 0, 0, 0.25);
  width: 100%;
}

/* ------ BOX ------- */

.box {
  display: flex;
  height: 294px;
  flex-direction: column;
  gap: 10px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3.985px 3.985px 0 rgba(0, 0, 0, 0.25);
}

.box-header {
  background: url(../images/nikeLigaPomaha/box-bg.webp) lightgray 50% / cover
    no-repeat;
  display: flex;
  height: 130px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  border-radius: 10px 10px 0 0;
}

/* ------ MATCH ------- */

.match {
  border-radius: 10px;
  display: flex;
  padding: 0 20px;
}

.match-header-heart {
  position: absolute;
  right: -90px;
  height: 280px;
  top: 50px;
  bottom: 0;
  margin: auto;
  z-index: -1;
}

.match-label {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(2px);
  color: #000;
  font-size: 16px;
  font-weight: 700;
  line-height: 120%;
  min-width: 90px;
}

.match-team {
  color: #000;
  text-align: center;
  font-family: "Roboto Condensed";
  font-size: 14px;
  font-weight: 700;
  line-height: 120%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 70px;
  box-sizing: border-box;
}

.match-team-logo {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  aspect-ratio: 1/1;
}

.match-start-time {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  color: #7f7f7f;
  text-align: center;
  font-family: "Roboto Condensed";
}

.match-date {
  font-size: 12px;
  font-weight: 400;
  line-height: 12px;
}

.match-time {
  font-size: 20px;
  font-weight: 700;
  line-height: 20px;
}

.match-btn {
  display: flex;
  width: 200px;
  padding: 10px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  border-radius: 100px;
  border: 1px solid #ff8000;
  background: #ff8000;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  line-height: 150%;
  letter-spacing: 0.18px;
  margin: 0 auto 20px;
  box-sizing: border-box;
}

/* ------ DOGS ------- */

.dogs {
  gap: 15px;
  flex-wrap: wrap;
  padding: 30px 0;
}

.dog {
  display: flex;
  padding: 15px;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  height: 363px;
}

.dog-header {
  display: flex;
  gap: 15px;
  align-items: center;
}

.dog-header-heart {
  width: 50.843px;
  height: 56.171px;
  flex-shrink: 0;
}

[class*="dog-img"] {
  height: 200px;
  border-radius: 10px;
  align-self: stretch;
  margin-bottom: 5px;
}

.dog-img-1 {
  background: url(../images/nikeLigaPomaha/dog1.webp) lightgray 50% 30% / cover
    no-repeat;
}

.dog-img-2 {
  background: url(../images/nikeLigaPomaha/dog2.webp) lightgray 50% 0 / cover
    no-repeat;
}

.dog-img-3 {
  background: url(../images/nikeLigaPomaha/dog3.webp) lightgray 50% 10% / cover
    no-repeat;
}

.dog-img-4 {
  background: url(../images/nikeLigaPomaha/dog4.webp) lightgray 50% 0 / cover
    no-repeat;
}

.dog-name {
  color: #000;
  font-size: 18px;
  font-weight: 600;
  line-height: 150%;
  letter-spacing: 0.18px;
}

.dog-year {
  color: #7f7f7f;
  font-size: 18px;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: 0.18px;
}

.dog-text {
  color: #7f7f7f;
  font-size: 14px;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: 0.14px;
  height: 42px;
}

.consent-button{
  all: unset;
  position: absolute;
  bottom: 1rem;
  right: 2rem;
  cursor: pointer;
  text-decoration: underline;
  display: block;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
  color: #888;
}

.dog-btn {
  display: flex;
  width: 200px;
  padding: 10px;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 100px;
  box-sizing: border-box;
  color: #fff;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  line-height: 150%;
  letter-spacing: 0.18px;
  background: linear-gradient(90deg, #faa918 0%, #ee4a23 100%);
}

.dog-heart {
  width: 20px;
  height: 17px;
  flex-shrink: 0;
  aspect-ratio: 20/17;
}

.dog-more-btn {
  display: flex;
  width: 200px;
  height: 44px;
  padding: 11px 0;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 20px;
  border: 1px solid #808080;
  overflow: hidden;
  color: #808080;
  text-align: center;
  text-overflow: ellipsis;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
  box-sizing: border-box;
  margin: 0 auto;
}

.dog-more-dots {
  width: 5px;
  height: 16px;
  flex-shrink: 0;
}

/* ------ SWIPER ------- */

.swiper-wrap {
  width: 100%;
}

.swiper {
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
}

.slides {
  display: flex;
  gap: 20px;
  padding: 0 20px 10px;
  will-change: transform;
  transition: transform 280ms cubic-bezier(0.22, 0.9, 0.33, 1);
}

.slide {
  width: calc(100vw - 40px);
  flex-shrink: 0;
}

.dots {
  display: flex;
  gap: 5px;
  justify-content: center;
  align-items: center;
  padding: 10px 0 0;
}

.dot {
  width: 30px;
  height: 4px;
  border-radius: 4px;
  background: #cdd5e2;
  border: none;
}

.dot[aria-current="true"] {
  background: #b1bcd1;
}

@media (min-width: 801px) {
  .swiper {
    overflow: visible !important;
  }
  .slides {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 20px 15px;
    transform: none !important;
    transition: none !important;
    padding: 0;
  }
  .slide {
    width: auto !important;
  }
  .dots {
    display: none;
  }
}

/* ------ FOOTER ------- */

footer {
  background: #222;
  color: #fff;
  text-align: center;
  font-size: 12px;
  font-weight: 400;
}

.footer-inner {
  width: min(100%, var(--max-content-width));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 var(--py);
  overflow: hidden;
}

.footer-row {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  align-self: stretch;
  padding: 30px 0 30px;
  gap: 20px;
  border-bottom: 1px solid #3e3e3e;
}

.footer-link {
  padding: 10px;
}

.footer-link:last-child {
  padding-right: 0;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.footer-links-left {
  justify-content: flex-start;
}

.footer-links-right {
  justify-content: flex-end;
}

.footer-copyright {
  padding: 25px 0 50px 0;
}

/* ------ UTILITIES ------- */

.p-rel {
  position: relative;
}

.overflow-x-hidden {
  overflow-x: hidden;
}

.mb-80 {
  margin-bottom: var(--my);
}

.my-80 {
  margin-top: var(--my);
  margin-bottom: var(--my);
}

.pb {
  padding-bottom: 30px;
}

.flex,
.flex-m-col {
  display: flex;
}

.flex-1 {
  flex: 1;
  min-width: 0;
  min-height: 0;
}

.gap-20 {
  gap: 20px;
}

.ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.btn {
  transition: opacity 0.3s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn:hover {
  opacity: 0.8;
}

/* ------ MEDIA ------- */

@media (max-width: 800px) {
  :root {
    --py: 20px;
    --my: 30px;
  }
  .flex-m-col {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  .content {
    text-align: center;
    justify-content: center;
  }
  .content.swiper-wrap {
    padding: 0;
  }
  h1 {
    font-size: 24px;
  }
  .box {
    width: calc(100vw - 40px);
  }
  .footer-links {
    order: 2;
  }
  .dogs {
    padding-top: 15px;
  }
  .pb {
    padding-bottom: 15px;
  }
}

@media (max-width: 1000px) {
  .match-header-heart {
    right: -10px;
    top: 80px;
    height: 100px;
  }
}

@media (max-width: 800px) {
  .match-header-heart {
    top: 40px;
    height: 50px;
  }
}

@media (max-width: 570px) {
  .dogs {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .dog {
    flex: 0 0 100%;
  }
}

@media (min-width: 571px) and (max-width: 1000px) {
  .dogs {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .dog {
    flex: 0 0 calc(50% - 8px);
  }
}

@media (max-width: 600px) {
  h1 {
    margin-bottom: 15px;
  }
  .hide-m {
    display: none;
  }
  .player-wrap {
    gap: 0;
  }
  .player-text {
    margin-top: 20px;
  }
}

@media (min-width: 601px) {
  .hide-d {
    display: none;
  }
}

@media (min-width: 1920px) {
  main {
    overflow: visible;
  }
}
