:root {
  color-scheme: light;
  --green-a: #84cdc3;
  --green-b: #4db39c;
  --green-c: #029d6d;
  --green-d: #007953;
  --navy: #211d50;
  --white: #ffffff;
  --ink: #272727;
  --cookie-green: #4c9c31;
  --shadow: 0 16px 36px rgba(15, 20, 30, 0.28);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  color: var(--ink);
  background: var(--green-b);
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
}

.vsl-hero {
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 51%, var(--green-a), var(--green-a) 6%, var(--green-b) 62%),
    radial-gradient(circle at 53% 49%, var(--green-c), var(--green-d) 71%, var(--green-d) 79%);
}

.atf-wrapper {
  width: 998px;
  height: 697px;
  margin: 0 auto;
}

.headline {
  width: 100%;
  height: 148px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
}

.headline h1 {
  margin: 18px 0 0;
  color: var(--white);
  font-size: 48px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 6px 8px rgba(0, 0, 0, 0.35);
}

.video-frame {
  width: 968px;
  height: 550px;
  display: block;
  margin: 0 auto;
  padding: 4px;
  border: 0;
  background: var(--white);
  box-shadow: 0 5px 7px rgba(0, 0, 0, 0.38);
  cursor: pointer;
}

.video-frame picture,
.video-frame img {
  width: 100%;
  height: 100%;
  display: block;
}

.video-frame img {
  object-fit: cover;
}

.cookie-overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 22px;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(1.5px);
  cursor: pointer;
}

.cookie-popup {
  width: min(1060px, 100%);
  min-height: 92px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 8px;
  background: var(--white);
  color: #333333;
  box-shadow: var(--shadow);
  cursor: default;
}

.cookie-copy h2 {
  margin: 0 0 6px;
  color: #222222;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.1;
  font-weight: 900;
}

.cookie-copy p {
  max-width: 780px;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13.5px;
  line-height: 1.38;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.cookie-btn {
  min-height: 34px;
  padding: 0 14px;
  border: 0;
  color: #333333;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  cursor: pointer;
}

.cookie-btn.muted {
  background: #dedede;
}

.cookie-btn.accept {
  background: var(--cookie-green);
  color: var(--white);
  font-weight: 800;
}

@media (max-width: 900px) {
  .atf-wrapper {
    width: 390px;
    height: 683px;
  }

  .headline {
    height: 52px;
  }

  .headline h1 {
    margin: 0;
    width: 122%;
    font-family: "Arial Narrow", Impact, Arial, Helvetica, sans-serif;
    font-size: 23.5px;
    line-height: 1.1;
    text-shadow: 0 5px 7px rgba(0, 0, 0, 0.38);
    white-space: nowrap;
    transform: scaleX(0.82);
    transform-origin: center top;
  }

  .video-frame {
    width: 352px;
    height: 623px;
    margin-top: 0;
    padding: 4px;
  }

  .cookie-overlay {
    padding: 14px;
  }

  .cookie-popup {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }

  .cookie-copy p {
    font-size: 12.5px;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
  }

  .cookie-btn {
    min-height: 38px;
    padding: 0 8px;
    font-size: 12px;
  }
}

@media (max-width: 430px) {
  .atf-wrapper {
    width: 100%;
  }

  .video-frame {
    width: calc(100% - 38px);
  }

  .cookie-actions {
    grid-template-columns: 1fr 1fr;
  }

  .cookie-btn.accept {
    grid-column: 1 / -1;
  }
}

@media (max-height: 740px) and (min-width: 901px) {
  .atf-wrapper {
    transform: scale(0.92);
    transform-origin: top center;
  }
}
