/* card.dad-look.com - Dad, Look: The Card. A dark display case, a gold-framed card and a rainbow holo shine */
html { background: #120f1f; }
body { margin: 0; background: radial-gradient(ellipse at 50% 0%, #2a1f4a, #120f1f 900px) no-repeat, #120f1f; color: #f2eefc; font-family: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; }
[hidden] { display: none !important; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #ffd76a; outline-offset: 3px; }
.ho-kicker { margin: 0 0 8px; font-size: 13px; font-weight: 800; letter-spacing: 0.24em; text-transform: uppercase; color: #ffd76a; }
.ho-small { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: #b9b0d6; }
.ho-small b { color: #ffffff; }

.ho-page { max-width: 1000px; margin: 0 auto; padding: 40px 20px 0; display: flex; flex-direction: column; gap: 48px; }
.ho-head { text-align: center; }
.ho-head h1 { margin: 0; font-size: clamp(34px, 6vw, 56px); line-height: 1.05; background: linear-gradient(90deg, #ff8ad8, #ffd76a, #7ef0c6, #8ab4ff, #ff8ad8); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.ho-sub { margin: 12px auto 0; max-width: 560px; font-size: 17px; line-height: 1.5; color: #d6cff0; }

/* The card. --rx, --ry tilt it; --mx, --my (0-100) move the shine and glare */
.ho-stage { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.ho-tilt { perspective: 1200px; width: min(360px, 86vw); }
.ho-card { --rx: 0deg; --ry: 0deg; --mx: 50; --my: 50; position: relative; aspect-ratio: 63 / 88; border-radius: 18px; padding: 12px; box-sizing: border-box; background: linear-gradient(135deg, #d9a93f, #fff1b8 30%, #b8862a 55%, #ffe69a 80%, #c9962f); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.15); transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; transition: transform 0.15s ease-out; overflow: hidden; }
.ho-inner { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 10px; box-sizing: border-box; border-radius: 10px; background: linear-gradient(180deg, #2b2340, #1c1730); color: #f7f2ff; }
.ho-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.ho-top b { font-size: 15px; line-height: 1.2; }
.ho-num { flex: none; padding: 2px 8px; border-radius: 999px; background: #ffd76a; color: #2b2340; font-size: 13px; font-weight: 900; }
.ho-art { position: relative; flex: 1; min-height: 0; border: 3px solid #d9a93f; border-radius: 6px; overflow: hidden; background: #000000; }
/* The cover photo is 1200x800; these numbers zoom it in on the book */
.ho-art-img { position: absolute; inset: 0; background: url("/img/front.jpg") 50% 58% / cover no-repeat; }
.ho-type { margin: 0; padding: 3px 8px; border-radius: 4px; background: rgba(255, 215, 106, 0.15); font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #ffd76a; }
.ho-move { padding: 6px 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.07); font-size: 12px; line-height: 1.35; }
.ho-move p { margin: 0; }
.ho-move p + p { color: #cfc6ea; }
.ho-stats { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.ho-stats div { padding: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.07); text-align: center; }
.ho-stats dt { font-size: 9px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #b9b0d6; }
.ho-stats dd { margin: 2px 0 0; font-size: 11px; font-weight: 800; line-height: 1.2; }
.ho-flavour { margin: 0; font-family: Georgia, serif; font-size: 12px; font-style: italic; color: #d6cff0; text-align: center; }
.ho-foot { margin: 0; display: flex; justify-content: space-between; font-size: 10px; font-weight: 700; color: #b9b0d6; }
.ho-rarity { color: #ffd76a; letter-spacing: 1px; }

/* The holo layers: a rainbow band and a white glare that follow the pointer */
.ho-shine { position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; mix-blend-mode: color-dodge; opacity: 0.55;
	background: repeating-linear-gradient(115deg, #ff7ac6 0%, #ffd76a 6%, #7ef0c6 12%, #8ab4ff 18%, #c58bff 24%, #ff7ac6 30%);
	background-size: 300% 300%; background-position: calc(var(--mx) * 1%) calc(var(--my) * 1%); }
.ho-glare { position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; mix-blend-mode: overlay; background: radial-gradient(circle at calc(var(--mx) * 1%) calc(var(--my) * 1%), rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0) 45%); }
.ho-ghost { min-height: 40px; padding: 0 18px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 999px; background: none; color: #f2eefc; font: inherit; font-size: 14px; cursor: pointer; }

/* Packs */
.ho-packs { text-align: center; }
.ho-packs h2, .ho-panel h2 { margin: 0; font-size: 26px; }
.ho-pack-area { position: relative; overflow-x: hidden; overflow-x: clip; display: flex; justify-content: center; align-items: center; min-height: 300px; margin-top: 20px; }
.ho-pack { position: relative; width: 170px; height: 250px; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: linear-gradient(160deg, #6c4bd8, #ff7ac6 50%, #ffd76a); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); color: #ffffff; font: inherit; cursor: pointer; }
.ho-pack-foil { position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0) 0 12px, rgba(255, 255, 255, 0.25) 12px 14px); }
.ho-pack::before, .ho-pack::after { content: ""; position: absolute; left: 0; right: 0; height: 14px; background: repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.3) 0 4px, transparent 4px 8px); }
.ho-pack::before { top: 0; }
.ho-pack::after { bottom: 0; }
.ho-pack-label { position: relative; display: block; padding-top: 90px; font-size: 22px; font-weight: 900; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); }
.ho-pack-label small { font-size: 12px; font-weight: 700; }
.ho-pull { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; display: flex; justify-content: center; align-items: center; pointer-events: none; }
.ho-pull li { position: absolute; width: 120px; aspect-ratio: 63 / 88; border-radius: 9px; background: linear-gradient(135deg, #d9a93f, #fff1b8 40%, #c9962f); padding: 5px; box-sizing: border-box; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5); transform: translate(calc(var(--i) * 70px - 140px), 0) rotate(calc(var(--i) * 8deg - 16deg)); }
.ho-pull li span { display: block; width: 100%; height: 100%; border-radius: 5px; background: #1c1730 url("/img/front.jpg") 50% 58% / cover no-repeat; }
.ho-pull li.is-legendary { z-index: 2; box-shadow: 0 0 30px rgba(255, 215, 106, 0.9), 0 10px 24px rgba(0, 0, 0, 0.5); }
.ho-pull li.is-legendary::after { content: "LEGENDARY!"; position: absolute; left: 50%; top: -34px; transform: translateX(-50%); padding: 4px 10px; border-radius: 6px; background: #ffd76a; color: #2b2340; font-size: 13px; font-weight: 900; white-space: nowrap; }
.ho-pack-note { margin: 18px 0 0; min-height: 24px; font-size: 17px; font-weight: 700; color: #ffd76a; }
.ho-confetti { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.ho-confetti i { position: absolute; left: 50%; top: 50%; width: 8px; height: 12px; border-radius: 2px; opacity: 0; }

/* Collection and grading */
.ho-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ho-panel { padding: 24px; border-radius: 18px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); }
.ho-binder { display: grid; grid-template-columns: 110px; gap: 10px; margin-top: 16px; padding: 14px; border-radius: 12px; background: #241d3c; }
.ho-slot { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: #ffd76a; }
.ho-mini { display: block; width: 80px; aspect-ratio: 63 / 88; border-radius: 6px; border: 3px solid #d9a93f; background: #1c1730 url("/img/front.jpg") 50% 58% / cover no-repeat; box-sizing: border-box; }
.ho-mini-big { width: 110px; }
.ho-collection { margin: 14px 0 0; font-size: 16px; font-weight: 700; line-height: 1.45; }
.ho-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 14px; padding: 0 22px; border: 0; border-radius: 999px; background: #ffd76a; color: #2b2340; font: inherit; font-size: 16px; font-weight: 900; cursor: pointer; }
.ho-button:hover { background: #ffe38e; }
.ho-slab { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 170px; margin-top: 18px; padding: 10px 10px 14px; border-radius: 10px; background: rgba(220, 230, 255, 0.15); border: 2px solid rgba(220, 230, 255, 0.5); box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.1); }
.ho-slab-label { display: flex; flex-direction: column; align-items: center; width: 100%; padding: 6px; border-radius: 4px; background: #ffffff; color: #2b2340; font-size: 10px; line-height: 1.4; text-align: center; box-sizing: border-box; }
.ho-slab-label b { font-size: 16px; color: #c4234a; }

/* Bottom */
.ho-bottom { max-width: 1000px; margin: 0 auto; padding: 60px 20px 48px; display: flex; flex-direction: column; gap: 28px; }
.ho-cta { padding: 44px 24px; border-radius: 22px; background: linear-gradient(135deg, #2b2340, #3d2f63); border: 1px solid rgba(255, 215, 106, 0.4); display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.ho-cta h2 { margin: 0; font-size: 38px; }
.ho-cta p { margin: 0; max-width: 560px; font-size: 17px; line-height: 1.5; color: #d6cff0; }
.ho-cta-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; box-sizing: border-box; width: 100%; max-width: 560px; min-height: 72px; padding: 18px 24px; border-radius: 999px; background: #ec6e6a; color: #ffffff; font-size: 21px; font-weight: 900; text-transform: uppercase; text-decoration: none; }
.ho-cta-button:hover { background: #d95450; }
.ho-cta-arrow { display: inline-block; }
.ho-share { min-height: 48px; padding: 0 22px; border: 2px solid #ffffff; border-radius: 999px; background: none; color: #ffffff; font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; }
.ho-share:hover { background: #ffffff; color: #2b2340; }
.ho-status { margin: 0; font-size: 14px; font-weight: 700; color: #7ef0c6; }
.ho-status:empty { display: none; }
.ho-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; line-height: 1.5; color: #b9b0d6; border-top: 1px solid rgba(255, 255, 255, 0.15); padding-top: 14px; }
.ho-bottom .more-title { color: #ffffff; }

@media (max-width: 700px) {
	.ho-page { padding: 28px 14px 0; gap: 36px; }
	.ho-columns { grid-template-columns: minmax(0, 1fr); }
	.ho-pull li { width: 92px; transform: translate(calc(var(--i) * 46px - 92px), 0) rotate(calc(var(--i) * 8deg - 16deg)); }
	.ho-panel { padding: 20px 16px; }
	.ho-bottom { padding: 44px 14px 40px; }
	.ho-cta h2 { font-size: 30px; }
	.ho-cta-button { font-size: 17px; min-height: 64px; }
}

/* Animations - only with JavaScript and when the visitor allows motion */
@media (prefers-reduced-motion: no-preference) {
	.ho-head h1 { animation: ho-rainbow 6s linear infinite; }
	.js .ho-card { animation: ho-float 5s ease-in-out infinite; }
	.ho-card.is-tilting { animation: none; }
	.ho-pack { animation: ho-wiggle 2.4s ease-in-out infinite; }
	.ho-pack:hover { animation-duration: 0.6s; }
	.ho-pack.is-tearing { animation: ho-tear 0.6s ease forwards; }
	.ho-pull li { animation: ho-deal 0.5s cubic-bezier(0.2, 1.3, 0.4, 1) both; animation-delay: calc(var(--i) * 0.12s); }
	.ho-pull li.is-legendary { animation: ho-deal 0.5s cubic-bezier(0.2, 1.3, 0.4, 1) both, ho-pulse 1.2s 0.9s ease-in-out infinite; animation-delay: calc(var(--i) * 0.12s), 0.9s; }
	.ho-confetti i { animation: ho-confetti 1.4s ease-out forwards; }
	.ho-slab:not([hidden]) { animation: ho-slab 0.6s cubic-bezier(0.2, 1.3, 0.4, 1) both; }
	.ho-cta-button { animation: ho-glow 2.2s ease-in-out infinite; transition: transform 0.15s ease; }
	.ho-cta-button:hover { transform: scale(1.02); }
	.ho-cta-arrow { animation: ho-nudge 1.1s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) {
	.ho-card { transition: none; }
}

@keyframes ho-rainbow { from { background-position: 0 0; } to { background-position: 200% 0; } }
@keyframes ho-float { 0%, 100% { transform: rotateY(-8deg) rotateX(4deg); } 50% { transform: rotateY(8deg) rotateX(-4deg); } }
@keyframes ho-wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-2deg); } 75% { transform: rotate(2deg); } }
@keyframes ho-tear { 0% { transform: scale(1); } 40% { transform: scale(1.06) rotate(-3deg); } 100% { transform: scale(0.6) translateY(80px); opacity: 0; } }
@keyframes ho-deal { from { opacity: 0; transform: translate(0, 60px) rotate(0) scale(0.6); } }
@keyframes ho-pulse { 0%, 100% { box-shadow: 0 0 20px rgba(255, 215, 106, 0.6), 0 10px 24px rgba(0, 0, 0, 0.5); } 50% { box-shadow: 0 0 44px rgba(255, 215, 106, 1), 0 10px 24px rgba(0, 0, 0, 0.5); } }
@keyframes ho-confetti { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)); } }
@keyframes ho-slab { from { opacity: 0; transform: translateY(20px) scale(0.9); } to { opacity: 1; transform: none; } }
@keyframes ho-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(236, 110, 106, 0.5); } 50% { box-shadow: 0 0 0 12px rgba(236, 110, 106, 0); } }
@keyframes ho-nudge { 0%, 100% { transform: none; } 50% { transform: translateX(8px); } }
