:root {
  --color-primary: #4a90e2;
  --color-secondary: #50e3c2;
  --bg-accent: #f183a7;
  --hover-accent: #fb8aaf;
  --color-accent: #461430;
  --color-background: #f0f0f0;
  --color-text: #333333;
  --color-inverted-text: #f0f0f0;
  --font-family-base: "Roboto", sans-serif;
  --font-size-base: 1.6rem;
  --spacing-base: 1rem;
  --wrap: 1200px;
  --border-radius-base: 6px;
  --border-radius-medium: 8px;
  --border-radius-large: 12px;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  color: var(--color-text);
  margin: 0;
  padding: 0;
  font-size: 1.4rem;
  line-height: 1.4;
  font-family: -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  font-family: var(--font-family-base);
  background-color: var(--color-background);
}

html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-size-adjust: 100%;
  -webkit-font-smoothing: subpixel-antialiased;
}

html,
body {
  height: 100%;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

.wrap {
  max-width: var(--wrap);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--spacing-base);
  padding-right: var(--spacing-base);
}

.wrap-header {
  max-width: calc(var(--wrap) + 30rem);
}

._g {
  display: grid;
}

._f {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -moz-box;
  display: flex;
}

._f-inline {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: -moz-inline-box;
  display: inline-flex;
}

