@font-face {
  font-family: 'PP Neue Montreal';
  src: url('/fonts/PPNeueMontreal-Book.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

html {
  position: fixed;
  overflow: hidden;
  width: 100%;
  height: 100%;
  overscroll-behavior: none;
  touch-action: none;
}

body {
  font-family: 'PP Neue Montreal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #000000;
  height: 100vh;
  width: 100vw;
  position: fixed;
  overflow: hidden;
  overscroll-behavior: none;
  -webkit-overflow-scrolling: touch;
  touch-action: none;
  border-radius: 0px;
}

.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  transform: none;
  z-index: -1;
  object-fit: cover;
  transition: all 1.5s cubic-bezier(0.8, 0, 0.3, 1);
}

/*#body-container.loaded .video-background {
  border-radius: 70px;
}*/

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
  padding: 20px;
  position: fixed;
  top: 0;
  left: 0;
  overflow: hidden;
  transition: all 1.5s cubic-bezier(0.8, 0, 0.3, 1);
}

.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  pointer-events: none;
  transition: all 1.5s cubic-bezier(0.8, 0, 0.3, 1);
  z-index: 0;
}

#body-container.loaded .backdrop {
  /*border-radius: 70px;*/
}

.container:has(input:focus) .backdrop {
  background: rgba(0, 0, 0, 0.01);
  backdrop-filter: blur(35px);
  border-radius: 70px;
}

.container:has(input:focus) .video-background {
  border-radius: 70px;
}

.hero {
  text-align: center;
  background: white;
  padding: 60px 40px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  max-width: 500px;
  width: 100%;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #2d3748;
}

.hero p {
  font-size: 1.2rem;
  color: #718096;
  margin-bottom: 30px;
}

#body-container .login-box {
  background: transparent;
  padding: 0;
  border-radius: 50px;
  box-shadow: none;
  max-width: 600px;
  width: 100%;
  position: relative;
  z-index: 1;
  opacity:0;
  transition: all 1.5s cubic-bezier(0.8, 0, 0.3, 1) 0.5s;
  background: rgba(255, 255, 255, 0.01);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
#body-container.loaded .login-box {
  opacity:1;
}

.login-box form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.input-wrapper {
  position: relative;
}

#body-container .login-box input[type="password"] {
  flex: 1;
  position: relative;
  /*display: flex;*/
  width: 100%;
  max-width: 600px;
  height: 80px;
  padding: 0 28px;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  /*box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);*/
  /*transition: all 0.3s ease;*/
  font-family: 'PP Neue Montreal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 20px;
  font-weight: 400;
  text-align: left;
  color: rgba(255, 255, 255, 0.9);
  outline: none;
  letter-spacing: 0.2px;
  opacity:0;
  transition: all 0.5s cubic-bezier(0.8, 0, 0.3, 1) 0s;
  background: transparent;
}

#body-container.loaded .login-box input[type="password"] {
  opacity:1;
}

#body-container .login-box input[type="password"]:hover,
#body-container .login-box input[type="password"]:focus-within {
  border: 1px solid #fff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.8, 0, 0.3, 1) 0s;
}

.login-box input[type="password"]::placeholder {
  font-family: 'PP Neue Montreal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  letter-spacing: 0.3px;
}

.login-box button[type="submit"] {
  position: absolute;
  right:32px;
  top:32px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  /*display: flex;
  align-items: center;
  justify-content: center;*/
  transition: opacity 0.2s ease;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  pointer-events: auto;
  opacity: 0.5;
}

.input-wrapper:focus-within button[type="submit"] {
  opacity: 0.7;
}


.btn {
  display: inline-block;
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}


.btn-secondary {
  background: white;
  color: #667eea;
  border: 2px solid #667eea;
  padding: 8px 20px;
  width: auto;
  font-size: 0.9rem;
}

.btn-secondary:hover {
  background: #667eea;
  color: white;
}

.error-message {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: rgba(255, 255, 255, 0.95);
  padding: 14px 20px;
  border-radius: 50px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 14px;
  text-align: center;
  font-weight: 400;
  letter-spacing: 0.2px;
  max-width: 600px;
  width: 100%;
  position: absolute;
  top:90px;
}

.mobile-only-message {
  display: none;
  text-align: center;
  position: relative;
  z-index: 1;
}

.desktop-icon {
  width: 48px;
  height: 48px;
  opacity: 0.9;
}

.mobile-message-text {
  font-family: 'PP Neue Montreal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: #ffffff;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing:0.2px;
}

.back-link {
  margin-top: 20px;
  text-align: center;
}

.back-link a {
  color: #667eea;
  text-decoration: none;
  font-size: 0.95rem;
}

.back-link a:hover {
  text-decoration: underline;
}

/* Deck page styles */
.deck-body {
  background: #000;
  margin: 0;
  padding: 0;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}

.deck-header {
  background: #2d3748;
  padding: 15px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.deck-header-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.deck-header h2 {
  color: white;
  font-size: 1.3rem;
  margin: 0;
}

.deck-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.deck-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Responsive design */
@media (max-width: 768px) {
  .hero {
    padding: 40px 30px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  /* Hide login box on mobile */
  .login-box {
    display: none !important;
  }

  /* Show mobile-only message */
  .mobile-only-message {
    display: block;
  }

  /* Remove video border-radius on mobile */
  .video-background {
    border-radius: 0;
  }

  /* Remove backdrop effects on mobile */
  .backdrop {
    display: none;
  }

  .container:has(input:focus) .backdrop {
    background: transparent;
    backdrop-filter: none;
    border-radius: 0;
  }

  .deck-header h2 {
    font-size: 1rem;
  }

  .btn-secondary {
    font-size: 0.85rem;
    padding: 6px 16px;
  }
}
