﻿* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  font-family: "Inter", "Space Grotesk", sans-serif;
  background: #08080f;
  color: #e0e0e8;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 0, 122, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 0, 122, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.bg-glow::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(
    ellipse,
    rgba(255, 0, 122, 0.08) 0%,
    transparent 70%
  );
  animation: glowDrift 12s ease-in-out infinite alternate;
}
.bg-glow::after {
  content: "";
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 50%;
  height: 50%;
  background: radial-gradient(
    ellipse,
    rgba(255, 77, 166, 0.06) 0%,
    transparent 70%
  );
  animation: glowDrift 15s ease-in-out infinite alternate-reverse;
}
@keyframes glowDrift {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(40px, -30px) scale(1.1);
  }
}
.bg-scanline {
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255, 0, 122, 0.008) 2px,
    rgba(255, 0, 122, 0.008) 4px
  );
  pointer-events: none;
  z-index: 0;
}

.login-container {
  display: flex;
  max-width: 980px;
  width: 94%;
  min-height: 560px;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 0, 122, 0.15);
  border-radius: 4px;
  background: rgba(12, 12, 22, 0.85);
  backdrop-filter: blur(20px);
  box-shadow:
    0 0 80px rgba(255, 0, 122, 0.06),
    0 0 1px rgba(255, 0, 122, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  overflow: hidden;
}
.login-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 0, 122, 0.6) 50%,
    transparent 100%
  );
  z-index: 2;
}

.login-section {
  flex: 1;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.login-section::after {
  content: "";
  position: absolute;
  right: 0;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 0, 122, 0.2),
    transparent
  );
}

.info-section {
  flex: 1;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  background: rgba(255, 0, 122, 0.02);
}

.brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 0, 122, 0.7);
  margin-bottom: 1.5rem;
  padding: 4px 10px;
  border: 1px solid rgba(255, 0, 122, 0.2);
  border-radius: 2px;
  width: fit-content;
  font-family: "Space Grotesk", monospace;
}
.brand-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  background: rgba(255, 0, 122, 0.8);
  border-radius: 1px;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

.login-section h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}
.login-section .sub {
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2rem;
  font-size: 0.85rem;
  font-family: "Inter", "Space Grotesk", sans-serif;
  letter-spacing: 0.02em;
  font-weight: 500;
}

.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 6px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: "Space Grotesk", monospace;
}
.form-group input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  color: #ffffff;
  font-size: 0.9rem;
  font-family: "Inter", sans-serif;
  transition: all 0.2s ease;
}
.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.15);
}
.form-group input:focus {
  outline: none;
  border-color: rgba(255, 0, 122, 0.5);
  background: rgba(255, 0, 122, 0.03);
  box-shadow:
    0 0 0 1px rgba(255, 0, 122, 0.15),
    inset 0 0 20px rgba(255, 0, 122, 0.02);
}

.btn-primary {
  width: 100%;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(255, 0, 122, 0.9),
    rgba(255, 77, 166, 0.9)
  );
  color: #ffffff;
  font-weight: 600;
  font-size: 0.85rem;
  font-family: "Space Grotesk", sans-serif;
  border: 1px solid rgba(255, 0, 122, 0.5);
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.4s ease;
}
.btn-primary:hover::before {
  left: 100%;
}
.btn-primary:hover {
  box-shadow:
    0 0 25px rgba(255, 0, 122, 0.3),
    0 0 60px rgba(255, 0, 122, 0.1);
  border-color: rgba(255, 0, 122, 0.7);
}
.btn-primary:active {
  transform: scale(0.98);
}

.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.2rem 0;
  color: rgba(255, 255, 255, 0.15);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}
.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.link-row {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
}
.link-row a {
  color: rgba(255, 0, 122, 0.7);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 600;
}
.link-row a:hover {
  color: rgba(255, 0, 122, 0.9);
  text-shadow: 0 0 10px rgba(255, 0, 122, 0.3);
}

.msg {
  text-align: center;
  margin-top: 0.8rem;
  font-size: 0.8rem;
  min-height: 1.2rem;
  font-family: "Space Grotesk", monospace;
}
.msg.error {
  color: #ff4466;
}
.msg.success {
  color: #44ff88;
}

.info-section h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #ff007a;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
  line-height: 1.1;
  text-transform: uppercase;
  position: relative;
  text-shadow:
    0 0 7px rgba(255, 0, 122, 0.6),
    0 0 20px rgba(255, 0, 122, 0.4),
    0 0 42px rgba(255, 0, 122, 0.2),
    0 0 82px rgba(255, 0, 122, 0.1);
  animation: neonFlicker 4s ease-in-out infinite;
}
.info-section h2::before,
.info-section h2::after {
  content: "PinkTank";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}
.info-section h2::before {
  color: #0ff;
  text-shadow:
    0 0 7px rgba(0, 255, 255, 0.6),
    0 0 20px rgba(0, 255, 255, 0.3);
  animation: glitchTop 3s infinite;
  clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}
