/* styles.css */

@font-face {
  font-family: 'SF Pro Text';
  src: url('./fonts/sf-pro-text-regular-webfont.woff2') format('woff2'),
       url('./fonts/sf-pro-text-regular-webfont.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SF Pro Text';
  src: url('./fonts/sf-pro-text-medium-webfont.woff2') format('woff2'),
       url('./fonts/sf-pro-text-medium-webfont.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

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

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #151e45, #111736);
  color: #fff;
  font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  height: 100vh;
  position: relative;
  padding: 20px;
}

/* Animated particles */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  background: rgba(79, 235, 254, 0.3);
  border-radius: 50%;
  animation: particleFloat 8s ease-in-out forwards;
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) scale(1.5);
    opacity: 0;
  }
}

/* Glass morphism card */
.wrapper {
  text-align: center;
  position: relative;
  z-index: 2;
  perspective: 1000px;
}

.glass-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 50px 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transform-style: preserve-3d;
  animation: floatIn 1.5s ease-out;
  min-width: 400px;
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(50px) rotateX(-10deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

.logo img {
  width: 120px;
  height: auto;
  margin-bottom: 30px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: translateY(-3px);
}

h1 {
  font-size: 32px;
  font-weight: 600;
  margin: 0 0 30px 0;
  line-height: 1.4;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Loading bar */
.loading-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-bottom: 40px;
  overflow: hidden;
}

.loading-progress {
  height: 100%;
  background: linear-gradient(90deg, #4FEBFE, #00B4DB);
  width: 0;
  animation: loading 3s ease-in-out infinite;
}

@keyframes loading {
  0% {
    width: 0;
    transform: translateX(-100%);
  }
  50% {
    width: 100%;
    transform: translateX(0);
  }
  100% {
    width: 100%;
    transform: translateX(100%);
  }
}

.email {
  margin: 0 0 30px 0;
}

.glow-button {
  color: #fff;
  text-decoration: none;
  border: 2px solid rgba(79, 235, 254, 0.5);
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  background: rgba(79, 235, 254, 0.1);
  position: relative;
  overflow: hidden;
}

.glow-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.glow-button:hover::before {
  left: 100%;
}

.glow-button:hover {
  background: rgba(79, 235, 254, 0.2);
  border-color: #4FEBFE;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.social-icons {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
  background: rgba(79, 235, 254, 0.2);
  border-color: #4FEBFE;
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 600px) {
  .wrapper {
    width: 90%;
    max-width: 400px;
  }

  .glass-card {
    padding: 40px 20px;
    min-width: 280px;
  }

  h1 {
    font-size: 24px;
  }

  .glow-button {
    padding: 10px 20px;
    font-size: 14px;
  }
}

@media (max-height: 700px) {
  .logo img {
    width: 80px;
    margin-bottom: 20px;
  }
  
  h1 {
    font-size: 28px;
    margin-bottom: 20px;
  }
  
  .glass-card {
    padding: 30px 20px;
  }
}