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

body {
  font-family: 'Bodoni Moda', serif;
  background: #0a0a0a;
  color: #e8e8e8;
  overflow-x: hidden;
}

/* Sidebar Navigation */
.nav-sidebar {
  position: fixed;
  overflow: none;
  left: 0;
  top: 0;
  width: 200px;
  height: 100vh;
  background: #1a1a1a;
  border-right: 1px solid #333;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  z-index: 100;
}

.nav-brand {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #FFD700;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nav-list a {
  text-decoration: none;
  color: #999;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-list a:hover {
  color: #FFD700;
}

.nav-cta {
  margin-top: auto;
  background: #FFD700;
  color: #000;
  border: none;
  padding: 12px 20px;
  font-weight: 600;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 1px;
  transition: all 0.3s;
}

.nav-cta:hover {
  background: #FFF;
}

/* Main Content */
main {
  margin-left: 200px;
}

/* Card Stack Hero */
.hero-stack {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 60px;
  position: relative;
}

.card {
  position: absolute;
  width: 500px;
  padding: 60px;
  background: #1a1a1a;
  border: 1px solid #333;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.card:hover {
  transform: translateY(-10px);
  border-color: #FFD700;
}

.card-1 {
  transform: rotate(-5deg) translateX(-150px) translateY(-100px);
}

.card-1:hover {
  transform: rotate(0deg) translateY(-120px);
}

.card-1 h1 {
  font-size: 48px;
  font-weight: 700;
  color: #FFD700;
  margin-bottom: 10px;
}

.card-meta {
  font-size: 12px;
  letter-spacing: 2px;
  color: #666;
  text-transform: uppercase;
}

.card-2 {
  transform: translateY(0) translateX(200px);
}

.card-2:hover {
  transform: translateY(-15px) translateX(200px);
}

.card-2 h2 {
  font-size: 32px;
  margin-bottom: 10px;
  color: #e8e8e8;
}

.card-3 {
  transform: rotate(3deg) translateX(-100px) translateY(100px);
}

.card-3:hover {
  transform: rotate(0deg) translateY(85px) translateX(-100px);
}

.card-3 h2 {
  font-size: 32px;
  margin-bottom: 10px;
  color: #e8e8e8;
}

.card-4 {
  transform: translateX(250px) translateY(150px);
}

.card-4:hover {
  transform: translateX(250px) translateY(130px);
}

.card-cta .btn-enter {
  display: inline-block;
  color: #FFD700;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 12px 24px;
  border: 2px solid #FFD700;
  transition: all 0.3s;
}

.card-cta .btn-enter:hover {
  background: #FFD700;
  color: #000;
}

/* Collections: Book Spine Wall */
.collections-showcase {
  background: linear-gradient(180deg, #0a0a0a 0%, #151515 100%);
  padding: 120px 60px;
  margin-left: 200px;
}

.showcase-header h3 {
  font-size: 24px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #FFD700;
  margin-bottom: 60px;
}

.book-spine-wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  height: 400px;
  margin: 0 auto;
  max-width: 1200px;
}

.spine {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 30px 10px;
  border-right: 1px solid rgba(255,255,255,0.1);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  cursor: pointer;
  transition: all 0.3s;
}

.spine:hover {
  transform: scaleX(1.1);
  z-index: 10;
}

.spine-text {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-align: center;
}

.spine-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  opacity: 0.7;
}

/* Events Timeline */
.events-timeline {
  padding: 120px 60px;
  margin-left: 200px;
  background: #0f0f0f;
}

.events-timeline h3 {
  font-size: 24px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #FFD700;
  margin-bottom: 60px;
}

.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #FFD700;
}

.timeline-event {
  display: flex;
  gap: 30px;
  margin-bottom: 50px;
  position: relative;
}

.timeline-dot {
  position: absolute;
  left: -24px;
  top: 5px;
  width: 16px;
  height: 16px;
  background: #FFD700;
  border-radius: 50%;
  border: 3px solid #0f0f0f;
}

.event-date {
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
  color: #FFD700;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.timeline-event h4 {
  font-size: 20px;
  margin-bottom: 8px;
}

.timeline-event p {
  color: #999;
  font-size: 14px;
}

/* Membership Tiers */
.membership-matrix {
  padding: 120px 60px;
  margin-left: 200px;
  background: #1a1a1a;
}

.membership-matrix h3 {
  font-size: 24px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #FFD700;
  margin-bottom: 60px;
}

.matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.tier {
  border: 1px solid #333;
  padding: 40px;
  background: #0f0f0f;
  position: relative;
  transition: all 0.3s;
}

.tier:hover {
  border-color: #FFD700;
}

.tier-featured {
  border: 2px solid #FFD700;
  background: #1a1a1a;
  transform: scale(1.05);
}

.tier-badge {
  position: absolute;
  top: -15px;
  left: 20px;
  background: #FFD700;
  color: #000;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}

.tier-header {
  font-size: 20px;
  margin-bottom: 15px;
  margin-top: 10px;
}

.tier-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 30px;
  font-weight: 600;
}

.tier-features {
  list-style: none;
  margin-bottom: 30px;
}

.tier-features li {
  padding: 10px 0;
  color: #999;
  font-size: 13px;
  border-bottom: 1px solid #222;
}

.btn-tier {
  width: 100%;
  padding: 12px;
  background: transparent;
  color: #999;
  border: 1px solid #333;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s;
}

.btn-tier:hover {
  background: #FFD700;
  color: #000;
  border-color: #FFD700;
}

.btn-primary {
  background: #FFD700;
  color: #000;
  border-color: #FFD700;
}

/* Contact Footer */
.contact-minimal {
  padding: 120px 60px;
  margin-left: 200px;
  background: #0a0a0a;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.info-block .label {
  display: block;
  font-size: 11px;
  letter-spacing: 2px;
  color: #FFD700;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.info-block p {
  font-size: 14px;
  color: #999;
  line-height: 1.6;
}

.info-block a {
  color: #FFD700;
  text-decoration: none;
}

.footer-symbol {
  font-size: 80px;
  opacity: 0.3;
}

/* Modal */
.modal-dark {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-box {
  background: #1a1a1a;
  border: 1px solid #333;
  padding: 50px;
  width: 90%;
  max-width: 450px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  color: #FFD700;
  cursor: pointer;
}

.modal-box h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #FFD700;
}

.modal-box form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.modal-box input,
.modal-box select {
  background: #0f0f0f;
  border: 1px solid #333;
  color: #e8e8e8;
  padding: 12px;
  font-family: inherit;
}

.modal-box input:focus,
.modal-box select:focus {
  outline: none;
  border-color: #FFD700;
}

.modal-box button {
  background: #FFD700;
  color: #000;
  border: none;
  padding: 12px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
}

.modal-box button:hover {
  background: #FFF;
}

@media (max-width: 768px) {
  .nav-sidebar {
    width: 150px;
    padding: 30px 15px;
  }

  main {
    margin-left: 150px;
  }

  .hero-stack {
    padding: 40px 20px;
  }

  .card {
    width: 300px;
    padding: 30px;
  }

  .book-spine-wall {
    grid-template-columns: repeat(3, 1fr);
  }

  .matrix {
    grid-template-columns: 1fr;
  }

  .tier-featured {
    transform: scale(1);
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .footer-symbol {
    display: none;
  }
}
