@import url("https://fonts.googleapis.com/css2?family=Google+Sans+Flex:opsz,wght@6..144,1..1000&family=Oi&display=swap");


/* Manual override: dark */
:root[data-theme="dark"] {
  --bg-primary: #0d0714;
  --bg-secondary: #38f7cdec;
  --text-primary: #ffffff;
  --text-secondary: #c0bfe6;
  --text-thirdary: #ffffff;
  --vier: #000000;
  --accent: #3d29d4;
  --accent-hover: #5a4bd6;
  --border: #47405b;
}

/* Manual override: light */
:root[data-theme="light"] {
  --bg-primary: #b28ee1;
  --bg-secondary: #8859c6;
  --text-primary: #ffffff;
  --text-secondary: #c1bdce;
  --text-thirdary: #000000;
  --vier: #ffffff;
  --accent: #5f4ee6;
  --accent-hover: #4638c9;
  --border: #e6e0f6;
}
/* Base Styles */

* {
  font-family: "Google Sans Flex", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-: var(--text-primary);
}

::selection {
  background-color: var(--text-thirdary);
  color: var(--vier);
}

a {
  color: var(--accent);
  text-decoration: none;
}

h1,
h2,
h3 {
  color: var(--text-primary);
}

.tit {
  /* center content */
  font-family: "Google Sans Flex", sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.head {
  background-color: var(--bg-secondary);
}

a:hover {
  color: var(--accent-hover);
}

button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--accent);
  color: var(--text-primary);
  border: none;
  padding: 12px 22px;
  border-radius: 18px;
  cursor: pointer;
  font-size: 1rem;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

button:hover {
  background-color: var(--accent-hover);
  transform: translateY(-1px);
}

/* subtle focus outlines using indigo tint */
a:focus,
button:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 30%, transparent);
  outline-offset: 2px;
}

body {
  position: relative;
  z-index: 0;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(var(--bg-secondary), var(--bg-primary));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}

.card {
  width: 90%;
  max-width: 740px;
  margin: 42px auto;
  padding: 28px 26px;
  background: #291d4f81;
  border-radius: 20px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  text-align: center;
  position: relative;
  overflow: hidden;
  transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
  transition: transform 0.5s ease-out;
}

.close-icon {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  font-size: 34px !important;
  line-height: 1;
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 64;
  color: var(--text-secondary);
  cursor: pointer;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.close-icon:hover {
  color: red;
  transform: scale(1.1);
}

.pfp {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 16px;
  border: 4px solid var(--border);
  transform: scale(1);
  box-shadow: 0 0 0 rgba(108, 92, 231, 0);
  transition:
    border-color 0.3s ease,
    transform 0.25s ease,
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.pfp:hover {
  border-color: var(--accent);
  transform: scale(1.05);
  box-shadow:
    0 0 48px rgba(0, 0, 0, 0.18),
    0 0 0 4px rgba(108, 92, 231, 0.14);
}

.uhh {
  display: block;
  width: 120px;
  height: auto;
  margin: 16px auto 0;
  opacity: 0.8;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.error-buttons {
  display: flex;
  justify-content: center;
  gap: 69px;
  flex-wrap: wrap;
}


.language-picker {
  position: fixed;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1000;
}

.language-picker .material-symbols-outlined {
  font-size: 22px;
  color: var(--text-thirdary);
}

.language-picker select {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-secondary);
  color: var(--text-primary);
}


.theme-picker {
  position: fixed;
  left: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1000;
}

.theme-picker .material-symbols-outlined {
  font-size: 22px;
  color: var(--text-thirdary);
}

.theme-picker select {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-secondary);
  color: var(--text-primary);
}




.txt {
  font-family: "Google Sans Flex", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1.75;
  letter-spacing: 0.01em;
  color: var(--text-primary);
  max-width: 720px;
  margin: 1.5rem auto;
  padding: 0.2rem 0.1rem;
  text-align: center;
  font-variation-settings:
    "slnt" 0,
    "wdth" 100,
    "GRAD" 0,
    "ROND" 0;
}

