@import url('https://fonts.googleapis.com/css?family=Quicksand:400,500,700&subset=latin-ext');
html {
  position: relative;
  overflow-x: hidden !important;
}
* {
  box-sizing: border-box;
}
body {
  font-family: 'Quicksand', sans-serif;
  color: #324e63;
}
.bg-svg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url('back2.svg') repeat;
  background-size: contain;
  animation: scrollBG 30s linear infinite;
  z-index: 0;
}

@keyframes scrollBG {
  0% {
    background-position: 0 100%;
  }
  100% {
    background-position: 0 0;
  }
}


a, a:hover {
  text-decoration: none;
}
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  stroke-width: 0;
  stroke: currentColor;
  fill: currentColor;
}

.seo-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.wrapper {
  width: 100%;
  width: 100%;
  height: auto;
  min-height: 100vh;
  padding: 50px 20px;
  padding-top: 100px;
  display: flex;
  display: flex;
}
@media screen and (max-width: 768px) {
  .wrapper {
    height: auto;
    min-height: 100vh;
    padding-top: 100px;
  }
}
.profile-card {
  width: 100%;
  min-height: 460px;
  margin: auto;
  box-shadow: 0px 8px 60px -10px rgba(13, 28, 39, 0.6);
  background: #fff;
  border-radius: 12px;
  max-width: 700px;
  position: relative;
}
.profile-card.active .profile-card__cnt {
  filter: blur(6px);
}
.profile-card.active .profile-card-message, .profile-card.active .profile-card__overlay {
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0.1s;
}
.profile-card.active .profile-card-form {
  transform: none;
  transition-delay: 0.1s;
}
.profile-card__img {
  width: 150px;
  height: 150px;
  margin-left: auto;
  margin-right: auto;
  transform: translateY(-50%);
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  z-index: 4;
  box-shadow: 0px 5px 50px 0px #ff9900, 0px 0px 0px 7px rgba(255, 196, 0, 0.7);
}
@media screen and (max-width: 576px) {
  .profile-card__img {
    width: 120px;
    height: 120px;
  }
}
.profile-card__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.profile-card__cnt {
  margin-top: -35px;
  text-align: center;
  padding: 0 20px;
  padding-bottom: 40px;
  transition: all 0.3s;
}
.profile-card__name {
  font-weight: 700;
  font-size: 24px;
  color: #2d999c;
  margin-bottom: 15px;
}
.profile-card__txt {
  font-size: 18px;
  font-weight: 500;
  color: #324e63;
  margin-bottom: 15px;
}
.profile-card__txt strong {
  font-weight: 700;
}
.profile-card-loc {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 40px;
}
.profile-card-loc__icon {
  display: inline-flex;
  font-size: 27px;
  margin-right: 10px;
}
.profile-card-inf {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-top: 35px;
}
.profile-card-inf__item {
  padding: 10px 35px;
  min-width: 150px;
}
@media screen and (max-width: 768px) {
  .profile-card-inf__item {
    padding: 10px 20px;
    min-width: 120px;
  }
}
.profile-card-inf__title {
  font-weight: 700;
  font-size: 27px;
  color: #324e63;
}
.profile-card-inf__txt {
  font-weight: 500;
  margin-top: 7px;
}
.profile-card-social {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.profile-card-social__item {
  display: inline-flex;
  width: 55px;
  height: 55px;
  margin: 15px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #405de6;
  box-shadow: 0px 7px 30px rgba(43, 98, 169, 0.5);
  position: relative;
  font-size: 21px;
  flex-shrink: 0;
  transition: all 0.3s;
}
@media screen and (max-width: 768px) {
  .profile-card-social__item {
    width: 50px;
    height: 50px;
    margin: 10px;
  }
}
@media screen and (min-width: 768px) {
  .profile-card-social__item:hover {
    transform: scale(1.2);
  }
}
.profile-card-social__item.facebook {
  background: linear-gradient(45deg, #3b5998, #0078d7);
  box-shadow: 0px 4px 30px rgba(43, 98, 169, 0.5);
}
.profile-card-social__item.twitter {
  background: linear-gradient(45deg, #3b4144, #050505);
  box-shadow: 0px 4px 30px rgba(109, 110, 112, 0.7);
}
.profile-card-social__item.link {
  background: linear-gradient(45deg, #d5135a, #f05924);
  box-shadow: 0px 4px 30px rgba(223, 45, 70, 0.6);
}
.profile-card-social .icon-font {
  display: inline-flex;
}
.profile-card-ctr {
  display: inline-block;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
}
@media screen and (max-width: 576px) {
  .profile-card-ctr {
    flex-wrap: wrap;
  }
}
.profile-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-family: 'Quicksand', sans-serif;
  font-weight: 700;
  font-size: 19px;
  margin: 15px 35px;
  padding: 15px 40px;
  min-width: 201px;
  border-radius: 50px;
  min-height: 55px;
  color: #fff;
  cursor: pointer;
  backface-visibility: hidden;
  transition: all 0.3s;
}
@media screen and (max-width: 768px) {
  .profile-card__button {
    min-width: 170px;
    margin: 15px 25px;
  }
}
@media screen and (max-width: 576px) {
  .profile-card__button {
    min-width: inherit;
    margin: 0;
    margin-bottom: 16px;
    width: 100%;
    max-width: 300px;
  }
  .profile-card__button:last-child {
    margin-bottom: 0;
  }
}
.profile-card__button:focus {
  outline: none !important;
}
@media screen and (min-width: 768px) {
  .profile-card__button:hover {
    transform: translateY(-5px);
  }
}
.profile-card__button:first-child {
  margin-left: 0;
}
.profile-card__button:last-child {
  margin-right: 0;
}
.profile-card__button.button--blue {
  background: linear-gradient(45deg, #1df2e0, #0ec8bf);
  box-shadow: 0px 4px 30px rgba(19, 212, 212, 0.4);
}
.profile-card__button.button--blue:hover {
  box-shadow: 0px 7px 30px rgba(19, 212, 186, 0.75);
}
.profile-card__button.button--orange {
  background: linear-gradient(45deg, #13d51d, #2bf024);
  box-shadow: 0px 4px 30px rgba(51, 223, 45, 0.35);
}
.profile-card__button.button--orange:hover {
  box-shadow: 0px 7px 30px rgba(51, 223, 45, 0.75);
}
.profile-card__button.button--gray {
  box-shadow: none;
  background: #dcdcdc;
  color: #142029;
}
.profile-card-message {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  padding-top: 130px;
  padding-bottom: 100px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
}
.profile-card-form {
  box-shadow: 0 4px 30px rgba(58, 57, 54, 0.35);
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
  margin-top: var(--scroll-position, 0px);
  background: #fff;
  border-radius: 10px;
  padding: 35px;
  transform: scale(0.8);
  position: relative;
  z-index: 3;
  transition: all 0.3s;
}
@media screen and (max-width: 768px) {
  .profile-card-form {
    max-width: 90%;
    height: auto;
  }
}
@media screen and (max-width: 576px) {
  .profile-card-form {
    padding: 20px;
  }
}
.profile-card-form__bottom {
  justify-content: space-between;
  display: flex;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 14px;
  text-align: left;
  font-size: 13px;
  color: #5f7380;
}

.consent-row input[type="checkbox"] {
  margin-top: 3px;
}

.consent-row a {
  color: #0a8f86;
}

.consent-row a:hover {
  text-decoration: underline;
}

.newsletter-feedback {
  min-height: 18px;
  margin: 0 0 10px;
  font-size: 13px;
  text-align: left;
  font-weight: 600;
}

.newsletter-feedback.error {
  color: #c62828;
}

.newsletter-feedback.success {
  color: #19773a;
}

@media screen and (max-width: 576px) {
  .profile-card-form__bottom {
    flex-wrap: wrap;
  }
}
.profile-card textarea {
  width: 100%;
  resize: none;
  height: 50px;
  margin-bottom: 20px;
  border: 2px solid #dcdcdc;
  border-radius: 10px;
  padding: 15px 20px;
  color: #324e63;
  font-weight: 500;
  font-family: 'Quicksand', sans-serif;
  outline: none;
  transition: all 0.3s;
}
.profile-card textarea:focus {
  outline: none;
  border-color: #8a979e;
}
.profile-card-form__container textarea {
  white-space: nowrap; 
  overflow-x: auto;    
}
.profile-card__overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  opacity: 0;
  background: rgba(22, 33, 72, 0.35);
  border-radius: 12px;
  transition: all 0.3s;
}
.screens {
  width: 240px; 
  height: 240px; 
  overflow: hidden; 
  position: relative; 
  margin-top: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 30px rgba(58, 57, 54, 0.35);
}

.screens img {
  width: 100%; 
  height: auto; 
  position: absolute; 
  top: 50%; 
  left: 50%; 
  transform: translate(-50%, -50%); 
  object-fit: cover; 
}

.policy-link-wrap {
  margin-top: 12px;
  text-align: center;
}

.policy-link {
  font-size: 12px;
  color: #7f97a8;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.policy-link:hover {
  opacity: 1;
  text-decoration: underline;
}

.internal-links {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
}

.internal-links a {
  color: #0d8f87;
  opacity: 0.9;
}

.internal-links a:hover {
  text-decoration: underline;
}

.faq-section {
  margin: 18px auto 8px;
  max-width: 620px;
  text-align: left;
  border: 1px solid #d7f0ee;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f5fcfc);
  padding: 14px;
}

.faq-title {
  margin: 0 0 8px;
  color: #208b8f;
  font-size: 20px;
}

.faq-item {
  margin-bottom: 10px;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item h3 {
  margin: 0 0 4px;
  font-size: 15px;
  color: #29586b;
}

.faq-item p {
  margin: 0;
  font-size: 14px;
  color: #4f6f80;
  line-height: 1.45;
}


.top3-panel {
  width: min(620px, 100%);
  margin: 0 auto 8px;
  border-radius: 16px;
  border: 1px solid #d8f1ef;
  background: linear-gradient(180deg, #ffffff, #f2fcfb);
  box-shadow: 0 12px 28px rgba(29, 160, 152, 0.18);
  overflow: hidden;
}

.top3-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  background: linear-gradient(45deg, #19d6c8, #0ea79f);
}

.top3-row {
  display: grid;
  grid-template-columns: 120px 1fr 100px;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid #e7f5f4;
}

.top3-row:last-child {
  border-bottom: none;
}

.top3-rank {
  font-weight: 700;
  color: #2d999c;
}

.top3-player {
  color: #305062;
  font-weight: 600;
}

.top3-score {
  text-align: right;
  font-weight: 800;
  color: #176f73;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

.top3-stats {
  color: #4c7d82;
  font-size: 13px;
  font-weight: 500;
}

.top3-name-link {
  color: #0a8f86;
}

.top3-name-link:hover {
  text-decoration: underline;
}

.top3-row:nth-child(2) {
  background: linear-gradient(90deg, rgba(255, 217, 102, 0.12), rgba(255, 255, 255, 0));
}

.top3-row:nth-child(3) {
  background: linear-gradient(90deg, rgba(205, 205, 205, 0.14), rgba(255, 255, 255, 0));
}

.top3-row:nth-child(4) {
  background: linear-gradient(90deg, rgba(255, 167, 94, 0.12), rgba(255, 255, 255, 0));
}

@media screen and (max-width: 576px) {
  .top3-row {
    grid-template-columns: 95px 1fr 70px;
    padding: 10px 10px;
    gap: 8px;
  }
}
