/* Base styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #0f0f0f, #1a1a1a, #0f0f0f);
  background-size: 400% 400%;
  animation: gradientShift 10s ease infinite;
  color: #fff;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
  overflow-x: hidden;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.container {
  max-width: 800px;
  padding: 40px;
  background-color: rgba(255,255,255,0.05);
  border-radius: 20px;
  box-shadow: 0 0 50px rgba(0, 255, 0, 0.3);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h1 {
  color: #4caf50;
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-shadow: 0 0 20px #4caf50, 0 0 40px #4caf50;
  position: relative;
}

h1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #4caf50, #66bb6a);
  animation: underlineGrow 2s ease-out 1s forwards;
}

@keyframes underlineGrow {
  to { width: 100%; }
}

p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #ccc;
  animation: fadeIn 1s ease-out 0.5s both;
}

/* Buttons */
.buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.btn {
  position: relative;
  background: linear-gradient(45deg, #4caf50, #66bb6a);
  border: none;
  padding: 15px 30px;
  font-size: 1.2rem;
  color: #fff;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
  animation: slideIn 0.5s ease-out both;
}

.btn:nth-child(1) { animation-delay: 0.1s; }
.btn:nth-child(2) { animation-delay: 0.2s; }
.btn:nth-child(3) { animation-delay: 0.3s; }
.btn:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 300%;
  height: 300%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%) scale(0);
  border-radius: 50%;
  transition: transform 0.5s ease;
}

.btn:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.btn:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

.btn:active {
  transform: scale(0.98) translateY(0);
}

/* Loader */
.loader {
  margin: 30px auto 0;
  border: 6px solid rgba(76, 175, 80, 0.3);
  border-top: 6px solid #4caf50;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

.hidden {
  display: none;
}

@keyframes spin {
  0% { transform: rotate(0deg);}
  100% { transform: rotate(360deg);}
}

/* Files Section */
.files-section {
  margin-top: 50px;
  animation: fadeIn 1s ease-out;
}

.files-section h2 {
  color: #4caf50;
  font-size: 2rem;
  margin-bottom: 20px;
  text-shadow: 0 0 10px #4caf50;
}

.file-list {
  max-height: 400px;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.file-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease;
}

.file-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.file-name {
  color: #fff;
  font-weight: bold;
}

.file-type {
  color: #4caf50;
  font-size: 0.9rem;
}

/* Typewriter cursor */
.typewriter-cursor {
  border-right: 2px solid #4caf50;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { border-color: #4caf50; }
  51%, 100% { border-color: transparent; }
}
