@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&display=swap");

:root {
  --bg: #171717;
  --panel: #252525;
  --border: #3a3a3a;

  --green: #58c85b;
  --green-light: #7be87e;
  --green-dark: #3f9d42;

  --blue: #5a92ff;
  --blue-light: #80adff;
  --blue-dark: #3769cf;

  --text: #ffffff;
  --muted: #a8a8a8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  padding: 24px;

  display: flex;
  justify-content: center;
  align-items: center;

  background:
    radial-gradient(circle at top, #2b2b2b 0%, #171717 65%);

  font-family: "Fredoka", sans-serif;
  color: var(--text);
}

.app-container {
  width: 430px;
  max-width: 100%;

  padding: 42px 34px;

  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 28px;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  box-shadow:
    0 22px 55px rgba(0, 0, 0, .45);
}

.logo {
  width: 110px;
  height: 110px;

  display: flex;
  justify-content: center;
  align-items: center;

  font-size: 3.5rem;

  border-radius: 30px;

  background:
    linear-gradient(
      to bottom,
      var(--green-light),
      var(--green)
    );

  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.35),
    inset 0 -3px 0 rgba(0,0,0,.12),
    0 8px 0 var(--green-dark),
    0 18px 35px rgba(0,0,0,.35);

  margin-bottom: 26px;
}

h1 {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 36px;
}

.login-buttons {
  width: 100%;

  display: flex;
  flex-direction: column;
  gap: 18px;
}

button {
  --button: var(--green);
  --button-light: var(--green-light);
  --button-dark: var(--green-dark);

  width: 100%;

  border: none;
  outline: none;
  cursor: pointer;

  padding: 18px;

  border-radius: 18px;

  color: white;
  font-family: inherit;
  font-size: 1.08rem;
  font-weight: 600;

  background:
    linear-gradient(
      to bottom,
      var(--button-light),
      var(--button)
    );

  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.35),
    inset 0 -3px 0 rgba(0,0,0,.12),
    0 7px 0 var(--button-dark),
    0 14px 28px rgba(0,0,0,.35);

  transition:
    transform .15s cubic-bezier(.2,.8,.2,1),
    box-shadow .15s cubic-bezier(.2,.8,.2,1),
    filter .2s;
}

button:hover {
  filter: brightness(1.05);

  transform:
    translateY(-2px)
    scale(1.02);

  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.4),
    inset 0 -3px 0 rgba(0,0,0,.12),
    0 9px 0 var(--button-dark),
    0 18px 34px rgba(0,0,0,.42);
}

button:active {
  transform:
    translateY(6px)
    scale(.98);

  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.3),
    inset 0 -2px 0 rgba(0,0,0,.1),
    0 1px 0 var(--button-dark),
    0 4px 12px rgba(0,0,0,.28);
}

button:focus-visible {
  outline: 3px solid rgba(120,170,255,.8);
  outline-offset: 4px;
}

.google-btn {
  --button: var(--blue);
  --button-light: var(--blue-light);
  --button-dark: var(--blue-dark);
}

.guest-btn {
  --button: var(--green);
  --button-light: var(--green-light);
  --button-dark: var(--green-dark);
}

.small-text {
  margin-top: 28px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.5;
}

@media (max-width: 500px) {
  body {
    padding: 16px;
  }

  .app-container {
    padding: 34px 24px;
    border-radius: 22px;
  }

  .logo {
    width: 90px;
    height: 90px;
    font-size: 3rem;
    border-radius: 24px;
  }

  h1 {
    font-size: 2.4rem;
  }

  button {
    padding: 16px;
    font-size: 1rem;
  }
}
