* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
}

/* Password Page Styles */
.password-page {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: opacity 0.5s ease-out;
}

.password-page.hidden {
  opacity: 0;
  pointer-events: none;
}

.password-container {
  text-align: center;
  padding: 40px;
  max-width: 400px;
  width: 100%;
}

.secret-text {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 40px;
  font-weight: 300;
  letter-spacing: 2px;
}

/* Language Selector */
.language-selector {
  display: flex;
  gap: 10px;
  margin-bottom: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.lang-btn {
  padding: 10px 20px;
  font-size: 0.95rem;
  border: 2px solid #fff;
  border-radius: 6px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  letter-spacing: 1px;
}

.lang-btn:hover {
  background: #fff;
  color: #000;
}

.lang-btn.active {
  background: #fff;
  color: #000;
}

.password-input {
  width: 100%;
  padding: 15px 20px;
  font-size: 1rem;
  border: 2px solid #fff;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  text-align: center;
  letter-spacing: 2px;
}

.password-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.password-input:focus {
  outline: none;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.submit-btn {
  width: 100%;
  padding: 15px 30px;
  font-size: 1.1rem;
  border: 2px solid #fff;
  border-radius: 8px;
  background: #fff;
  color: #000;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.submit-btn:hover {
  background: transparent;
  color: #fff;
}

.submit-btn:active {
  transform: scale(0.98);
}

.error-message {
  color: #ff9999;
  margin-top: 15px;
  font-size: 0.9rem;
  min-height: 20px;
}

/* Content Page Styles */
.content-page {
  transition: opacity 0.5s ease-in;
}

.content-page.hidden {
  display: none;
}

.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 80px 20px;
  text-align: center;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.language-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 8px;
}

.lang-menu-btn {
  padding: 8px 12px;
  font-size: 0.85rem;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 4px;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.lang-menu-btn:hover {
  border-color: #fff;
  color: #fff;
}

.lang-menu-btn.active {
  background: rgba(255, 255, 255, 0.3);
  border-color: #fff;
  color: #fff;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero .subtitle {
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: 3px;
}

.details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.detail-item {
  background: white;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(102, 126, 234, 0.2);
}

.detail-item h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #667eea;
}

.detail-item p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .password-container {
    padding: 30px 20px;
  }

  .secret-text {
    font-size: 1.5rem;
    margin-bottom: 35px;
  }

  .language-selector {
    margin-bottom: 35px;
  }

  .lang-btn {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  .password-input,
  .submit-btn {
    padding: 12px 15px;
    font-size: 1rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero .subtitle {
    font-size: 1.3rem;
  }

  .hero {
    padding: 60px 20px;
    min-height: 40vh;
  }

  .language-menu {
    top: 15px;
    right: 15px;
  }

  .lang-menu-btn {
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  .details {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 40px 20px;
  }

  .detail-item {
    padding: 30px 20px;
  }

  .detail-item h2 {
    font-size: 1.5rem;
  }

  .detail-item p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .password-container {
    padding: 20px 15px;
  }

  .secret-text {
    font-size: 1.3rem;
    margin-bottom: 30px;
  }

  .language-selector {
    gap: 8px;
    margin-bottom: 30px;
  }

  .lang-btn {
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  .password-input,
  .submit-btn {
    padding: 10px 12px;
    font-size: 0.95rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero .subtitle {
    font-size: 1.1rem;
  }

  .hero {
    padding: 40px 15px;
    min-height: 35vh;
  }

  .language-menu {
    top: 12px;
    right: 12px;
    gap: 6px;
  }

  .lang-menu-btn {
    padding: 5px 8px;
    font-size: 0.75rem;
  }

  .details {
    gap: 15px;
    padding: 30px 15px;
  }

  .detail-item {
    padding: 20px 15px;
  }

  .detail-item h2 {
    font-size: 1.3rem;
  }
}
