@font-face {
  font-family: 'Outfit';
  src: url('./assets/fonts/outfit-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Outfit';
  src: url('./assets/fonts/outfit-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Outfit';
  src: url('./assets/fonts/outfit-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Outfit';
  src: url('./assets/fonts/outfit-900.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: only light;

  --color-bg: #fff;
  --color-text: #222;
  --color-bg-dim: rgba(255, 255, 255, 0.6);
  --color-text-dim: rgba(34, 34, 34, 0.6);
  --color-accent: #ffbb22;
  --color-border: #bb8811;

  --font-size-sm: 14px;
  --font-size-md: 16px;
  --font-size-lg: 24px;
  --font-size-xl: 48px;

  --line-height-md: 25px;
  --line-height-lg: 30px;
  --line-height-xl: 50px;

  --gap-xs: 5px;
  --gap-sm: 10px;
  --gap-md: 20px;
  --gap-lg: 40px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

:focus {
  outline: none;
}

body {
  background-color: var(--color-text);
  font-family: 'Outfit', sans-serif;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  color: var(--color-text);
}

h1 {
  font-size: var(--font-size-xl);
  line-height: var(--line-height-xl);
  text-transform: uppercase;
}

h2 {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-lg);
}

h3 {
  font-size: var(--font-size-md);
  line-height: var(--line-height-md);
}

p,
li {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  font-size: var(--font-size-md);
  line-height: var(--line-height-md);
  color: var(--color-text);
}

a {
  color: var(--color-accent);
  display: inline-block;
}

img {
  display: block;
}

ul,
ol {
  list-style: none;
}

strong {
  font-weight: 500;
}

.logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-sm);
}

.logo-icon {
  max-width: 200px;
  height: auto;
  animation: logo-float 5s ease-in-out infinite;
  will-change: transform;
}

@keyframes logo-float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

.splash-screen {
  margin: 40px auto;
  max-width: 500px;
  height: calc(100dvh - 80px);
  background-image: url('./assets/images/tds-splash-bg.webp');
  background-size: cover;
  background-position: center;
  border: 5px solid var(--color-bg);
  box-shadow: 0 0 50px rgba(0, 0, 0, 1);
  border-radius: 10px;
  overflow: hidden;
}

.splash-screen::before {
  width: 100%;
  height: 100%;
  content: '';
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.9));
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.splash-content {
  padding: 40px 40px 0;
  height: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: var(--gap-md);
  position: relative;
}

.gap {
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
}

.headline {
  font-weight: 900;
  font-size: var(--font-size-xl);
  line-height: var(--line-height-xl);
  color: var(--color-bg);
  text-transform: uppercase;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.headline-small {
  font-weight: 500;
  font-size: var(--font-size-lg);
  line-height: var(--line-height-lg);
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

hr {
  margin-top: -1px;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.5), transparent);
  border: none;
}

.available-on-android {
  font-weight: 500;
  font-size: var(--font-size-md);
  line-height: var(--line-height-md);
  color: var(--color-bg);
}

.google-play-badge {
  display: block;
}

.google-play-badge img {
  width: 200px;
  height: auto;
  display: block;
}

.captain-container {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.captain-container img {
  max-width: 250px;
  height: auto;
}

.captain-container img:first-of-type {
  margin-right: -150px;
}

.captain-container img:last-of-type {
  margin-left: -150px;
}

.captain-container img.big {
  max-width: 300px;
  position: relative;
  z-index: 1;
}

.privacy-container {
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: var(--gap-lg);
}

.privacy-content {
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: var(--gap-sm);
}

.privacy-content h1,
.privacy-content h2,
.privacy-content h3,
.privacy-content p {
  color: var(--color-bg);
}

.privacy-content ul {
  padding-left: 20px;
  list-style: disc;
}

.privacy-content ul li::marker {
  color: var(--color-bg);
}

footer {
  padding: calc(var(--gap-md) - 1px) var(--gap-md) var(--gap-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
}

footer p {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-md);
  color: var(--color-bg-dim);
  text-align: center;
}

footer ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--gap-md);
}

footer ul li p a {
  font-size: var(--font-size-sm);
  line-height: var(--line-height-md);
  color: var(--color-bg-dim);
  text-decoration: none;
}

@media (max-width: 767px) {
  :root {
    --font-size-lg: 18px;
    --font-size-xl: 34px;

    --line-height-lg: 20px;
    --line-height-xl: 40px;
  }

  .splash-screen {
    margin: 0 auto;
    max-width: 100%;
    height: 100dvh;
    border: none;
    border-radius: 0;
  }

  .splash-content {
    padding: 20px 20px 0;
  }

  .privacy-container {
    padding: 20px;
    gap: var(--gap-md);
  }

  footer {
    gap: var(--gap-sm);
  }

  footer ul {
    flex-direction: column;
    gap: 0;
  }
}
