﻿@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

:root {
  --dark-bg: #222222;
  --dark-card: #303030;
  --dark-border: #454545;
  --text-white: #ffffff;
  --text-gray: #C2C2C2;
  --purple-light: #A156CF;
  --purple-dark: #866DE1;
  --transition-speed: 300ms;
  --border-radius: 0.75rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

header {
  padding: 1.5rem 0;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.5rem 0;
}

.logo-img {
  width: 2.5rem;
  height: 2.5rem;
  transition: transform 0.3s ease;
}

.logo a:hover .logo-img {
  transform: scale(1.1);
}

main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
}

.login-container {
  width: 100%;
  max-width: 480px;
  margin-bottom: 6rem;
}

.login-card {
  background-color: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.login-card:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.login-header {
  margin-bottom: 2.5rem;
}

.login-header h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.login-header p {
  color: var(--text-gray);
  font-size: 1rem;
  max-width: 90%;
  margin: 0 auto;
}

.login-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.login-image {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.login-image img {
  width: 100%;
  height: 100%;
}

.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  width: 100%;
  max-width: 240px;
  background-color: #222222;
  border: 1px solid #333333;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.google-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(161, 86, 207, 0.05), rgba(134, 109, 225, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 0.5rem;
}

.google-btn:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
  border-color: rgba(161, 86, 207, 0.4);
}

.google-btn:hover::after {
  opacity: 1;
}

.google-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.google-icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 8px;
  background: transparent;
}

.google-icon {
  width: 20px;
  height: 20px;
}

.btn-text {
  color: var(--text-white);
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.2px;
  margin-left: 8px;
}

.login-info {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-gray);
  max-width: 80%;
  margin: 0 auto;
}

.gradient-text {
  background: linear-gradient(to right, var(--purple-light), var(--purple-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pixelsmart-link {
  color: var(--purple-light);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.pixelsmart-link::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--purple-light);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease;
}

.pixelsmart-link:hover {
  color: var(--purple-dark);
}

.pixelsmart-link:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.login-footer {
  text-align: center;
  padding: 1.5rem 0;
  color: var(--text-gray);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .login-card {
    padding: 2rem 1.5rem;
  }
  
  .login-header h1 {
    font-size: 1.75rem;
  }
  
  .login-info {
    max-width: 95%;
  }
}

@media (max-width: 480px) {
  .login-card {
    padding: 1.75rem 1.25rem;
    margin: 0 0.5rem;
  }
  
  .login-header h1 {
    font-size: 1.5rem;
  }
  
  .login-header p {
    font-size: 0.9rem;
  }
  
  .google-btn {
    max-width: 220px;
  }
}