/* Star Theme - Animated Background and Effects */
/* Reusable across all main pages except CodeUps */

/* Animated Background */
.star-theme-bg {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  min-height: 100vh;
}

.star-theme-bg .cyber-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.star-theme-bg .matrix-rain {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(transparent 0%, rgba(0, 255, 136, 0.1) 50%, transparent 100%);
  animation: matrixFall 20s linear infinite;
}

@keyframes matrixFall {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

.star-theme-bg .floating-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, #00ff88, transparent),
    radial-gradient(2px 2px at 40px 70px, #00c5ff, transparent),
    radial-gradient(1px 1px at 90px 40px, #ff5e14, transparent),
    radial-gradient(1px 1px at 130px 80px, #8E44AD, transparent);
  background-repeat: repeat;
  background-size: 200px 200px;
  animation: float 15s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

/* Content Container with Star Theme Styling */
.star-theme-content {
  position: relative;
  z-index: 10;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

.star-theme-box {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid rgba(0, 255, 136, 0.2);
  backdrop-filter: blur(10px);
  margin-bottom: 30px;
  box-shadow: 0 8px 32px rgba(0, 255, 136, 0.1);
}

/* Star Theme Text Styles */
.star-theme-text {
  font-size: 1.2em;
  line-height: 1.8;
  color: #e0e0e0;
  margin-bottom: 20px;
  text-align: left;
}

.star-theme-highlight {
  color: #00ff88;
  font-weight: 700;
  text-shadow: 0 0 10px #00ff88;
}

.star-theme-glitch {
  position: relative;
  color: #ff5e14;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.star-theme-glitch:hover {
  animation: miniGlitch 0.5s infinite;
  color: #00c5ff;
}

@keyframes miniGlitch {
  0%, 100% { transform: translate(0); }
  25% { transform: translate(-1px, 1px); }
  50% { transform: translate(1px, -1px); }
  75% { transform: translate(-1px, -1px); }
}

.star-theme-neon {
  color: #8E44AD;
  text-shadow: 0 0 10px #8E44AD;
  font-weight: 600;
}

/* Star Theme Buttons */
.star-theme-btn {
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  font-size: 1.1em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.star-theme-btn.primary {
  background: linear-gradient(45deg, #00ff88, #00c5ff);
  color: #000;
  box-shadow: 0 5px 20px rgba(0, 255, 136, 0.4);
}

.star-theme-btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 255, 136, 0.6);
  animation: pulse 1s infinite;
  text-decoration: none;
  color: #000;
}

.star-theme-btn.secondary {
  background: transparent;
  color: #00c5ff;
  border: 2px solid #00c5ff;
}

.star-theme-btn.secondary:hover {
  background: #00c5ff;
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 197, 255, 0.4);
  text-decoration: none;
}

@keyframes pulse {
  0%, 100% { transform: translateY(-3px) scale(1); }
  50% { transform: translateY(-3px) scale(1.05); }
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
  .star-theme-content {
    padding: 20px 10px;
  }
  
  .star-theme-box {
    padding: 20px;
  }
  
  .star-theme-text {
    font-size: 1.1em;
  }
  
  .star-theme-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

