/* Global Styles - Matching your tech theme */
:root {
  --pure-black: #0a0a0a;
  --pure-white: #ffffff;
  --silver-light: #f4f4f5;
  --silver-medium: #a1a1aa;
  --orange-primary: #ff6600;
  --orange-secondary: #ff9933;
  --green-primary: #00ff88;
  --green-secondary: #10b981;

  /* Gradients */
  --primary-gradient: linear-gradient(
    90deg,
    var(--orange-primary),
    var(--orange-secondary)
  );
  --secondary-gradient: linear-gradient(
    90deg,
    var(--green-primary),
    var(--green-secondary)
  );

  /* UI Colors */
  --dark: var(--pure-black);
  --light: var(--pure-white);
  --gray: var(--silver-medium);
  --gray-light: #1a1a1a;
  --border: #333333;
  --card-shadow: 0 25px 50px -12px rgba(255, 102, 0, 0.25);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--pure-black);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* Animated background - matching your tech site */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 20% 50%,
      rgba(255, 102, 0, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(0, 255, 136, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 80%,
      rgba(255, 153, 51, 0.05) 0%,
      transparent 50%
    );
  animation: pulse 8s ease-in-out infinite;
  z-index: 1;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Custom scrollbar - matching tech theme */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-light);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
    to bottom,
    var(--orange-primary),
    var(--green-primary)
  );
  border-radius: 4px;
}

/* Data stream animation - fixed height */
.data-stream {
  position: fixed; /* Changed from absolute to fixed */
  width: 2px;
  height: 100vh; /* Use viewport height instead of 100% */
  background: linear-gradient(
    to bottom,
    transparent,
    var(--green-primary),
    transparent
  );
  opacity: 0.3;
  animation: flow 4s linear infinite;
  pointer-events: none; /* Prevents interfering with clicks */
  z-index: 1;
}

@keyframes flow {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}

/* Floating coins - updated colors */
.floating-coins {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.coin {
  position: absolute;
  font-size: 24px;
  opacity: 0.1;
  animation: float 15s infinite;
  color: var(--orange-primary);
}

.coin:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
}
.coin:nth-child(2) {
  left: 25%;
  animation-delay: 2s;
}
.coin:nth-child(3) {
  left: 40%;
  animation-delay: 4s;
}
.coin:nth-child(4) {
  left: 60%;
  animation-delay: 1s;
}
.coin:nth-child(5) {
  left: 75%;
  animation-delay: 3s;
}
.coin:nth-child(6) {
  left: 90%;
  animation-delay: 5s;
}

@keyframes float {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.1;
  }
  90% {
    opacity: 0.1;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

/* Header - matching tech site */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 2.5rem;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 102, 0, 0.2);
  z-index: 1000;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-icon {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.2);
  background-color: white;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.header-title h1 {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: "Orbitron", sans-serif;
  background: linear-gradient(
    90deg,
    var(--orange-primary),
    var(--green-primary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-title p {
  font-size: 0.85rem;
  color: var(--silver-medium);
  margin-top: 0.15rem;
}

.container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8rem 2rem 2rem;
  z-index: 3;
  position: relative;
}

.login-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1100px;
  width: 100%;
  background: #1a1a1a;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  animation: slideUp 0.6s ease-out;
  border: 1px solid rgba(255, 102, 0, 0.2);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Left Side - Branding with Orange/Green theme */
.login-branding {
  background: linear-gradient(145deg, #1e1e1e, #252525);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-right: 1px solid rgba(255, 102, 0, 0.2);
}

.login-branding::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 102, 0, 0.1) 0%,
    transparent 70%
  );
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.branding-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

/* Pisonet illustration - updated with tech theme */
.pisonet-illustration {
  width: 200px;
  height: 200px;
  margin: 0 auto 2rem;
  background: linear-gradient(145deg, #252525, #1a1a1a);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 102, 0, 0.3);
  box-shadow: 0 20px 40px rgba(255, 102, 0, 0.1);
}

.pisonet-box {
  width: 120px;
  height: 140px;
  background: linear-gradient(145deg, #2d3748, #1a202c);
  border-radius: 12px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 102, 0, 0.2);
}

.box-screen {
  width: 80px;
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--orange-primary),
    var(--green-primary)
  );
  border-radius: 4px;
  margin: 15px auto;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--pure-black);
}

.box-coin-slot {
  width: 60px;
  height: 8px;
  background: #1a202c;
  border-radius: 2px;
  margin: 10px auto;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 102, 0, 0.3);
}

