.demo-3d-card-flip .flip-card{width: 200px;height: 130px;perspective: 800px;}:is(.demo-3d-card-flip .flip-card):hover .flip-inner{transform: rotateY(180deg);}.demo-3d-card-flip .flip-inner{width: 100%;height: 100%;position: relative;transform-style: preserve-3d;transition: transform .55s ease;}.demo-3d-card-flip .flip-front,.demo-3d-card-flip .flip-back{position: absolute;inset: 0;border-radius: 12px;backface-visibility: hidden;display: flex;flex-direction: column;align-items: center;justify-content: center;font-size: .95rem;font-weight: 600;padding: 1rem;text-align: center;}.demo-3d-card-flip .flip-front{background: var(--accent-in-palette);color: var(--bg);}.demo-3d-card-flip .flip-back{background: var(--violet);color: var(--bg);transform: rotateY(180deg);}@media (prefers-reduced-motion: reduce){.demo-3d-card-flip .flip-inner{transition: none;}}
.demo-border-draw-button .draw-btns{display: flex;gap: 1.5rem;align-items: center;justify-content: center;flex-wrap: wrap;padding: .5rem;}.demo-border-draw-button .draw-btn{position: relative;display: inline-flex;align-items: center;justify-content: center;padding: .75rem 2rem;background: transparent;border: none;color: var(--text);font-family: var(--font-sans);font-size: .95rem;font-weight: 600;cursor: pointer;letter-spacing: .02em;}:is(.demo-border-draw-button .draw-btn) svg{position: absolute;inset: 0;width: 100%;height: 100%;overflow: visible;}:is(.demo-border-draw-button .draw-btn) rect{fill: none;stroke: var(--accent);stroke-width: 2;rx: 8;}:is(.demo-border-draw-button .draw-btn) .border-rect{stroke-dasharray: 387;stroke-dashoffset: 387;transition: stroke-dashoffset .6s cubic-bezier(0.4, 0, 0.2, 1);}:is(.demo-border-draw-button .draw-btn):hover .border-rect{stroke-dashoffset: 0;}.demo-border-draw-button .draw-btn-blue{color: var(--sky);}:is(.demo-border-draw-button .draw-btn-blue) .border-rect{stroke: var(--sky);}.demo-border-draw-button .draw-btn-pink{color: var(--rose);}:is(.demo-border-draw-button .draw-btn-pink) .border-rect{stroke: var(--rose);}@media (prefers-reduced-motion: reduce){.demo-border-draw-button .bd-ink{transition: none;}.demo-border-draw-button .bd-chase{stroke-dasharray: none;animation: border-pulse 2s ease-in-out infinite;}}
.demo-confetti .confetti-stage{position: relative;width: 100%;height: 220px;overflow: hidden;border-radius: var(--radius-lg);background: var(--surface);display: flex;align-items: center;justify-content: center;}.demo-section > .demo-wrapper.demo-confetti{padding: 0;overflow: hidden;}.demo-section > .demo-wrapper.demo-confetti .confetti-stage{border-radius: 0;height: 240px;}.demo-confetti .confetti-text{font-size: 1.25rem;font-weight: 700;z-index: 1;position: relative;}.demo-confetti .confetti-field{position: absolute;inset: 0 3%;display: flex;justify-content: space-between;align-items: flex-start;}.demo-confetti .piece{position: relative;top: -18px;flex: 0 0 auto;width: 10px;height: 10px;border-radius: 2px;animation: confetti-fall 1.8s linear infinite;}.demo-confetti .piece:nth-child(8n+1){background: var(--coral);}.demo-confetti .piece:nth-child(8n+2){background: var(--sky);}.demo-confetti .piece:nth-child(8n+3){background: var(--yellow);}.demo-confetti .piece:nth-child(8n+4){background: var(--accent);}.demo-confetti .piece:nth-child(8n+5){background: var(--rose);}.demo-confetti .piece:nth-child(8n+6){background: var(--teal);}.demo-confetti .piece:nth-child(8n+7){background: var(--violet);}.demo-confetti .piece:nth-child(8n){background: var(--orange);}.demo-confetti .piece:nth-child(5n+1){width: 8px;height: 12px;}.demo-confetti .piece:nth-child(5n+2){width: 12px;height: 8px;border-radius: 50%;}.demo-confetti .piece:nth-child(5n+3){width: 6px;height: 14px;}.demo-confetti .piece:nth-child(5n+4){width: 14px;height: 6px;}.demo-confetti .piece:nth-child(5n){width: 9px;height: 9px;border-radius: 50%;}.demo-confetti .piece:nth-child(7n+1){animation-duration: 1.86s;}.demo-confetti .piece:nth-child(7n+2){animation-duration: 1.5s;}.demo-confetti .piece:nth-child(7n+3){animation-duration: 2.1s;}.demo-confetti .piece:nth-child(7n+4){animation-duration: 1.62s;}.demo-confetti .piece:nth-child(7n+5){animation-duration: 2.22s;}.demo-confetti .piece:nth-child(7n+6){animation-duration: 1.74s;}.demo-confetti .piece:nth-child(7n){animation-duration: 1.98s;}.demo-confetti .piece:nth-child(11n+1){animation-delay: -0.9s;}.demo-confetti .piece:nth-child(11n+2){animation-delay: -1.7s;}.demo-confetti .piece:nth-child(11n+3){animation-delay: -0.3s;}.demo-confetti .piece:nth-child(11n+4){animation-delay: -2.05s;}.demo-confetti .piece:nth-child(11n+5){animation-delay: -1.2s;}.demo-confetti .piece:nth-child(11n+6){animation-delay: -0.55s;}.demo-confetti .piece:nth-child(11n+7){animation-delay: -1.95s;}.demo-confetti .piece:nth-child(11n+8){animation-delay: -0.75s;}.demo-confetti .piece:nth-child(11n+9){animation-delay: -1.45s;}.demo-confetti .piece:nth-child(11n+10){animation-delay: -0.15s;}.demo-confetti .piece:nth-child(11n){animation-delay: -2.3s;}.demo-confetti .piece:nth-child(3n+2){margin-left: 1.4%;}.demo-confetti .piece:nth-child(3n){margin-right: 1.8%;}@keyframes confetti-fall{0%{transform: translateY(0) rotate(0deg) scaleX(1);opacity: 1;}25%{transform: translateY(16px) rotate(90deg) scaleX(0);}50%{transform: translateY(65px) rotate(180deg) scaleX(-1);}75%{transform: translateY(146px) rotate(270deg) scaleX(0);opacity: 1;}100%{transform: translateY(260px) rotate(360deg) scaleX(1);opacity: 0;}}@media (prefers-reduced-motion: reduce){.demo-confetti .piece, .demo-confetti .cannon-piece, .demo-confetti .burst-piece{display: none;}}
