/* box-shadow.css: Styles for the box-shadow demo page */

body {
  background: linear-gradient(120deg, #f0f4f8 0%, #e0e7ef 100%);
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: #222;
}

.container {
  max-width: 900px;
  margin: 40px auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 32px 0 rgba(52, 152, 219, 0.10);
  padding: 32px 24px 24px 24px;
}

h1 {
  text-align: center;
  color: #3498db;
  margin-bottom: 16px;
}

.theory-section, .code-section, .demo-section {
  margin-bottom: 32px;
  padding: 18px 20px;
  border-radius: 12px;
  background: #f8fafc;
  box-shadow: 0 2px 8px 0 rgba(52, 152, 219, 0.04);
}

.theory-section ul {
  margin: 12px 0 0 24px;
}

.code-section {
  background: #23272e;
  color: #f8f8f2;
}

.code-block {
  background: #181a20;
  border-radius: 8px;
  padding: 16px;
  overflow-x: auto;
  margin-top: 10px;
}

.code-block code {
  color: #ffd200;
  font-family: 'Fira Mono', 'Consolas', monospace;
  font-size: 1rem;
}

.demo-section {
  background: #f7f9fb;
}

.demo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 18px;
}

.demo-box {
  min-width: 160px;
  min-height: 80px;
  background: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 8px;
  transition: box-shadow 0.3s, transform 0.2s;
  padding: 18px 12px;
  box-shadow: 0 2px 8px 0 rgba(52, 152, 219, 0.08);
}

.demo-box:focus {
  outline: 3px solid #8e44ad;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px #ffd20099, 0 2px 8px 0 rgba(52, 152, 219, 0.08);
}

.basic-shadow {
  box-shadow: 4px 4px 12px #888;
}

.colored-shadow {
  box-shadow: 0 8px 24px 0 rgba(52, 152, 219, 0.4);
}

.inset-shadow {
  box-shadow: inset 0 2px 8px 0 #8e44ad;
}

.multiple-shadow {
  box-shadow: 2px 2px 8px #3498db, 0 0 0 4px #fff, 0 8px 24px 0 rgba(52,152,219,0.2);
}

.interactive-shadow {
  box-shadow: 0 2px 8px 0 #ffd200;
  background: linear-gradient(90deg, #fffbe6 60%, #fff 100%);
  transition: box-shadow 0.3s, background 0.3s, transform 0.2s;
}
.interactive-shadow:hover, .interactive-shadow:focus {
  box-shadow: 0 8px 32px 0 #f7971e, 0 0 0 4px #ffd200;
  background: linear-gradient(90deg, #fffbe6 0%, #ffe9c7 100%);
  transform: translateY(-4px) scale(1.04);
}

.back-btn {
  display: inline-block;
  margin-top: 24px;
  padding: 10px 22px;
  background: linear-gradient(90deg, #3498db 60%, #8e44ad 100%);
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 2px 8px 0 rgba(52, 152, 219, 0.12);
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.back-btn:hover, .back-btn:focus {
  background: linear-gradient(90deg, #8e44ad 0%, #3498db 100%);
  box-shadow: 0 4px 16px 0 #8e44ad44;
  transform: translateY(-2px) scale(1.03);
}

.eclipse-shadow {
  border-radius: 50%;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #23272e;
  color: #ffd200;
  font-size: 1rem;
  box-shadow: 24px 0 40px -8px #23272e, -8px 0 24px 0 #ffd200;
  margin: 0 8px;
  transition: box-shadow 0.4s, background 0.3s, transform 0.2s;
}
.eclipse-shadow .eclipse-circle {
  position: absolute;
  left: 18px;
  top: 18px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #ffd200;
  opacity: 0.7;
  z-index: 1;
  box-shadow: 0 0 24px 8px #ffd20088;
  pointer-events: none;
}
@media (max-width: 700px) {
  .container {
    padding: 10px 2vw;
  }
  .demo-row {
    flex-direction: column;
    gap: 16px;
  }
  .demo-box {
    min-width: 0;
    width: 100%;
  }
}