.box-buttons {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 15px;
}

.box-button {
  width: 20px;
  height: 20px;
  background: linear-gradient(
    145deg,
    var(--green-primary),
    var(--green-secondary)
  );
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.coin-icon {
  font-size: 32px;
  color: var(--orange-primary);
  animation: bounce 2s ease-in-out infinite;
  text-shadow: 0 0 20px rgba(255, 102, 0, 0.3);
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.branding-title {
  font-size: 2rem;
  font-weight: 800;
  font-family: "Orbitron", sans-serif;
  background: linear-gradient(
    90deg,
    var(--orange-primary),
    var(--green-primary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.branding-subtitle {
  font-size: 1rem;
  color: var(--silver-medium);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--pure-white);
  font-size: 0.95rem;
}

.feature-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 102, 0, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(255, 102, 0, 0.3);
  color: var(--orange-primary);
}

/* Right Side - Login Form */
.login-form-section {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #1a1a1a;
}

.login-header {
  margin-bottom: 2rem;
}

.login-header h2 {
  font-family: "Orbitron", sans-serif;
  color: var(--pure-white);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.login-subtitle {
  color: var(--silver-medium);
  font-size: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--pure-white);
  font-weight: 600;
  font-size: 0.9rem;
}

.input-with-icon {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--orange-primary);
  z-index: 1;
}

.form-group input {
  width: 100%;
  padding: 0.875rem 1rem 0.875rem 2.75rem;
  border: 2px solid #333333;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #252525;
  color: var(--pure-white);
}

.form-group input:focus {
  outline: none;
  border-color: var(--orange-primary);
  box-shadow: 0 0 0 4px rgba(255, 102, 0, 0.1);
  background-color: #2a2a2a;
}

.form-group input::placeholder {
  color: #666666;
}

.password-toggle {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--orange-primary);
  cursor: pointer;
  z-index: 2;
}

.login-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(
    90deg,
    var(--orange-primary),
    var(--orange-secondary)
  );
  color: var(--pure-black);
  border: none;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: "Orbitron", sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
}

.login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 102, 0, 0.4);
}

.login-btn:active {
  transform: translateY(0);
}

.forgot-password {
  text-align: center;
  margin: 1rem 0;
}

.forgot-password a {
  color: var(--orange-primary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.forgot-password a:hover {
  color: var(--green-primary);
  text-decoration: underline;
}

.divider {
  display: flex;
  align-items: center;
  margin: 1.75rem 0;
  color: var(--silver-medium);
  font-size: 0.875rem;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #333333;
}

.divider::before {
  margin-right: 1rem;
}
.divider::after {
  margin-left: 1rem;
}

.login-options {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-login {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #252525;
  border: 2px solid #333333;
  color: var(--silver-medium);
  font-size: 1.2rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.social-login:hover {
  border-color: var(--orange-primary);
  color: var(--orange-primary);
  transform: translateY(-3px);
}

.remember-me {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0.5rem 0 1rem;
}

.remember-me input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #333333;
  border-radius: 4px;
  margin-right: 10px;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #252525;
}

.remember-me input[type="checkbox"]:checked {
  background: var(--orange-primary);
  border-color: var(--orange-primary);
}

.remember-me input[type="checkbox"]::after {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--pure-black);
  font-size: 12px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%) scale(0);
  transition: transform 0.2s ease;
}

.remember-me input[type="checkbox"]:checked::after {
  transform: translate(-50%, -55%) scale(1);
}

.remember-me label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--silver-medium);
  cursor: pointer;
}

footer {
  text-align: center;
  padding: 1.5rem;
  color: var(--silver-medium);
  font-size: 0.875rem;
  position: relative;
  z-index: 3;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 102, 0, 0.2);
}

/* Gradient text class for reuse */
.gradient-text {
  background: linear-gradient(
    90deg,
    var(--orange-primary),
    var(--green-primary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 968px) {
  .login-wrapper {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .login-branding {
    padding: 2rem;
  }
  .pisonet-illustration {
    width: 150px;
    height: 150px;
    margin-bottom: 1.5rem;
  }
  .branding-title {
    font-size: 1.5rem;
  }
  .features {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 6rem 1rem 1rem;
  }
  .header {
    padding: 1rem;
  }
  .login-form-section {
    padding: 2rem 1.5rem;
  }
  .login-header h2 {
    font-size: 1.5rem;
  }
}


