* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Comfortaa', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

section {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: #000000;
  padding-top: 0;
}

.scene-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 10;
}

.scene-bg::before {
  content: '';
  width: 100%;
  height: 100%;
  background: url('../gorsel/giris.png') center center / cover no-repeat;
}

.sky-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 50;
}

.login-bg-illustration {
  position: absolute;
  bottom: -7px;
  left: 0;
  right: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
  z-index: 80;
}

.login-bg-img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.98;
}

.tp-star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 6px 2px rgba(255, 255, 255, 0.8);
  animation: tp-twinkle 3s infinite ease-in-out;
}

.tp-shooting-star {
  position: absolute;
  width: 140px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
  opacity: 0.8;
  transform: rotate(-45deg);
  box-shadow: 0 0 12px 2px rgba(255, 255, 255, 0.9);
  animation: tp-shoot 2.4s ease-out forwards;
}

@keyframes tp-twinkle {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 1;
  }
}

@keyframes tp-shoot {
  from {
    transform: translate(0, 0) rotate(-45deg);
    opacity: 1;
  }

  to {
    transform: translate(-420px, 420px) rotate(-45deg);
    opacity: 0;
  }
}

.login {
  position: relative;
  padding: 50px 50px;
  background: transparent;
  -webkit-backdrop-filter: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border: none;
  border-radius: 32px;
  width: 540px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: none;
  z-index: 110;
}

.logo-container {
  display: flex;
  justify-content: center;
  margin-top: 0 !important;
  margin-bottom: 15px !important;
}

.login-logo {
  position: relative;
  top: 81px;
  width: 290px !important;
  height: 290px !important;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 8px 20px rgba(15, 23, 42, 0.35)) !important;
}

.login h2 {
  position: relative;
  width: 100%;
  text-align: center;
  font-size: 2.2em;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 5px;
  letter-spacing: 0.08em;
}

.alert {
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 500;
  animation: slideIn 0.5s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.alert-error {
  background: rgba(239, 68, 68, 0.15);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.alert-success {
  background: rgba(34, 197, 94, 0.15);
  color: #15803d;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.login .inputBox {
  position: relative;
  margin-bottom: 18px;
}

.login .inputBox input {
  position: relative;
  width: 100%;
  padding: 14px 18px;
  outline: none;
  font-size: 1.05em;
  color: #0f172a;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(15, 23, 42, 0.1);
  transition: all 0.3s ease;
  font-family: 'Comfortaa', system-ui, sans-serif;
}

.login .inputBox input:focus {
  border-color: #ff8a3c;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 138, 60, 0.1);
  transform: translateY(-2px);
}

.login .inputBox input::placeholder {
  color: rgba(15, 23, 42, 0.45);
}

.remember-box {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.remember-box label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.remember-box input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #ff8a3c;
}

.remember-box span {
  font-size: 0.9em;
  color: #ffffff;
}

.login .inputBox #btn {
  position: relative;
  border: none;
  outline: none;
  background: linear-gradient(135deg, #ff8a3c, #ffd86f);
  color: #0f172a;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 15px 30px rgba(255, 138, 60, 0.3);
}

.login .inputBox #btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(255, 138, 60, 0.4);
}

.login .group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.login .group a {
  font-size: 0.95em;
  color: #ffffff;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.login .group a:hover {
  color: #ffd86f;
}

.login .group a:nth-child(2) {
  text-decoration: underline;
  color: #ffffff;
}

.back-home {
  margin-top: 14px;
  text-align: center;
}

.back-home-link {
  font-size: 0.9em;
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
}

.back-home-link:hover {
  text-decoration: underline;
  color: #ffd86f;
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 16px 0;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(15, 23, 42, 0.15);
}

.divider span {
  padding: 0 15px;
  color: #ffffff;
  font-size: 0.9em;
  font-weight: 500;
}

.google-btn {
  position: relative;
  width: 100%;
  padding: 14px 18px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 1em;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Comfortaa', system-ui, sans-serif;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.google-btn:hover {
  background: #f8f9fa;
  border-color: rgba(15, 23, 42, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

.google-btn svg {
  flex-shrink: 0;
}

.leaves {
  position: absolute;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  pointer-events: none;
}

.leaves .set {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.leaves .set div {
  position: absolute;
  display: block;
}

.leaves .set div:nth-child(1) {
  left: 20%;
  animation: animate 20s linear infinite;
}

.leaves .set div:nth-child(2) {
  left: 50%;
  animation: animate 14s linear infinite;
}

.leaves .set div:nth-child(3) {
  left: 70%;
  animation: animate 12s linear infinite;
}

.leaves .set div:nth-child(4) {
  left: 5%;
  animation: animate 15s linear infinite;
}

.leaves .set div:nth-child(5) {
  left: 85%;
  animation: animate 18s linear infinite;
}

.leaves .set div:nth-child(6) {
  left: 90%;
  animation: animate 12s linear infinite;
}

.leaves .set div:nth-child(7) {
  left: 15%;
  animation: animate 14s linear infinite;
}

.leaves .set div:nth-child(8) {
  left: 60%;
  animation: animate 15s linear infinite;
}

@keyframes animate {
  0% {
    opacity: 0;
    top: -10%;
    transform: translateX(20px) rotate(0deg);
  }

  10% {
    opacity: 1;
  }

  20% {
    transform: translateX(-20px) rotate(45deg);
  }

  40% {
    transform: translateX(-20px) rotate(90deg);
  }

  60% {
    transform: translateX(20px) rotate(180deg);
  }

  80% {
    transform: translateX(-20px) rotate(45deg);
  }

  100% {
    top: 110%;
    transform: translateX(20px) rotate(225deg);
  }
}

@media (max-width: 768px) {
  section {
    padding: 20px 0 40px;
    align-items: flex-start;
    min-height: 100vh;
  }

  .sky-stars {
    display: none !important;
  }

  .login-bg-illustration {
    display: none !important;
  }

  .login {
    width: 90%;
    max-width: 400px;
    padding: 28px 24px;
    gap: 18px;
    margin-top: 14vh;
  }

  .logo-container {
    margin-bottom: 12px !important;
  }

  .login-logo {
    width: 200px !important;
    height: 200px !important;
    top: 40px;
  }

  .login h2 {
    font-size: 1.8em;
  }

  .login .inputBox input {
    padding: 12px 16px;
    font-size: 1em;
  }

  .login .inputBox #btn {
    padding: 14px 18px;
    font-size: 1em;
  }

  .google-btn {
    padding: 12px 16px;
    font-size: 0.95em;
  }

  .divider span {
    font-size: 0.85em;
  }
}

@media (max-width: 480px) {
  section {
    padding: 16px 0 24px;
  }

  .sky-stars {
    display: none !important;
  }

  .login-bg-illustration {
    display: none !important;
  }

  .login {
    width: 94%;
    padding: 24px 20px;
    gap: 16px;
    margin-top: 10vh;
  }

  .logo-container {
    margin-bottom: 10px !important;
  }

  .login-logo {
    width: 170px !important;
    height: 170px !important;
    top: 24px;
  }

  .login h2 {
    font-size: 1.5em;
  }

  .login .inputBox input {
    padding: 12px 14px;
    font-size: 0.95em;
  }

  .login .inputBox #btn {
    padding: 13px 16px;
    font-size: 0.95em;
  }

  .google-btn {
    padding: 12px 14px;
    font-size: 0.9em;
  }

  .login .group {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .login .group a {
    font-size: 0.9em;
  }

  .divider span {
    font-size: 0.8em;
  }

  .remember-box span {
    font-size: 0.85em;
  }
}