/* Stemulator Legal Pages Theme */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;900&family=Share+Tech+Mono&family=Audiowide&family=Rajdhani:wght@300;400;500;600;700&display=swap');

:root {
  --primary-color: #4CAF50;
  --primary-dark: #3e8e41;
  --primary-light: #81C784;
  --secondary-color: #757575;
  --background-dark: #050510;
  --background-light: #0a0a20;
  --text-color: #f5f5f5;
  --accent-color: #FFC107;
  --error-color: #f44336;
  --success-color: #4CAF50;
  --warning-color: #ff9800;
  --info-color: #2196F3;
  --border-radius: 12px;
  --shadow: rgba(76, 175, 80, 0.3);
  --glow: rgba(76, 175, 80, 0.6);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Share Tech Mono', 'Courier New', monospace;
  background: var(--background-dark);
  color: var(--text-color);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Animated background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at top, rgba(76, 175, 80, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse at bottom, rgba(76, 175, 80, 0.03) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Grid pattern overlay */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(76, 175, 80, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76, 175, 80, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
  animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
}

/* Header styling */
.header-section {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-light);
  text-decoration: none;
  font-family: 'Orbitron', monospace;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 40px;
  transition: all 0.3s ease;
  position: relative;
  padding: 10px 20px;
  border: 1px solid rgba(76, 175, 80, 0.3);
  border-radius: 30px;
  background: rgba(76, 175, 80, 0.05);
}

.back-link:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
  background: rgba(76, 175, 80, 0.1);
  transform: translateX(-5px);
  box-shadow: 0 0 30px rgba(76, 175, 80, 0.4);
}

.back-link svg {
  transition: transform 0.3s ease;
}

.back-link:hover svg {
  transform: translateX(-5px);
}

h1 {
  font-family: 'Orbitron', 'Audiowide', monospace;
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #4CAF50 0%, #81C784 50%, #4CAF50 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 3s ease infinite;
  letter-spacing: 2px;
  text-transform: uppercase;
  filter: drop-shadow(0 0 30px rgba(76, 175, 80, 0.5));
}

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

.last-updated {
  color: rgba(129, 199, 132, 0.7);
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Content styling */
.content-section {
  background: linear-gradient(145deg, rgba(10, 10, 32, 0.6), rgba(5, 5, 16, 0.8));
  border: 1px solid rgba(76, 175, 80, 0.2);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.content-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  animation: scan 3s linear infinite;
}

@keyframes scan {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

h2 {
  font-family: 'Orbitron', monospace;
  font-size: 2rem;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--primary-light);
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
}


h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: rgba(129, 199, 132, 0.9);
  letter-spacing: 0.5px;
}

p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
  line-height: 1.8;
  font-size: 16px;
}

ul, ol {
  padding-left: 30px;
  margin-bottom: 20px;
}

li {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
  position: relative;
  padding-left: 10px;
}

li::marker {
  color: var(--primary-color);
}

/* Special boxes */
.highlight-box {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(76, 175, 80, 0.05));
  border: 1px solid rgba(76, 175, 80, 0.3);
  border-radius: 15px;
  padding: 30px;
  margin: 30px 0;
  position: relative;
  overflow: hidden;
}

.highlight-box::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--primary-color), transparent, var(--primary-color));
  border-radius: 15px;
  opacity: 0;
  animation: glow-border 3s ease infinite;
  z-index: -1;
}

@keyframes glow-border {
  0%, 100% { opacity: 0; }
  50% { opacity: 0.5; }
}

.warning-box {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: 15px;
  padding: 30px;
  margin: 30px 0;
  position: relative;
}

.warning-box h2, .warning-box h3 {
  color: #ff6b6b;
}

/* Links */
a {
  color: var(--primary-light);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

a:hover {
  color: var(--primary-color);
  text-shadow: 0 0 20px rgba(76, 175, 80, 0.8);
}

/* Contact section */
.contact-section {
  background: linear-gradient(145deg, rgba(76, 175, 80, 0.1), rgba(76, 175, 80, 0.05));
  border: 2px solid rgba(76, 175, 80, 0.3);
  border-radius: 20px;
  padding: 40px;
  margin-top: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-section h2 {
  margin-top: 0;
  text-align: center;
}

/* Buttons */
.cta-button, .contact-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 30px;
  font-family: 'Orbitron', monospace;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
}

.cta-button:hover, .contact-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(76, 175, 80, 0.4);
  text-decoration: none;
}

.cta-button::before, .contact-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before, .contact-button:hover::before {
  width: 300px;
  height: 300px;
}

/* Form styles */
.form-group {
  margin-bottom: 25px;
  text-align: left;
}

label {
  display: block;
  margin-bottom: 10px;
  font-family: 'Orbitron', monospace;
  font-weight: 500;
  color: var(--primary-light);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 14px;
}

input, textarea, select {
  width: 100%;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(76, 175, 80, 0.3);
  border-radius: 10px;
  color: var(--text-color);
  font-family: 'Share Tech Mono', monospace;
  font-size: 16px;
  transition: all 0.3s ease;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(76, 175, 80, 0.05);
  box-shadow: 0 0 30px rgba(76, 175, 80, 0.3);
}

textarea {
  resize: vertical;
  min-height: 150px;
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .content-section {
    padding: 25px;
  }
  
  .container {
    padding: 30px 15px;
  }
}

/* Loading animation */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Alert styles */
.alert {
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 25px;
  font-family: 'Share Tech Mono', monospace;
  font-size: 16px;
  position: relative;
  overflow: hidden;
  display: none;
}

.alert.show {
  display: block;
}

.alert-success {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10b981;
}

.alert-error {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ef4444;
}