:root {
  --primary-color: #ff0050;
  --secondary-color: #720505;
  --background-dark: #1a0019;
  --background-main: #22032c;
  --text-color: #ffffff;
  --accent-color: #00f2ff;
  --glass-background: rgba(255, 0, 80, 0.15);
  --glass-border: rgba(255, 255, 255, 0.2);
  --transition-speed: 0.3s;
}


body {
  font-family: 'Orbitron', sans-serif;
  background: linear-gradient(135deg, var(--background-main), var(--background-dark));
  color: var(--text-color);
  position: relative;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  line-height: 1.6;
}

body {
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) transparent;
}

body::-webkit-scrollbar {
  width: 8px;
}

body::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}

body::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(255, 0, 80, 0.5);
}

body::-webkit-scrollbar-thumb:hover {
  background-color: var(--secondary-color);
}

.glassmorphism {
  background: var(--glass-background);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.glassmorphism:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(255, 0, 80, 0.4);
}

.logo {
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  box-shadow: 0 0 20px rgba(255, 0, 80, 0.6);
  transition: transform var(--transition-speed);
}

.logo:hover {
  transform: scale(1.05) rotate(5deg);
}

.background-svg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

@keyframes fall {
  0% {
    transform: translateY(-100px); 
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(100vh);
    opacity: 0;
  }
}

.star {
  fill: var(--primary-color);
  filter: drop-shadow(0 0 8px var(--secondary-color));
  animation: 
    bloom 3s infinite ease-in-out, 
    fall 6s infinite linear;
}



@keyframes bloom {
  0%, 100% {
    opacity: 0.4;
    filter: drop-shadow(0 0 5px var(--secondary-color));
  }
  50% {
    opacity: 0.9;
    filter: drop-shadow(0 0 12px var(--secondary-color));
  }
}

@keyframes float {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
  }
  33% {
    transform: translateY(100px) translateX(50px) rotate(120deg);
  }
  66% {
    transform: translateY(50px) translateX(100px) rotate(240deg);
  }
  100% {
    transform: translateY(0) translateX(0) rotate(360deg);
  }
}

.main-content {
  margin-top: calc(var(--main-content-margin, 15) * 1%);
  animation: fadeIn 1s ease-out forwards;
}

.features-section {
  margin-top: calc(var(--features-section-margin, 10) * 1%);
  padding: 40px 0;
}

.gradient-text {
  background: linear-gradient(135deg, #ff0050, #ff6b6b, #c472c7);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(255, 0, 80, 0.3);
  font-weight: bold;
  letter-spacing: 1px;
}

h1.gradient-text {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

h2.gradient-text {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.showcase-modal {
  background: rgba(10, 0, 15, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(255, 0, 80, 0.2);
  padding: 30px;
  max-width: 800px;
  width: 90%;
  margin: 30px auto;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(255, 0, 80, 0.3);
  transition: transform var(--transition-speed);
}

.showcase-modal:hover {
  transform: translateY(-10px);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(255, 0, 80, 0.4);
}

#showcases .grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  transition: opacity 0.5s ease-in-out;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@keyframes progress {
  from {
    width: 100%;
  }
  to {
    width: 0;
  }
}

.content {
  opacity: 0;
  animation: fadeIn 0.8s 0.2s forwards;
}

.staggered-item {
  opacity: 0;
  transform: translateY(20px);
}

.staggered-item:nth-child(1) { animation: fadeIn 0.6s 0.1s forwards; }
.staggered-item:nth-child(2) { animation: fadeIn 0.6s 0.2s forwards; }
.staggered-item:nth-child(3) { animation: fadeIn 0.6s 0.3s forwards; }
.staggered-item:nth-child(4) { animation: fadeIn 0.6s 0.4s forwards; }
.staggered-item:nth-child(5) { animation: fadeIn 0.6s 0.5s forwards; }

button,
a.button,
a.smooth-scroll {
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 25px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all var(--transition-speed);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(255, 0, 80, 0.3);
}

button:hover,
a.button:hover,
a.smooth-scroll:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(196, 114, 199, 0.4);
}

button:active,
a.button:active,
a.smooth-scroll:active {
  transform: translateY(1px);
  box-shadow: 0 2px 10px rgba(196, 114, 199, 0.3);
}

button::before,
a.button::before,
a.smooth-scroll::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: all 0.6s;
}

button:hover::before,
a.button:hover::before,
a.smooth-scroll:hover::before {
  left: 100%;
}

.loader {
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top: 3px solid var(--primary-color);
  border-right: 3px solid var(--accent-color);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
  display: inline-block;
}

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

#notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--glass-background);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 15px 25px;
  color: white;
  font-size: 16px;
  z-index: 1000;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(20px);
}

#notification.show {
  animation: slideIn 0.5s forwards, slideOut 0.5s 2.5s forwards;
}

#notification.hide {
  animation: slideOut 0.5s forwards;
}

#progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background-color: var(--accent-color);
  border-radius: 0 0 5px 5px;
  animation: progress 3s linear forwards;
}

@media (max-width: 768px) {
  h1.gradient-text {
    font-size: 2.5rem;
  }
  
  h2.gradient-text {
    font-size: 1.8rem;
  }
  
  .showcase-modal {
    padding: 20px;
  }
  
  #showcases .grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
  }
}

@media (max-width: 480px) {
  h1.gradient-text {
    font-size: 2rem;
  }
  
  h2.gradient-text {
    font-size: 1.5rem;
  }
  
  button,
  a.button,
  a.smooth-scroll {
    padding: 10px 20px;
    font-size: 14px;
  }
}