body { font-family: Arial, sans-serif; max-width: 1200px; margin: 0 auto; padding: 20px; background: #f5f5f5; }
h1 { color: #1a1a1a; text-align: center; margin-bottom: 5px; font-size: 28px; }
.subtitle { text-align: center; color: #666; margin-bottom: 20px; font-size: 14px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 15px; }
.card { background: white; border-radius: 10px; padding: 15px; box-shadow: 0 4px 14px rgba(0,0,0,0.16); transition: box-shadow 0.25s ease; }
.thumbnail { width: 100%; height: 200px; object-fit: cover; border-radius: 6px; margin-bottom: 10px; }
.video-title { font-weight: bold; margin-bottom: 8px; font-size: 15px; line-height: 1.3; }
.meta { font-size: 13px; color: #555; margin: 4px 0; }
.duration { font-weight: bold; color: #1565c0; }
.id { font-family: monospace; font-size: 12px; color: #888; word-break: break-all; }
.url { font-size: 12px; color: #1877f2; word-break: break-all; margin-top: 4px; }
.pagination { text-align: center; margin: 30px 0; padding: 20px; background: white; border-radius: 10px; }
.btn { display: inline-block; padding: 10px 20px; margin: 0 5px; background: #1877f2; color: white; text-decoration: none; border-radius: 6px; font-weight: bold; }
.btn:hover { background: #1565c0; }
.btn.disabled { background: #ccc; cursor: not-allowed; }
.page-info { margin: 0 10px; color: #666; font-size: 14px; }
.footer { text-align: center; margin: 30px 0 0; padding: 20px; background: white; border-radius: 10px; font-size: 13px; color: #555; line-height: 1.5; }
.footer a { color: #1877f2; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.card:hover { position: relative; z-index: 10; box-shadow: 0 10px 30px rgba(0,0,0,0.30); animation: shake 0.35s ease forwards; }
@keyframes shake { 0%{transform:translateX(0) scale(1.3);} 20%{transform:translateX(-4px) scale(1.3);} 40%{transform:translateX(4px) scale(1.3);} 60%{transform:translateX(-3px) scale(1.3);} 80%{transform:translateX(3px) scale(1.3);} 100%{transform:translateX(0) scale(1.3);} }
