@charset "UTF-8";

:root {
  --c-white: #ffffff;
  --c-black: #0a0a0b;
  --c-gray: #666666;
  --c-black-gray: #2d2d2d;
  --c-gray-text: #b0b0b0;
  --backdrop-blur-count: 5px;
  --primary-color: #ffffff;
  --card-bg: rgba(255, 255, 255, 0.05);
  --border-color: rgba(255, 255, 255, 0.1);
}

*,
*:before,
*:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-weight: 400;
}

body {
  color: var(--c-white);
  background: var(--c-black);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
font-family: 'YourCustomFont', 'Inter', sans-serif;
}

.main-content {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-image: url(../images/game.png);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.main-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(3px);
  z-index: 1;
}

.login-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 450px;
  padding: 0 20px;
}

.login-card {
  background-color: rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  text-align: center;
  max-width: 400px;
  width: 100%;
}


@font-face {
font-family: 'YourCustomFont';
src: url("../font/font.ttf") format('truetype');
font-weight: normal;
font-style: normal;
}

.auth-tab {
padding: 20px 20px;
background: none;
border: none;
color: rgba(255, 255, 255, 1);
font-size: 20px;
font-weight: 600;
font-family: 'YourCustomFont', 'Inter', sans-serif;
cursor: pointer;
transition: all 0.3s ease;
border-bottom: 2px solid transparent;
letter-spacing: 0.5px;
transform: translateY(-20px);
}



.logo-text {
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff 0%, #4a9eff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
font-family: 'YourCustomFont', 'Inter', sans-serif;
  margin-bottom: 8px;
}

.logo-subtitle {
  font-size: 16px;
  color: var(--c-gray-text);
font-family: 'YourCustomFont', 'Inter', sans-serif;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-white);
  margin-bottom: 8px;
font-family: 'YourCustomFont', 'Inter', sans-serif;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: var(--c-white);
  font-size: 14px;
font-family: 'YourCustomFont', 'Inter', sans-serif;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(74, 158, 255, 0.1);
}

.form-input::placeholder {
  color: var(--c-gray-text);
}

.form-options {
  margin-bottom: 25px;
  text-align: left;
}

.forgot-link {
  color: var(--c-gray-text);
  text-decoration: none;
font-family: 'YourCustomFont', 'Inter', sans-serif;
  font-size: 14px;
  transition: color 0.3s ease;
  display: block;
}

.forgot-link:hover {
  color: var(--c-white);
}

.login-button {
  width: 100%;
  padding: 14px;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  color: var(--c-white);
  font-size: 16px;
  font-weight: 500;
font-family: 'YourCustomFont', 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.login-button:hover {
  transform: translateY(-2px);
}

.login-button::before {
  content: '→';
  font-size: 18px;
  transform: rotate(-90deg);
}

.divider {
  display: flex;
  align-items: center;
  margin: 24px 0;
  color: var(--c-gray-text);
  font-size: 14px;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.divider span {
  padding: 0 16px;
}

.register-link {
  color: var(--c-gray-text);
  font-size: 14px;
font-family: 'YourCustomFont', 'Inter', sans-serif;
}

.register-link a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.register-link a:hover {
  color: var(--c-white);
}

.back-button {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 3;
  padding: 12px 20px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: var(--c-white);
  text-decoration: none;
font-family: 'YourCustomFont', 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}

.back-button:hover {
  background-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.back-button {
  animation: fadeIn 1s ease-out;
}

.login-card {
  animation: slideUp 1s ease-out;
}

@media (max-width: 768px) {
  .login-card {
    padding: 40px 30px;
    margin: 20px;
  }

  .logo-img {
    width: 50px;
    height: 50px;
  }

  .logo-text {
    font-size: 28px;
  }

  .back-button {
    top: 16px;
    left: 16px;
    padding: 10px 16px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .login-card {
    padding: 30px 20px;
  }

  .form-options {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}