* {
  box-sizing: border-box;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 10px;
}


body {
  margin: 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #0a0a0f 100%);
  color: var(--text-dark);
  height: 100vh;
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  overflow: auto;
}

:root {
  --color-primary: #4672ff;
  --color-dark: #2646ad;
  --color-muted: #747b92;
  --primary: #00d9ff;
	--secondary: #ff00ea;
	--dark: #0a0a0f;
	--light: #ffffff;
	--glow: #00ffcc;
	--font-display: 'Orbitron', monospace;
	--font-heading: 'Space Grotesk', sans-serif;
	--font-body: 'Inter', sans-serif;
}

.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

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

/* Mouse Follower */
.mouse-follower {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.1s ease;
    transform: translate(-50%, -50%);
}


#logo22 {
  width: 60px;
  height: 60px;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

input,
button {
  font-family: var(--font-headingy);
  color: inherit;
}

button {
  padding: 0;
  cursor: pointer;
}

p {
  font-size: 12px;
}
.card {
  display: flex;
  align-content: stretch;
  width: 660px;
  height: 360px;
  background: #ffffff;
  box-shadow: 0 12px 80px rgba(95, 98, 255, 0.08);
}

.card-nav {
  position: relative;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 148px;
}

.card-nav .active-bar {
  position: absolute;
  top: 33.33%;
  left: 0;
  width: 5px;
  height: 33.33%;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  transition: 0.4s ease-in-out;
}

.card-nav li {
  flex: 1 1 auto;
  display: grid;
  place-items: center;
}

.card-nav li button.active {
  color: var(--color-dark);
}

.card-nav button {
  background: transparent;
  border: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transition: 0.3s;
}

.card-nav button:not(.active):hover {
  opacity: 0.675;
  color: var(--color-dark);
}

.card-nav button i {
  font-size: 20px;
}

.card-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin: -48px 0;
  flex: 0 0 300px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  backdrop-filter: blur(10px);
  
  transform: translateY(-10px) scale(1.03);
  border-color: var(--primary);
  box-shadow: 
      0 20px 40px rgba(0, 217, 255, 0.3),
      inset 0 0 30px rgba(0, 217, 255, 0.05);
}

.card-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  opacity: 0.05; 
  z-index: -1;
}

.card-hero::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--glow));
  border-radius: 20px;
  z-index: -2;
  opacity: 1; 
  animation: rotate-gradient 3s linear infinite; 
  background-size: 200% 200%;
}

@keyframes rotate-gradient {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 200% 200%;
  }
}

.card-hero-inner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transition: 0.5s ease-in-out;
}
.card-hero-content {
  height: 456px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

h2,
h3 {
  text-align: left;
  font-weight: 400;
  margin: 0;
  padding-left: 24px;
}

.card-hero h2 {
  color: #f9f9f9;
  margin: 0 0 2px;
  font-family: var(--font-display);
  font-weight: 700;
}

.card-hero h3 {
  color: #f9f9f9;
  opacity: 0.75;
  font-size: 14px;
}

.card-hero img {
  width: 100%;
}

@media (max-width: 665px) {
  .card-hero {
    display: none;
  }

  .card {
    width: 460px;
    height: 360px;
  }
  
}

@media (max-width: 478px) {
  .card {
    width: 360px;
    height: 360px;
  }
}

/* Login Buttons */
.social-login-container {
    display: flex;
    flex-direction: row;
    justify-content: start;
    gap: 15px; /* Space between buttons */
    margin-bottom: 20px; 
    width: 100%;
}

.social-login-container {
    display: flex;
    flex-direction: row;
    justify-content: center; /* Ensures centering on smaller screens by default */
    gap: 20px;
    margin-bottom: 3px; /* more space below the buttons */
    padding-top: 5px; 
    width: 100%;
}

.social-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05); /* Softer shadow */
}

/* Media Query for larger screens (Laptops) */
@media (min-width: 769px) {
    .social-login-container {
        justify-content: center;
    }
}

.google-long-btn {
    width: 100%; /* Makes it full width */
    padding: 8px 0;
    background-color: #ffffff;
    color: #3c4043; 
    border: 1px solid #dadce0; 
    border-radius: 40px; 
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Space between logo and text */
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 5px; /* Space below the button */
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* Hover Effect */
.google-long-btn:hover {
    background-color: #f8faff; 
    border-color: var(--secondary);
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.card-form {
  position: relative;
  overflow: hidden;
  padding: 24px;
  width: 400px;
}

.card-form .forms {
  position: absolute;
  height: 200%;
  left: 0;
  top: 0;
  transition: 0.5s ease-in-out;
}

.card-form form {
  height: 360px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.card-form label {
  font-size: 13px;
  color: var(--color-muted);
}

.control {
  position: relative;
}

.control input {
  background: transparent;
  border: 1px solid #dad8e7;
  border-radius: 6px;
  width: 100%;
  height: 40px;
  padding: 0 12px;
}

.control input:focus {
  outline-color: var(--color-primary);
}

.control input::placeholder {
  color: #bdbcd2;
}

.control input:focus ~ i {
  color: var(--color-dark);
}

.control i {
  color: var(--color-muted);
  position: absolute;
  top: 50%;
  right: 12px;
  translate: 0 -50%;
  transition: 0.3s;
}

.card-form form > .signinup {
  height: 40px;
  padding: 12px 20px;
  border-radius: 6px;
  color: #f9f9f9;
  letter-spacing: 1px;
  border: 0;
  margin-top: 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

p.footer22 {
  opacity: 0.75;
}

/* --- CUSTOM NOTIFICATION POPUP --- */
.notification-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 15, 0.8); 
  backdrop-filter: blur(5px); /* Blur the background slightly */
  display: none; 
  justify-content: center;
  align-items: center;
  z-index: 10000; 
}

.notification-box {
  background: linear-gradient(135deg, #1a1a2e, #0a0a0f);
  border: 2px solid var(--primary);
  box-shadow: 0 0 20px rgba(0, 217, 255, 0.3), inset 0 0 10px rgba(0, 217, 255, 0.1);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  max-width: 400px;
  width: 80%;
  color: var(--light);
  font-family: var(--font-heading);
  animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Smooth pop-in animation */
}

.notification-box h3 {
  margin-top: 0;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.notification-box p {
  font-size: 16px;
  opacity: 0.9;
  margin: 20px 0;
}

#notification-close-btn {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  color: white;
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

#notification-close-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 217, 255, 0.5);
}

@keyframes popIn {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
