@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

h1 {
  color: #f9fafb;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  margin: 1.5em;
}

body {
  background: #111827;
  color: #f9fafb;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.gpu-card {
  width: 300px;
  height: 320px;
  margin: auto;
  background: #1f2937;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.gpu-card__content {
  padding: 1.25em;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75em;
  position: relative;
  z-index: 2;
}

.gpu-card__image {
  width: 100%;
  height: 150px;
  border-radius: 12px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.gpu-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
}

.gpu-card__text {
  display: flex;
  flex-direction: column;
  gap: 0.25em;
}

.gpu-card__title {
  color: #f9fafb;
  font-size: 1.1em;
  margin: 0;
  font-weight: 700;
  transition: all 0.3s ease;
}

.gpu-card__description {
  color: #f9fafb;
  font-size: 0.75em;
  margin: 0;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.gpu-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.gpu-card__price {
  color: #f9fafb;
  font-weight: 700;
  font-size: 1em;
  transition: all 0.3s ease;
}

.gpu-card__button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  transform: scale(0.9);
  border: none;
}

.gpu-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.gpu-card:hover .gpu-card__image {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.gpu-card:hover .gpu-card__description {
  opacity: 1;
  transform: translateX(2px);
}

.gpu-card:active {
  transform: translateY(-5px) scale(0.98);
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.filler {
  height: 30px;
}

.nvidia-section .gpu-card__button { background: #166534; }
.nvidia-section .gpu-card__image { background: linear-gradient(45deg, #334e03, #5c9b29); }
.nvidia-section .gpu-card__image::after { background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 30%), repeating-linear-gradient(45deg, rgba(22, 101, 52, 0.1) 0px, rgba(22, 101, 52, 0.1) 2px, transparent 2px, transparent 4px); }
.nvidia-section .gpu-card:hover { border-color: rgba(22, 101, 52, 0.2); }
.nvidia-section .gpu-card:hover .gpu-card__title { color: #166534; transform: translateX(2px); }
.nvidia-section .gpu-card:hover .gpu-card__price { color: #166534; transform: translateX(2px); }
.nvidia-section .gpu-card:hover .gpu-card__button { transform: scale(1); box-shadow: 0 0 0 4px rgba(22, 101, 52, 0.2); }
.nvidia-section .gpu-card:hover .gpu-card__button svg { animation: pulse 1.5s infinite; }

.amd-section .gpu-card__button { background: #6d0404; }
.amd-section .gpu-card__image { background: linear-gradient(45deg, #8b0000, #df0808); }
.amd-section .gpu-card__image::after { background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 30%), repeating-linear-gradient(45deg, rgba(109, 4, 4, 0.1) 0px, rgba(109, 4, 4, 0.1) 2px, transparent 2px, transparent 4px); }
.amd-section .gpu-card:hover { border-color: rgba(109, 4, 4, 0.2); }
.amd-section .gpu-card:hover .gpu-card__title { color: #6d0404; transform: translateX(2px); }
.amd-section .gpu-card:hover .gpu-card__price { color: #6d0404; transform: translateX(2px); }
.amd-section .gpu-card:hover .gpu-card__button { transform: scale(1); box-shadow: 0 0 0 4px rgba(109, 4, 4, 0.2); }
.amd-section .gpu-card:hover .gpu-card__button svg { animation: pulse 1.5s infinite; }

.intel-section .gpu-card__button { background: #193c9b; }
.intel-section .gpu-card__image { background: linear-gradient(45deg, #034a5e, #0d7dd3); }
.intel-section .gpu-card__image::after { background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 30%), repeating-linear-gradient(45deg, rgba(25, 60, 155, 0.1) 0px, rgba(25, 60, 155, 0.1) 2px, transparent 2px, transparent 4px); }
.intel-section .gpu-card:hover { border-color: rgba(25, 60, 155, 0.2); }
.intel-section .gpu-card:hover .gpu-card__title { color: #193c9b; transform: translateX(2px); }
.intel-section .gpu-card:hover .gpu-card__price { color: #193c9b; transform: translateX(2px); }
.intel-section .gpu-card:hover .gpu-card__button { transform: scale(1); box-shadow: 0 0 0 4px rgba(25, 60, 155, 0.2); }
.intel-section .gpu-card:hover .gpu-card__button svg { animation: pulse 1.5s infinite; }

.bg-body-tertiary {
  background-color: #1f2937 !important;
  color: #f9fafb !important;
}
.text-muted {
  color: #9ca3af !important;
}
a {
  text-decoration: none;
}
.alink { color: #ef0707; }
.alink:hover { color: #bd0000; }
.ilink { color: #00C7FD; }
.ilink:hover { color: #0068B5; }
.nlink { color: #76B900; }
.nlink:hover { color: #3C8300; }