@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700&display=swap');

:root {
  --primary-color: #7289da;
  --secondary-color: #34495e;
  --success-color: #2ecc71;
  --danger-color: #e74c3c;
  --dark-blue: #0a0a0a;
  --medium-blue: #151515;
  --light-blue: #222222;
  --text-light: #ffffff;
  --text-dark: #2c3e50;
  --border-radius: 10px;
  --topbar-height: 70px;
  --transition-speed: 0.3s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

body {
  background: linear-gradient(135deg, #000000, #1a1a1a);
  color: var(--text-light);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.stars-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.topbar {
  height: var(--topbar-height);
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 2rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.profile-container {
  display: flex;
  align-items: center;
}

.profile-circle {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--secondary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
}

.profile-icon {
  width: 100%;
  height: 100%;
}

.telegram-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #0088cc;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15px;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.telegram-circle:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(0, 136, 204, 0.7);
}

.telegram-circle i {
  color: white;
  font-size: 20px;
}

.username {
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 100px 20px 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-name {
  font-size: 2.5rem;
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--text-light);
  text-transform: lowercase;
  letter-spacing: 1px;
  animation: glow 2s ease-in-out infinite alternate;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.service-description {
  font-size: 1.2rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  letter-spacing: 0.5px;
  animation: fadeInUp 1s ease-out;
}

.upload-container {
  width: 100%;
  background: linear-gradient(135deg, rgba(15, 15, 15, 0.7), rgba(30, 30, 30, 0.7));
  backdrop-filter: blur(5px);
  border-radius: var(--border-radius);
  padding: 30px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.upload-button {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #7289da, #9baae6);
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 500;
  transition: all var(--transition-speed) ease;
  box-shadow: 0 8px 15px rgba(114, 137, 218, 0.3);
  border: none;
  font-size: 1.1rem;
  animation: pulse 2s infinite;
}

.upload-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 20px rgba(114, 137, 218, 0.4);
}

.upload-button:active {
  transform: translateY(-1px);
}

.button-text {
  margin-right: 10px;
}

.progress-container {
  width: 100%;
  display: flex;
  align-items: center;
  margin: 30px 0 15px;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background-color: rgba(236, 240, 241, 0.2);
  border-radius: 4px;
  overflow: hidden;
  margin-right: 15px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), #7c8ce6);
  width: 0%;
  border-radius: 4px;
  transition: width 0.3s ease;
}

.progress-text {
  font-size: 0.9rem;
  font-weight: 500;
  min-width: 50px;
  text-align: right;
}

.time-estimate {
  width: 100%;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(236, 240, 241, 0.7);
  margin-bottom: 20px;
}

.upload-status {
  width: 100%;
  margin: 25px 0;
}

.files-container {
  width: 100%;
  margin-top: 25px;
}

.files-list {
  width: 100%;
}

.file-item {
  background: rgba(15, 15, 15, 0.5);
  border-radius: var(--border-radius);
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.file-info {
  padding: 15px;
}

.file-progress-container {
  display: flex;
  align-items: center;
  margin-top: 12px;
}

.file-progress-bar {
  flex-grow: 1;
  height: 6px;
  background-color: rgba(236, 240, 241, 0.2);
  border-radius: 3px;
  overflow: hidden;
  margin-right: 10px;
}

.file-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), #7c8ce6);
  width: 0%;
  border-radius: 3px;
  transition: width 0.3s ease;
}

.file-progress-text {
  font-size: 0.9rem;
  font-weight: 500;
  min-width: 40px;
  text-align: right;
}

.file-time-estimate {
  font-size: 0.8rem;
  color: rgba(236, 240, 241, 0.6);
  margin-top: 6px;
}

.file-share-container {
  display: flex;
  padding: 10px 15px;
  background: rgba(20, 20, 20, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.file-share-link {
  flex-grow: 1;
  padding: 10px;
  background-color: rgba(236, 240, 241, 0.1);
  border: 1px solid rgba(236, 240, 241, 0.2);
  border-radius: 4px 0 0 4px;
  color: var(--text-light);
  font-size: 0.9rem;
  outline: none;
}

.file-copy-button {
  padding: 0 15px;
  background-color: var(--primary-color);
  border: none;
  color: white;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: background-color var(--transition-speed) ease;
}

.file-copy-button:hover {
  background-color: #4259c3;
}

.file-progress-container.success .file-progress-fill {
  background: linear-gradient(90deg, var(--success-color), #6ee09c);
}

.expiry-selector {
  margin: 15px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.expiry-selector label {
  margin-right: 15px;
}

.expiry-selector select {
  background-color: rgba(236, 240, 241, 0.1);
  border: 1px solid rgba(236, 240, 241, 0.3);
  color: var(--text-light);
  padding: 8px 15px;
  border-radius: 4px;
  outline: none;
  cursor: pointer;
}

.share-link-container {
  width: 100%;
  display: flex;
  margin-bottom: 25px;
}

.share-link {
  flex-grow: 1;
  padding: 12px 15px;
  background-color: rgba(236, 240, 241, 0.1);
  border: 1px solid rgba(236, 240, 241, 0.3);
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  color: var(--text-light);
  font-size: 1rem;
  outline: none;
}

.copy-button {
  padding: 0 20px;
  background-color: var(--primary-color);
  border: none;
  color: white;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  cursor: pointer;
  transition: background-color var(--transition-speed) ease;
}

.copy-button:hover {
  background-color: #4259c3;
}

.new-upload-button {
  padding: 12px 25px;
  background-color: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  font-weight: 500;
  display: block;
  margin: 20px auto 10px;
}

.new-upload-button:hover {
  background-color: var(--primary-color);
  color: white;
}

.hidden {
  display: none !important;
}

@media (max-width: 768px) {
  .topbar {
    padding: 0 1rem;
  }
  
  .container {
    padding: 100px 15px 30px;
  }
  
  .upload-container {
    padding: 20px;
  }
  
  .service-name {
    font-size: 2rem;
  }
  
  .service-description {
    font-size: 1rem;
  }
}

@keyframes glow {
  from {
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
  }
  to {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
  }
}

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

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 8px 15px rgba(114, 137, 218, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 15px 20px rgba(114, 137, 218, 0.4);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 8px 15px rgba(114, 137, 218, 0.3);
  }
}
