:root {
  --bg-dark: #070a13;
  --bg-card: rgba(11, 15, 25, 0.95);
  --gold-primary: #d4af37;
  --gold-light: #f5e4a3;
  --gold-dim: rgba(212, 175, 55, 0.35);
  --gold-glow: rgba(212, 175, 55, 0.15);
  --text-color: #f3e5ab;
  --border-color: rgba(212, 175, 55, 0.3);
  
  --font-deco: 'Cinzel', serif;
  --font-body: 'Montserrat', sans-serif;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-dark);
  color: var(--text-color);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--gold-primary);
  border-radius: 4px;
}

.deco-container {
  width: 92%;
  max-width: 1100px;
  margin: 50px auto;
  padding: 50px;
  background-color: var(--bg-card);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(212, 175, 55, 0.05);
  position: relative;
  box-sizing: border-box;
}

/* Border Styles - Art Deco Style Showcase */
.border-style-classic {
  border: 1px solid var(--gold-primary);
  outline: 4px double var(--gold-primary);
  outline-offset: -15px;
}

.deco-header {
  text-align: center;
  margin-bottom: 50px;
  padding: 10px 20px;
}

.nav-back {
  display: inline-block;
  color: var(--gold-primary);
  text-decoration: none;
  font-family: var(--font-deco);
  letter-spacing: 2px;
  font-size: 0.85rem;
  border-bottom: 1px solid transparent;
  margin-bottom: 25px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.nav-back:hover {
  border-bottom: 1px solid var(--gold-primary);
  text-shadow: 0 0 8px var(--gold-glow);
}

.deco-title {
  font-family: var(--font-deco);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: 10px;
  color: var(--gold-primary);
  margin: 0 0 10px 0;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.header-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

.header-divider .line {
  width: 150px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.header-divider .diamond {
  color: var(--gold-primary);
  font-size: 0.9rem;
  animation: pulse 3s infinite ease-in-out;
}

.deco-subtitle {
  font-family: var(--font-deco);
  font-size: 1rem;
  letter-spacing: 4px;
  margin: 0;
  color: var(--gold-primary);
  text-transform: uppercase;
  opacity: 0.9;
}

.deco-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px;
}

.full-width {
  grid-column: span 2;
}

.deco-card {
  border: 1px solid var(--border-color);
  padding: 35px;
  background: rgba(212, 175, 55, 0.01);
  position: relative;
  box-sizing: border-box;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.deco-card:hover {
  background: rgba(212, 175, 55, 0.025);
  border-color: var(--gold-primary);
  box-shadow: inset 0 0 15px rgba(212, 175, 55, 0.05);
}

.deco-card h2 {
  font-family: var(--font-deco);
  color: var(--gold-primary);
  font-size: 1.4rem;
  letter-spacing: 4px;
  margin-top: 0;
  margin-bottom: 20px;
  text-align: center;
  border-bottom: 1px solid var(--gold-dim);
  padding-bottom: 10px;
}

.deco-card h3 {
  font-family: var(--font-deco);
  color: var(--gold-primary);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-top: 0;
  margin-bottom: 15px;
}

.deco-intro {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
  opacity: 0.9;
}

/* Diagram */
.deco-diagram {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin: 30px 0;
  padding: 20px;
  border: 1px double var(--gold-dim);
  background: rgba(0, 0, 0, 0.2);
}

.deco-diagram .node {
  border: 1px solid var(--gold-primary);
  padding: 12px 20px;
  font-family: var(--font-deco);
  letter-spacing: 2px;
  text-align: center;
  min-width: 150px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  font-size: 0.9rem;
}

.deco-diagram .node.highlight {
  background: var(--gold-glow);
  outline: 1px solid var(--gold-primary);
  outline-offset: 4px;
}

.deco-diagram .node small {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 1px;
  opacity: 0.7;
}

.deco-diagram .arrow {
  color: var(--gold-primary);
  font-weight: bold;
  letter-spacing: -2px;
}

/* Steps list */
.deco-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.deco-steps .step {
  position: relative;
  padding-left: 30px;
  font-size: 0.95rem;
}

.deco-steps .step-icon {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-primary);
}

.deco-steps code {
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-light);
  padding: 2px 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  border: 1px solid rgba(212, 175, 55, 0.25);
}

.deco-steps a {
  color: var(--gold-primary);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px dotted var(--gold-primary);
}

.deco-steps a:hover {
  color: var(--text-color);
  border-bottom: 1px solid var(--text-color);
}

/* Two Columns Setup */
.deco-two-col {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
}

.divider-vertical {
  width: 1px;
  height: 180px;
  background: linear-gradient(180deg, transparent, var(--gold-primary), transparent);
}

.deco-two-col ol, .deco-two-col ul {
  padding-left: 20px;
  font-size: 0.95rem;
}

.deco-two-col li {
  margin-bottom: 12px;
}

/* Quote card */
.quote-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px;
}

.quote-symbol {
  color: var(--gold-primary);
  margin-bottom: 20px;
  letter-spacing: 8px;
}

.quote-card blockquote {
  font-family: var(--font-deco);
  font-size: 1.4rem;
  line-height: 1.5;
  margin: 0 0 20px 0;
  font-style: italic;
  letter-spacing: 1px;
  max-width: 800px;
}

.quote-card cite {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-style: normal;
  color: var(--gold-primary);
}

/* Animations */
@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.1); }
}

@media (max-width: 850px) {
  .deco-grid {
    grid-template-columns: 1fr;
  }
  .full-width {
    grid-column: span 1;
  }
  .deco-two-col {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .divider-vertical {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  }
  .deco-diagram {
    flex-direction: column;
  }
  .deco-diagram .arrow {
    transform: rotate(90deg);
    margin: 5px 0;
  }
}

@media (max-width: 600px) {
  .deco-container {
    padding: 30px 20px;
  }
  .border-style-classic {
    outline-offset: -8px;
  }
  .deco-header {
    margin-bottom: 30px;
  }
}

.deco-btn-link {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  font-family: var(--font-deco);
  font-size: 0.85rem;
  letter-spacing: 2px;
  padding: 10px 20px;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.deco-btn-link:hover {
  background: var(--gold-primary);
  color: var(--bg-dark);
  font-weight: 700;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 800px;
  margin: 35px auto 10px auto;
  border: 1px solid var(--gold-primary);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.15);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


