@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@200;300;400;500;600;700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; font-family: "Open Sans", sans-serif; }

body {
  display: flex; align-items: center; justify-content: center; min-height: 100vh;
  width: 100%; padding: 0 50px; overflow: hidden;
}

body::before {
  content: ""; position: absolute; width: 100%; height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7)), url("../hero-bg.jpg");
  background-position: center; background-size: cover; z-index: -1;
}

.main-container { display: flex; width: 100%; max-width: 1200px; justify-content: space-between; align-items: center; }

/* Wrapper (Login Oynasi) */
.wrapper {
  width: 400px; border-radius: 20px; padding: 40px 30px; text-align: center;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  border-left: 1px solid rgba(255, 255, 255, 0.4);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.2);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.wrapper:hover {
    transform: translateY(-5px) scale(1.02);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 255, 255, 0.2);
}

h2 { font-size: 2rem; margin-bottom: 30px; color: #fff; font-weight: 700; letter-spacing: 1px; text-shadow: 0 0 10px rgba(255,255,255,0.3); }

form { display: flex; flex-direction: column; }

.input-field { position: relative; border-bottom: 2px solid rgba(255, 255, 255, 0.2); margin: 25px 0; transition: 0.3s; }
.input-field:hover { border-bottom-color: rgba(255,255,255,0.6); }

.input-field label {
  position: absolute; top: -25px; left: 0; color: #fff;
  font-size: 13px; font-weight: 600; pointer-events: none; text-transform: uppercase; letter-spacing: 1px;
}

.input-field input {
  width: 100%; height: 35px; background: transparent; border: none; outline: none;
  font-size: 17px; color: #fff; font-weight: 500;
}
.input-field input:focus { border-bottom: 2px solid #fff; box-shadow: 0 5px 10px -5px rgba(255,255,255,0.5); }

.forget { display: flex; align-items: center; justify-content: space-between; margin: 20px 0 30px 0; color: #eee; font-size: 14px; }
#remember { accent-color: #fff; margin-right: 8px; }
.wrapper a { color: #fff; text-decoration: none; font-weight: 600; transition: 0.3s; }
.wrapper a:hover { color: #38bdf8; text-shadow: 0 0 10px rgba(56, 189, 248, 0.8); }

/* TUGMA (Suyuq Neon) */
button {
  background: rgba(255, 255, 255, 0.9); color: #333;
  font-weight: 800; border: none; padding: 14px 20px;
  cursor: pointer; border-radius: 30px; font-size: 16px;
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
button:hover {
  background: #38bdf8; color: #fff;
  box-shadow: 0 0 25px #38bdf8, 0 0 5px #fff;
  transform: scale(1.05) translateY(-2px);
}

.register { text-align: center; margin-top: 25px; color: #eee; font-size: 14px; }

.text-side { width: 50%; color: white; padding-left: 50px; text-align: left; }
.text-side h1 {
    font-family: 'Orbitron', sans-serif; font-size: 3.5rem; line-height: 1.2; font-weight: 700; margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #38bdf8); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(56, 189, 248, 0.5));
    animation: glowText 3s infinite alternate;
}
@keyframes glowText { from { filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.4)); } to { filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.8)); } }

.text-side p {
    font-size: 1.2rem; color: #e2e8f0; line-height: 1.6; margin-bottom: 30px;
    border-left: 4px solid #fff; padding-left: 20px;
    background: linear-gradient(90deg, rgba(255,255,255,0.1), transparent);
}

.alert-error, .alert-success { padding: 12px; border-radius: 10px; margin-bottom: 20px; font-size: 14px; font-weight: 600; backdrop-filter: blur(5px); }
.alert-error { background: rgba(255, 80, 80, 0.2); border: 1px solid #ff5050; color: #fff; }
.alert-success { background: rgba(50, 255, 100, 0.2); border: 1px solid #32ff64; color: #fff; }

@media (max-width: 900px) { .main-container { flex-direction: column-reverse; } .wrapper { width: 100%; margin-bottom: 40px; } .text-side { width: 100%; padding-left: 0; text-align: center; } }