@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");

body,
html {
  background-color: transparent;
  margin: 0;
  padding: 0;

  /* Force render CSS wih GPU */
  will-change: transform;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

a {
  text-decoration: none;
}

p {
  padding: 0;
  margin: 0;
}

:root {
  --background: #131313;
  --window-corner: 10px;

  /* Theming colors */

  --discord: #5865f2;
  --discord-hover: #404cd1;

  --accent: #211d25;
  --accent-secondary: #1f1725;
  --accent-foreground: #ded2e8;
  --accent-foreground-secondary: #9e89b8;

  --accent-gradient: #b25dd6;
  --accent-gradient-secondary: #cd32db;

  --text: #ffffff;
  --foreground: #d4d4d4;
  --foreground-secondary: #a9a1a1;

  --mild: #d0d0d0;

  --error: #ca0b0b;
  --error-transparent: #ca0b0b1a;
  --warning: #f0b429;
  --warning-transparent: #f0b4291a;

  /* Card Components */
  --card: #101010;
  --card-transparent: #101010e6;
  --card-secondary: #1a1a1a;

  /* Button Component */
  --button: #1f1f1f;
  --button-acrylic: rgba(0, 0, 0, 0.6);
  --button-dark: #111111;
  --button-accent: #291f30;

  --button-border: #434343;

  --out-expo: cubic-bezier(0.19, 1, 0.22, 1);

  /* Utils */
  font-family: "Inter", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
}

#app-wrapper {
  height: 90dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#app {
  background: var(--background);
  height: 100dvh;
}

.logo {
  height: 200px;
  width: 200px;
  margin-bottom: 2rem;
}

.app-description {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;

  & div {
    width: 625px;
    border: none;
    border-radius: 10px;
    background: var(--button);
    color: var(--foreground);
    padding: 1rem;

    & .message {
      font-size: 16px;
      font-weight: 600;
    }

    &:focus {
      outline: none;
    }
  }
}

.platform {
  color: white !important;
  font-size: 22px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.platforms {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.platform-logo {
  height: 24px;
  width: 24px;
}

.hidden {
  display: none;
}

.btn {
  width: 20rem;
  height: 3.5rem;
  border: 1px solid #414141;
  border-radius: 15px;
  background: var(--card-secondary);
  color: var(--accent-foreground);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: filter 0.2s var(--out-expo);

  & span {
    font-size: 16px;
    font-weight: 700;
  }

  &:hover {
    filter: brightness(1.1);
  }
}

.actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.discord {
  background: var(--discord);
  color: white;
  border: none;
}

.footer {
  position: absolute;
  bottom: 1rem;
  width: 100%;
  display: flex;
  justify-content: center;
  color: var(--foreground-secondary);
}