._f-center {
  -webkit-box-align: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
._f-w-center {
  -webkit-box-pack: center;
  -moz-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
._f-reverse {
  flex-direction: column-reverse;
  -moz-flex-direction: column-reverse;
}
._f-column {
  -webkit-box-direction: normal;
  -moz-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}
._f-spc-btw {
  justify-content: space-between;
  -webkit-justify-content: space-between;
  -moz-justify-content: space-between;
  -ms-justify-content: space-between;
  -o-justify-content: space-between;
}

._f-wrap {
  display: -ms-flexbox;
  display: -webkit-flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

._fixed {
  position: fixed;
}

._absolute {
  position: absolute;
}

.trns {
  -webkit-transition: all 0.15s ease-in-out;
  -moz-transition: all 0.15s ease-in-out;
  -o-transition: all 0.15s ease-in-out;
  transition: all 0.15s ease-in-out;
}

.header {
  padding-top: 1.6rem;
  padding-bottom: 1.6rem;
}

header {
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  pointer-events: none;
}

._relative {
  position: relative;
}

.logo svg {
  height: 4.6rem;
  width: 4.6rem;
}

.logo {
  text-decoration: none;
  color: var(--color-text);
  pointer-events: all;
}

.text {
  font-size: 1.93rem;
  line-height: 1;
  font-weight: 900;
  margin-left: 0.4rem;
  text-transform: uppercase;
}

.text .m-text {
  font-size: 1.2rem;
  font-weight: 400;
  text-transform: lowercase;
}

.dark-section::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  pointer-events: none;
  z-index: 2;
  -webkit-backdrop-filter: invert(100%);
  backdrop-filter: invert(100%);
}

.__s1 .wrap,
.__s2 .wrap {
  padding-top: 5.2rem;
  padding-bottom: 5.2rem;
}

._invert-fix {
  height: 100%;
  position: relative;
  pointer-events: none;
  z-index: 3;
}

a {
  text-decoration: none;
  color: inherit;
  pointer-events: all;
}

.support-button {
  padding: 0.8rem 1.8rem;
  background-color: var(--bg-accent);
  color: var(--color-accent);
  border-radius: var(--border-radius-base);
  font-weight: 800;
  text-transform: uppercase;
}

.support-button:hover {
  background-color: var(--hover-accent);
}

a.support-button::after {
  animation: signal 2s ease-out infinite;
  background-color: inherit;
  content: "";
  display: block;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  opacity: 0.8;
  border-radius: var(--border-radius-base);
  position: absolute;
  width: 100%;
}

.image-head {
  /* height: 61rem;
    width: 79.9rem; */
  object-fit: cover;
  border-radius: 10px;
}

.lb-main {
  max-width: 54rem;
  margin-right: 14rem;
}

.lb-main p {
  margin: 1.6rem 0 3.6rem;
  font-size: 1.8rem;
  line-height: 1.6;
}

h1 {
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 1.3;
}

h2 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 2.4rem;
  text-decoration: wavy;
  text-decoration-thickness: 2px;
  text-decoration-line: underline;
  text-underline-offset: 0.8rem;
  text-decoration-color: var(--bg-accent);
}

.__s1 h2 {
  margin-bottom: 5.2rem;
}

.tgs {
  top: -5.6rem;
  left: -8.5rem;
}

.tgs-container {
  width: 49.3rem;
  height: 36.1rem;
  position: relative;
}

.dark-section {
  color: var(--color-inverted-text);
}

.head-section {
  padding: 8rem 0;
}

.bg-s {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}

.butt {
  padding: 1rem 1.8rem;
  font-weight: 800;
  border-radius: var(--border-radius-base);
  display: block;
}

.buttons a {
  margin-right: 0.8rem;
  font-size: 1.6rem;
}

.buttons a:last-child {
  margin-right: 0;
}

.get-history {
  background: #ffd38f;
  color: #392e1d;
}

.donate-button {
  background: #ffa9c8;
  color: #492b35;
}

.pay-button {
  background: #ffd1e0;
  color: #000000;
  text-align: center;
  border: 0.2rem dashed #000000;
}

.subtitle {
  font-size: 1.8rem;
  line-height: 1.7;
  padding: 2.4rem;
  margin-left: 6.4rem;
  margin-top: -4rem;
}

.star-title {
  height: 4rem;
  top: 0rem;
  left: 16rem;
  transform: rotate(110deg);
}

.__s1 ._invert-fix {
  background-image: url(/assets/img/sptr.png);
  background-size: 9%;
}

p.subtitle a {
  color: var(--bg-accent);
  text-decoration: underline;
}

p.subtitle a:hover {
  color: var(--hover-accent);
}

.links._g {
  grid-template-columns: 1fr 1fr 1fr;
  margin-top: 1.6rem;
}

.links a {
  height: 6rem;
  width: 6rem;
  margin: 0 auto;
  background-image: url(/assets/img/soc.png);
  background-size: 22rem;
  background-position: 0rem 0.1rem;
}

.links .tg-link {
  background-position: 6.4rem 0.1rem;
}

.links .tiktok-link {
  background-position: -7.7rem 0.1rem;
}

.text-help,
.help-container {
  font-size: 1.8rem;
  line-height: 1.7;
}
._g.help {
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
  margin-top: 1.8rem;
}

.card-help {
  background-color: #fff;
  border: 1px solid #d7d7d7;
}

.card-help,
.card-help-by-props {
  border-radius: var(--border-radius-large) 12px;
  padding: 3.2rem;
  font-size: 1.8rem;
}

.card-help-by-props {
  background: #ffd1e0;
  border: 1px solid #e1bbc8;
}

h3 {
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 1.4rem;
}

.card-help p {
  text-align: center;
}

.card {
  box-shadow: rgb(0 0 0 / 11%) 0px 0px 1px 0px;
}

.svg-help-card {
  height: 10rem;
  display: block;
  margin: 2.4rem auto 3rem auto;
}

b {
  font-weight: bold;
}

i.copy {
  height: 1.6rem;
  width: 1.6rem;
  display: inline-block;
  background-image: url(/assets/img/copysvg.svg);
  background-size: 1.6rem;
}

[data-copy] {
  position: relative;
  cursor: pointer;
}

/* Оверлей вимкнений за замовчуванням */
[data-copy]::before {
  width: 100%;
  height: 100%;
  content: "Скопійовано";
  display: block;
  background: #333333;
  border-radius: var(--border-radius-base, 12px);
  color: #fff;
  text-align: center;
  position: absolute;
  inset: 0;
  font-size: 1.4rem;
  line-height: 1.5;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

/* Показ оверлею */
[data-copy].is-copied::before {
  opacity: 1;
}

footer {
  background: linear-gradient(0deg, #0a0a0a, #0f0f0f);
  padding: 2rem 0;
  color: rgb(255 209 224 / 8%);
  bottom: 0;
  left: 0;
  width: 100%;
}

.card:hover {
  border-color: #8b8b8b;
}

.card:hover .pay-button {
  border-style: solid;
}

.donate-button:hover {
  background: #ff9abe;
  color: #492b35;
}

.get-history:hover {
  background: #efc585;
  color: #392e1d;
}

.heart-thx {
  height: 43rem;
}

@keyframes signal {
  20%,
  to {
    opacity: 0;
    transform: scale(1.2);
  }
}

@media screen and (max-width: 1490px) {
  header {
    background: rgb(255 255 255 / 90%);
    backdrop-filter: blur(12px);
    z-index: 4;
  }
}

@media screen and (max-width: 1250px) {
  #head .wrap,
  .blocks-history {
    flex-direction: column;
  }

  #head .lb-main {
    margin-right: unset;
    margin-top: 2.4rem;
    margin-bottom: 3.4rem;
    text-align: center;
  }

  #head .buttons {
    justify-content: center;
    justify-items: center;
    place-items: center;
  }

  #head .image-head {
    display: none;
  }

  #head {
    padding-top: 10.4rem;
    padding-bottom: 4.6rem;
  }
  #history .wrap > ._relative,
  #help h2 {
    justify-content: center;
    justify-items: center;
    place-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -moz-box;
    display: flex;
  }

  .star-title {
    left: 29rem;
  }

  .text-help {
    text-align: center;
    max-width: 47.8rem;
  }

  #help .text-help {
    margin: 0 auto;
  }

  #history .subtitle {
    margin-top: 1.2rem;
    text-align: center;
    margin-left: unset;
  }

  ._g.help {
    grid-template-columns: 1fr;
    margin-right: 8.8rem;
    margin-left: 8.8rem;
  }
}

@media screen and (max-width: 678px) {
  .tgs-container {
    width: 35.7rem;
    height: 26.1rem;
  }

  .tgs-container img {
    width: 48rem;
    left: -6.2rem;
    top: -4.1rem;
  }
}

@media screen and (max-width: 670px) {
  ._g.help {
    margin-right: 1.6rem;
    margin-left: 1.6rem;
  }

  .svg-help-card {
    width: 100%;
    height: auto;
  }
}

@media screen and (max-width: 517px) {
  ._g.help {
    margin-right: unset;
    margin-left: unset;
  }

  .__s3 .heart-thx {
    display: none;
  }

  .__s3 .subtitle {
    margin-top: unset;
    margin-left: 1.6rem;
    font-size: 1.6rem;
    line-height: 1.6;
  }

  .__s3 ._invert-fix > .wrap {
    padding-bottom: 4.8rem;
  }

  footer {
    background: unset;
    margin: unset;
    padding: 2rem 0;
  }
}

@media screen and (max-width: 485px) {
  .tgs-container {
    width: 26rem;
    height: 19.1rem;
  }

  .tgs-container img {
    width: 35rem;
    left: -4.5rem;
    top: -3rem;
  }
}
