
body {
  font-family: system-ui, -apple-system, sans-serif;
  margin: 0;
  padding: 20px;
  background: #f8f9fa;
  text-align: center;
  min-height: 100vh;
}


.buttons {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin: 60px 0;
}

.big-btn {
  display: block;
  background: #4f46e5;
  color: white;
  text-decoration: none;
  padding: 24px;
  font-size: 1.4rem;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.install-hint {
  color: #080000;
  font-size: 1.4rem;
  margin-top: 80px;
}

/*jacknjill style
*/ 
.container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 900px;
  margin: 30px auto;
}

textarea {
  width: 100%;
  padding: 12px;
  font-size: 1.1rem;
  border-radius: 8px;
  border: 2px solid #ddd;
  resize: vertical;
}

#pairBtn {
  background: #10b981;
  color: white;
  border: none;
  padding: 18px 36px;
  font-size: 1.3rem;
  border-radius: 12px;
  margin: 30px 0;
  cursor: pointer;
}
#resetBtn {
  background: #4f46e5;
  color: white;
  border: none;
  padding: 18px 36px;
  font-size: 1.3rem;
  border-radius: 12px;
  margin: 30px 0;
  cursor: pointer;
}
#clearBtn {
  background: #e01515;
  color: white;
  border: none;
  padding: 18px 36px;
  font-size: 1.3rem;
  border-radius: 12px;
  margin: 30px 0;
  cursor: pointer;
}

.result-box {
  font-size: 2rem;
  font-weight: bold;
  color: #4f46e5;
  min-height: 80px;
  background: #f0f0ff;
  padding: 30px;
  border-radius: 16px;
}

.back {
  display: inline-block;
  margin-top: 40px;
  color: #666;
  text-decoration: none;
}

/* dance cal styling
*/
.event-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  margin: 30px auto;
  max-width: 500px;
}

.event-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

.event-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.event-card h2 {
  margin: 16px;
  color: #1f2937;
}

.event-card p {
  margin: 0 20px 10px;
  color: #666;
}
#backBtn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  padding: 10px 14px;
  font-size: 16px;
  border: none;
  border-radius: 50px;
  background: #111;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(0,0,0,0.25);
  z-index: 9999;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

#backBtn:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

/*end of orginal css^^^*/

  header {
      padding: 20px 40px;
      font-size: 1.8rem;
      font-weight: 700;
      background: white;
      box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    }

    .event-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 18px 40px rgba(153, 6, 6, 0.15);
    }

    .controls {
      display: flex;
      gap: 12px;
      padding: 20px 40px;
      flex-wrap: wrap;
      align-items: center;
    }

    .search-input {
      padding: 10px 14px;
      border-radius: 8px;
      border: 1px solid #ddd;
      font-size: 0.95rem;
      min-width: 220px;
    }

    .filter-btn {
      padding: 8px 14px;
      border-radius: 999px;
      border: 1px solid #ddd;
      cursor: pointer;
      background: white;
      transition: 0.2s;
    }

    .filter-btn.active {
      background: #ff7a18;
      color: white;
      border-color: #ff7a18;
    }

    .list {
      display: flex;
      flex-direction: column;
      gap: 22px;
      padding: 30px 48px 60px;
      max-width: 600px;
      margin: 0 auto;
    }


    .event-card {
      width: 100%;
      max-width: 900px;
      margin: 0 auto;
      border-radius: 20px;
      overflow: hidden;
      background: #fff;
      box-shadow: 0 12px 30px rgba(0,0,0,0.10);
      transition: all 0.3s ease;
      display: flex;
      flex-direction: column;
    }

  
    .event-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 20px 50px rgba(0,0,0,0.18);
    }

    .event-card img {
      width: 100%;
      height: 240px;
      object-fit: cover;
      display: block;
    }

    .event-content {
      padding: 20px;
      min-height: 20px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .event-title {
      font-size: 1.4rem;
      font-weight: 700;
      margin-bottom: 22px;
    }

   .event-date {
      font-size: 1.4rem;
      color: #777;
      margin-bottom: 22px;
    }

     .event-tags {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
    }

    .tag {
      font-size: 0.8rem;
      padding: 6px 10px;
      border-radius: 999px;
      background: linear-gradient(135deg, #ff7a18, #ffb347);
      color: white;
    }

    a {
      text-decoration: none;
      color: inherit;
    }
  