.info-section h2::after {
  color: #f0f;
  text-shadow:
    0 0 7px rgba(255, 0, 255, 0.6),
    0 0 20px rgba(255, 0, 255, 0.3);
  animation: glitchBottom 2.5s infinite;
  clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
}
@keyframes neonFlicker {
  0%,
  100% {
    opacity: 1;
  }
  92% {
    opacity: 1;
  }
  93% {
    opacity: 0.8;
  }
  94% {
    opacity: 1;
  }
  96% {
    opacity: 0.9;
  }
  97% {
    opacity: 1;
  }
}
@keyframes glitchTop {
  0%,
  89%,
  91%,
  100% {
    opacity: 0;
    transform: translate(0);
  }
  90% {
    opacity: 0.8;
    transform: translate(-2px, -1px);
  }
}
@keyframes glitchBottom {
  0%,
  84%,
  86%,
  100% {
    opacity: 0;
    transform: translate(0);
  }
  85% {
    opacity: 0.8;
    transform: translate(2px, 1px);
  }
}
.info-section .info-tagline {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
  font-family: "Space Grotesk", monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.info-section p {
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}
.info-section ul {
  list-style: none;
  padding: 0;
}
.info-section ul li {
  padding: 0.6rem 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-family: "Space Grotesk", monospace;
}
.info-section ul li:last-child {
  border-bottom: none;
}
.info-section ul li .li-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 0, 122, 0.15);
  border-radius: 2px;
  font-size: 0.75rem;
  background: rgba(255, 0, 122, 0.05);
  flex-shrink: 0;
}

.status-bar {
  margin-top: auto;
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.2);
  font-family: "Space Grotesk", monospace;
  letter-spacing: 0.05em;
}
.status-dot {
  width: 6px;
  height: 6px;
  background: #44ff88;
  border-radius: 1px;
  animation: pulse 2s ease-in-out infinite;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.modal {
  background: rgba(12, 12, 22, 0.95);
  border: 1px solid rgba(255, 0, 122, 0.15);
  border-radius: 4px;
  padding: 2rem;
  width: 90%;
  max-width: 420px;
  box-shadow:
    0 0 60px rgba(0, 0, 0, 0.5),
    0 0 1px rgba(255, 0, 122, 0.3);
}
.modal h3 {
  color: #ff007a;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.01em;
}
.modal .btn-row {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 1.2rem;
}
.modal .btn-secondary {
  padding: 0.55rem 1rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.8rem;
  font-family: "Space Grotesk", monospace;
  transition: all 0.2s ease;
}
.modal .btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
}
.modal .btn-primary-sm {
  padding: 0.55rem 1rem;
  background: linear-gradient(
    135deg,
    rgba(255, 0, 122, 0.9),
    rgba(255, 77, 166, 0.9)
  );
  color: #fff;
  border: 1px solid rgba(255, 0, 122, 0.5);
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: "Space Grotesk", monospace;
  letter-spacing: 0.04em;
  transition: all 0.2s ease;
}
.modal .btn-primary-sm:hover {
  box-shadow: 0 0 20px rgba(255, 0, 122, 0.3);
}

@media (max-width: 768px) {
  .login-container {
    flex-direction: column;
    min-height: auto;
  }
  .login-section::after {
    display: none;
  }
  .login-section,
  .info-section {
    padding: 2rem 1.5rem;
  }
  .info-section {
    background: none;
  }
}

.login-page-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.75rem 0;
  background: transparent;
  transition: all 0.3s ease;
}
.login-page-header.scrolled {
  background: rgba(8, 8, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 0, 122, 0.1);
}
.login-page-header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.login-page-header .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.login-page-header .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.login-page-header .logo:hover {
  transform: scale(1.02);
}
.login-page-header .logo img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
}
.login-page-header .logo-text {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ff007a, #ff4da6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.login-page-header .nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.login-page-header .nav-link {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #888;
  border-radius: 6px;
  transition: all 0.2s ease;
  text-decoration: none;
}
.login-page-header .nav-link:hover {
  color: #e0e0e8;
  background: rgba(255, 255, 255, 0.05);
}
.login-page-header .nav-link.active {
  color: #ff007a;
}
.login-page-header .nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.login-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0 40px;
}

.footer-main {
  padding: 3rem 0 1.5rem;
  background: rgba(12, 12, 20, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 1;
}
.footer-main .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 2.5rem;
}
.footer-brand {
  max-width: 300px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.footer-logo img {
  height: 32px;
}
.footer-logo-text {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #e0e0e8;
}
.footer-description {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.footer-social {
  display: flex;
  gap: 0.5rem;
}
.footer-social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  color: #888;
  transition: all 0.3s ease;
}
.footer-social-link:hover {
  background: #ff007a;
  border-color: #ff007a;
  color: white;
}
.footer-social-link svg {
  width: 18px;
  height: 18px;
}
.footer-section-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #e0e0e8;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-link {
  font-size: 0.875rem;
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-link:hover {
  color: #ff007a;
}
.footer-bottom {
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.footer-copyright {
  font-size: 0.875rem;
  color: #666;
}
.footer-legal {
  display: flex;
  gap: 1.5rem;
}
.footer-legal-link {
  font-size: 0.875rem;
  color: #666;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-legal-link:hover {
  color: #ff007a;
}