/* Temel Sıfırlama */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  /* Ana Sayfa Stili */
  body {
    background: #000;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #000;
  }

  /* Alttaki şeridi gizlemek için */
  body::after {
    content: '';
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px; /* Şeridin yüksekliğine göre ayarlayın */
    background-color: #000;
    z-index: 9999;
  }

  /* Matrix Arka Plan Kodu */
  #matrix-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
  }

  #matrix-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.30;
  }

  /* Açılış Animasyonu */
  .page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: loader-fade 3s forwards;
  }

  .loader-content {
    text-align: center;
  }

  .loader-logo {
    font-family: 'Custom', sans-serif;
    font-size: 4rem;
    color: #23aec3;
    position: relative;
    animation: loader-logo 2s forwards;
    opacity: 0;
    transform: scale(0.5);
  }

  .loader-bar {
    width: 300px;
    height: 4px;
    background: rgba(16, 213, 188, 0.2);
    margin: 20px auto;
    position: relative;
    overflow: hidden;
  }

  .loader-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: #23aec3;
    box-shadow: 0 0 10px rgba(16, 213, 188, 0.7);
    animation: loader-progress 2s ease-in-out forwards;
  }

  .loader-text {
    font-family: 'Custom', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 2px;
    opacity: 0;
    animation: loader-text 2s forwards 0.5s;
  }

  @keyframes loader-fade {
    0%, 80% {
      opacity: 1;
      visibility: visible;
    }
    100% {
      opacity: 0;
      visibility: hidden;
    }
  }

  @keyframes loader-logo {
    0% {
      opacity: 0;
      transform: scale(0.5);
    }
    50% {
      opacity: 1;
      transform: scale(1.2);
    }
    100% {
      opacity: 1;
      transform: scale(1);
    }
  }

  @keyframes loader-progress {
    0% {
      width: 0;
    }
    50% {
      width: 70%;
    }
    100% {
      width: 100%;
    }
  }

  @keyframes loader-text {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

  /* Ana İçerik Giriş Efekti */
  .page-content {
    opacity: 0;
    transform: translateY(30px);
    animation: content-enter 1.5s ease forwards 2.5s;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
  }

  @keyframes content-enter {
    0% {
      opacity: 0;
      transform: translateY(30px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Yıldızlar Arkaplanı */
  .stars-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
  }

  .star {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    animation: star-twinkle ease-in-out infinite alternate;
  }

  @keyframes star-twinkle {
    0% {
      opacity: 0.3;
      transform: scale(0.8);
    }
    100% {
      opacity: 1;
      transform: scale(1.2);
    }
  }

  /* Parıltı Arkaplanı */
  .glow-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(16, 213, 188, 0.15) 0%, rgba(0, 0, 0, 0) 60%);
    z-index: 2;
    pointer-events: none;
  }

  /* Hologram Efekti */
  .hologram-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    z-index: 3;
    pointer-events: none;
  }

  .hologram-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid transparent;
    opacity: 0.6;
  }

  .ring-1 {
    width: 500px;
    height: 500px;
    border-top: 2px solid #10d5bc;
    border-bottom: 1px solid #10d5bc;
    animation: rotate-ring 25s linear infinite;
  }

  .ring-2 {
    width: 400px;
    height: 400px;
    border-right: 2px solid #10d5bc;
    border-left: 1px solid #10d5bc;
    animation: rotate-ring-reverse 20s linear infinite;
  }

  .ring-3 {
    width: 300px;
    height: 300px;
    border-top: 1px solid #10d5bc;
    border-right: 2px solid #10d5bc;
    animation: rotate-ring 15s linear infinite;
  }

  @keyframes rotate-ring {
    0% {
      transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
      transform: translate(-50%, -50%) rotate(360deg);
    }
  }

  @keyframes rotate-ring-reverse {
    0% {
      transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
      transform: translate(-50%, -50%) rotate(-360deg);
    }
  }

  .scan-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #10d5bc, transparent);
    box-shadow: 0 0 15px #10d5bc;
    animation: scan-up-down 8s ease-in-out infinite;
    opacity: 0.5;
  }

  @keyframes scan-up-down {
    0%, 100% {
      top: 0%;
      height: 4px;
    }
    50% {
      top: 100%;
      height: 1px;
    }
  }

  .hologram-flicker {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(16, 213, 188, 0.05) 0%, rgba(0, 0, 0, 0) 80%);
    opacity: 0;
    animation: hologram-flicker 5s linear infinite;
  }

  @keyframes hologram-flicker {
    0%, 100% {
      opacity: 0;
    }
    50% {
      opacity: 0.5;
    }
    52% {
      opacity: 0.1;
    }
    54% {
      opacity: 0.5;
    }
    56% {
      opacity: 0;
    }
    58% {
      opacity: 0.5;
    }
    60%, 90% {
      opacity: 0;
    }
  }

  /* Parçacıklar */
  .particle-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    pointer-events: none;
  }

  .particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #10d5bc;
    border-radius: 50%;
    box-shadow: 0 0 10px #10d5bc;
    animation: float-particle linear infinite;
  }

  @keyframes float-particle {
    0% {
      transform: translateY(100vh) translateX(0);
      opacity: 0;
    }
    10% {
      opacity: 0.8;
    }
    90% {
      opacity: 0.8;
    }
    100% {
      transform: translateY(-100vh) translateX(50px);
      opacity: 0;
    }
  }

  /* Login Container */
  .login-container {
    position: relative;
    z-index: 10;
    width: 450px;
    max-width: 90%;
    perspective: 1000px;
    margin: 0 auto;
  }

  /* Logo */
  .logo {
    text-align: center;

    position: relative;
  }

  .logo-glitch {
    font-family: 'Custom', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #daebe9;
    text-shadow: 0 0 10px rgba(16, 213, 188, 0.7);
    position: relative;
    animation: text-flicker 3s linear infinite;
    letter-spacing: 4px;
  }

  .logo-glitch::before,
  .logo-glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
  }

  .logo-glitch::before {
    animation: glitch-effect 3s infinite;
    text-shadow: -2px 0 #ff00ff;
    clip: rect(0, 900px, 0, 0);
  }

  .logo-glitch::after {
    animation: glitch-effect 2s infinite;
    text-shadow: 2px 0 #00ffff;
    clip: rect(0, 900px, 0, 0);
  }

  @keyframes glitch-effect {
    0% {
      clip: rect(44px, 9999px, 56px, 0);
    }
    5% {
      clip: rect(22px, 9999px, 31px, 0);
    }
    10% {
      clip: rect(90px, 9999px, 98px, 0);
    }
    15% {
      clip: rect(43px, 9999px, 65px, 0);
    }
    20% {
      clip: rect(67px, 9999px, 78px, 0);
    }
    25% {
      clip: rect(8px, 9999px, 13px, 0);
    }
    30% {
      clip: rect(21px, 9999px, 35px, 0);
    }
    35% {
      clip: rect(5px, 9999px, 16px, 0);
    }
    40% {
      clip: rect(3px, 9999px, 13px, 0);
    }
    45% {
      clip: rect(65px, 9999px, 74px, 0);
    }
    50% {
      clip: rect(0, 9999px, 0, 0);
    }
    55% {
      clip: rect(98px, 9999px, 105px, 0);
    }
    60% {
      clip: rect(42px, 9999px, 78px, 0);
    }
    65% {
      clip: rect(63px, 9999px, 69px, 0);
    }
    70% {
      clip: rect(45px, 9999px, 55px, 0);
    }
    75% {
      clip: rect(5px, 9999px, 15px, 0);
    }
    80% {
      clip: rect(82px, 9999px, 95px, 0);
    }
    85% {
      clip: rect(51px, 9999px, 63px, 0);
    }
    90% {
      clip: rect(66px, 9999px, 86px, 0);
    }
    95% {
      clip: rect(21px, 9999px, 31px, 0);
    }
    100% {
      clip: rect(0, 9999px, 0, 0);
    }
  }

  @keyframes text-flicker {
    0%, 19.999%, 22%, 62.999%, 64%, 64.999%, 70%, 100% {
      opacity: 1;
    }
    20%, 21.999%, 63%, 63.999%, 65%, 69.999% {
      opacity: 0.8;
    }
  }

  .logo-subtitle {
    font-family: 'Custom', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 3px;
    margin-top: 5px;
    text-shadow: 0 0 5px rgba(16, 213, 188, 0.3);
  }

  /* Form Container */
  .form-container {
    position: relative;
    border:1px solid rgb(30 161 179 / 36%);
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 40px;
    box-shadow:0 0 30px rgb(35 174 194 / 45%);
    overflow: hidden;
  }

  .form-hologram-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(16, 213, 188, 0.1), transparent);
    animation: form-hologram 8s ease-in-out infinite;
    pointer-events: none;
  }

  @keyframes form-hologram {
    0% {
      background-position: -100% -100%;
    }
    50% {
      background-position: 200% 200%;
    }
    100% {
      background-position: -100% -100%;
    }
  }

  /* Input Rows */
  .input-row {
    margin-bottom: 30px;
    position: relative;
  }

  /* Input Container */
  .input-container {
    position: relative;
    width: 100%;
  }

  .cyber-input {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(16, 213, 188, 0.3);
    border-radius: 5px;
    color: #fff;
    font-size: 16px;
    font-family: 'Custom', sans-serif;
    letter-spacing: 1px;
    transition: all 0.3s ease;
  }

  .cyber-input:focus {
    outline: none;
    background: rgba(0, 20, 20, 0.4);
    border-color: #23aec3;
    box-shadow: 0 0 15px rgba(16, 213, 188, 0.3);
  }

  .cyber-label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    font-family: 'Custom', sans-serif;
    letter-spacing: 1px;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .input-highlight {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #10d5bc;
    transition: all 0.3s ease;
  }

  .input-focus .cyber-label {
    top: -25px;
    left: 5px;
    font-size: 14px;
    color: #10d5bc;
  }

  .input-focus .input-highlight {
    width: 100%;
  }

  /* Login Button */
  .login-button {
    position: relative;
    width: 100%;
    padding: 15px;
    margin-top: 10px;
    background: linear-gradient(90deg, #19838e, #23aec3);
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 18px;
    font-family: 'Custom', sans-serif;
    letter-spacing: 2px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
  }

  .login-button:hover {
    background: linear-gradient(90deg, #19838e, #23aec3);
    box-shadow: 0 0 20px rgba(16, 213, 188, 0.5);
  }

  .button-text {
    position: relative;
    z-index: 3;
  }

  .button-glitch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    animation: button-glitch 3s ease infinite;
  }

  @keyframes button-glitch {
    0% {
      transform: translateX(-100%);
    }
    50%, 100% {
      transform: translateX(100%);
    }
  }

  .button-scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), transparent);
    animation: button-scanline 4s linear infinite;
  }

  @keyframes button-scanline {
    0% {
      top: -20%;
    }
    100% {
      top: 120%;
    }
  }

  /* Mouse takipçi temizleyici */
  [class*="cursor-follower"],
  [id*="cursor-follower"],
  [class*="mouse-follower"],
  [id*="mouse-follower"] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* Responsive */
  @media (max-width: 768px) {
    .hologram-container {
      transform: translate(-50%, -50%) scale(0.7);
    }

    .form-container {
      padding: 30px;
    }

    .logo-glitch {
      font-size: 2.8rem;
    }

    .loader-logo {
      font-size: 3rem;
    }

    .loader-bar {
      width: 250px;
    }
  }

  @media (max-width: 480px) {
    .hologram-container {
      transform: translate(-50%, -50%) scale(0.5);
    }

    .form-container {
      padding: 20px;
    }

    .logo-glitch {
      font-size: 2.2rem;
    }

    .loader-logo {
      font-size: 2.5rem;
    }

    .loader-bar {
      width: 200px;
    }
  }
