/*! tailwindcss v4.1.12 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --color-red-500: oklch(63.7% 0.237 25.331);
    --color-yellow-500: oklch(79.5% 0.184 86.047);
    --color-yellow-600: oklch(68.1% 0.162 75.834);
    --color-blue-500: oklch(62.3% 0.214 259.815);
    --color-blue-600: oklch(54.6% 0.245 262.881);
    --color-blue-700: oklch(48.8% 0.243 264.376);
    --color-indigo-600: oklch(51.1% 0.262 276.966);
    --color-indigo-700: oklch(45.7% 0.24 277.023);
    --color-gray-50: oklch(98.5% 0.002 247.839);
    --color-gray-200: oklch(92.8% 0.006 264.531);
    --color-gray-300: oklch(87.2% 0.01 258.338);
    --color-gray-500: oklch(55.1% 0.027 264.364);
    --color-gray-600: oklch(44.6% 0.03 256.802);
    --color-gray-700: oklch(37.3% 0.034 259.733);
    --color-gray-800: oklch(27.8% 0.033 256.848);
    --color-black: #000;
    --color-white: #fff;
    --spacing: 0.25rem;
    --container-md: 28rem;
    --text-xs: 0.75rem;
    --text-xs--line-height: calc(1 / 0.75);
    --text-sm: 0.875rem;
    --text-sm--line-height: calc(1.25 / 0.875);
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75 / 1.25);
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2 / 1.5);
    --font-weight-bold: 700;
    --tracking-wider: 0.05em;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --ease-in: cubic-bezier(0.4, 0, 1, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .collapse {
    visibility: collapse;
  }
  .visible {
    visibility: visible;
  }
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
  }
  .absolute {
    position: absolute;
  }
  .fixed {
    position: fixed;
  }
  .relative {
    position: relative;
  }
  .static {
    position: static;
  }
  .inset-0 {
    inset: calc(var(--spacing) * 0);
  }
  .right-0 {
    right: calc(var(--spacing) * 0);
  }
  .isolate {
    isolation: isolate;
  }
  .z-50 {
    z-index: 50;
  }
  .container {
    width: 100%;
    @media (width >= 40rem) {
      max-width: 40rem;
    }
    @media (width >= 48rem) {
      max-width: 48rem;
    }
    @media (width >= 64rem) {
      max-width: 64rem;
    }
    @media (width >= 80rem) {
      max-width: 80rem;
    }
    @media (width >= 96rem) {
      max-width: 96rem;
    }
  }
  .mx-4 {
    margin-inline: calc(var(--spacing) * 4);
  }
  .my-4 {
    margin-block: calc(var(--spacing) * 4);
  }
  .mt-2 {
    margin-top: calc(var(--spacing) * 2);
  }
  .mb-3 {
    margin-bottom: calc(var(--spacing) * 3);
  }
  .mb-4 {
    margin-bottom: calc(var(--spacing) * 4);
  }
  .ml-auto {
    margin-left: auto;
  }
  .block {
    display: block;
  }
  .contents {
    display: contents;
  }
  .flex {
    display: flex;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .inline {
    display: inline;
  }
  .table {
    display: table;
  }
  .h-4 {
    height: calc(var(--spacing) * 4);
  }
  .w-4 {
    width: calc(var(--spacing) * 4);
  }
  .w-48 {
    width: calc(var(--spacing) * 48);
  }
  .w-full {
    width: 100%;
  }
  .max-w-md {
    max-width: var(--container-md);
  }
  .grow {
    flex-grow: 1;
  }
  .scale-95 {
    --tw-scale-x: 95%;
    --tw-scale-y: 95%;
    --tw-scale-z: 95%;
    scale: var(--tw-scale-x) var(--tw-scale-y);
  }
  .scale-100 {
    --tw-scale-x: 100%;
    --tw-scale-y: 100%;
    --tw-scale-z: 100%;
    scale: var(--tw-scale-x) var(--tw-scale-y);
  }
  .rotate-180 {
    rotate: 180deg;
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
  }
  .resize {
    resize: both;
  }
  .grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .items-center {
    align-items: center;
  }
  .justify-between {
    justify-content: space-between;
  }
  .justify-center {
    justify-content: center;
  }
  .gap-2 {
    gap: calc(var(--spacing) * 2);
  }
  .gap-3 {
    gap: calc(var(--spacing) * 3);
  }
  .gap-4 {
    gap: calc(var(--spacing) * 4);
  }
  .space-y-2 {
    :where(& > :not(:last-child)) {
      --tw-space-y-reverse: 0;
      margin-block-start: calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));
      margin-block-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)));
    }
  }
  .truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .overflow-hidden {
    overflow: hidden;
  }
  .rounded {
    border-radius: 0.25rem;
  }
  .rounded-lg {
    border-radius: var(--radius-lg);
  }
  .rounded-xl {
    border-radius: var(--radius-xl);
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .border-t {
    border-top-style: var(--tw-border-style);
    border-top-width: 1px;
  }
  .border-gray-300 {
    border-color: var(--color-gray-300);
  }
  .bg-black\/50 {
    background-color: color-mix(in srgb, #000 50%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-black) 50%, transparent);
    }
  }
  .bg-blue-500 {
    background-color: var(--color-blue-500);
  }
  .bg-blue-600 {
    background-color: var(--color-blue-600);
  }
  .bg-gray-800 {
    background-color: var(--color-gray-800);
  }
  .bg-indigo-600 {
    background-color: var(--color-indigo-600);
  }
  .bg-white {
    background-color: var(--color-white);
  }
  .bg-white\/10 {
    background-color: color-mix(in srgb, #fff 10%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-white) 10%, transparent);
    }
  }
  .bg-yellow-500 {
    background-color: var(--color-yellow-500);
  }
  .p-6 {
    padding: calc(var(--spacing) * 6);
  }
  .px-2 {
    padding-inline: calc(var(--spacing) * 2);
  }
  .px-3 {
    padding-inline: calc(var(--spacing) * 3);
  }
  .px-4 {
    padding-inline: calc(var(--spacing) * 4);
  }
  .py-1 {
    padding-block: calc(var(--spacing) * 1);
  }
  .py-2 {
    padding-block: calc(var(--spacing) * 2);
  }
  .py-2\.5 {
    padding-block: calc(var(--spacing) * 2.5);
  }
  .text-2xl {
    font-size: var(--text-2xl);
    line-height: var(--tw-leading, var(--text-2xl--line-height));
  }
  .text-lg {
    font-size: var(--text-lg);
    line-height: var(--tw-leading, var(--text-lg--line-height));
  }
  .text-sm {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }
  .text-xl {
    font-size: var(--text-xl);
    line-height: var(--tw-leading, var(--text-xl--line-height));
  }
  .text-xs {
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }
  .leading-none {
    --tw-leading: 1;
    line-height: 1;
  }
  .font-bold {
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
  }
  .text-gray-200 {
    color: var(--color-gray-200);
  }
  .text-gray-500 {
    color: var(--color-gray-500);
  }
  .text-gray-600 {
    color: var(--color-gray-600);
  }
  .text-gray-700 {
    color: var(--color-gray-700);
  }
  .text-gray-800 {
    color: var(--color-gray-800);
  }
  .text-red-500 {
    color: var(--color-red-500);
  }
  .text-white {
    color: var(--color-white);
  }
  .opacity-0 {
    opacity: 0%;
  }
  .opacity-100 {
    opacity: 100%;
  }
  .shadow-xl {
    --tw-shadow: 0 20px 25px -5px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 8px 10px -6px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .ring-1 {
    --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .ring-2 {
    --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .ring-blue-500 {
    --tw-ring-color: var(--color-blue-500);
  }
  .ring-white\/10 {
    --tw-ring-color: color-mix(in srgb, #fff 10%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      --tw-ring-color: color-mix(in oklab, var(--color-white) 10%, transparent);
    }
  }
  .outline {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }
  .blur {
    --tw-blur: blur(8px);
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .filter {
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, visibility, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition-colors {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .transition-transform {
    transition-property: transform, translate, scale, rotate;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .duration-75 {
    --tw-duration: 75ms;
    transition-duration: 75ms;
  }
  .duration-100 {
    --tw-duration: 100ms;
    transition-duration: 100ms;
  }
  .ease-in {
    --tw-ease: var(--ease-in);
    transition-timing-function: var(--ease-in);
  }
  .ease-out {
    --tw-ease: var(--ease-out);
    transition-timing-function: var(--ease-out);
  }
  .\[file\:line\] {
    file: line;
  }
  .hover\:bg-blue-700 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-blue-700);
      }
    }
  }
  .hover\:bg-gray-50 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-gray-50);
      }
    }
  }
  .hover\:bg-gray-700 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-gray-700);
      }
    }
  }
  .hover\:bg-indigo-700 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-indigo-700);
      }
    }
  }
  .hover\:bg-white\/20 {
    &:hover {
      @media (hover: hover) {
        background-color: color-mix(in srgb, #fff 20%, transparent);
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(in oklab, var(--color-white) 20%, transparent);
        }
      }
    }
  }
  .hover\:bg-yellow-600 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--color-yellow-600);
      }
    }
  }
  .hover\:text-gray-700 {
    &:hover {
      @media (hover: hover) {
        color: var(--color-gray-700);
      }
    }
  }
  .focus\:border-transparent {
    &:focus {
      border-color: transparent;
    }
  }
  .focus\:ring-2 {
    &:focus {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
      box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    }
  }
  .focus\:ring-blue-500 {
    &:focus {
      --tw-ring-color: var(--color-blue-500);
    }
  }
  .disabled\:opacity-50 {
    &:disabled {
      opacity: 50%;
    }
  }
  .sm\:inline {
    @media (width >= 40rem) {
      display: inline;
    }
  }
}
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");
@font-face {
  font-family: "Dilana";
  src: url("/assets/fonts/fuente-dilana.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  margin: 0;
  padding: 0;
}
body {
  position: relative;
  background: linear-gradient( to bottom, rgba(15, 12, 30, 1) 0%, rgba(27, 26, 59, 1) 30%, rgba(48, 38, 67, 1) 60%, rgba(69, 50, 75, 1) 100% );
}
.home-container {
  position: fixed;
  inset: calc(var(--spacing) * 0);
}
.home-content {
  position: absolute;
  inset: calc(var(--spacing) * 0);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
}
.dune-wrapper {
  pointer-events: none;
  position: absolute;
  right: calc(var(--spacing) * 0);
  bottom: calc(var(--spacing) * 0);
  left: calc(var(--spacing) * 0);
  width: 100%;
  overflow: hidden;
  z-index: 5;
}
.dune-container {
  position: relative;
  min-width: 1440px;
  aspect-ratio: 1440 / 382;
  transform: translateX(-50%);
  left: 50%;
}
.sand-steps-container {
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 62%;
  transform: translateX(-50%);
  z-index: 10;
  width: 20%;
  max-width: 301px;
}
.logo-container {
  position: relative;
}
.logo-text {
  font-family: "Dilana", serif;
  color: var(--color-white);
  font-size: clamp(3rem, 27vw, 10rem);
  line-height: 1;
  letter-spacing: -0.05em;
}
.login-logo-container .logo-text {
  font-size: 4rem;
}
.lobby-logo-container {
  position: relative;
}
.lobby-logo-container .logo-text {
  font-size: 5rem;
  line-height: 1;
}
.stars-container {
  pointer-events: none;
  position: absolute;
  inset: calc(var(--spacing) * 0);
  z-index: 1;
}
.star {
  animation: twinkle 3s ease-in-out infinite;
  animation-delay: calc(var(--star-index, 0) * 0.2s);
}
@keyframes twinkle {
  0%, 100% {
    opacity: inherit;
  }
  50% {
    opacity: calc(var(--opacity, 1) * 0.3);
  }
}
.moon-container {
  position: absolute;
  top: 21%;
  left: 23%;
  width: 120px;
  height: 120px;
  z-index: 2;
  animation: moonGlow 6s ease-in-out infinite;
}
@keyframes moonGlow {
  0%, 100% {
    opacity: 0.9;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}
.menu-container {
  position: absolute;
  top: calc(var(--spacing) * 0);
  right: calc(var(--spacing) * 0);
  left: calc(var(--spacing) * 0);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: calc(var(--spacing) * 12);
  padding-block: calc(var(--spacing) * 6);
  z-index: 50;
}
.menu-logo {
  display: flex;
  align-items: center;
}
.menu-logo-text {
  font-family: "Dilana", serif;
  font-size: var(--text-2xl);
  line-height: var(--tw-leading, var(--text-2xl--line-height));
  --tw-tracking: var(--tracking-wider);
  letter-spacing: var(--tracking-wider);
  color: var(--color-white);
}
.menu-items {
  display: flex;
  align-items: center;
  gap: calc(var(--spacing) * 8);
}
.menu-link {
  font-size: var(--text-sm);
  line-height: var(--tw-leading, var(--text-sm--line-height));
  color: var(--color-white);
  text-decoration-line: none;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  transition: opacity 0.2s;
}
.menu-link:hover {
  opacity: 0.8;
}
.menu-profile-button {
  cursor: pointer;
  --tw-border-style: none;
  border-style: none;
  background-color: transparent;
  padding: calc(var(--spacing) * 0);
  transition: opacity 0.2s;
}
.menu-profile-button:hover {
  opacity: 0.8;
}
.adventure-button {
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  --tw-border-style: none;
  border-style: none;
  background-color: #1e1a35;
  padding-inline: 26px;
  padding-block: 15px;
  color: var(--color-white);
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 14.317px;
  white-space: nowrap;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}
.adventure-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
.adventure-button:active {
  transform: translateY(0);
}
.adventure-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}
.button-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}
.journey-subtitle {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: var(--color-white);
  opacity: 0.7;
  white-space: nowrap;
  margin: 0;
}
.login-container {
  position: fixed;
  inset: calc(var(--spacing) * 0);
}
.login-panel {
  position: absolute;
  top: calc(var(--spacing) * 0);
  right: calc(var(--spacing) * 0);
  bottom: calc(var(--spacing) * 0);
  left: calc(var(--spacing) * 0);
  background: linear-gradient( to right, rgba(15, 12, 30, 0.9) 0%, rgba(15, 12, 30, 0.8) 30%, rgba(15, 12, 30, 0.4) 50%, transparent 70% );
  z-index: 15;
}
.login-content {
  position: absolute;
  z-index: 20;
  left: 79px;
  top: 164px;
  max-width: 450px;
}
.login-logo-container {
  position: relative;
  margin-bottom: 30px;
  width: 400px;
}
.login-logo-container .logo-text {
  font-size: 7rem;
  line-height: 1;
}
.login-subtitle {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: var(--color-white);
  margin-top: 0;
  margin-bottom: 40px;
}
.login-form {
  display: flex;
  flex-direction: column;
  width: 325px;
  gap: 32px;
}
.login-field {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.login-label {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 14.317px;
  color: rgba(255, 255, 255, 0.7);
}
.login-input {
  width: 100%;
  --tw-border-style: none;
  border-style: none;
  background-color: transparent;
  color: var(--color-white);
  --tw-outline-style: none;
  outline-style: none;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.login-input:focus {
  border-bottom-color: rgba(255, 255, 255, 0.6);
}
.login-button {
  display: flex;
  width: 100%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  --tw-border-style: none;
  border-style: none;
  height: 46px;
  background: rgba(30, 26, 53, 0.8);
  border-radius: 2px;
  padding: 15px 26px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 14.317px;
  color: var(--color-white);
  transition: opacity 0.2s, transform 0.2s;
}
.login-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
.login-button:active {
  transform: translateY(0);
}
.login-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.login-button:disabled:hover {
  transform: none;
}
.login-optional {
  font-weight: 400;
  font-size: 14px;
  opacity: 0.5;
}
.login-input-error {
  border-bottom-color: #ef4444 !important;
}
.login-field-error {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #ef4444;
  margin: 0;
}
.login-error {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #ef4444;
  margin: 0;
  text-align: center;
}
.login-toggle {
  text-align: center;
  margin-top: 24px;
}
.login-toggle a {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: underline;
  transition: color 0.2s;
}
.login-toggle a:hover {
  color: rgba(255, 255, 255, 0.9);
}
.login-success {
  text-align: center;
  padding: 24px 0;
}
.login-success p:first-child {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: var(--color-white);
  margin: 0 0 12px 0;
}
.login-success-hint {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}
.lobby-container {
  position: fixed;
  inset: calc(var(--spacing) * 0);
  background: #1a1825;
}
.lobby-content-wrapper {
  position: absolute;
  z-index: 20;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
#lobby-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.lobby-status {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: var(--color-white);
  margin: 0;
  opacity: 0.8;
}
.lobby-box {
  position: relative;
  min-width: 500px;
}
.lobby-header {
  position: relative;
  margin-bottom: 24px;
  min-height: 27px;
}
.lobby-counter {
  position: absolute;
  top: 0;
  right: 0;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: var(--color-white);
  opacity: 0.6;
}
.lobby-players {
  display: flex;
  flex-direction: column;
  margin-bottom: 48px;
}
.lobby-player {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-radius: 5px;
  min-height: 48px;
}
.lobby-player:nth-child(odd) {
  background: rgba(15, 14, 29, 0.8);
}
.lobby-player-icon {
  flex-shrink: 0;
  opacity: 0.8;
}
.lobby-player-name {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: var(--color-white);
  opacity: 0.9;
}
.lobby-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}
.lobby-button {
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: calc(var(--spacing) * 2);
  --tw-border-style: none;
  border-style: none;
  padding: 12px 28px;
  border-radius: 2px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--color-white);
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
}
.lobby-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
.lobby-button:active {
  transform: translateY(0);
}
.lobby-button-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.lobby-button-primary {
  background: rgba(42, 35, 52, 0.9);
}
.lobby-invite-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-bottom: 16px;
}
.lobby-invite-label {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--color-white);
  opacity: 0.6;
}
.lobby-invite-url {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: var(--color-white);
  background: rgba(15, 14, 29, 0.6);
  padding: 12px 16px;
  border-radius: 5px;
  word-break: break-all;
}
.lobby-waiting-message {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--color-white);
  opacity: 0.6;
  margin: 0;
}
.game-container {
  position: fixed;
  inset: calc(var(--spacing) * 0);
  background: #1a1825;
}
.game-info {
  position: absolute;
  z-index: 20;
  top: 138px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 64px;
  gap: 40px;
}
@media (max-width: 768px) {
  .game-info {
    flex-wrap: wrap;
    gap: 16px;
    padding: 0 24px;
  }
  .game-status {
    width: 100%;
    order: -1;
  }
  .game-points {
    flex: 1;
    text-align: left;
  }
  .game-turn {
    flex: 1;
    justify-content: flex-end;
  }
}
.game-points {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: var(--color-white);
  opacity: 0.8;
}
.game-status {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: var(--color-white);
  opacity: 0.8;
  text-align: center;
}
.game-turn {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: var(--color-white);
  opacity: 0.8;
}
.game-turn-icon {
  flex-shrink: 0;
}
.game-content {
  position: absolute;
  z-index: 10;
  top: 200px;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}
.card-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.card {
  width: 268px;
  height: 425px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, outline 0.3s ease;
  border-radius: 22.57px;
  position: relative;
  outline: 2px solid transparent;
  outline-offset: -2px;
}
.card-selected {
  transform: translateY(-20px);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}
.card-back {
  width: 100%;
  height: 100%;
  border-radius: 22.57px;
}
.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22.57px;
}
.game-cards {
  position: absolute;
  z-index: 10;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: -40px;
  align-items: flex-end;
}
.game-cards .card-wrapper {
  transition: transform 0.3s ease;
}
.game-cards .card-wrapper:hover {
  z-index: 10 !important;
}
.game-cards .card-wrapper:hover .card {
  transform: scale(1.05) rotate(0deg) translateY(-20px) !important;
}
@media (max-width: 1200px) {
  .game-cards {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    transform: none;
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 20px;
    height: auto;
    align-items: center;
    -webkit-overflow-scrolling: touch;
  }
  .game-cards .card-wrapper .card {
    transform: none !important;
  }
  .game-cards .card-wrapper:hover .card {
    transform: none !important;
  }
  .game-cards .card-wrapper .card-action-label {
    display: none;
  }
}
.card-action-label {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: var(--color-white);
  opacity: 0;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: opacity 0.3s ease;
  margin-bottom: 40px;
  pointer-events: none;
}
.card-wrapper:hover .card-action-label {
  opacity: 0.8;
}
.card-action-label svg {
  flex-shrink: 0;
}
.create-game-form {
  position: absolute;
  z-index: 30;
  top: 440px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 450px;
  padding: 0 20px;
}
.create-game-fieldset {
  border: none;
  padding: 0;
  margin: 0;
}
.create-game-legend {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--color-white);
  opacity: 0.6;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.create-game-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.2s;
  margin-bottom: 8px;
}
.create-game-option:hover {
  background: rgba(15, 14, 29, 0.6);
}
.create-game-option:has(input[type="radio"]:checked) {
  background: rgba(15, 14, 29, 0.8);
}
.create-game-option input[type="radio"] {
  flex-shrink: 0;
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  position: relative;
}
.create-game-option input[type="radio"]:checked {
  border-color: rgba(255, 255, 255, 0.8);
}
.create-game-option input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
}
.create-game-option-text {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: var(--color-white);
  opacity: 0.9;
  flex: 1;
}
.create-game-number {
  --tw-border-style: none;
  border-style: none;
  background-color: transparent;
  color: var(--color-white);
  --tw-outline-style: none;
  outline-style: none;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  width: 60px;
  text-align: center;
  padding: 6px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.create-game-number:focus {
  border-bottom-color: rgba(255, 255, 255, 0.6);
}
.create-game-number::-webkit-outer-spin-button, .create-game-number::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.create-game-number[type="number"] {
  -moz-appearance: textfield;
}
.create-game-submit {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
[x-cloak] {
  display: none !important;
}
.auth-modal-overlay {
  position: fixed;
  inset: calc(var(--spacing) * 0);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 12, 30, 0.9);
  backdrop-filter: blur(4px);
}
.auth-modal {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(30, 26, 53, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 40px;
  max-width: 400px;
  width: calc(100% - 32px);
}
.auth-modal-title {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: var(--color-white);
  margin: 0 0 8px 0;
}
.auth-modal-subtitle {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--color-white);
  opacity: 0.7;
  margin: 0 0 32px 0;
  text-align: center;
}
.auth-modal-input {
  width: 100%;
  --tw-border-style: none;
  border-style: none;
  background-color: transparent;
  color: var(--color-white);
  --tw-outline-style: none;
  outline-style: none;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 24px;
}
.auth-modal-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.auth-modal-input:focus {
  border-bottom-color: rgba(255, 255, 255, 0.6);
}
.auth-modal-input-error {
  border-bottom-color: #ef4444 !important;
}
.auth-modal-error {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: #ef4444;
  margin-bottom: 16px;
}
.auth-modal-button {
  display: flex;
  width: 100%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  --tw-border-style: none;
  border-style: none;
  background: rgba(69, 50, 75, 0.9);
  border-radius: 4px;
  padding: 14px 24px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--color-white);
  transition: opacity 0.2s, transform 0.2s;
}
.auth-modal-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
.auth-modal-button:active {
  transform: translateY(0);
}
.auth-modal-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}
.card-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.card-modal-content {
  cursor: default;
  max-width: 90vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.card-modal-content .card-back {
  height: 70vh;
  width: auto;
  max-width: 90vw;
}
.card-modal-content .card-image {
  height: 70vh;
  width: auto;
  max-width: 90vw;
  object-fit: contain;
}
.card-modal-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  background: #090912;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 14.317px;
  color: var(--color-white);
  white-space: nowrap;
  transition: opacity 0.2s, transform 0.2s;
}
.card-modal-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
.card-modal-button:active {
  transform: translateY(0);
}
.clue-display {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: linear-gradient( 135deg, rgba(139, 92, 246, 0.15) 0%, rgba(59, 130, 246, 0.1) 100% );
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 1rem;
  margin: 1rem 0;
}
.clue-icon {
  font-size: 2rem;
  filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.5));
}
.clue-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.clue-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.6);
}
.clue-text {
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 500;
  color: #c4b5fd;
  margin: 0;
  text-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}
.modal-clue-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 400px;
  padding: 16px;
}
.modal-clue-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.modal-clue-form .form-label {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--color-white);
  opacity: 0.9;
}
.modal-clue-form .clue-input {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: var(--color-white);
  transition: border-color 0.2s;
}
.modal-clue-form .clue-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.5);
}
.modal-clue-form .clue-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.modal-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}
.modal-actions .btn {
  padding: 12px 24px;
  border-radius: 4px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.modal-actions .btn-primary {
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  border: none;
  color: var(--color-white);
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.4);
}
.modal-actions .btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #9d6ffd 0%, #7577f5 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}
.modal-actions .btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.modal-actions .btn-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--color-white);
}
.modal-actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}
.login-form--modal {
  width: 100%;
}
.login-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.login-section-title {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--color-white);
  opacity: 0.9;
  margin: 0;
}
.login-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 8px 0;
}
.login-divider::before, .login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}
.login-divider span {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--color-white);
  opacity: 0.5;
}
.login-success {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #22c55e;
  margin: 8px 0 0 0;
  text-align: center;
}
.auth-callback-container {
  position: fixed;
  inset: calc(var(--spacing) * 0);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient( to bottom, rgba(15, 12, 30, 1) 0%, rgba(27, 26, 59, 1) 30%, rgba(48, 38, 67, 1) 60%, rgba(69, 50, 75, 1) 100% );
}
.auth-callback-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.auth-callback-loading p {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: var(--color-white);
  opacity: 0.8;
  margin: 0;
}
.auth-callback-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.auth-callback-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(30, 26, 53, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 40px;
  max-width: 400px;
  width: calc(100% - 32px);
}
.auth-callback-title {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: var(--color-white);
  margin: 0 0 8px 0;
}
.auth-callback-subtitle {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--color-white);
  opacity: 0.7;
  margin: 0 0 32px 0;
  text-align: center;
}
.auth-callback-field {
  width: 100%;
  margin-bottom: 24px;
}
.auth-callback-input {
  width: 100%;
  --tw-border-style: none;
  border-style: none;
  background-color: transparent;
  color: var(--color-white);
  --tw-outline-style: none;
  outline-style: none;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.auth-callback-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.auth-callback-input:focus {
  border-bottom-color: rgba(255, 255, 255, 0.6);
}
.auth-callback-field-error {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: #ef4444;
  margin: 8px 0 0 0;
}
.auth-callback-button {
  display: flex;
  width: 100%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  --tw-border-style: none;
  border-style: none;
  background: rgba(69, 50, 75, 0.9);
  border-radius: 4px;
  padding: 14px 24px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--color-white);
  transition: opacity 0.2s, transform 0.2s;
}
.auth-callback-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
.auth-callback-button:active {
  transform: translateY(0);
}
.auth-callback-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}
.auth-callback-error-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.auth-callback-error {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  color: #ef4444;
  margin: 0;
  text-align: center;
}
.auth-callback-link {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: var(--color-white);
  opacity: 0.7;
  text-decoration: underline;
  transition: opacity 0.2s;
}
.auth-callback-link:hover {
  opacity: 1;
}
.phase-description-container {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 24px 120px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}
.phase-instructions {
  margin-bottom: calc(var(--spacing) * 6);
  text-align: center;
}
.phase-title {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 24px;
  margin-bottom: calc(var(--spacing) * 2);
  color: var(--color-white);
}
.phase-description {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--color-white);
  opacity: 0.7;
  line-height: 1.5;
}
.clue-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.form-group {
  width: 100%;
}
.form-label {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: calc(var(--spacing) * 2);
  display: block;
  color: var(--color-white);
  opacity: 0.9;
}
.clue-input {
  width: 100%;
  --tw-border-style: none;
  border-style: none;
  background-color: transparent;
  color: var(--color-white);
  --tw-outline-style: none;
  outline-style: none;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  transition: border-color 0.2s;
}
.clue-input:focus {
  border-color: rgba(255, 255, 255, 0.6);
}
.clue-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.hand-cards {
  width: 100%;
}
.hand-label {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: calc(var(--spacing) * 4);
  display: block;
  text-align: center;
  color: var(--color-white);
  opacity: 0.9;
}
.waiting-animation {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
  color: rgba(255, 255, 255, 0.7);
}
.hand-cards .game-cards {
  position: relative;
  bottom: auto;
  left: auto;
  transform: none;
  justify-content: center;
  margin: 0 auto;
}
.btn {
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: calc(var(--spacing) * 2);
  --tw-border-style: none;
  border-style: none;
  padding: 14px 28px;
  border-radius: 4px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: var(--color-white);
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
}
.btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}
.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}
.btn-primary {
  background: rgba(69, 50, 75, 0.9);
}
.player-panel {
  position: absolute;
  top: 200px;
  right: 24px;
  width: 220px;
  max-height: calc(100vh - 240px);
  overflow-y: auto;
  background: rgba(15, 14, 29, 0.7);
  border-radius: 12px;
  padding: 16px;
  z-index: 5;
}
.player-panel-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.player-panel-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  transition: background 0.2s;
}
.player-panel-item--storyteller {
  background: linear-gradient( 135deg, rgba(139, 92, 246, 0.2) 0%, rgba(59, 130, 246, 0.1) 100% );
  border: 1px solid rgba(139, 92, 246, 0.3);
}
.player-panel-item--current {
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.player-panel-item--ready .player-panel-status {
  color: #22c55e;
}
.player-panel-avatar {
  position: relative;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  color: rgba(255, 255, 255, 0.7);
}
.player-panel-icon {
  width: 100%;
  height: 100%;
}
.player-panel-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.player-panel-name {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.player-panel-score {
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}
.player-panel-status {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.4);
}
.player-panel-status-icon {
  display: block;
}
.storyteller-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.storyteller-badge svg {
  width: 10px;
  height: 10px;
}
@media (max-width: 768px) {
  .game-content {
    top: 320px;
  }
  .player-panel {
    position: absolute;
    top: 230px;
    left: 0;
    right: 0;
    width: 100%;
    max-height: none;
    background: transparent;
    border-radius: 0;
    padding: 0 16px;
  }
  .player-panel-list {
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .player-panel-item {
    flex-shrink: 0;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    min-width: 70px;
    text-align: center;
    background: rgba(15, 14, 29, 0.7);
  }
  .player-panel-info {
    align-items: center;
  }
  .player-panel-name {
    font-size: 11px;
    max-width: 60px;
  }
  .player-panel-score {
    font-size: 10px;
  }
  .player-panel-status {
    position: absolute;
    top: 4px;
    right: 4px;
  }
  .player-panel-item {
    position: relative;
  }
}
.game-phase-layout {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  width: 100%;
}
.game-phase-layout__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 24px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}
.game-phase-layout__hand {
  flex-shrink: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 20px 0 40px;
}
.game-phase-layout__hand .game-cards {
  position: relative;
  bottom: auto;
  left: auto;
  transform: none;
}
.board-cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.card--small {
  width: 160px;
  height: 254px;
}
.card--small .card-image, .card--small .card-back {
  width: 160px;
  height: 254px;
}
.own-card-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 16px;
  text-align: center;
  color: white;
  font-family: "Poppins", sans-serif;
}
.own-card-message p {
  margin: 0;
  font-size: 16px;
  opacity: 0.9;
}
@media (max-width: 768px) {
  .board-cards-container {
    gap: 12px;
    padding: 12px;
  }
  .card--small {
    width: 120px;
    height: 190px;
  }
  .card--small .card-image, .card--small .card-back {
    width: 120px;
    height: 190px;
  }
}
.scoring-board {
  width: 100%;
  margin-top: 16px;
}
.scoring-board__label {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: calc(var(--spacing) * 4);
  text-align: center;
  color: var(--color-white);
  opacity: 0.8;
}
.scoring-board__cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.scoring-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-bottom: 8px;
}
.scoring-card--storyteller {
  position: relative;
}
.scoring-card__badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.15);
  padding: 4px 8px;
  border-radius: 4px;
}
.scoring-card__voters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  max-width: 160px;
}
.scoring-card__vote-icon {
  opacity: 0.7;
  flex-shrink: 0;
}
.scoring-card__voter {
  display: flex;
  align-items: center;
  gap: 3px;
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  color: white;
  background: rgba(255, 255, 255, 0.15);
  padding: 2px 6px;
  border-radius: 3px;
}
.scoring-points {
  width: 100%;
  margin-top: 24px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}
.scoring-points__title {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: calc(var(--spacing) * 3);
  text-align: center;
  color: var(--color-white);
}
.scoring-points__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.scoring-points__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}
.scoring-points__value {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #4ade80;
  min-width: 40px;
}
.scoring-points__reason {
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  color: white;
  opacity: 0.8;
}
.scoring-points__total {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 14px;
  margin-top: calc(var(--spacing) * 3);
  padding-top: calc(var(--spacing) * 3);
  text-align: center;
  color: var(--color-white);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.scoring-points__empty {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  text-align: center;
  color: var(--color-white);
  opacity: 0.6;
}
.scoring-action {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}
@media (max-width: 768px) {
  .scoring-board__cards {
    gap: 12px;
  }
  .scoring-board__cards .card--small {
    width: 150px;
    height: 238px;
  }
  .scoring-board__cards .card--small .card-image, .scoring-board__cards .card--small .card-back {
    width: 150px;
    height: 238px;
  }
  .scoring-card__voters {
    max-width: 150px;
  }
  .scoring-points {
    padding: 12px;
  }
}
.game-ended {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 40px 24px;
  max-width: 500px;
  margin: 0 auto;
}
.game-ended .phase-instructions {
  text-align: center;
}
.game-ended .phase-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: white;
  margin: 0 0 8px 0;
}
.game-ended .phase-description {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}
.winner-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px 32px;
  background: linear-gradient( 135deg, rgba(139, 92, 246, 0.2) 0%, rgba(167, 139, 250, 0.1) 100% );
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 16px;
}
.trophy-icon {
  color: #fbbf24;
  width: 64px;
  height: 64px;
}
.winner-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.winner-name {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: white;
}
.winner-score {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: #fbbf24;
}
.rankings-section {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
}
.rankings-title {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: white;
  margin: 0 0 16px 0;
  text-align: center;
}
.rankings-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ranking-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: background 0.2s ease;
}
.ranking-item:hover {
  background: rgba(255, 255, 255, 0.08);
}
.ranking-current {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
}
.ranking-current:hover {
  background: rgba(139, 92, 246, 0.2);
}
.ranking-top-1 {
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
}
.ranking-top-1:hover {
  background: rgba(255, 215, 0, 0.15);
}
.ranking-top-2 {
  background: rgba(192, 192, 192, 0.1);
  border: 1px solid rgba(192, 192, 192, 0.3);
}
.ranking-top-2:hover {
  background: rgba(192, 192, 192, 0.15);
}
.ranking-top-3 {
  background: rgba(205, 127, 50, 0.1);
  border: 1px solid rgba(205, 127, 50, 0.3);
}
.ranking-top-3:hover {
  background: rgba(205, 127, 50, 0.15);
}
.ranking-position {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}
.ranking-position svg {
  flex-shrink: 0;
}
.ranking-name {
  flex: 1;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 0.9375rem;
  color: white;
}
.ranking-score {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  color: #4ade80;
}
.your-result {
  font-family: "Poppins", sans-serif;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 12px 20px;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 8px;
}
.game-ended .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
@media (max-width: 768px) {
  .game-ended {
    padding: 24px 16px;
    gap: 24px;
  }
  .game-ended .phase-title {
    font-size: 1.5rem;
  }
  .winner-section {
    padding: 20px 24px;
  }
  .winner-name {
    font-size: 1.25rem;
  }
  .ranking-item {
    padding: 10px 12px;
  }
}
.profile-page {
  position: fixed;
  inset: calc(var(--spacing) * 0);
  overflow: hidden;
}
.profile-container {
  display: grid;
  grid-template-columns: 220px 1fr;
  height: 100vh;
  padding-top: 80px;
  position: relative;
  z-index: 10;
}
.profile-sidebar {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 80px);
  background: rgba(15, 14, 29, 0.7);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 16px;
}
.profile-sidebar-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.profile-sidebar-section {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.profile-sidebar-section-title {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 8px 12px;
}
.profile-sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-align: left;
  transition: background 0.2s, color 0.2s;
  width: 100%;
}
.profile-sidebar-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: white;
}
.profile-sidebar-link--active {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}
.profile-sidebar-link svg {
  flex-shrink: 0;
  opacity: 0.7;
}
.profile-sidebar-link span {
  flex: 1;
}
.profile-sidebar-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
}
.profile-sidebar-user-avatar {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.7);
}
.profile-sidebar-user-name {
  flex: 1;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.profile-sidebar-back {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.5);
  transition: background 0.2s, color 0.2s;
}
.profile-sidebar-back:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}
.profile-main {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 80px);
  overflow-y: auto;
  padding: 24px 32px;
}
.profile-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  background: rgba(15, 14, 29, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  margin-bottom: 24px;
}
.profile-header-user {
  display: flex;
  align-items: center;
  gap: 16px;
}
.profile-header-avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  color: rgba(255, 255, 255, 0.7);
}
.profile-header-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.profile-header-name {
  display: flex;
  align-items: center;
  gap: 8px;
}
.profile-header-name span {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: white;
}
.profile-header-edit {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}
.profile-header-edit:hover {
  color: white;
}
.profile-header-name-display {
  display: flex;
  align-items: center;
  gap: 8px;
}
.profile-header-name-form {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}
.profile-username-input {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 6px 12px;
  width: 180px;
  outline: none;
  transition: border-color 0.2s, background-color 0.2s;
}
.profile-username-input:focus {
  border-color: #6366f1;
  background: rgba(99, 102, 241, 0.1);
}
.profile-username-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.profile-username-save, .profile-username-cancel {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.2s, transform 0.1s;
}
.profile-username-save {
  background: #22c55e;
  color: white;
}
.profile-username-save:hover {
  background: #16a34a;
  transform: scale(1.05);
}
.profile-username-cancel {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}
.profile-username-cancel:hover {
  background: rgba(239, 68, 68, 0.8);
  color: white;
  transform: scale(1.05);
}
.profile-username-error {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  color: #ef4444;
  white-space: nowrap;
}
.profile-header-stats {
  display: flex;
  gap: 32px;
}
.profile-header-stat {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.profile-header-stat-label {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}
.profile-header-stat-value {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: white;
}
.coming-soon-badge-mini {
  padding: 4px 10px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 9999px;
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: #a78bfa;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.profile-content {
  flex: 1;
}
.overview-view {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
}
.overview-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.overview-section {
  background: rgba(15, 14, 29, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
}
.overview-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.overview-section-title {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 16px 0;
}
.overview-section-header .overview-section-title {
  margin: 0;
}
.overview-filter {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 6px 12px;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
}
.overview-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.overview-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.overview-link:hover {
  color: white;
}
.overview-games {
  display: flex;
  flex-direction: column;
}
.overview-friends {
  background: rgba(15, 14, 29, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  height: fit-content;
}
.overview-friends-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.overview-friends-header .overview-section-title {
  margin: 0;
}
.overview-friends-edit {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}
.overview-friends-edit:hover {
  color: white;
}
.overview-friends-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.last-game-row {
  display: grid;
  grid-template-columns: 32px 100px 80px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.last-game-row:last-child {
  border-bottom: none;
}
.last-game-position {
  display: flex;
  align-items: center;
  justify-content: center;
}
.last-game-place {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: white;
}
.last-game-points {
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
.last-game-turns {
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
.last-game-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.last-game-link:hover {
  color: white;
}
.friend-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.2s;
}
.friend-item:hover {
  background: rgba(255, 255, 255, 0.06);
}
.friend-item-avatar {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  color: rgba(255, 255, 255, 0.6);
}
.friend-item-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.friend-item-info {
  flex: 1;
  min-width: 0;
}
.friend-item-name {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.friend-item-status {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}
.friend-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}
.friend-status--online .friend-status-dot {
  background: #22c55e;
}
.friend-status--offline .friend-status-dot {
  background: rgba(255, 255, 255, 0.3);
}
.friend-item-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}
.friend-action-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.friend-action-link:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}
.friend-action-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s, background 0.2s;
}
.friend-action-button:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}
.friends-view {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
}
.friends-search-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.friends-search-container {
  background: rgba(15, 14, 29, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
}
.friends-section-title {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 12px 0;
}
.friends-search-input-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px 14px;
}
.friends-search-input-wrapper svg {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.4);
}
.friends-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: white;
}
.friends-search-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.friends-filter-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}
.friends-filter-button:hover {
  color: white;
}
.friends-search-results {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.friends-list-section {
  background: rgba(15, 14, 29, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  height: fit-content;
}
.friends-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.friends-list-header .friends-section-title {
  margin: 0;
}
.friends-list-edit {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}
.friends-list-edit:hover {
  color: white;
}
.friends-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.badges-view {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
}
.badges-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.badges-section {
  background: rgba(15, 14, 29, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
}
.badges-section-title {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 16px 0;
}
.badges-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.badges-grid--dense {
  gap: 12px;
}
.badge-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.badge-card-hexagon {
  position: relative;
  width: 80px;
  height: 92px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: linear-gradient( 135deg, rgba(139, 92, 246, 0.3) 0%, rgba(59, 130, 246, 0.2) 100% );
  overflow: hidden;
}
.badge-card-image {
  width: 100%;
  height: 100%;
  background: linear-gradient( 180deg, rgba(100, 80, 160, 0.8) 0%, rgba(60, 40, 100, 0.9) 100% );
}
.badge-card--locked .badge-card-hexagon {
  background: rgba(40, 35, 60, 0.8);
}
.badge-card--locked .badge-card-image {
  background: rgba(30, 25, 50, 0.9);
  opacity: 0.5;
}
.badge-card-lock {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
}
.badge-card-name {
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  max-width: 80px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.badge-card--small .badge-card-hexagon {
  width: 64px;
  height: 74px;
}
.badge-card--small .badge-card-name {
  font-size: 10px;
  max-width: 64px;
}
.badge-card--large .badge-card-hexagon {
  width: 100px;
  height: 115px;
}
.badges-unlocking {
  background: rgba(15, 14, 29, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  height: fit-content;
}
.badges-progress-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.badge-progress-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.badge-progress-image {
  flex-shrink: 0;
}
.badge-progress-info {
  flex: 1;
  min-width: 0;
}
.badge-progress-name {
  display: block;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: white;
  margin-bottom: 2px;
}
.badge-progress-description {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 6px;
}
.badge-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}
.badge-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #f97316 0%, #fb923c 100%);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.badge-progress-value {
  flex-shrink: 0;
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}
.security-view {
  max-width: 600px;
}
.security-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.security-button {
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: white;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.security-button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}
.security-support {
  background: rgba(15, 14, 29, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
}
.security-section-title {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 16px 0;
}
.security-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.security-textarea {
  width: 100%;
  min-height: 120px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: white;
  resize: vertical;
  transition: border-color 0.2s;
}
.security-textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.security-textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.3);
}
.security-submit {
  align-self: flex-start;
  padding: 12px 24px;
  background: rgba(69, 50, 75, 0.9);
  border: none;
  border-radius: 6px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: white;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
.security-submit:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
.security-submit:active {
  transform: translateY(0);
}
@media (max-width: 1024px) {
  .overview-view, .friends-view, .badges-view {
    grid-template-columns: 1fr;
  }
  .overview-friends, .friends-list-section, .badges-unlocking {
    order: -1;
  }
}
@media (max-width: 768px) {
  .profile-container {
    grid-template-columns: 1fr;
    padding-top: 60px;
  }
  .profile-sidebar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    flex-direction: row;
    padding: 8px 16px;
    border-right: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 14, 29, 0.95);
    z-index: 100;
  }
  .profile-sidebar-nav {
    flex-direction: row;
    gap: 4px;
    width: 100%;
    justify-content: space-around;
  }
  .profile-sidebar-section {
    flex-direction: row;
    gap: 4px;
  }
  .profile-sidebar-section-title {
    display: none;
  }
  .profile-sidebar-link {
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    font-size: 10px;
    text-align: center;
  }
  .profile-sidebar-link span {
    display: none;
  }
  .profile-sidebar-link svg:not(:first-child) {
    display: none;
  }
  .profile-sidebar-user {
    display: none;
  }
  .profile-main {
    height: calc(100vh - 60px - 70px);
    padding: 16px;
    padding-bottom: 80px;
  }
  .profile-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }
  .profile-header-stats {
    flex-wrap: wrap;
    gap: 16px;
  }
  .last-game-row {
    grid-template-columns: 28px 1fr auto;
    gap: 8px;
  }
  .last-game-points, .last-game-turns {
    display: none;
  }
}
.coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  background: rgba(15, 14, 29, 0.4);
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
  text-align: center;
  min-height: 300px;
}
.coming-soon__icon {
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1rem;
}
.coming-soon__icon-svg {
  width: 48px;
  height: 48px;
}
.coming-soon__title {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: white;
  margin: 0 0 0.5rem 0;
}
.coming-soon__description {
  font-family: "Poppins", sans-serif;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 300px;
  margin: 0;
  line-height: 1.5;
}
.coming-soon__badge {
  margin-top: 1.5rem;
  padding: 0.5rem 1rem;
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 9999px;
  font-family: "Poppins", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: #c4b5fd;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.turn-timer-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  background: rgba(15, 14, 29, 0.9);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 100;
}
.turn-timer-bar__track {
  flex: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}
.turn-timer-bar__progress {
  height: 100%;
  background: linear-gradient(90deg, #8b5cf6 0%, #a78bfa 100%);
  border-radius: 4px;
  transition: width 0.1s linear;
}
.turn-timer-bar__progress--warning {
  background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%);
}
.turn-timer-bar__progress--danger {
  background: linear-gradient(90deg, #ef4444 0%, #f87171 100%);
  animation: pulse-danger 0.5s ease-in-out infinite;
}
@keyframes pulse-danger {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}
.turn-timer-bar__time {
  font-family: "Poppins", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  min-width: 36px;
  text-align: right;
}
.game-container:has(.turn-timer-bar) .game-content {
  padding-bottom: 80px;
}
@media (max-width: 640px) {
  .turn-timer-bar {
    padding: 6px 12px;
  }
  .turn-timer-bar__track {
    height: 6px;
  }
  .turn-timer-bar__time {
    font-size: 0.75rem;
    min-width: 28px;
  }
}
@property --tw-scale-x {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-scale-y {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-scale-z {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-space-y-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-leading {
  syntax: "*";
  inherits: false;
}
@property --tw-font-weight {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-ring-inset {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}
@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}
@property --tw-duration {
  syntax: "*";
  inherits: false;
}
@property --tw-ease {
  syntax: "*";
  inherits: false;
}
@property --tw-tracking {
  syntax: "*";
  inherits: false;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-scale-x: 1;
      --tw-scale-y: 1;
      --tw-scale-z: 1;
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-space-y-reverse: 0;
      --tw-border-style: solid;
      --tw-leading: initial;
      --tw-font-weight: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-outline-style: solid;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
      --tw-duration: initial;
      --tw-ease: initial;
      --tw-tracking: initial;
    }
  }
}
