.card { width: 100%; max-width: 1000px; margin: 2rem auto; padding: 3rem; animation: slideUpFloat 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; position: relative; z-index: 20; } .stagger1 { animation: slideInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; animation-delay: 0.1s; opacity: 0; } .stagger2 { animation: slideInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; animation-delay: 0.2s; opacity: 0; } .stagger3 { animation: slideInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; animation-delay: 0.3s; opacity: 0; } .stagger4 { animation: slideInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; animation-delay: 0.4s; opacity: 0; } .header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border-glass); } .titleArea { display: flex; align-items: baseline; gap: 1rem; } .name { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; text-transform: capitalize; margin: 0; letter-spacing: -2px; color: var(--text-primary); } .idBadge { font-size: 1.5rem; color: var(--accent-primary); background: rgba(255, 42, 42, 0.1); padding: 6px 16px; border-radius: 20px; font-weight: 700; } .closeBtn { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-glass); color: var(--text-primary); width: 44px; height: 44px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); } .closeBtn:hover { background: var(--accent-primary); transform: scale(1.1) rotate(90deg); border-color: var(--accent-primary); } .content { display: grid; grid-template-columns: 350px 1fr; gap: 4rem; align-items: center; } .visualColumn { position: relative; display: flex; justify-content: center; align-items: center; height: 400px; } .spriteContainer { width: 140%; aspect-ratio: 1; position: absolute; left: -20%; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at center, rgba(255,255,255,0.05) 0%, transparent 60%); border-radius: 50%; } .sprite { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6)); animation: floatSprite 8s ease-in-out infinite; transform-origin: bottom center; } .noSprite { font-size: 8rem; color: var(--text-secondary); font-weight: 800; opacity: 0.1; } .dataColumn { display: flex; flex-direction: column; gap: 2rem; } .typesRow { display: flex; gap: 0.8rem; } .sectionTitle { font-size: 1.2rem; color: var(--text-secondary); margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 600; } @keyframes slideInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } } @keyframes floatSprite { 0%, 100% { transform: translateY(0) rotate(0deg); } 33% { transform: translateY(-15px) rotate(2deg); } 66% { transform: translateY(-5px) rotate(-2deg); } } @keyframes slideUpFloat { to { opacity: 1; transform: translateY(0); } } @media (max-width: 968px) { .content { grid-template-columns: 1fr; gap: 3rem; } .visualColumn { height: 300px; } .spriteContainer { width: 100%; left: 0; position: relative; } .card { padding: 2rem; } .header { flex-direction: column; gap: 1rem; } .titleArea { flex-wrap: wrap; } } @media (max-width: 480px) { .card { padding: 1.5rem; border-radius: 20px; } .name { font-size: 2rem; letter-spacing: -1px; } .idBadge { font-size: 1.1rem; padding: 4px 12px; } .visualColumn { height: 240px; } } /* SAM 2 Silhouette Debug Comparison */ .debugComparison { margin-top: 3rem; padding-top: 2rem; border-top: 1px dashed var(--border-glass); animation: slideInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards; animation-delay: 0.5s; opacity: 0; } .debugTitle { font-size: 1.1rem; color: #ff3d3d; /* Vibrant Poké Red */ margin-top: 0; margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 700; } .comparisonGrid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 2rem; align-items: center; } .imageBox { background: rgba(0, 0, 0, 0.25); border: 1px solid var(--border-glass); border-radius: 16px; padding: 1.5rem; display: flex; flex-direction: column; align-items: center; transition: border-color 0.3s ease; } .imageBox:hover { border-color: rgba(255, 61, 61, 0.2); } .imageLabel { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-secondary); font-weight: 600; margin-bottom: 1rem; } .debugImg { max-width: 100%; height: auto; max-height: 250px; object-fit: contain; border-radius: 8px; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.4)); } .arrowIcon { display: flex; justify-content: center; align-items: center; color: #ff3d3d; opacity: 0.8; } .noImage { font-size: 0.9rem; color: var(--text-secondary); font-style: italic; padding: 2rem 0; } @media (max-width: 768px) { .comparisonGrid { grid-template-columns: 1fr; gap: 1rem; } .arrowIcon { transform: rotate(90deg); padding: 0.5rem 0; } }